/opt/vmware/vcloud-director/logs/vcloud-container-info.log
and/or /opt/vmware/vcloud-director/logs/vcloud-container-debug.log
on the Cloud Director Cells show errors of the form: <TIMESTAMP> | ERROR | task-service-activity-pool-752 | FutureUtil | Failed to relocate VM to a Hub | requestId=<Request ID>,request=PUT https://<VCD_URL>/api/vApp/vm-########-####-####-####-############/networkConnectionSection/,requestTime=<REQUEST_TIME>,remoteAddress=#.#.#.#,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ...,accept=application/*+xml;version 38.0.0-alpha vcd=########-####-####-####-############,task=<Task ID> activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:########-####-####-####-############)
java.lang.NullPointerException
at com.vmware.ssdc.backend.services.impl.RelocateVmActivity$SaveVmGroupInfoPhase.findSourceVrpIdOfVm(RelocateVmActivity.java:519)
at com.vmware.ssdc.backend.services.impl.RelocateVmActivity$SaveVmGroupInfoPhase.invoke(RelocateVmActivity.java:433)
at com.vmware.vcloud.activity.executors.ActivityRunner.runPhase(ActivityRunner.java:175)
at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:112)
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)
Cloud Director 10.5.x
This issue occurs when Cloud Director performs a Resource Pool lookup for the VM attempting to be edited.
If the VM Resource Pool in vCenter does not match the Organization VDC Resource Pool in Cloud Director, you will get the error above.
Move the VM in vCenter using the vSphere Web Client to the correct Resource Pool to match the Name of the VM's Organization VDC.