Users may observe the following exceptionin the VMware Cloud Director UI when attempting to manage a vApp:
Managed object of type "Folder" with value "<moref_id>" does not exist - The object 'vim.Folder:<moref_id>' has already been deleted or has not been completely created.
Stale database records may occur, leading to a mismatch between the VMware Cloud Director database and the actual vCenter inventory.
In the Cloud Director Database, for a VM within a vApp it should be mapped to a unique folder reference 'group-vXXXXX'.
sudo -i -u postgres psql vcloudSELECT vapp_vm.id, vapp_vm.name, vm_inv.vc_id, vm_inv.moref, vm_container.vmfolder_moref, vm_inv.parent_moref, vm_container.sg_id
FROM vapp_vm, vm_container, vm, vm_inv
WHERE vapp_vm.vapp_id = vm_container.sg_id
AND vapp_vm.svm_id = vm.id
AND vm.vc_id = vm_inv.vc_id
AND vm.moref = vm_inv.moref
AND vm_inv.is_deleted = false
AND vm_container.vmfolder_moref <> vm_inv.parent_moref;Resolution for this issue involves database modification. For prompt assistance open a case with Broadcom Support and include the output of the above query, a database backup, and a reference to this article (453811).