NSX-T Manager is in error state due to audit failure. Please run upgrade pre-checks before proceeding with upgrade
DEBUG [vcf_lcm,########-####-####-####-############,#####,auditId=########-####-####-####-############,r
esourceType=NSX_T_MANAGER,resourceId='nsxt-example.com',name='nsxt-example.com'] [c.v.e.s.l.p.i.n.NsxtInventoryLoader,vac-scheduler-1] Loading NSX Transport Nodes Details for 'nsxt-example.com'
ERROR [vcf_lcm,########-####-####-####-############,#####,auditId=########-####-####-####-############,resourceType=NSX_T_MANAGER,resourceId='nsxt-example.com',name='nsxt-example.com'] [c.v.v.c.n.s.c.c.ComplexHelpers,vac-scheduler-1] Exception occurred during NSX API invocation
java.util.concurrent.ExecutionException: com.vmware.vapi.std.errors.InternalServerError: InternalServerError (com.vmware.vapi.std.errors.internal_server_error) => {
messages = [],
data = struct => {error_message=General error has occurred., details=java.lang.NullPointerException, error_code=100, module_name=common-services},
errorType = INTERNAL_SERVER_ERROR
}
ERROR [vcf_lcm,#######,####] [c.v.e.s.l.s.impl.UpgradeServiceImpl,http-nio-127.0.0.1-7400-exec-1] NSX Audit on the resource nsxt-example.com is in failed state, setting resourceHealth as ERROR
[vcf_lcm,########-####-####-####-############] [c.v.e.s.l.s.impl.UpgradeServiceImpl,http-nio-127.0.0.1-7400-exec-1] NSX Audit on the resource nsxt-example.com is in failed state, setting upgradeStatus as ERROR
[vcf_lcm,########-####-####-####-############] [c.v.v.l.r.a.c.v.u.UpgradableController,http-nio-127.0.0.1-7400-exec-1] Upgrade Objects {"bundleId":"#######","domainId":"yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyy342c","nsxtManagerCluster":{"id":"nsxt-example.com","name":"nsxt-example.com","resourceHealth":"ERROR","version":"4.2.0.0.0-24105817","upgradeStatus":"ERROR"}}
auditError": { +
| "errorCode": "Failed to load NSX Cluster from the Inventory", +
| "errorDetails": "error_message : Failed to load NSX Cluster from the Inventory, httpStatus : , error_code : 0"
Command to check NSXT details in SDDC Manager platform DB
/usr/pgsql/13/bin/psql -h localhost -U postgres -c "\x" -c "select id,status,version,cluster_fqdn,configuration from nsxt where cluster_fqdn='nsxt-example.com'"Sample output
id | ######-######-######-######-######
status | ACTIVE
version | 4.2.0.0.0-24105817
cluster_fqdn | nsxt-example.com
configuration | { +
| "domainIds": [ +
| "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyy342c" +
| ], +
| "vcfId": "######-######-######-######-######", +
| "nsxtComputeManagers": {}, +
| "nsxtHostClusters": {}, +
| "nsxtEdgeClusters": {}, +
| "managerIpsFqdnMap": { +
| "<nsxt manager ip>": "nsxt1.example.com", +
| "<nsxt manager ip>": "nsxt2.example.com", +
| "<nsxt manager ip>": "nsxt3.example.com" +
| }, +
| "resourceMapper": {}, +
| "auditSucceeded": false, +
| "auditError": { +
| "errorCode": "Failed to load NSX Cluster from the Inventory", +
| "errorDetails": "error_message : Failed to load NSX Cluster from the Inventory, httpStatus : , error_code : 0"+
| }, +
| "resourceId": "nsxt-example.com", +
| "resourceName": "nsxt-example.com", +
| "version": { +
| "version": "4.2.0.0.0-24105817" +
| }, +
| "upgradeAvailable": false +
| }
root@nsx01:~# chage -l audit
Last password change : Password must be changed
Password expires : Password must be changed
Password inactive : Password must be changed
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 9990
Number of days of warning before password expires : 72025-08-21T00:03:01.202+0000 ERROR [vcf_lcm,#######,#######,auditId=#######,resourceType=NSX_T_MANAGER
,resourceId=HOST.EXAMPLE.COM,name=HOST.EXAMPLE.COM] [c.v.v.c.n.s.c.c.ComplexHelpers,Scheduled-7] Exception occurred during NSX API invocation
java.util.concurrent.ExecutionException: com.vmware.vapi.client.exception.SslException: Certificate for <nsx_fqdn-###.###.com> doesn't match any of the subject alternative names: [nsx-vip-###.###.com]
at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
at com.vmware.vapi.bindings.CompletionStageFuture.get(CompletionStageFuture.java:45)
at com.vmware.vcf.common.nsxt.sdk.client.connection.ComplexHelpers.invoke(ComplexHelpers.java:188)
at com.vmware.vcf.common.nsxt.sdk.client.connection.NodeVersionOperations.getVersion(NodeVersionOperat
VMware Cloud Foundation 5.x
Expired audit user in NSX-T Manager
st echage -l auditroot@nsx01:~# chage -l audit
Last password change : Password must be changed
Password expires : Password must be changed
Password inactive : Password must be changed
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 9990
Number of days of warning before password expires : 7/etc/init.d/nsx-mp-api-server stopecho "" >/etc/security/opasswd
passwd <serviceacctUserName>
touch /var/vmware/nsx/reset_cluster_credentials /etc/init.d/nsx-mp-api-server start
If the NSX Manager server certificate is mismatched, generate a self-signed certificate. - Replace Expired NSX Manager Certificates