Unable to import VMs while trying to sync catalogs in VCD
[ #################### ] The following error was encountered while processing the OVF file you provided: The hosts in the specified resource pool {0} do not have any virtual networks defined..
com.vmware.ssdc.util.LMException: The following error was encountered while processing the OVF file you provided: The hosts in the specified resource pool {0} do not have any virtual networks defined..
at com.vmware.ssdc.util.LMException.wrap(LMException.java:135)
........
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: com.vmware.vcloud.api.presentation.service.BadRequestException: The following error was encountered while processing the OVF file you provided: The hosts in the specified resource pool {0} do not have any virtual networks defined..
VMware Cloud Director 10.6
When connecting vCenter to Cloud Director a network is selected to be used when VMs use None as the Network. If the Network selected is an NSX Network this can impact imports as there ends up being missing data in the Cloud Director DB.
This occurs when there is a network named with "none" and is backed by NSX.
Currently this is a known issue and this will be fixed in the next release of Cloud Director
Workaround:
- Create an External Network, by importing the same missing segment into Cloud Director UI. The network segment to be imported will contain the name "none"
Refer: Add an External Network Backed by an NSX Segment to Your VMware Cloud Director
####IMPORTANT NOTE######
THE EXTERNAL NETWORK CREATED ABOVE SHOULD NOT BE USED FOR ANY OTHER PURPOSE AND SHOULD BE LEFT AS TEMPORARY ENTITY. AS IT MAY LEAD TO OTHER ISSUES.