weizhouapache commented on issue #10281:
URL: https://github.com/apache/cloudstack/issues/10281#issuecomment-2615975074
> If I create a vpc tier (guest network), it stays in the "Allocated" state.
No virtual routers are listed.
>
> If I try to create an instance I get the error:
>
> ```
> 2025-01-27 14:13:25,996 DEBUG [c.c.n.e.VpcVirtualRouterElement]
(Work-Job-Executor-12:[ctx-c397d200, job-782/job-792, ctx-a5ef6537])
(logid:afefbbec) Router VM instance
{"id":29,"instanceName":"r-29-VM","type":"DomainRouter","uuid":"11f0259c-87ef-4ebd-9773-1d0bc62f45e0"}
is not a part the network Network {"id": 205, "name": "Kubernetes network",
"uuid": "dc5288c7-dace-466e-9c61-205d5d072199", "networkofferingid": 72}
> 2025-01-27 14:13:25,996 DEBUG [c.c.n.e.VpcVirtualRouterElement]
(Work-Job-Executor-12:[ctx-c397d200, job-782/job-792, ctx-a5ef6537])
(logid:afefbbec) Router VM instance
{"id":30,"instanceName":"r-30-VM","type":"DomainRouter","uuid":"0aa9440d-2df3-421e-bde6-2b1a0cb8a3d5"}
is not a part the network Network {"id": 205, "name": "Kubernetes network",
"uuid": "dc5288c7-dace-466e-9c61-205d5d072199", "networkofferingid": 72}
> 2025-01-27 14:13:25,996 DEBUG [o.a.c.e.o.NetworkOrchestrator]
(Work-Job-Executor-12:[ctx-c397d200, job-782/job-792, ctx-a5ef6537])
(logid:afefbbec) Network id=205 is shutdown successfully, cleaning up
corresponding resources now.
> 2025-01-27 14:13:26,008 DEBUG [o.a.c.e.o.NetworkOrchestrator]
(Work-Job-Executor-12:[ctx-c397d200, job-782/job-792, ctx-a5ef6537])
(logid:afefbbec) Lock is released for network Network {"id": 205, "name":
"Kubernetes network", "uuid": "dc5288c7-dace-466e-9c61-205d5d072199",
"networkofferingid": 72} as a part of network shutdown
> 2025-01-27 14:13:26,012 DEBUG [o.a.c.e.o.NetworkOrchestrator]
(Work-Job-Executor-12:[ctx-c397d200, job-782/job-792, ctx-a5ef6537])
(logid:afefbbec) Lock is released for network id 205 as a part of network
implement
> 2025-01-27 14:13:26,012 WARN [c.c.v.ClusteredVirtualMachineManagerImpl]
(Work-Job-Executor-12:[ctx-c397d200, job-782/job-792, ctx-a5ef6537])
(logid:afefbbec) Insufficient capacity
com.cloud.exception.InsufficientVirtualNetworkCapacityException: Unable to
allocate vnet as a part of network Network {"id": 205, "name": "Kubernetes
network", "uuid": "dc5288c7-dace-466e-9c61-205d5d072199", "networkofferingid":
72} implement Scope=interface com.cloud.dc.DataCenter; id=2
> at
com.cloud.network.guru.GuestNetworkGuru.allocateVnet(GuestNetworkGuru.java:355)
> at
com.cloud.network.guru.GuestNetworkGuru.implement(GuestNetworkGuru.java:384)
> at
com.cloud.network.guru.ExternalGuestNetworkGuru.implement(ExternalGuestNetworkGuru.java:159)
> at
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.implementNetwork(NetworkOrchestrator.java:1565)
> at
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.implementNetwork(NetworkOrchestrator.java:1427)
> at
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.prepare(NetworkOrchestrator.java:2129)
> at
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1262)
> at
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:5467)
> at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
> at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:569)
> at
com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:106)
> at
com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5591)
> at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:99)
> at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:652)
> 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:600)
> at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:840)
> ```
it looks the vpc tier cannot be implemented due to insufficient vlan.
can you check zone->physical networks -> choose the physical network with
Guest traffic type -> Update physical network to see if VLAN/VNI is set ? are
all vlans in use ?
--
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]