VMware Cloud Community
IT_Guy2
Contributor
Contributor

Importing OVF provided from virtualbox fails based on DiskControllerReference.

Have a virtual machine that I attempted to move from virtualbox into vcenter. I get the below error that leads me to believe it does not like the disk type that virtualbox was using. 

Attempting to import to vcenter gives the following error:

Issues detected with selected template. Details: - 53:7:VALUE_ILLEGAL: Value ''PIIX4'' of ResourceSubType element not found in []. - 62:7:VALUE_ILLEGAL: Value ''PIIX4'' of ResourceSubType element not found in []. - 98:7:VALUE_ILLEGAL: Value ''5'' of Parent element does not refer to a ref of type DiskControllerReference. - 108:7:VALUE_ILLEGAL: Value ''5'' of Parent element does not refer to a ref of type DiskControllerReference.

 

In my ovf, I have the following for the disks:

<Item>
  <rasd:Address>1</rasd:Address>
  <rasd:Caption>ideController1</rasd:Caption>
  <rasd:Description>IDE Controller</rasd:Description>
  <rasd:ElementName>ideController1</rasd:ElementName>
  <rasd:InstanceID>4</rasd:InstanceID>
  <rasd:ResourceSubType>PIIX4</rasd:ResourceSubType>
  <rasd:ResourceType>5</rasd:ResourceType>
</Item>
<Item>
  <rasd:Address>0</rasd:Address>
  <rasd:Caption>sataController0</rasd:Caption>
  <rasd:Description>SATA Controller</rasd:Description>
  <rasd:ElementName>sataController0</rasd:ElementName>
  <rasd:InstanceID>5</rasd:InstanceID>
  <rasd:ResourceSubType>AHCI</rasd:ResourceSubType>
  <rasd:ResourceType>20</rasd:ResourceType>
</Item>

Any thoughts on how to get this mapped correctly to work in vsphere? vmware documentation made it seem like its as simple as exporting from virtualbox then importing into vcenter. 

Reply
0 Kudos
2 Replies
IT_Guy2
Contributor
Contributor

I tried to  manually create a VM and attach the harddisks as well. This fails and gives the following error:

"Unsupported or invalid disk type 22 for sata0:1. Unable to create virtual SCSI device for sata0:1 (/vmfs/path). 

 

Exported it from virtualbox in both version 1 and 2. 

Reply
0 Kudos
continuum
Immortal
Immortal

Without seeing your vmx-file all we can do is guess ... probably you have a bad syntax for the lines  that reference the path to the vmdks ?
Attach vmx-file and vmdk descriptorfiles to your reply.

 

 


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos