Hello,
After preparing NSX-T, Edge clusters and a T0 gateway, I deployed a T1 gateway from my VCD console.
Once the T1 gateway was deployed, I created a 192.168.1.254/24 network with DHCP, but when I want to apply it to my virtual machine, I get the following error: "The operation failed because no suitable resource was found. Out of 1 candidate hubs: 1 hubs eliminated because: Does not contain any suitable ESXi hosts. Rejected hubs: resgroup-4480 - PlacementException NO_FEASIBLE_PLACEMENT_SOLUTION"
Do you have an idea ?
Thank you,
Hello,
Everything is OK, I had a configuration problem in my DVS. The Overlay tunnels were OK, but when a virtual machine was started, all the tunnels were falling down.
With the right configuration, it works 🙂
Regards,
Hello,
Thank you for your help.
1) Yes, the network is on the right T1.
2) I don't have any problems with deployment or operating tasks, except for the network connection.
3) I think so because when I create the Edge and the network from VCD, I see them on NSX-T Manager as T1 and Segments.
4) The /opt/vmware/vcloud-director/logs/vcloud-container-debug.log file displays :
2021-06-08 19:31:22,859 | DEBUG | task-service-activity-pool-7 | CJob | updateFailedJob(com.vmware.vcloud.api.presentation.service.InternalServerErrorException) with locale=null | requestId=3b65fbcd-8d8c-47dc-b926-8fbc0c1e5cca,request=PUT https://[URL]/api/vApp/vm-7cf6a5ff-0d8f-4a06-82e9-dc6a562be1a7/networkConnectionSection/,requestTime=1623173480233,remoteAddress=[IP]:10144,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/2010...,accept=application/*+xml;version 35.2 vcd=f47a3c11-6d84-45cf-ab1a-f2914d24cd2b,task=d66edd16-ee01-44b0-bc12-6d7cf83b8322 activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:d66edd16-ee01-44b0-bc12-6d7cf83b8322)
com.vmware.vcloud.api.presentation.service.InternalServerErrorException: The operation failed because no suitable resource was found. Out of 1 candidate hubs:
1 hubs eliminated because: Does not contain any suitable ESXi hosts. Rejected hubs: resgroup-4480
at com.vmware.vcloud.placement.PlacementExceptionHandler.convertPlacementException(PlacementExceptionHandler.java:78)
at com.vmware.vcloud.placementfacade.impl.PlacementServiceFacadeImpl.computePlacementSolution(PlacementServiceFacadeImpl.java:865)
at com.vmware.vcloud.placementfacade.impl.PlacementServiceFacadeImpl.computePlacementSolution(PlacementServiceFacadeImpl.java:848)
at com.vmware.vcloud.placementfacade.impl.PlacementServiceFacadeImpl.getPlacementState(PlacementServiceFacadeImpl.java:752)
at com.vmware.ssdc.backend.services.impl.VmManagerImpl.updateVmStorageClassAndVdcComputePolicy(VmManagerImpl.java:2724)
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:333)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at com.sun.proxy.$Proxy376.updateVmStorageClassAndVdcComputePolicy(Unknown Source)
at com.vmware.ssdc.backend.services.impl.VAppManagerImpl.updateVAppVm(VAppManagerImpl.java:4243)
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:333)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at com.sun.proxy.$Proxy375.updateVAppVm(Unknown Source)
at com.vmware.vcloud.vapp.impl.VAppServiceImpl.executeTask(VAppServiceImpl.java:713)
at com.vmware.vcloud.backendbase.management.system.TaskActivity$ExecutePhase$1.doInSecurityContext(TaskActivity.java:822)
at com.vmware.vcloud.backendbase.management.system.TaskActivity$ExecutePhase$1.doInSecurityContext(TaskActivity.java:817)
at com.vmware.vcloud.backendbase.management.system.SecurityContextTemplate.executeForOrgAndUser(SecurityContextTemplate.java:43)
at com.vmware.vcloud.backendbase.management.system.TaskActivity$ExecutePhase.execute(TaskActivity.java:824)
at com.vmware.vcloud.backendbase.management.system.TaskActivity$ExecutePhase.invokeInner(TaskActivity.java:720)
at com.vmware.vcloud.backendbase.management.system.TaskActivity$TaskActivityBasePhase.invoke(TaskActivity.java:337)
at com.vmware.vcloud.activity.executors.ActivityRunner.runPhase(ActivityRunner.java:175)
at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:112)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.vmware.pbm.placement.PlacementException: PlacementException NO_FEASIBLE_PLACEMENT_SOLUTION
at com.vmware.vcloud.placement.engine.impl.PlacementSolverImpl.constructPlacementException(PlacementSolverImpl.java:137)
at com.vmware.vcloud.placement.engine.impl.PlacementSolverImpl.ensureHubAvailability(PlacementSolverImpl.java:748)
at com.vmware.vcloud.placement.engine.impl.PlacementSolverImpl.solve(PlacementSolverImpl.java:181)
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:333)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at com.vmware.vcloud.common.diagnostics.GenericMethodDiagnosticsInterceptor.invoke(GenericMethodDiagnosticsInterceptor.java:39)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
at com.sun.proxy.$Proxy864.solve(Unknown Source)
at com.vmware.vcloud.placementfacade.impl.PlacementServiceFacadeImpl.computePlacementSolution(PlacementServiceFacadeImpl.java:863)
... 32 more
Regards,
Ok, thanks for providing the logs. The error message is a bit generic. Please perform the below test as well.
1.Power off the VM/VAPP and connect to DHCP-Enabled network and test it?
2. Connect the same VM to another network ( routed or isolated) and test it ?
Questions
1. What version of VCD, NSX-T, and ESXI are we using?
2. When DHCP is configured in the VCD segment, do you see DHCP service running on tenant T1 in NSX UI?
3. Is DRS configured and running in fully automated mode?
4. Do check if there is a lack of resources for compute and storage in VCD-> ORG-VDC, and PVDC
Hello,
Thank you for your feedback.
1) By turning off the virtual machine, I was able to connect the machine to the network.
However, I can't get the DHCP of my network configured.
2) With another network (Routed or Isolated), the result is the same.
Answers :
1) The versions are as follows:
- VMware Cloud Director: 10.2.2.17855680
- VMware ESXi: 7.0.2.17867351
- VMware NSX-T: 3.1.1.0.0.17483185
2) Yes
3) Yes
4) My VDC is configured as unlimited
And the VDC provider is also good (I think).
Regards,
Hello,
Everything is OK, I had a configuration problem in my DVS. The Overlay tunnels were OK, but when a virtual machine was started, all the tunnels were falling down.
With the right configuration, it works 🙂
Regards,
Can you tell us how you validated the tunnels and what else did you do to solve it.