I try to deploy a OVA into a vCenter 5.5, using OVFTool with the following command:
/usr/bin/ovftool --powerOn --acceptAllEulas --noSSLVerify --skipManifestCheck --allowAllExtraConfig --X:enableHiddenProperties --deploymentOption=${VMNAME_DEPLOYMENT_SIZE} "--net:Network 1=${VMNAME_PORTGROUP}" --datastore=${VMNAME_DATASTORE} --diskMode=${VMNAME_DISK_TYPE} --name=${VMNAME_DISPLAY_NAME} --prop:vami.DNS.APPLIANCE=${VMNAME_DNS} --prop:vami.gateway.APPLIANCE=${VMNAME_GATEWAY} --prop:vami.ip0.APPLIANCE=${VMNAME_IPADDRESS} --prop:vami.netmask0.APPLIANCE=${VMNAME_NETMASK} --prop:guestinfo.cis.appliance.ssh.enabled=${ENABLE_SSH} ${VMNAME_OVA} vi:/${VCENTER_USERNAME}:${VCENTER_PASSWORD}@${VCENTER_HOSTNAME}/?dns=${ESXI_HOSTNAME}
and I got this error:
Opening VMX target: vi:/administrator*************
Error: OVF Package is not supported by target:
- Line 768: Unsupported virtual hardware device 'VirtualSCSI'.
Warning:
- ExtraConfig options exists in source.
Completed with errors
The OVF file has the following settings:
<Item>
LINE768--> <rasd:Address xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">0</rasd:Address>
<rasd:ElementName xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">SCSI Controller 0 - pvscsi</rasd:ElementName>
<rasd:InstanceID xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">4</rasd:InstanceID>
<rasd:ResourceSubType>virtualSCSI</rasd:ResourceSubType>
<rasd:ResourceType>6</rasd:ResourceType>
</Item>
and also :
<System>
<vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
<vssd:InstanceID>0</vssd:InstanceID>
<vssd:VirtualSystemType>vmx-07 vmx-08 vmx-09</vssd:VirtualSystemType>
</System>
Any advice on how to fix this issue and deploy the OVA?
Thanks.
Try changing the <rasd:ResourceSubType>virtualSCSI</rasd:ResourceSubType> to <rasd:ResourceSubType>VirtualSCSI</rasd:ResourceSubType>, the VirtualSCSI is case sensitive.
Thanks for replying Richardson,
I have corrected the "v" to "V", but I got the the same identical error, at the same line.
Line 768: Unsupported virtual hardware device 'VirtualSCSI'.
This is a small portion of OVF:
<Item>
<rasd:Address xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">0</rasd:Address>
<rasd:ElementName xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">SCSI Controller 0 - pvscsi</rasd:ElementName>
<rasd:InstanceID xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">4</rasd:InstanceID>
<rasd:ResourceSubType>VirtualSCSI</rasd:ResourceSubType>
<rasd:ResourceType>6</rasd:ResourceType>
</Item>
If I am using the vSphere Client to deploy the OVA, it works just fine. I only got error while using OVFTOOL.
Thanks for replying Richardson,
I have corrected the "v" to "V", but I got the the same identical error, at the same line.
Line 768: Unsupported virtual hardware device 'VirtualSCSI'.
This is a small portion of OVF:
<Item>
<rasd:Address xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">0</rasd:Address>
<rasd:ElementName xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">SCSI Controller 0 - pvscsi</rasd:ElementName>
<rasd:InstanceID xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">4</rasd:InstanceID>
<rasd:ResourceSubType>VirtualSCSI</rasd:ResourceSubType>
<rasd:ResourceType>6</rasd:ResourceType>
</Item>
If I am using the vSphere Client to deploy the OVA, it works just fine. I only got error while using OVFTOOL.
You're using the latest version of OVFTOOL ?
Hi,
Yes I am.
/usr/bin/ovftool -v
VMware ovftool 4.1.0 (build-2459827)
Hi,
Yes I am.
/usr/bin/ovftool -v
VMware ovftool 4.1.0 (build-2459827)
Already checked this blog post: Automate Deployment & Configuration of vRealize Operations Manager 6.0 Part 1 | virtuallyGhetto
Yes I did.
That is the script I am trying to use: deployvROps.sh. When running it, it returns Unsupported virtual hardware device 'VirtualSCSI'.
I have tried to modify the ovf file with:
<Item>
<rasd:Address>0</rasd:Address>
<rasd:Description>SCSI Controller</rasd:Description>
<rasd:ElementName>SCSI controller 0</rasd:ElementName>
<rasd:InstanceID>3</rasd:InstanceID>
<rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
<rasd:ResourceType>6</rasd:ResourceType>
</Item>
but I got another error, referring to this modiffication:
Error:
- Line 771: Invalid value '6' for element 'Item/ResourceType'.
- Line 771: Unexpected element 'ResourceType'.