Creating the VMs does not work, says unavailable VRs and when I try to restart the network it says this.
2022-11-29 15:56:48,083 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-116:ctx-5eb58488 job-12082 ctx-9cf79295) (logid:d204ec22) Restarting network 204... 2022-11-29 15:56:48,085 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-116:ctx-5eb58488 job-12082 ctx-9cf79295) (logid:d204ec22) Implementing the network Network {"id": 204, "name": "defaultGuestNetwork", "uuid": "e9004621-1248-4809-ba1d-d002f24aafcc", "networkofferingid": 6} elements and resources as a part of network restart without cleanup 2022-11-29 15:56:48,092 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-116:ctx-5eb58488 job-12082 ctx-9cf79295) (logid:d204ec22) Asking VirtualRouter to implemenet Network {"id": 204, "name": "defaultGuestNetwork", "uuid": "e9004621-1248-4809-ba1d-d002f24aafcc", "networkofferingid": 6} 2022-11-29 15:56:48,096 WARN [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-116:ctx-5eb58488 job-12082 ctx-9cf79295) (logid:d204ec22) Failed to implement network Network {"id": 204, "name": "defaultGuestNetwork", "uuid": "e9004621-1248-4809-ba1d-d002f24aafcc", "networkofferingid": 6} elements and resources as a part of network restart due to 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:251) at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.implementNetworkElements(NetworkOrchestrator.java:1498) at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.implementNetworkElementsAndResources(NetworkOrchestrator.java:1433) at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.restartNetwork(NetworkOrchestrator.java:3377) at com.cloud.network.NetworkServiceImpl.restartNetwork(NetworkServiceImpl.java:2432) at com.cloud.network.NetworkServiceImpl.restartNetwork(NetworkServiceImpl.java:2454) at jdk.internal.reflect.GeneratedMethodAccessor963.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) 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:175) at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) at com.sun.proxy.$Proxy170.restartNetwork(Unknown Source) at org.apache.cloudstack.api.command.user.network.RestartNetworkCmd.execute(RestartNetworkCmd.java:105) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163) at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:106) at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:620) at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52) at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:45) at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:568) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) 2022-11-29 15:56:48,097 WARN [c.c.n.NetworkServiceImpl] (API-Job-Executor-116:ctx-5eb58488 job-12082 ctx-9cf79295) (logid:d204ec22) Network id=204 failed to restart. 2022-11-29 15:56:48,103 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-116:ctx-5eb58488 job-12082) (logid:d204ec22) Complete async job-12082, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Failed to restart network"} 2022-11-29 15:56:48,104 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-116:ctx-5eb58488 job-12082) (logid:d204ec22) Publish async job-12082 complete on message bus On Tue, Nov 29, 2022 at 3:22 PM Slavka Peleva <slav...@storpool.com.invalid> wrote: > > Hi Sam, > > You can also try deploying a new guest VM, or if you have stopped VMs, you > can start one. This will create a new VR. > > Best regards, > Slavka > > On Tue, Nov 29, 2022 at 2:09 PM Ruben Bosch <ruben.bo...@cldin.eu> wrote: > > > Hi Sam, > > > > If you click the "Restart Network" button in the network overview the > > virtual router will be recreated. > > > > Met vriendelijke groet / Kind regards, > > > > Ruben Bosch > > CLDIN > > > > > On 29 Nov 2022, at 13:06, Samuel Ngoda <ngodasam...@gmail.com> wrote: > > > > > > Hello all, > > > > > > I have just upgraded to cloudstack 4.17. > > > > > > I made a mistake and deleted the only virtual router without having a > > backup. > > > > > > Is there a way of recreating or recovering it? > > > > > > Currently I am unable to restart the network to recreate the router > > > because it requires running router to be available. > > > > > > Regards, > > > > > > Sam > > > Hello all, > > > > > > > > > I made a mistake and deleted the only virtual router without having a > > backup. > > > > > > Is there a way of recreating or recovering it? > > > > > > Regards, > > > > > > Sam > > > > > > > > > > > > > > > > > > > > > On Sun, Nov 27, 2022 at 12:41 PM Martha <ngodasam...@gmail.com> wrote: > > >> > > >> > > >> > > >> Hello all, > > >> > > >> > > >> > > >> I made a mistake and deleted the only virtual router without having a > > backup. > > >> > > >> Is there a way of recreating or recovering it? > > >> > > >> Regards, > > >> > > >> Sam > > >> > > >> > > >> > > >> Sent from Mail for Windows > > >> > > >> > > > >