Upgrade Precheck for NSX-T shows error for "NSXT Audit Check"
search cancel

Upgrade Precheck for NSX-T shows error for "NSXT Audit Check"


Article ID: 344822


Updated On:


VMware Cloud Foundation


  • This is a KB to let customers know how to resolve the mentioned issue

  • When Upgrade precheck is triggered from SDDC Manager UI on a domain, "NSXT Audit Check" for NSX-T manager shows errors
  • Following exception traces can be seen in LCM debug log (/var/log/vmware/vcf/lcm/lcm-debug.log)

    ERROR [vcf_lcm,27ac5a10ffcd0a13,8862,auditId=862c8fad-5ec8-41ff-989f-1ff78b0ecb8a,resourceType=NSX_T_MANAGER,resourceId=nsx-mgmt-1.vrack.vsphere.local,name=nsx-mgmt-1.vrack.vsphere.local] [c.v.e.s.l.p.impl.nsxt.NsxtAuditImpl,pool-6-thread-1] Error auditing NSX-T Cluster nsx-mgmt-1.vrack.vsphere.local with exception {}
    com.vmware.evo.sddc.lcm.model.error.LcmException: Failed to load NSX-T Cluster from the Inventory
            at com.vmware.evo.sddc.lcm.primitive.impl.nsxt.NsxtInventoryLoader.loadNsxtInventory(NsxtInventoryLoader.java:87)
            at com.vmware.evo.sddc.lcm.primitive.impl.nsxt.NsxtAuditImpl.doAudit(NsxtAuditImpl.java:68)

    Caused by: java.lang.RuntimeException: [address] nsx-mgmt-1:Validation failed. FQDN value does not match valid FQDN pattern
            at sun.reflect.GeneratedConstructorAccessor9128.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:423)


VMware Cloud Foundation 4.3
VMware Cloud Foundation 4.2


  • Issue is observed if NSX-T managers are redeployed from backup in a VCF environment
  • Complete FQDN of NSX-T managers is not specified for VM host name during OVF deployment


Login to NSX-T manager via SSH and run following commands as "admin" user.
Substitute values for commands as per your environment.
  • Verify host name:
nsx-mgmt-1> get hostname
  • If the returned host name does not have complete FQDN, update host name:
nsx-mgmt-1> set hostname nsx-mgmt-1.vrack.vsphere.local
  • Verify modified host name:
nsx-mgmt-1> get hostname
  • Reboot NSX-T manager:
nsx-mgmt-1> reboot
Are you sure you want to reboot (yes/no): yes
  • Repeat above steps for each NSX-T manager that is part of NSX cluster
  • Retry precheck from SDDC Manager UI