Redeploying the edge fails with error "Failed to resolve Vnic network mappings for haindex 0 for edge"
search cancel

Redeploying the edge fails with error "Failed to resolve Vnic network mappings for haindex 0 for edge"

book

Article ID: 309085

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

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.

Environment

VMware NSX for vSphere 6.4.x

Resolution

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.