The Datastore Selection (or validation) wizard for updating the primary datastore times out or loads indefinitely when managing VMFS clusters.
search cancel

The Datastore Selection (or validation) wizard for updating the primary datastore times out or loads indefinitely when managing VMFS clusters.

book

Article ID: 454193

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer VMware Cloud Foundation

Issue/Introduction

The Datastore Selection (or validation) wizard for updating the primary datastore times out or loads indefinitely when managing VMFS clusters.

Environment

VMware Cloud Foundation  9.1.x

Cause

A performance issue during computation in the SDDC Manager UI causes the wizard to time out or hang when handling a large volume of datastores.

Resolution

To update the primary datastore at scale, use the SDDC Manager API rather than the UI.

  1. Retrieve Datastore moref ID: Log in to vCenter Server and identify the moref ID for the target primary datastore (e.g., datastore-780).



  2. Retrieve Cluster ID:  Log in to the SDDC Manager UI and navigate to: 
    Inventory > Workload Domains > [Select Workload Domain] > Clusters > [Select Cluster] 
    Copy the Cluster ID from the URL or cluster details page (e.g., 
    81c946a-baee-4a48-9046-626f3466a7fe)




  3. Use the PATCH API:

    • Log in to SDDC Manager and navigate to the Developer Center in the left-hand pane.
    • Expand the Cluster section and locate the PATCH API endpoint.
    • Enter the Cluster ID in the id field.(Retrieved in Step 2)
    • Submit the following payload, replacing  with the value retrieved in Step 1:

    {
      "clusterPrimaryDatastoreUpdateSpec": {
        "datastoreId": ""
      }
    }