Error: [ ########-####-####-####-############ ] Internal Server Error
- could not delete: [com.vmware.vcloud.common.model.logicalresource.StorageClassVdcLogicalResourceModel#########-####-####-####-##########]
ERROR: update or delete on table "vdc_logical_resource" violates foreign key constraint "fk_vap_vm_scl_me2vdc_logi_reso" on table "vapp_vm_sclass_metrics"
VMware Cloud Director10.x
The issue occurs after moving a virtual machine (VM) across Org VDCs, the VM still follows the storage policy of the old Organization VDC instead of following the storage policies of the new Organization VDC where it was moved.
This is a known issue which can affect the mentioned versions of VMware Cloud Director.
Workaround:
To work around this issue, open a new case with the Broadcom VMware Cloud Foundation Support Team. For more information, see How to Submit a Support Request