Host remediation failed "Failed to run Health checks for NSX-T on 'cluster-name'" in environment where NSX has been removed.
search cancel

Host remediation failed "Failed to run Health checks for NSX-T on 'cluster-name'" in environment where NSX has been removed.

book

Article ID: 412223

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

NSX-T was once integrated in the environment but has been decommissioned.

Error when running remediate on the cluster "Failed to run Health checks for NSX-T on 'cluster-name'"

Similar entries in /var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server.log

1234.544Z info vmware-vum-server[] [Originator@6876 sub=ClusterApplySolutionTask] [Task,  Task:com.vmware.vcIntegrity.lifecycle.ClusterApplySolutionTask ID:<1234>. Finalizing Task
1234.574Z error vmware-vum-server[] [Originator@6876 sub=ClusterApplySolutionTask] [Task, ] Task:com.vmware.vcIntegrity.lifecycle.ClusterApplySolutionTask ID:<1234>. Task Failed. Error: Error:
-->    com.vmware.vapi.std.errors.error
--> Messages:
-->    com.vmware.vcIntegrity.lifecycle.TaskError.HealthCheckFailed<Health Check for '<ESXi host fqdn>' failed>
-->
1234.575Z warning vmware-vum-server[] [Originator@6876 sub=TaskStatsCollector] [] Task type or creation time not present
1234.575Z info vmware-vum-server[] [Originator@6876 sub=PM.AsyncTask.ClusterApplySolutionTask{}] [vciTaskBase 1493] SerializeToVimFault fault:
--> (vmodl.fault.SystemError) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = (vmodl.LocalizableMessage) [
-->       (vmodl.LocalizableMessage) {
-->          key = "com.vmware.vcIntegrity.lifecycle.TaskError.HealthCheckFailed",
-->          arg = (vmodl.KeyAnyValue) [
-->             (vmodl.KeyAnyValue) {
-->                key = "1",
-->                value = "<ESXi host fqdn>"
-->             }
-->          ],
-->          message = <unset>
-->       }
-->    ],
-->    reason = "vLCM Task failed, see Error Stack for details."

Environment

  • VMware vCenter Server 8.x
  • VMware ESXi 

Cause

Although NSX-T has been removed from the environment, the NSX extension is still registered on the vCenter.

As the NSX Manager has already been removed, a successful health check cannot be performed.

Resolution

  • Login to the MOB at https://<vCenter Server hostname or IP address>/mob.

  • Click the content link, which is the value for the content property in the Properties table.

  • Click the ExtensionManager link, which is the value for extensionManager property in the Properties table.

  • Click the UnregisterExtension link in the Methods table.

  • Enter com.vmware.nsx.management.nsxt in the value text field.

  • Click the Invoke Method link on the right hand side of the page below the Parameters table.

  • The method result says void but the extension will be removed.

  • To make sure the extension is removed, click the FindExtension method on the previous page and invoke it by entering the same value for the extension.

    The result should be void.

Additional Information