VMs are not visible and wizard hangs during vApp creation in VMware Cloud Director
search cancel

VMs are not visible and wizard hangs during vApp creation in VMware Cloud Director

book

Article ID: 442144

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

When attempting to create a new vApp from a catalog in the VMware Cloud Director Tenant UI, users may experience the following:

  • The vApp creation wizard displays "No VMs" at the VM selection stage.
  • The wizard spins indefinitely and does not allow the user to proceed.
  • The issue is intermittent; a vApp template may show VMs correctly at one moment and fail shortly after.
  • Adding VMs individually to an existing vApp works correctly.
  • Browser Developer Tools may show long-running or timed-out API calls related to storage profiles or datastore details.

Environment

  • VMware Cloud Director 10.x

Cause

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.

Resolution

To ensure optimal performance, it is recommended to reclaim disk space and update database statistics. Note that VACUUM FULL requires a table-level lock and should be performed during a maintenance window or period of low activity.

  1. While still in the psql session, run the following command to reclaim space and analyze the database:

    sql
     
    VACUUM FULL ANALYZE;

    Note: This command may take several minutes to complete depending on database size and bloat.

  2. For more detailed instructions on managing database disk space and maintenance, refer to .

Additional Information

If the issue persists, contact support and reference this Article (442144). Please subscribe to this article for updates. For instructions on how to subscribe, see .