vCenter RDU Upgrade fails with "Upgrade validation has failed."
search cancel

vCenter RDU Upgrade fails with "Upgrade validation has failed."

book

Article ID: 404467

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

  • When starting the vCenter Upgrade from SDDC Manager the upgrade fails with the below: 

    VCENTER
    Failed to get vSAN datastore FD number.
    Please, verify if the vSAN datastore has policy set. Check logs for more details.
    vcenter.deployment.migration_upgrade.failed_to_retrieve_vsan_fd_number.error

  • vCenter upgrade was configured with RDU.

Lcm.log on the SDDC Manager shows the following error:

verity":"ERROR","stage":"VCENTER_UPGRADE_PRECHECK","timestamp":1747928059790,"message":{"id":"vcenter.deployment.migration_upgrade.validation_failure_error","defaultMessage":"Upgrade validation has failed.","messageAttributes":{"0":"[]"},"localizedMessage":"Upgrade validation has failed."},"originator":"VCENTER","errorType":"RECOVERABLE","remediationActions":[{"id":"vcenter.deployment.migration_upgrade.validation_failure_resolution","defaultMessage":"Resolve all errors and retry the upgrade process.","messageAttributes":{"0":"[]"},"localizedMessage":"Resolve all errors and retry the upgrade process."}],"referenceToken":"XXXXXX"},{"severity":"ERROR","stage":"VCENTER_UPGRADE_PRECHECK","timestamp":1747928059792,"message":{"id":"vcenter.deployment.migration_upgrade.failed_to_retrieve_vsan_fd_number.error","defaultMessage":"Failed to get vSAN datastore FD number.","messageAttributes":{"0":"[]"},"localizedMessage":"Failed to get vSAN datastore FD number."},"originator":"VCENTER","errorType":"RECOVERABLE","remediationActions":[{"id":"vcenter.deployment.migration_upgrade.failed_to_retrieve_vsan_fd_number.resolution","defaultMessage":"Please, verify if the vSAN datastore has policy set. Check logs for more details.","messageAttributes":{"0":"[]"},"localizedMessage":"Please, verify if the vSAN datastore has policy set. Check logs for more details."}],"referenceToken":"XXXXXX"},

Environment

Vmware Cloud Foundation 5.x

 

Cause

Related to temporary vSAN policy during upgrade with RDU.

Resolution

Upgrade doesn't fail when choosing non-RDU upgrade. This is a known issue with RDU upgrade that has been fixed in a later release.

Workaround on a source vCenter before starting the upgrade with RDU:

  1. Login to vCenter via SSH
  2. Run the curl request below to disable the precheck and enter the root password in the specified command below:
    • curl -k -u 'root:PASSWORD' --location --request PATCH 'https://localhost/lcm/rest/vcenter/lcm/deployment/precheck-list' --header 'Content-Type: application/json' --data '{
          "enabled": [],
          "disabled": ["migration_upgrade.precheck.vsan.cluster.health"]
      }'
  3. Confirm the precheck is disabled (Enter root password in the specified command below):
    • curl -k -u 'root:PASSWORD' --location --request GET 'https://localhost/lcm/rest/vcenter/lcm/deployment/precheck-list'

      Expected Output:
       {
            "enabled": false,
            "id": "migration_upgrade.precheck.vsan.cluster.health"
       },
  4. vCenter upgrade with RDU should now succeed.