Retry NSX 4.1 upgrade failed in precheck for manager with error: Check for the version sync status of UC on all the MP nodes
search cancel

Retry NSX 4.1 upgrade failed in precheck for manager with error: Check for the version sync status of UC on all the MP nodes

book

Article ID: 344812

calendar_today

Updated On:

Products

VMware Cloud Foundation VMware NSX

Issue/Introduction

  • NSX upgrade to 4.1.0 or later failed on VCF side during NSX manager postcheck.
  • Upgrade is successfully completed from NSX side.
  • Retry NSX upgrade from VCF side failed in precheck for manager cluster with error 'Check for the version sync status of UC on all the MP nodes'.



Environment

VMware NSX 4.1.0
VMware Cloud Foundation 5.0

Cause

From NSX 4.1.0, NSX manager precheck is blocked from NSX side after NSX upgrade completed. However, if NSX upgrade failed in postcheck from VCF side but completed from NSX side, retry upgrade from VCF side will trigger NSX manager precheck from NSX side, which will return UC version issue and cause upgrade failure from VCF side.

Resolution

This issue is fixed on VMware Cloud Foundation 5.0 Release.

Workaround:

To workaround the issue, please follow the below mentioned steps:

  1. Skip precheck from VCF side:
  • Open a SSH session to the SDDC Manager and switch to the root user: su
  • Open application-prod.properties for editing:  vi/opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties
  • Add the following property and save the file lcm.nsxt.suppress.prechecks=true
  • Restart LCM service: systemctl restart lcm
  • Verify LCM service is up: curl localhost/lcm/about | json_pp
  1. Retry NSX upgrade from VCF side.
  2. After NSX upgrade is completed, set 'lcm.nsxt.suppress.prechecks=false' and restart LCM.