"No VMs" and and "There are no disks" at the VM selection stage.Configure Resources page it's blank and nothing is visible to select.Configure Resources page it's blank and nothing is visible to select.This issue is caused by performance degradation in the Cloud Director Database. Views are queried when fetching storage profile and datastore overlap details during the vApp deployment wizard. If the database execution takes too long, the UI times out, resulting in an empty VM list or a hanging wizard.
To ensure optimal performance, it is recommended to reclaim disk space and update database statistics.
If a maintenance window is not immediately possible then updating the statistical data on the following database tables may provide temporary mitigation:
sudo -i -u postgres psql vclouddbANALYZE datastore_profile_inv;ANALYZE storage_profile_inv;ANALYZE datastore_inv;This workflow requires downtime for the Cloud Director vmware-vcd service on all cells at the same time. This result in the Cloud Director UI becoming unavailable.
Note: That VACUUM FULL requires a table-level lock and should be performed during a maintenance window.
sudo -i -u postgres psql vclouddbrepmgr cluster show
vacuum full;vacuum analyze;
systemctl start vmware-vcdtail -f /opt/vmware/vcloud-director/logs/cell.log