Catalog item copy or move operation fails with the following error message: The entity Ref: com.vmware.vcloud.entity.vm:<vm-id> is busy completing an operation VDC_COPY_VAPP
10.x
This issue typically occurs when a virtual Machine <vm-id> has the catalog item (ISO image) and fails to unmount during the VDC_COPY_VAPP process. The active file handle on the ISO prevents the underlying operation causing the VCD task to fail with is_busy
Prerequisites:
You must have System Administrator privileges to VMware Cloud Director.
You must have SSH access to the primary VCD Cell and the PostgreSQL database.
Warning: This procedure involves modifying the VCD database. Ensure you have a valid backup of the VCD database before proceeding.
Step 1:Validate on vCloud UI if there is any active task running for the VM <vm-id>, if exists wait for the completion.
Step 2: Identify the VM and Task details from vCloud DB
Clear the "Busy" State
Step 3:
Retry the catalog item move or copy operation.
To prevent this issue, ensure all ISOs and removable media are disconnected from vApps and VMs in order for simultaneous migrations