Receiving Error "Failed to run health checks for NSX-T" But NSX has been Removed From Host
search cancel

Receiving Error "Failed to run health checks for NSX-T" But NSX has been Removed From Host

book

Article ID: 430746

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

When trying to patch host in LCM, error is returned stating "Failed to run health checks for NSX-T". However, there are no NSX managers in the environment.


Log lines similar to the below are encountered on vCenter Server in /var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server.log:

error vmware-vum-server[18363] [Originator@6876 sub=EHP] Response from localhost/external-tp/http1/###.###.###.###/443/########################################/api/v1/node/services/install-upgrade: HTTP Status:403 'Forbidden'
error vmware-vum-server[18363] [Originator@6876 sub=EHP] Failed to call NSX-T /external-tp/http1/###.###.###.###/443/########################################/api/v1/node/services/install-upgrade
error vmware-vum-server[18363] [Originator@6876 sub=EHP] Caught exception while finding Nsxt Upgrade Coordinator: Failed to call NSX-T /external-tp/http1/<NSX-Manager-IP>/443/###########################/api/v1/node/services/install-upgrade

Environment

vSphere 7.x

vSphere 8.x

Cause

Stale entries of NSX remain on hosts and the LCM will not proceed to patch host until NSX check is disabled.

Resolution

1.) cd into the directory:

/usr/lib/vmware-updatemgr/bin

2.) Make a backup of the file that will be editted and take snapshots of vCenter:

cp vci-integrity.xml vci-integrity.xml.bak

 

3.) Edit the vci-integrity.xml using the vi editor and change the nsxt_rest value to false as shown below:

vi vci-integrity.xml 

<Hit the "I" key to insert changes>
 </eam>
      <nsxt_rest>
        <enabled>true</enabled>     <<<<----- Change to false
      </nsxt_rest>
      <pod>

4.) Once file changes have been made, hit the esc key then :wq! to save the changes. 

5.)Restart vLCM:

service-control --stop vmware-updatemgr
service-control --start vmware-updatemgr