During an upgrade of NSX Manager from version 4.2.0 to 4.2.1.3 on VMware Cloud Foundation (VCF) 5.2.1.1 running on VxRail 8.0.300, the upgrade process failed with the error:
"NSX_T_MANAGER resourceId: nsx-manager.example.com status changed to SKIPPED COMPLETED_WITH_FAILURE".
The NSX Manager upgrade was skipped due to an authentication failure during pre-check validation. Logs indicated a 401 Unauthorized HTTP request from VxManager, despite confirmed validity of the vCenter management account credentials when tested manually.
SDDC manager 5.2.1.1
This is caused by a mismatch or outdated encrypted credentials for the vCenter management account stored in VxRail Manager. While the credentials were functionally valid, their encrypted form in VxRail did not align with the current password, leading to authentication failures during upgrade pre-checks.
Rotate and Update vCenter Management Account Password:
Update Encrypted Credentials in VxRail Manager:
Restart Services in VxRail Manager:
systemctl restart vmware-marvinsystemctl restart runjars
Reattempt NSX Manager Upgrade:
Verify that the updated credentials have correct permissions in vCenter.
Check logs (lcm-debug.log) post-resolution to confirm no remaining authentication errors.