cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zanghongtu2006@gmail.com" <zanghongtu2...@gmail.com>
Subject Fw: Re: 来宾网络 疑惑
Date Thu, 09 Apr 2015 13:35:01 GMT




hongtu_zang
zanghongtu2006@gmail.com 
Beijing China
 
发件人: 张能钦
发送时间: 2015-04-08 17:26
收件人: zanghongtu2006@gmail.com
主题: Re: Re: 来宾网络 疑惑
有关job341的日志如下,谢谢大家帮忙看下
[root@manage html]# grep -i "job-341" /var/log/cloudstack/management/management-server.log
2015-04-08 16:08:46,387 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (catalina-exec-13:ctx-36bd5924
ctx-0e574d5e) submit async job-341, details: AsyncJobVO {id:341, userId: 2, accountId: 2,
instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd,
cmdInfo: {"response":"json","id":"e34e84a0-f6d6-403f-a1db-c05ad7633b5f","sessionkey":"EmOq1jvjNTQXw9qW3+k+cIaseh8\u003d","ctxDetails":"{\"com.cloud.network.Network\":\"e34e84a0-f6d6-403f-a1db-c05ad7633b5f\"}","cmdEventType":"NETWORK.DELETE","ctxUserId":"2","httpmethod":"GET","_":"1428481219328","uuid":"e34e84a0-f6d6-403f-a1db-c05ad7633b5f","ctxAccountId":"2","ctxStartEventId":"765"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
345050855792, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2015-04-08 16:08:46,388 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-54:ctx-bcba23a9
job-341) Add job-341 into job monitoring
2015-04-08 16:08:46,388 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-54:ctx-bcba23a9
job-341) Executing AsyncJobVO {id:341, userId: 2, accountId: 2, instanceType: None, instanceId:
null, cmd: org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd, cmdInfo: {"response":"json","id":"e34e84a0-f6d6-403f-a1db-c05ad7633b5f","sessionkey":"EmOq1jvjNTQXw9qW3+k+cIaseh8\u003d","ctxDetails":"{\"com.cloud.network.Network\":\"e34e84a0-f6d6-403f-a1db-c05ad7633b5f\"}","cmdEventType":"NETWORK.DELETE","ctxUserId":"2","httpmethod":"GET","_":"1428481219328","uuid":"e34e84a0-f6d6-403f-a1db-c05ad7633b5f","ctxAccountId":"2","ctxStartEventId":"765"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
345050855792, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2015-04-08 16:08:46,406 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) Lock is acquired for network Ntwk[e34e84a0-f6d6-403f-a1db-c05ad7633b5f|Guest|8]
as a part of network shutdown
2015-04-08 16:08:46,410 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) Releasing 0 port forwarding rules for network id=208 as a part of shutdownNetworkRules
2015-04-08 16:08:46,411 DEBUG [c.c.n.f.FirewallManagerImpl] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) There are no rules to forward to the network elements
2015-04-08 16:08:46,411 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) Releasing 0 static nat rules for network id=208 as a part of shutdownNetworkRules
2015-04-08 16:08:46,411 DEBUG [c.c.n.f.FirewallManagerImpl] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) There are no rules to forward to the network elements
2015-04-08 16:08:46,412 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) Revoking 0 Public load balancing rules for network id=208
2015-04-08 16:08:46,412 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) There are no Load Balancing Rules to forward to the network elements
2015-04-08 16:08:46,413 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) Revoking 0 Internal load balancing rules for network id=208
2015-04-08 16:08:46,413 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) There are no Load Balancing Rules to forward to the network elements
2015-04-08 16:08:46,413 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) Releasing 0 firewall ingress rules for network id=208 as a part of shutdownNetworkRules
2015-04-08 16:08:46,413 DEBUG [c.c.n.f.FirewallManagerImpl] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) There are no rules to forward to the network elements
2015-04-08 16:08:46,414 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) Releasing 0 firewall egress rules for network id=208 as a part of shutdownNetworkRules
2015-04-08 16:08:46,416 DEBUG [c.c.n.f.FirewallManagerImpl] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) applying default firewall egress rules 
2015-04-08 16:08:46,422 DEBUG [c.c.n.e.VirtualRouterElement] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) Virtual router elemnt doesn't need to apply firewall rules on the backend;
virtual router doesn't exist in the network 208
2015-04-08 16:08:46,423 DEBUG [c.c.n.f.FirewallManagerImpl] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) There are no rules to forward to the network elements
2015-04-08 16:08:46,423 DEBUG [c.c.n.r.RulesManagerImpl] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) Found 0 static nat rules to apply for network id 208
2015-04-08 16:08:46,427 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) Sending network shutdown to VirtualRouter
2015-04-08 16:08:46,428 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) Network id=208 is shutdown successfully, cleaning up corresponding resources
now.
2015-04-08 16:08:46,429 DEBUG [c.c.n.g.GuestNetworkGuru] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) Releasing vnet for the network id=208
2015-04-08 16:08:46,430 DEBUG [c.c.u.d.T.Transaction] (API-Job-Executor-54:ctx-bcba23a9 job-341
ctx-7f90235b) Rolling back the transaction: Time = 1 Name =  API-Job-Executor-54; called by
-TransactionLegacy.rollback:900-TransactionLegacy.removeUpTo:843-TransactionLegacy.close:667-Transaction.execute:41-Transaction.execute:46-NetworkOrchestrator.shutdownNetwork:2023-NetworkOrchestrator.destroyNetwork:2167-NetworkServiceImpl.deleteNetwork:1855-GeneratedMethodAccessor382.invoke:-1-DelegatingMethodAccessorImpl.invoke:43-Method.invoke:606-AopUtils.invokeJoinpointUsingReflection:317
2015-04-08 16:08:46,430 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-54:ctx-bcba23a9
job-341 ctx-7f90235b) Lock is released for network Ntwk[e34e84a0-f6d6-403f-a1db-c05ad7633b5f|Guest|8]
as a part of network shutdown
2015-04-08 16:08:46,437 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-54:ctx-bcba23a9
job-341) Unexpected exception while executing org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd
2015-04-08 16:08:46,438 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-54:ctx-bcba23a9
job-341) Complete async job-341, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530}
2015-04-08 16:08:46,445 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-54:ctx-bcba23a9
job-341) Done executing org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd for
job-341
2015-04-08 16:08:46,449 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-54:ctx-bcba23a9
job-341) Remove job-341 from job monitoring
[root@manage html]# 



