NSX-V Edge Upgrade fails with: Provided network mapping between OVF networks and the system network is not supported by any host
search cancel

NSX-V Edge Upgrade fails with: Provided network mapping between OVF networks and the system network is not supported by any host

book

Article ID: 320942

calendar_today

Updated On:

Products

VMware NSX Data Center for vSphere

Issue/Introduction

  • Standard Switches are used in the environment instead of Distributed Virtual Switches.
  • Manager logs shows the following error.

vsm.log

[TIMESTAMP] GMT ERROR TaskFrameworkExecutor-26 OvfManagerImpl:126 - Error from VC on invoking ovfManager.createImportSpec
com.vmware.vim.binding.vim.fault.OvfNetworkMappingNotSupported:
inherited from com.vmware.vim.binding.vim.fault.OvfImport:
inherited from com.vmware.vim.binding.vim.fault.OvfFault:
inherited from com.vmware.vim.binding.vim.fault.VimFault:
inherited from com.vmware.vim.binding.vim.fault.OvfNetworkMappingNotSupported: The provided network mapping between OVF networks and the system network is not supported by any host.



Environment

VMware NSX Data Center for vSphere 6.4.x

Cause

This issue can occur if a Standard Switch port group's name is changed.

 

Resolution

There's no resolution to this issue.

Workaround:

  1. Navigate to Network & Security > NSX Edge > Manage > Settings > Interfaces
  2. Edit the interfaces and change the Connected To field to use the new name of the Standard Switch port group.
 
Note: In case the Edge VM is deleted, changing the dvportgroup on the Edge interface is not possible. Therefore, the only way to edit the Edge interface is to:
  1. Execute a GET call for the problematic edge-id. For example:

    GET https://NSX_IP/api/4.0/edges/edge-XX/appliances
     
  2. Change the line related to deployAppliances to 'false'.

    <deployAppliances>true</deployAppliances>
     
  3. Copy the content from the GET call. Use this as the body for PUT. Changing the 'deployAppliances" to 'false' will stop publishing config changes to edge VM.

    PUT https://NSX_IP/api/4.0/edges/edge-XX/appliances
     
  4. Edit the edge interface as needed 
  5. After the successful change, execute the GET call again, copy the content and change deployAppliances to 'true'. 
  6. Execute the PUT call. The PUT call will automatically perform a re-deployment of the Edge.