vCenter Upgrade fails through SDDC Manager with VxRail Manager due to compatibility checks
search cancel

vCenter Upgrade fails through SDDC Manager with VxRail Manager due to compatibility checks

book

Article ID: 395547

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

  • The vCenter upgrade through the SDDC Manager fails with the following error:
Compatibility checks failed for Vcenter Upgrade at VCenterPatchUpdateState(virtualMachineName=name_of_the_vCenter, stage=VCENTER_UPGRADE_PRE_VALIDATION, vCenterSpec=com.vmware.evo.sddc.lcm.model.internal.upgrade.PrimitiveSpec@*******, isUpgradeStageCompleted=true) . Due to error: VxManager HTTP Request failed with invalid status code, error: [executeVxManagerHttpRequest] VxManager http Request /rest/vxm/v1/system failed with status code 401, error message {"message": "The provided vCenter credentials are not valid."} Upgrade and interop incompatible product pair details are provided below(if any) :[] Products and Versions that have no compatibility data include(if any) :[]

  • You will also observe status code 401 UNAUTHORIZED error from the lcm logs of the SDDC Manager: 
From the /var/log/vmware/vcf/lcm/lcm.log:

2025-04-14T09:02:16.894+0300 INFO  [vcf_lcm,67fca4e8562c7bd718cd9bcc745bb21b,22c7] [c.v.e.s.l.s.impl.UpgradeServiceImpl,http-nio-127.0.0.1-7400-exec-10] Getting list of cluster IDs if the upgrade 82*************** is cluster level upgrade.
2025-04-14T09:02:17.706+0300 INFO  [vcf_lcm,0000000000000000,0000,upgradeId=82f545b7-b9f2-4d75-b992-a12469ffd126,resourceType=VCENTER,resourceId=06**********,bundleElementId=3eab1127-07de-4acc-a2fa-df3163f8be1a] [c.v.e.s.l.p.impl.vxm.VxManagerClient,Upgrade-1] [executeVxManagerHttpRequest] Got status code 401 UNAUTHORIZED from /rest/vxm/v1/system
2025-04-14T09:02:17.707+0300 ERROR [vcf_lcm,0000000000000000,0000,upgradeId=82f545b7-b9f2-4d75-b992-a12469ffd126,resourceType=VCENTER,resourceId=06**********,bundleElementId=3eab1127-07de-4acc-a2fa-df3163f8be1a] [c.v.e.s.l.p.impl.vxm.VxManagerClient,Upgrade-1] [executeVxManagerHttpRequest] Got unexpected status code 401 UNAUTHORIZED from /rest/vxm/v1/system response body : {"message": "The provided vCenter credentials are not valid."}
2025-04-14T09:02:17.708+0300 ERROR [vcf_lcm,0000000000000000,0000,upgradeId=82f545b7-b9f2-4d75-b992-a12469ffd126,resourceType=VCENTER,resourceId=06**********,bundleElementId=3eab1127-07de-4acc-a2fa-df3163f8be1a] [c.v.e.s.l.p.i.v.VcenterUpgradeCompatibilityPrimitiveHelper,Upgrade-1] Failed to calculate vcenter upgrade compatibility
java.lang.RuntimeException: VxManager HTTP Request failed with invalid status code, error: [executeVxManagerHttpRequest] VxManager http Request /rest/vxm/v1/system failed with status code 401, error message {"message": "The provided vCenter credentials are not valid."}
        at com.vmware.evo.sddc.lcm.primitive.impl.vxm.VxManagerClient.executeVxManagerHttpRequest(VxManagerClient.java:481)
        at com.vmware.evo.sddc.lcm.primitive.impl.vxm.VxManagerClient.getVxManagerVersion(VxManagerClient.java:134)
        at com.vmware.evo.sddc.lcm.primitive.util.CompatibilityVersionHelper.getVxManagerVersionsForCluster(CompatibilityVersionHelper.java:95)
        at com.vmware.evo.sddc.lcm.primitive.impl.vcenter.VcenterUpgradeCompatibilityHelper.getDistinctInteropCombinationForPostUpgradeInteropVerification(VcenterUpgradeCompatibilityHelper.java:166)

Environment

VMware SDDC Manager 5.2.x.

Cause

This can be due to insufficient permissions or a service account's password is expired in the VxRail Manager. 

Resolution

Please reach out to Dell VxRail support to resolve the issue.