NSX versions not updating correctly in SDDC Manager after a NSX Manager update separate from SDDC Manager
search cancel

NSX versions not updating correctly in SDDC Manager after a NSX Manager update separate from SDDC Manager

book

Article ID: 432071

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

After updating NSX Manager(s) the inventory sync doesn't update the version in SDDC Manager.

Environment

VMware Cloud Foundation 5.2.x 

Cause

  • Update was performed out-of-band (separate from SDDC Manager).
  • Because of this the inventory won't sync correctly.
  • Manual sync didn't work because SDDC Manager is syncing with LCM to verify the version first.  

/var/log/vmware/vcf/operationsmanager/operationsmanager.log

YYYY-MM-DDTHH:MM:SS.SSS+##### INFO  [vcf_##,##########################,####] [c.v.v.i.s.s.impl.NsxtVersionSync,pool-3-thread-14] NSX cluster ########-####-####-####-###
######## has inventory version {"version":"4.2.1.3.0-24533884"} and product version {"version":"4.2.3.3.0-25171318"} 
YYYY-MM-DDTHH:MM:SS.SSS+##### DEBUG  [vcf_##,##########################,####] [c.v.v.i.s.service.clients.LcmClient,pool-3-thread-14] Checking LCM if resource ########-####-####-####-###-############ with type NSX_T_MANAGER should be synced to version 4.2.3.3.0-25171318
YYYY-MM-DDTHH:MM:SS.SSS+##### DEBUG  [vcf_##,##########################,####] [c.v.v.i.s.service.clients.LcmClient,pool-3-thread-14] Is sync required result from LCM: false

Resolution

  1. Take a snapshot of SDDC Manager.
  2. SSH in to SDDC Manager as root.
  3. Edit the application-prod.properties file

    vi /etc/vmware/vcf/operationsmanager/application-prod.properties

  4. At the end of the file, add the following line:

    check.lcm.isVersionSyncRequired=false

  5. Save and close the file.

    :wq

  6. Restart the Operation manager service on the SDDC Manager.

    systemctl restart operationsmanager

  7. Use KB Synchronize inventory versions after out-of-band upgrade in a VMware Cloud Foundation Environment to sync inventory version.
  8. Refresh SDDC Manager UI.
  9. Verify inventory has synced and correct version is displayed.
  10. Revert the Inventory Version Sync changes.
  11. Remove "check.lcm.isVersionSyncRequired=false" from the application-prod.properties file.

    vi /etc/vmware/vcf/operationsmanager/application-prod.properties

  12. Save and close the file.

    :wq

  13. Restart the Operation manager service on the SDDC Manager.

    systemctl restart operationsmanager

 

Additional Information

Synchronize inventory versions after out-of-band upgrade in a VMware Cloud Foundation Environment