management log when starting VMs
2022-11-29 16:09:31,761 DEBUG [c.c.c.CapacityManagerImpl]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) Host has enough CPU and RAM available
2022-11-29 16:09:31,761 DEBUG [c.c.c.CapacityManagerImpl]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) STATS: Can alloc CPU from host: 2, used: 1000,
reserved: 0, actual total: 30000, total with overprovisioning: 90000;
requested cpu:2000,alloc_from_last_host?:false
,considerReservedCapacity?: true
2022-11-29 16:09:31,761 DEBUG [c.c.c.CapacityManagerImpl]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) STATS: Can alloc MEM from host: 2, used: (1.50 GB)
1610612736, reserved: (0 bytes) 0, total: (77.38 GB) 83085737984;
requested mem: (6.00 GB) 6442450944, alloc_from_last_host?: false ,
considerReservedCapacity?: true
2022-11-29 16:09:31,773 DEBUG [o.a.c.e.o.NetworkOrchestrator]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) Network id=204 is already implemented
2022-11-29 16:09:31,796 DEBUG [o.a.c.e.o.NetworkOrchestrator]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) Changing active number of nics for network id=204 on
1
2022-11-29 16:09:31,803 DEBUG [o.a.c.e.o.NetworkOrchestrator]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) Asking VirtualRouter to prepare for
Nic[35-17-5e67cbbb-68d3-4f96-beef-c2509c5d9832-192.168.1.100]
2022-11-29 16:09:31,820 ERROR [o.a.c.n.r.d.RouterDeploymentDefinition]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) Didn't support redundant virtual router without
public network!
2022-11-29 16:09:31,820 WARN  [c.c.v.VirtualMachineManagerImpl]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) Unable to contact resource.
com.cloud.exception.ResourceUnavailableException: Resource
[DataCenter:1] is unreachable: Can't find at least one running router!
        at 
com.cloud.network.element.VirtualRouterElement.prepare(VirtualRouterElement.java:288)
        at 
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.prepareElement(NetworkOrchestrator.java:1591)
        at 
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.prepareNic(NetworkOrchestrator.java:1946)
        at 
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.prepare(NetworkOrchestrator.java:1880)
        at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1177)
        at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:5315)
        at jdk.internal.reflect.GeneratedMethodAccessor766.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 
com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
        at 
com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5439)
        at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
        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 16:09:31,822 DEBUG [c.c.v.VirtualMachineManagerImpl]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) Cleaning up resources for the vm VM instance {id:
"17", name: "i-6-17-VM", uuid: "9b5066ff-8b98-48e1-b1b9-02aaa3aa2751",
type="User"} in Starting state
2022-11-29 16:09:31,834 DEBUG [c.c.v.VirtualMachineManagerImpl]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) VM instance {id: "17", name: "i-6-17-VM", uuid:
"9b5066ff-8b98-48e1-b1b9-02aaa3aa2751", type="User"} is a [User],
returning null for control Nic IP.
2022-11-29 16:09:31,841 DEBUG [c.c.a.t.Request]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) Seq 2-5849612966000855245: Sending  { Cmd , MgmtId:
31443122621416, via: 2(compute1.nandiconnect), Ver: v1, Flags: 100011,
[{"com.cloud.agent.api.StopCommand":{"isProxy":"false","checkBeforeCleanup":"false","forceStop":"false","vlanToPersistenceMap":{"untagged":"true"},"volumesToDisconnect":[],"vmName":"i-6-17-VM","executeInSequence":"false","wait":"0","bypassHostMaintenance":"false"}}]
}
2022-11-29 16:09:32,141 DEBUG [c.c.a.t.Request]
(AgentManager-Handler-5:null) (logid:) Seq 2-5849612966000855245:
Processing:  { Ans: , MgmtId: 31443122621416, via: 2, Ver: v1, Flags:
10, 
[{"com.cloud.agent.api.StopAnswer":{"result":"true","wait":"0","bypassHostMaintenance":"false"}}]
}
2022-11-29 16:09:32,141 DEBUG [c.c.a.t.Request]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) Seq 2-5849612966000855245: Received:  { Ans: ,
MgmtId: 31443122621416, via: 2(compute1.nandiconnect), Ver: v1, Flags:
10, { StopAnswer } }
2022-11-29 16:09:32,159 DEBUG [o.a.c.e.o.NetworkOrchestrator]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) Changing active number of nics for network id=204 on
-1
2022-11-29 16:09:32,165 DEBUG [o.a.c.e.o.NetworkOrchestrator]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) Asking VirtualRouter to release NicProfile
{"broadcastUri":"vlan:\/\/untagged","iPv4Address":"192.168.1.100","id":35,"reservationId":"5e67cbbb-68d3-4f96-beef-c2509c5d9832","vmId":17}
2022-11-29 16:09:32,165 DEBUG [o.a.c.e.o.NetworkOrchestrator]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) Asking SecurityGroupProvider to release NicProfile
{"broadcastUri":"vlan:\/\/untagged","iPv4Address":"192.168.1.100","id":35,"reservationId":"5e67cbbb-68d3-4f96-beef-c2509c5d9832","vmId":17}
2022-11-29 16:09:32,165 DEBUG [c.c.v.VirtualMachineManagerImpl]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) Successfully released network resources for the VM VM
instance {id: "17", name: "i-6-17-VM", uuid:
"9b5066ff-8b98-48e1-b1b9-02aaa3aa2751", type="User"} in Starting state
2022-11-29 16:09:32,174 DEBUG [c.c.v.VirtualMachineManagerImpl]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) Successfully released storage resources for the VM VM
instance {id: "17", name: "i-6-17-VM", uuid:
"9b5066ff-8b98-48e1-b1b9-02aaa3aa2751", type="User"} in Starting state
2022-11-29 16:09:32,174 DEBUG [c.c.v.VirtualMachineManagerImpl]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) Successfully cleaned up resources for the VM VM
instance {id: "17", name: "i-6-17-VM", uuid:
"9b5066ff-8b98-48e1-b1b9-02aaa3aa2751", type="User"} in Starting state
2022-11-29 16:09:32,175 DEBUG [c.c.v.VirtualMachineManagerImpl]
(Work-Job-Executor-61:ctx-2204c420 job-12091/job-12093 ctx-48039bdf)
(logid:8a1a8910) VM start attempt #2

On Tue, Nov 29, 2022 at 3:52 PM Samuel Ngoda <ngodasam...@gmail.com> wrote:
>
> 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
> > > >>
> > > >>
> > >
> > >

Reply via email to