VMware vCenter 8.0.x
This issue is caused by stale or hung import sessions within the vmware-content-library service. These stale sessions occupy the available transfer threads, preventing new tasks from initializing.
Follow the below steps to resolve the issue :
1) Restart the Content Library Service. Log in to the vCenter Server Appliance (VCSA) via SSH as root and run the following command to clear stale sessions:
service-control --restart vmware-content-library
2) If the issue persists, you may need to manually clear stalled activities from the vCenter Database (VCDB). Take a Snapshot / backup before implementing in production :
service-control --stop vmware-content-library/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgresdelete from cl_simple_activity;delete from cl_vcenter_task where state ='queued';service-control --start vmware-content-library
After implementing the steps mentioned above, the entries for the "Setting Library Item Tag" task were cleared. We have then successfully mounted an ISO to a VM from the content library.