Upgrading VXRAIL fails with error: No value present.
search cancel

Upgrading VXRAIL fails with error: No value present.

book

Article ID: 382430

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

  • We checked the logs on location var/log/vmware/vcf/lcm
     INFO  [vcf_lcm,0000000000000000,0000,upgradeId=exxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx794,resourceType=VXRAIL,resourceId=6yyyyyyy-yyyy-yyyy-yyyy-yyyyyyyy50b,bundleElementId=null] [c.v
    .e.s.l.p.i.vxm.VxmPrimitiveImpl,Upgrade-1] All threads have completed upload to respective VxM. Deleting the NSX LCP VIB and Metadata file
     ERROR [vcf_lcm,0000000000000000,0000,upgradeId=exxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx794,resourceType=VXRAIL,resourceId=6yyyyyyy-yyyy-yyyy-yyyy-yyyyyyyy50b,bundleElementId=null] [c.v
    .e.s.l.p.i.vxm.VxmPrimitiveImpl,Upgrade-1] Unable to clean up the Metadata or/and VIB file {}
    java.nio.file.FileSystemException: : Invalid argument
     ERROR [vcf_lcm,0000000000000000,0000,upgradeId=exxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx794,resourceType=VXRAIL,resourceId=6yyyyyyy-yyyy-yyyy-yyyy-yyyyyyyy50b,bundleElementId=null] [c.v
    .e.s.l.p.util.NsxtCommonUtil,Upgrade-1] Unable to get NSX host component version := No value present
     ERROR [vcf_lcm,0000000000000000,0000,upgradeId=exxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx794,resourceType=VXRAIL,resourceId=6yyyyyyy-yyyy-yyyy-yyyy-yyyyyyyy50b,bundleElementId=null] [c.v
    .e.s.l.p.i.vxm.VxmPrimitiveImpl,Upgrade-1] Failed to get NSX LCP file name : No value present
     ERROR [vcf_lcm,0000000000000000,0000,upgradeId=exxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx794,resourceType=VXRAIL,resourceId=6yyyyyyy-yyyy-yyyy-yyyy-yyyyyyyy50b,bundleElementId=null] [c.v
    .e.s.l.p.i.vxm.VxmPrimitiveImpl,Upgrade-1] Copy NSX LCP file to VxRail failed : {}
    java.util.NoSuchElementException: No value present
    
  • NSXT table in SDDC Manager platform database gives us the below audit error:
    errorDetails": "error_message : Failed to load NSX Cluster from the Inventory, httpStatus : , error_code : 0
  • NSXT Manager axxxxxxxxx.xx.xxxxxxxx.COM in the database  has no compute Manager populated.

Environment

VMware Cloud Foundation 5.2

Cause

This issue occurred due to audit issue in NSXT account.

Resolution

The issue is addressed by changing the password expiry settings and updating the audit password for the NSX-T account. Please find the steps below:

1. SSH to NSX-T manager VIP address with admin user.

2. Switch to root

st e

3. Check audit user expiry details and you should see "password must be changed".

chage -l audit

Sample output

Sample output
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       : 7

4. Run the command to stop the server

/etc/init.d/nsx-mp-api-server stop

5. Run the command to change the password

passwd audit

6. Run the command to start the server

/etc/init.d/nsx-mp-api-server start