Recreating VDR instances fails after rebooting an ESXi host in VMware NSX for vSphere 6.x
search cancel

Recreating VDR instances fails after rebooting an ESXi host in VMware NSX for vSphere 6.x

book

Article ID: 307676

calendar_today

Updated On:

Products

VMware NSX Networking

Issue/Introduction

Symptoms:
After rebooting an ESXi host during the uninstallation of VIBs in scenarios where a cluster is upgraded or a host is removed and re-added to a cluster, you experience these symptoms:

  • The net-vdr-I -l command fails to list the VDR instances that were present before rebooting the ESXi host
  • The rmq client connection fails
  • You see the error:

    rmqClient Connect Returned -1

Environment

VMware NSX for vSphere 6.1.x
VMware NSX for vSphere 6.2.x

Cause

This issue occurs when the Message Bus is not re-synced after the affected ESXi host is re-prepared. This breaks the communication from the NSX Manager to both the vsfwd and netcpa processes.

Note: The issue with the net-vdr -I -l command which fails to list the VDR instances may also be caused by the "Would block" issue. In this case, resolving the rmqClient may not resolve the issue. For more information, see Network connectivity issues after upgrading or repreparing ESXi hosts in a VMware NSX/VCNS environment (344127).

Resolution

This is a known issue affecting VMware NSX for vSphere 6.2.x.

Currently, there is no resolution.

To work around the issue, make an API call to repopulate the VDR instances on the affected ESXi host.

Notes: Before making an API call to the NSX Manager, ensure that:

  • You have basic authorization with the NSX Manager web credentials such as the admin user, or any vCenter Server user granted NSX privileges.
  • Headers Content-type: application/xml and Accept: application/xml are used.
To make an API call to the NSX Manager, use this method:

POST https://NSX_Manager_IP/api/2.0/nwfabric/configure?action=synchronize


<nwFabricFeatureConfig>
<featureId>com.vmware.vshield.vsm.messagingInfra</featureId>
<resourceConfig>
<resourceId>host-xxx</resourceId>
</resourceConfig>
</nwFabricFeatureConfig>



Additional Information