VirtualBox

Opened 5 years ago

Last modified 5 years ago

#18571 new defect

Vboxmanage export / import not working - invalid 'ovf:id' attribute

Reported by: Curval1230 Owned by:
Component: OVF Version: VirtualBox 5.2.28
Keywords: Cc:
Guest type: Linux Host type: Linux

Description

I'm running am Ubuntu 18.04.2 LTS Server with Virtualbox 5.2.28

Exporting an virtual machine with command line works without any reported error. Result is an *.ova file.

Importing this machine with the command vboxmanage import file.ova ends with this error:

root@nono2018:~# vboxmanage import 20210417_ADC2.ova 0%... Progress state: VBOX_E_FILE_ERROR VBoxManage: error: Appliance read failed VBoxManage: error: Error reading "/root/20210417_ADC2.ova": missing or invalid 'ovf:id' attribute in operating system section element, line 18 VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component ApplianceWrap, interface IAppliance VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 307 of file VBoxManageAppliance.cpp

If I open the *.ova file with a editor, i can see <Section xsi:type="ovf:OperatingSystemSection_Type" ovf:id="-1160446143">

Why is the ovf:id negativ?

Any suggestion to solve the problem?

Regards Michael

Change History (1)

comment:1 by Curval1230, 5 years ago

Workaround found!

I had to add the following to the client machines:

vboxmanage modifyvm "name of vm" --ostype "Ubuntu_64"

After that, I was able to export the .ova file und import it again.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use