Symptoms:
While redeploying the edge, you may see an error similar to:Failed to resolve Vnic network mappings for
haindex 0 for edge edge-id. Please verify that resource pool and
portgroup associations are specified correctly.
Cause:
This issue occurs if the backing DV Portgroup is missing on the NSX Manager DB.
VMware NSX for vSphere 6.4.x
To resolve this issue, run the below API call to repair the logical wire that is having the issue:
POST https://<NSX-Manager-IP>/api/2.0/vdn/scopes/scopeId?action=repair
For more information, see the API guide.