VirtualBox

Ticket #4663 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

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

Reported by: kohsuke Owned by:
Priority: major 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

QXMbSxjaUk.xml Download (3.4 KB) - added by kohsuke 5 years ago.
Machine configuration file that causes this failure.

Change History

Changed 5 years ago by kohsuke

Machine configuration file that causes this failure.

comment:1 Changed 5 years ago by kohsuke

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 Changed 5 years ago by kohsuke

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 Changed 4 years ago by umoeller

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 Changed 4 years ago by umoeller

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use