10.x
Corrupted or stuck job records in the VCD database blocked the task scheduler, preventing accurate vCenter Server inventory synchronization.
This resulted in an orphaned vApp template record within VCD that no longer possessed a valid backing virtual machine object in the vCenter Server inventory (missing "name in vSphere" value).
root user.postgres user and access the embedded vcloud database by executing the following command: sudo -i -u postgres /opt/vmware/vpostgres/current/bin/psql -d vcloud
Clear the stale entries from the task and jobs tables by executing the following queries inside the database:
delete from task;
delete from jobs;
Log in to the VCD Provider portal.
Execute a manual reconnect and resynchronization of the attached vCenter Server.
Reimport the required vApp template into the VCD catalog to generate a valid vSphere object link and OVF descriptor.