Error: Unable to place the vApp in the VDC while deploying a Virtual Machine in Cloud Director.
book
Article ID: 403467
calendar_today
Updated On:
Products
VMware Cloud Director
Issue/Introduction
While creating a new VM in a specific OrgVDC we gets the following error:
com.vmware.vcloud.api.presentation.service.InternalServerErrorException: Unable to place the vApp in the VDC
While creating a new replication in VMware Cloud Director Availability with the concerned OrgVDC as destination we get the following error:
Unexpected VMware Cloud Director error. [ UI-########-####-####-####-############-######-##-########-####-####-####-############ ] Unable to place the vApp in the VDC.
In the /opt/vmware/vcloud-director/logs/vcloud-container-debug.log file on the Cloud Director Appliance cell, you see entries similar to:
ERROR | Backend-activity-pool-| PlacementServiceFacade | Error while preparing hub [vcId=########-####-####-####-############, moref=resgroup-#######] | ..... .......... com.vmware.ssdc.util.exceptions.NotSupportedException: The operation is not supported on the object. at com.vmware.ssdc.library.vim.LmVim.Convert(LmVim.java:292) at com.vmware.ssdc.library.vim.LmVim.Convert(LmVim.java:502) at com.vmware.vcloud.val.internal.impl.VC20VirtualEngine.createSubResourcePool(VC20VirtualEngine.java:3037 at com.vmware.vcloud.fabric.compute.vrp.GenericVirtualResourcePool.lambda$createResourcePool$3(GenericVirtualResourcePool.java:1277) at com.vmware.vcloud.common.persist.ConversationFactoryImpl.executeIsolated(ConversationFactoryImpl.java:371) at com.vmware.vcloud.fabric.compute.vrp.GenericVirtualResourcePool.createResourcePool(GenericVirtualResourcePool.java:1276) at com.vmware.vcloud.fabric.compute.vrp.GenericVirtualResourcePool.createResourcePool(GenericVirtualResourcePool.java:1136) at ... at java.base/java.lang.Thread.run(Thread.java:829) Caused by: (vmodl.fault.NotSupported) { faultCause = null, faultMessage = null } ...
Environment
VMware Cloud Director 10.6.0.1
Cause
Provider VDC of the concerned OrgVDC is backed by more than one cluster and one of the cluster has DRS disabled. VMware Cloud Director supports the power on function of VMs only when the DRS automation level is Fully Automated or Partially Automated.