张能钦
 
发件人: zanghongtu2006@gmail.com
发送时间: 2015-04-08 17:19
收件人: 张能钦
主题: Re: Re: 来宾网络 疑惑
这个不大清楚,没测试过
你可以找找job-341 相关的所有log,发到邮件组,大家一起看看



hongtu_zang
 
发件人: 张能钦
发送时间: 2015-04-08 16:21
收件人: zanghongtu2006@gmail.com
主题: Re: Re: 来宾网络 疑惑
删除网络时
管理节点的日志如下
INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-54:ctx-bcba23a9 job-341) Add job-341
into job monitoring
ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-54:ctx-bcba23a9 job-341) Unexpected
exception while executing org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd
java.lang.NullPointerException
at com.cloud.network.Networks$BroadcastDomainType.getSchemeValue(Networks.java:159)
at com.cloud.network.Networks$BroadcastDomainType.getValue(Networks.java:213)
at com.cloud.network.guru.GuestNetworkGuru.shutdown(GuestNetworkGuru.java:422)
at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator$9.doInTransaction(NetworkOrchestrator.java:2034)
at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator$9.doInTransaction(NetworkOrchestrator.java:2023)
at com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:49)
at com.cloud.utils.db.Transaction.execute(Transaction.java:37)
at com.cloud.utils.db.Transaction.execute(Transaction.java:46)
at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.shutdownNetwork(NetworkOrchestrator.java:2023)
at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.destroyNetwork(NetworkOrchestrator.java:2167)
at com.cloud.network.NetworkServiceImpl.deleteNetwork(NetworkServiceImpl.java:1855)
at sun.reflect.GeneratedMethodAccessor382.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy156.deleteNetwork(Unknown Source)
at org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd.execute(DeleteNetworkCmd.java:79)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:460)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-54:ctx-bcba23a9 job-341) Remove job-341
from job monitoring



张能钦
 
发件人: 张能钦
发送时间: 2015-04-08 16:14
收件人: zanghongtu2006@gmail.com
主题: Re: Re: 来宾网络 疑惑
是的,
但是我现在删除不掉这个网络了
没有虚拟机在用这个网络
也没有vrouter在用这个网络,应该怎么才能删除掉它




张能钦
 
发件人: zanghongtu2006@gmail.com
发送时间: 2015-04-08 16:09
收件人: 张能钦
主题: Re: Re: 来宾网络 疑惑
vlan ID已经被占用了



hongtu_zang
 
发件人: 张能钦
发送时间: 2015-04-08 15:52
收件人: zanghongtu2006@gmail.com; users-cn
主题: Re: Re: 来宾网络 疑惑
不好意思,图片在附件





张能钦
 
发件人: zanghongtu2006@gmail.com
发送时间: 2015-04-08 15:13
收件人: users-cn
主题: Re: 来宾网络 疑惑
图片显示不出来
可以发log



hongtu_zang

发件人: 张能钦
发送时间: 2015-04-08 14:10
收件人: users-cn
主题: 来宾网络 疑惑
大家好,
我添加来宾网络的时候报这个错,这什么意思这里添加的网络和 physical
的 guest network 什么关系?









Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message