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)
Change History (5)
by , 15 years ago
Attachment: | QXMbSxjaUk.xml added |
---|
comment:1 by , 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 , 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 , 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 , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Machine configuration file that causes this failure.