Page 1 of 1

Export fails without error in gui, disk image is not created

Posted: 2. Nov 2010, 16:08
by LnxGnome
Solaris 10 U8

VirtualBox-3.2.10-SunOS-r66523.pkg DL from VB website

I have a guest with a SCSI (lsi) controller and disk.
There is a SATA controller defined, but no disk attached. (ding ding ding ding)

The EXPORT wizard in the GUI will export this machine without a problem, but a disk image (from the scsi disk) is not created.

The CLI also fails.... (as expected)

Code: Select all

# VBoxManage export VTS -o /tmp/VTS.ovf
Oracle VM VirtualBox Command Line Management Interface Version 3.2.10
(C) 2005-2010 Oracle Corporation
All rights reserved.

0%...FAILED
ERROR: Missing or bad extra config string in hard disk image: "controller=0;channel=1"
Details: code VBOX_E_NOT_SUPPORTED (0x80bb0009), component Appliance, interface IAppliance, callee 
Context: "Write" at line 961 of file VBoxManageImport.cpp
Workaround: Delete the unused SATA controller.

BUG: The export wizard in the GUI doesn't trap the error.

Also BUG: Export cannot handle a SATA controller without any attached disks.

Re: Export fails without error in gui, disk image is not cre

Posted: 13. Nov 2012, 18:02
by tloth01
THANK YOU!!

2 years later and this still is not fixed. Was searching for hours for why this was failing.

Re: Export fails without error in gui, disk image is not created

Posted: 1. May 2016, 22:16
by AixPower
4 Years Later and still the same issue

Fix work: remove unused Disk Controller
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage.exe: error: Appliance write failed
VBoxManage.exe: error: Missing or bad extra config string in hard disk image: "controller=0;channel=0"
VBoxManage.exe: error: Details: code VBOX_E_NOT_SUPPORTED (0x80bb0009), component ApplianceWrap, interface IAppliance
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleExportAppliance(struct HandlerArg *)" at line 1248 of file VBoxManageAppliance.cpp

Re: Export fails without error in gui, disk image is not created

Posted: 7. Oct 2018, 19:49
by Marcus Sonntag
Year 2018

Still the same issue.

Fix work: remove unused Disk Controller
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage.exe: error: Appliance write failed
VBoxManage.exe: error: Missing or bad extra config string in hard disk image: "controller=0;channel=0"
VBoxManage.exe: error: Details: code VBOX_E_NOT_SUPPORTED (0x80bb0009), component ApplianceWrap, interface IAppliance
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleExportAppliance(struct HandlerArg *)" at line 1248 of file VBoxManageAppliance.cpp

Re: Export fails without error in gui, disk image is not created

Posted: 7. Oct 2018, 20:06
by socratis
8 years since the initial report, yet no one has explained why there is an empty controller in your VM to begin with...

Not that it's not the appropriate/correct action at the export phase, but it's something avoidable, no?

Re: Export fails without error in gui, disk image is not created

Posted: 27. Aug 2019, 05:08
by ADW-SchemaCzar
Welcome to 2019, same failure.

This VM has one SATA drive with two virtual disks.
I removed an empty IDE controller.
I removed the optical-disc from the SATA.

Code: Select all

VBoxManage export "$VMachine" --output "$TARGETDIR/${OVFName}.ova" \
	--ovf20 \
	--manifest \
	--vsys 0 \
		--vmname "Virtual machine for BU MET CS674" \
		--product "Virtual machine for BU MET CS674" \
		--vendor "The Schema Czar with Boston University Metropolitan College" \
		--version "2019-01" \
		--description "$DESCRIPTION" \
		--eula "$EULA"
0%...
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage: error: Appliance write failed
VBoxManage: error: Missing or bad extra config string in hard disk image: "controller=5;channel=0"
VBoxManage: error: Details: code VBOX_E_NOT_SUPPORTED (0x80bb0009), component ApplianceWrap, interface IAppliance
VBoxManage: error: Context: "RTEXITCODE handleExportAppliance(HandlerArg *)" at line 1506 of file VBoxManageAppliance.cpp

Re: Export fails without error in gui, disk image is not created

Posted: 16. Jan 2023, 09:23
by Oscar Ib
Back to the future: 2023 and still failing

Re: Export fails without error in gui, disk image is not created

Posted: 16. Jan 2023, 14:41
by scottgus1
I don't see in any of the problem reports above a link to a Bugtracker ticket.

Locking to prevent me-too-ing, because the devs were apparently never told about the issue. :wink:

If the Virtualbox GUI exports the VM with a diskless controller but the command line does not, then there is a bug worth reporting.

And the proposed fix in the OP, to add a disk the appliance did not have, is not good. If the controller did not have a disk in the original VM, there may have been a very good reason. Second-guessing the recipe of the VM is a deep rabbit-hole to go down....

If anyone wants to make a Bugtracker ticket and post it here, please PM a moderator.