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

Discussions related to using VirtualBox on Solaris hosts.
Locked
LnxGnome
Posts: 1
Joined: 2. Nov 2010, 15:54
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: Linux

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

Post 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.
tloth01
Posts: 1
Joined: 13. Nov 2012, 18:01

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

Post by tloth01 »

THANK YOU!!

2 years later and this still is not fixed. Was searching for hours for why this was failing.
AixPower
Posts: 1
Joined: 1. May 2016, 22:14

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

Post 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
Marcus Sonntag
Posts: 2
Joined: 10. Aug 2018, 09:29

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

Post 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
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

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

Post 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?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
ADW-SchemaCzar
Posts: 4
Joined: 27. Jan 2013, 01:25

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

Post 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
Oscar Ib
Posts: 1
Joined: 16. Jan 2023, 09:22

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

Post by Oscar Ib »

Back to the future: 2023 and still failing
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

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

Post 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.
Locked