There was an error creating the import specification from the OVF file "Host did not have any virtual network defined"
search cancel

There was an error creating the import specification from the OVF file "Host did not have any virtual network defined"

book

Article ID: 328836

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:

Error in deplying OVF template with no network shown in VM network settings with error "Host did not have any virtual network defined"

 

image.png

image.png


Cause

By default Network Mapping from OVF options.json was referring to "VM Network" attribute in network settings which wasn't created

Resolution

creating a new port-group named "VM Network" on vSwitch level will resolve this error and OVF will deploy successfully.

 

image.png

 

image.png


Additional Information

https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.networking.doc/GUID-004E2D69-1EE8-453E-A287-E9597A80C7DD.html


Impact/Risks:

Error in OVF deployment