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.
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:
Execute a GET call for the problematic edge-id. For example:
GET https://NSX_IP/api/4.0/edges/edge-XX/appliances
Change the line related to deployAppliances to 'false'.
<deployAppliances>true</deployAppliances>
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
Edit the edge interface as needed
After the successful change, execute the GET call again, copy the content and change deployAppliances to 'true'.
Execute the PUT call. The PUT call will automatically perform a re-deployment of the Edge.