VCF SDDC Inventory Version Precheck Error After NSX Out of Band Upgrade
search cancel

VCF SDDC Inventory Version Precheck Error After NSX Out of Band Upgrade

book

Article ID: 313147

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

Symptoms:

In a VCF environment with Federated NSX, following a local NSX manager out of band upgrade, the SDDC Upgrade Coordinator prechecks fail with federation version compatibility error.

Example:
NSX-T Upgrade Coordinator Checks Failed with errors: Check for federation upgrade compatibility: [NSX Manager cannot be upgraded. Please upgrade 'cci-nsx-gbl-01' site before performing upgrade of this site., NSX Manager cannot be upgraded. Please upgrade 'cci-nsx-gbl-02' site before performing upgrade of this site.]: cci-nsx-01c, cci-nsx-01b, cci-nsx-01a


Environment

VMware Cloud Foundation 4.2.x
VMware Cloud Foundation 4.x
VMware Cloud Foundation 4.1
VMware Cloud Foundation 3.9.x
VMware Cloud Foundation 4.3.x
Vmware Cloud Foundation 4.5
VMware Cloud Foundation 4.0.x
VMware Cloud Foundation 4.4.x

Cause

When NSXT is upgraded out of band (ie. outside of VCF SDDC), the VCF SDDC does not know that an upgrade has occurred. The SDDC inventory will not be updated, causing this issue. Update the SDDC inventory to reflect the new NSX version.


Resolution

Currently there is no resolution to the issue.

Workaround:

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

  1. Login to SDDC manager VM via SSH and sudo to root account.
  2. Get VCF deployed NSX-T Cluster Inventory Ids associated with domains with the following api. Note down the "id" (the id of the NSXT cluster) and "version" (current version) fields for each nsxt.

root@sddc-manager [ ~ ]# curl localhost/inventory/nsxt| json_pp

  1. For each NSXT id, update the version to the correct version with the following api:

curl localhost/inventory/entities/<<NSX-T ID>> -X PATCH -d '{"type":"NSXT_CLUSTER","status":"ACTIVE","version":"<<VERSION>>"}' -H 'Content-Type:application/json'