/var/log/upgrade-coordinator/upgrade-coordinator.log
you see the following entries:2022-06-02T22:03:58.524Z INFO http-nio-127.0.0.1-7442-exec-5 UpgradeCoordinatorFacadeImpl 1307 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] Converted Uc Upgrade status UcUpgradeStatus{percentage=0, status=FAILED, progressMessages=[], errorMessages=[[192.168.10.3] Management service is not available. The credentials were incorrect or the account specified has been locked.]} to UcUpgradeStatus{state='FAILED', progressPercentage='0', status='', progressMessages='[]', errors='[[192.168.10.3] Management service is not available. The credentials were incorrect or the account specified has been locked.]'}
2022-06-02T22:03:58.524Z INFO http-nio-127.0.0.1-7442-exec-6 UpgradeCoordinatorFacadeImpl 1307 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] Converted Uc Upgrade status UcUpgradeStatus{percentage=0, status=FAILED, progressMessages=[], errorMessages=[[192.168.10.3] Management service is not available. The credentials were incorrect or the account specified has been locked.]} to UcUpgradeStatus{state='FAILED', progressPercentage='0', status='', progressMessages='[]', errors='[[192.168.10.3] Management service is not available. The credentials were incorrect or the account specified has been locked.]'}
/var/log/syslog
you see the following entries:2022-06-02T22:03:58.524Z nsx-mngr-01.corp.local NSX 1307 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] Converted Uc Upgrade status UcUpgradeStatus{percentage=0, status=FAILED, progressMessages=[], errorMessages=[[192.168.10.3] Management service is not available. The credentials were incorrect or the account specified has been locked.]} to UcUpgradeStatus{state='FAILED', progressPercentage='0', status='', progressMessages='[]', errors='[[192.168.10.3] Management service is not available. The credentials were incorrect or the account specified has been locked.]'}
2022-06-02T22:03:58.524Z nsx-mngr-01.corp.local NSX 1307 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] message repeated 2 times: [Converted Uc Upgrade status UcUpgradeStatus{percentage=0, status=FAILED, progressMessages=[], errorMessages=[[192.168.10.3] Management service is not available. The credentials were incorrect or the account specified has been locked.]} to UcUpgradeStatus{state='FAILED', progressPercentage='0', status='', progressMessages='[]', errors='[[192.168.10.3] Management service is not available. The credentials were incorrect or the account specified has been locked.]'}]
/var/log/proxy/reverse-proxy.log
you see the following entries:2022-04-03T13:45:49.037Z ERROR https-jsse-nio-192.168.120.1-443-exec-13 NsxRestAuthenticationEntryPoint - - [nsx@6876 comp="nsx-manager" errorCode="MP403" level="ERROR" subcomp="http"] The credentials were incorrect or the account specified has been locked.
2022-04-03T15:59:10.901Z ERROR https-jsse-nio-192.168.120.1-443-exec-13 NsxRestAuthenticationEntryPoint - - [nsx@6876 comp="nsx-manager" errorCode="MP403" level="ERROR" subcomp="http"] The credentials were incorrect or the account specified has been locked.
VMware NSX-T Data Center 3.x
RegistrationTokenDto.class
files contained in jar files for each service, but only one will be used.This issue is resolved in NSX-T 3.2.2
Workaround:
Note:
If you encounter this issue, that is that the Upgrade coordinator upgrade has failed, DO NOT change the Orchestrator node by running the following command set repository-ip, as it can lead to other issues, instead follow the workaround steps below.
The workaround for Local NSX-T managers
Note: The work around should only be followed on the impacted unified appliances. (Appliances getting the 403 errors with "The credentials were incorrect" error.
zip -d /opt/vmware/proxy-tomcat/webapps/ROOT/WEB-INF/lib/libreverse-proxy-compile.jar com/vmware/nsxapi/registrationtokenendpoint/dto/RegistrationTokenDto.class
zip -d /opt/vmware/proton-tomcat/webapps/nsxapi/WEB-INF/lib/libvmc-aws-core.jar com/vmware/nsxapi/registrationtokenendpoint/dto/RegistrationTokenDto.class
su admin -c restart service http
su admin -c restart service manager
The workaround for Global NSX-T managers
Note: The work around should only be followed on the impacted unified appliances. (Appliances getting the 403 errors with "The credentials were incorrect" error.
Note: The workaround for Global NSX-T managers is slightly different, as the libvmc-aws-core.jar jar file is not used on global managers, only the libreverse-proxy-compile.jar
file needs to be fixed if this issue occurs:
zip -d /opt/vmware/proxy-tomcat/webapps/ROOT/WEB-INF/lib/libreverse-proxy-compile.jar com/vmware/nsxapi/registrationtokenendpoint/dto/RegistrationTokenDto.class
su admin -c restart service http
su admin -c restart service manager
Note:
This may affect one or more managers.
Please start the workaround with the NSX Manager showing in the error message.