yuanbosoft commented on issue #6761:
URL: https://github.com/apache/cloudstack/issues/6761#issuecomment-1256965380

   when I restart the the defaultGuestNetwork:
   1.the cloudstack web page will pop up: 
   Resource [DataCenter:1] is unreachable: Can't find all necessary running 
routers!
   
   2.The cloudstact-management log with pop up:
   udstack.api.command.user.network.RestartNetworkCmd, cmdInfo: 
{"makeredundant":"false","cleanup":"true","response":"json","ctxUserId":"2","httpmethod":"GET","ctxStartEventId":"1609","id":"becd3a84-349d-4f67-a331-90641ee173a2","ctxDetails":"{\"interface
 
com.cloud.network.Network\":\"becd3a84-349d-4f67-a331-90641ee173a2\"}","ctxAccountId":"2","uuid":"becd3a84-349d-4f67-a331-90641ee173a2","cmdEventType":"NETWORK.RESTART","_":"1664024563759"},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 229335791363470, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: null}
   2022-09-24 21:08:25,498 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(API-Job-Executor-15:ctx-dd738e64 job-2121 ctx-dab784b8) (logid:33626c0e) 
Restarting network 204...
   2022-09-24 21:08:25,499 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(API-Job-Executor-15:ctx-dd738e64 job-2121 ctx-dab784b8) (logid:33626c0e) 
Performing rolling restart of routers of network Ntwk[204|Guest|7]
   2022-09-24 21:08:25,503 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(API-Job-Executor-15:ctx-dd738e64 job-2121 ctx-dab784b8) (logid:33626c0e) 
Asking VirtualRouter to implemenet Ntwk[204|Guest|7]
   2022-09-24 21:08:25,508 ERROR [c.c.a.ApiAsyncJobDispatcher] 
(API-Job-Executor-15:ctx-dd738e64 job-2121) (logid:33626c0e) Unexpected 
exception while executing 
org.apache.cloudstack.api.command.user.network.RestartNetworkCmd
   com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is 
unreachable: Can't find all necessary running routers!
           at 
com.cloud.network.element.VirtualRouterElement.implement(VirtualRouterElement.java:243)
           at 
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.implementNetworkElements(NetworkOrchestrator.java:1203)
           at 
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.rollingRestartRouters(NetworkOrchestrator.java:2948)
           at 
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.restartNetwork(NetworkOrchestrator.java:2853)
           at 
com.cloud.network.NetworkServiceImpl.restartNetwork(NetworkServiceImpl.java:1883)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
           at 
org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
           at 
com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
           at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
           at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
           at com.sun.proxy.$Proxy229.restartNetwork(Unknown Source)
           at 
org.apache.cloudstack.api.command.user.network.RestartNetworkCmd.execute(RestartNetworkCmd.java:99


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to