NSX-T upgrade in VCF fails with: Failed to collect edge cluster node host info maps
search cancel

NSX-T upgrade in VCF fails with: Failed to collect edge cluster node host info maps

book

Article ID: 312590

calendar_today

Updated On:

Products

VMware NSX Networking

Issue/Introduction

Symptoms:
  • You are upgrading NSX-T from within VCF.
  • The upgrade fails with error like the following in the VCF log: lcm/thirdparty/upgrades/<update-attempt-uuid>/sddcmanager-migration-app/logs/sddcmanager_migration_app_upgrade.log
2021-06-19 12:43:46.865 ERROR [,,,] 14851 --- [ool-2-thread-13] c.v.e.s.o.model.error.ErrorFactory : [8RIT02] EDGE_NODE_HOST_INFO_COLLECTION_FAILED Failed to collect edge cluster node host info maps
...
at java.lang.Thread.run(Thread.java:748) [na:1.8.0-internal] Caused by: java.lang.IllegalArgumentException: Host host-XX not found
  • Using the NSX-T REST API /api/v1/fabric/nodes in the results we can see the Edge node is referring to the host from the error above in the host-id section:
...
            "host_id": "host-XX",
            "hostname": "edge-node-01.corp.local",
...

Note: In the above message Host-XX, will refer to a specific vCenter host MOID, to see the MOID.
The UUID for each upgrade will change, to find the most recent, go to lcm/thirdparty/upgrades/ and run ls -ltr to find the most recent upgrade attempt.

Environment

VMware NSX-T

Cause

This happens when the edge node still refers to the ESXi host, even after that host has been removed from vCenter.
This may occur due to incorrect process used to remove an ESXi host in a VCF/NSX-T environment.

Resolution

Use the correct process to remove ESXi host from VCF and NSX-T environments.

NSX-T process:
https://docs.vmware.com/en/VMware-NSX-T-Data-Center/3.1/installation/GUID-9C0927E8-F96B-494F-9799-C45DC1ABD9E4.html

VCF process:
https://docs.vmware.com/en/VMware-Cloud-Foundation/4.1/com.vmware.vcf.admin.doc_41/GUID-41BE1B30-8D52-43BF-8297-0059B92D723D.html


Workaround:
Replace the NSX-T edge node that is referring to the no longer present ESXi host:
https://docs.vmware.com/en/VMware-NSX-T-Data-Center/3.1/administration/GUID-B827C49C-016E-491F-91E0-46F150E5C442.html