pyvmomi-community-samples
pyvmomi-community-samples copied to clipboard
deploy_ovf.py / Invalid value 'XX' for element 'Connection'.",
I export an OVA from VSphere Web Client
tar xf file.ova
./deploy_ovf.py -s XX -u XX --datacenter_name XX--datastore_name XX --cluster_name XX
-v *.vmdk -f *.ovf
Warnings during processing: (vmodl.MethodFault) [
(vim.fault.OvfElementInvalidValue) {
dynamicType =
The bloc in the OVF looks like:
<Item>
<rasd:AddressOnParent>7</rasd:AddressOnParent>
<rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
<rasd:Connection>PORTGROUP</rasd:Connection>
<rasd:Description>E1000 ethernet adapter on "PORTGROUP"</rasd:Description>
<rasd:ElementName>Network adapter 1</rasd:ElementName>
<rasd:InstanceID>10</rasd:InstanceID>
<rasd:ResourceSubType>E1000</rasd:ResourceSubType>
<rasd:ResourceType>10</rasd:ResourceType>
<vmw:Config ovf:required="false" vmw:key="slotInfo.pciSlotNumber" vmw:value="32" />
<vmw:Config ovf:required="false" vmw:key="wakeOnLanEnabled" vmw:value="true" />
</Item>