VirtualBox

Opened 15 years ago

Closed 14 years ago

#4663 closed defect (fixed)

IAppliance::write fails with "Missing or bad extra config string in hard disk image: "controller=0;channel=1"

Reported by: Kohsuke Kawaguchi Owned by:
Component: OVF Version: VirtualBox 3.0.2
Keywords: Cc:
Guest type: Solaris Host type: Linux

Description

I'm calling VirtualBox API through Python, and IAppliance::write() fails.

Looking at the offending code at http://www.virtualbox.org/browser/trunk/src/VBox/Main/ApplianceImpl.cpp#L2609 , I'm bit puzzled why this string is rejected.

Attachments (1)

QXMbSxjaUk.xml (3.4 KB ) - added by Kohsuke Kawaguchi 15 years ago.
Machine configuration file that causes this failure.

Download all attachments as: .zip

Change History (5)

by Kohsuke Kawaguchi, 15 years ago

Attachment: QXMbSxjaUk.xml added

Machine configuration file that causes this failure.

comment:1 by Kohsuke Kawaguchi, 15 years ago

This IMachine successfully starts if I power it on. The pseudo code of the API calling sequence is:

ovf=vbox.createAppliance() d=machine.export(ovf) p=ovf.write("ovf-1.0","/absolute/path/to/some.ovf") p=.waitForCompletion(-1) # error check at this point reveals a problem.

comment:2 by Kohsuke Kawaguchi, 15 years ago

My bad. I'm still new to the Wiki syntax.

ovf=vbox.createAppliance()
d=machine.export(ovf)
p=ovf.write("ovf-1.0","/absolute/path/to/some.ovf")
p=.waitForCompletion(-1)
# error check at this point reveals a problem.

Trying to export this machine from VirtualBox GUI fails, too, but that one fails to report any error.

comment:3 by umoeller, 14 years ago

We had a bug in the OVF code due to misunderstandings between OVF and VirtualBox about how many IDE controllers should exist. (VirtualBox typically says there is one controller with four channels, whereas OVF likes to see it as two controllers with two each.)

This should be fixed with 3.2.6. Can you try again, even after all this time? Thank you.

comment:4 by umoeller, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette