VirtualBox

Ticket #7982 (new defect)

Opened 3 years ago

Last modified 7 months ago

OVA file made with VirtualBox 4.0 can't be read by VMware ovftool

Reported by: znmeb Owned by:
Priority: major Component: OVF
Version: VirtualBox 4.0.0 Keywords: VMware
Cc: Guest type: Linux
Host type: Linux

Description

I created a 32-bit openSUSE 11.3 virtual machine using VirtualBox 4.0.0 on a 64-bit openSUSE 11.3 host. The machine works fine. I then exported it to an OVA file using the Export wizard, which did not report any errors. But when I try to read it into VMware using VMware's "ovftool" conversion utility, "ovftool" reports an error:

znmeb@AlgoCompSynth:~/VirtualBox> ovftool Project\ Kipling.ova . Opening OVA source: Project Kipling.ova Opening VMX target: . Error: OVF Package is not supported by target:

  • Line 25: Unsupported hardware family 'virtualbox-2.2'.

I've attached the XML 'ovf' file - it is indeed calling this a 'virtualbox-2.2' machine, which the VMware tools apparently do not support. I haven't checked the VMware documents yet to see what they do support, but I can do that if you don't have that filed away somewhere.

Attachments

Project Kipling.ovf Download (11.8 KB) - added by znmeb 3 years ago.
OVF file created by VirtualBox 4.0.0

Change History

Changed 3 years ago by znmeb

OVF file created by VirtualBox 4.0.0

comment:1 Changed 3 years ago by Technologov

Added myself as CC.

-Technologov

comment:2 Changed 3 years ago by poetzsch

Please make sure you use the latest version of ovftool. I just tried your ovf with ovftool 2.0.1 and it works without problems.

comment:3 Changed 3 years ago by znmeb

I've got ovftool 2.0.1 as well.

znmeb@AlgoCompSynth:~/Documents> ovftool --version
VMware ovftool 2.0.1 (build-260188)
znmeb@AlgoCompSynth:~/Documents> ovftool Project\ Kipling\ VirtualBox.ova 
Opening OVA source: Project Kipling VirtualBox.ova
OVF version:   1.0
Name:          Project Kipling VirtualBox

Download Size:        0 bytes

Deployment Sizes:
  Flat disks:         0 bytes
  Sparse disks:   Unknown
Networks:
  Name:        NAT
  Description: Logical network used by this appliance.

Virtual Hardware:
  Family:       virtualbox-2.2

Warning: No manifest file
Completed successfully
znmeb@AlgoCompSynth:~/Documents> ovftool Project\ Kipling\ VirtualBox.ova .
Opening OVA source: Project Kipling VirtualBox.ova
Opening VMX target: .
Error: OVF Package is not supported by target:
 - Line 25: Unsupported hardware family 'virtualbox-2.2'.
Last edited 2 years ago by frank (previous) (diff)

comment:4 Changed 3 years ago by leonbnu

I have exactly the same problem.

comment:5 Changed 3 years ago by valve

ovftool has a --lax commandline option which turns errors into warnings.

comment:6 Changed 2 years ago by stevet

Issue still present in Virtualbox 4.1.8 and using ovftool 2.1. The --lax workaround still functions.

comment:7 follow-up: ↓ 8 Changed 2 years ago by diegows

Same problem here.

I've change this line with the problem to:

<vssd:VirtualSystemType>vmx-06</vssd:VirtualSystemType>

And works.

Regards,

Diego

comment:8 in reply to: ↑ 7 Changed 19 months ago by Attila123

I tried to change this VirtualSystemType. I am not yet familiar with ovftool, but using vSphere client with ESXi 4.1. Just for the record, with File -> Deploy OVF Template... I got: "File <...>.ovf fails integrity check and might have been corrupted during transfer.". Fortunately I selected the disk format to vmdk when I installed the VM. So I created a VM in ESXi without a virtual HDD, uploaded the vmdk (the one in the VM, not the exported one (that did not work)), added a new virtual HDD from existing file (from the vmdk just uploaded) and the VM worked.

Replying to diegows:

Same problem here.

I've change this line with the problem to:

<vssd:VirtualSystemType>vmx-06</vssd:VirtualSystemType>

And works.

Regards,

Diego

Last edited 19 months ago by Attila123 (previous) (diff)

comment:9 Changed 7 months ago by eshizhan

I write a little script do this:

 https://gist.github.com/eshizhan/6650285

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use