[ ########-####-####-########59cd ] Failed to delete object "PVDC_NAME" and its dependencies. - Failed to purge object "PVDC_NAME". - could not delete: [com.vmware.vcloud.common.model.storagefabric.StorageClassNameModel#########-####-####-########f835] - ERROR: update or delete on table "storage_class" violates foreign key constraint "fk_vm_dis_sto_cl2storage_class" on table "vm_disk_storage_class" Detail: Key (id)=(########-####-####-########f835) is still referenced from table "vm_disk_storage_class".
/opt/vmware/vcloud-director/logs/vcloud-contaner-debug.log the below entry is present com.vmware.ssdc.library.exceptions.MultipleLMException: Failed to delete object "PVDC_NAME" and its dependencies. - Multiple Exceptions follow: [com.vmware.vcloud.api.presentation.service.InternalServerErrorException: Failed to purge object "PVDC_NAME".][...]Caused by: org.postgresql.util.PSQLException: ERROR: update or delete on table "storage_class" violates foreign key constraint "fk_vm_dis_sto_cl2storage_class" on table "vm_disk_storage_class" Detail: Key (id)=(########-####-####-########f835) is still referenced from table "vm_disk_storage_class". at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2733) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2420) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:372)[...]VMware Cloud Director 10.6.0.1
Stale entries for VMs directly deleted in vCenter are still referencing to the storage class reported in the error.
Database modification is needed. Please contact Broadcom Support and note this Article ID (397657) in the problem description. For more information, see Creating and managing Broadcom support cases.