VirtualBox

Opened 14 years ago

Closed 8 years ago

#6147 closed defect (obsolete)

OVF Import error in vmdk clone creation (VERR_INVALID_PARAMETER)

Reported by: Marechal Owned by:
Component: OVF Version: VirtualBox 3.1.6
Keywords: Cc:
Guest type: Linux Host type: Linux

Description (last modified by aeichner)

vboxmanage import myfile.ovf VirtualBox Command Line Management Interface Version 3.1.2_OSE (C) 2005-2009 Sun Microsystems, Inc. All rights reserved.

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Interpreting PATH/myfile.ovf... OK. Disks: vmdisk1 2095226880 199950336 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized myfile-disk1.vmdk 32141312 -1 <NULL> Virtual system 0: 0: Suggested OS type: "Linux"

(change with "--vsys 0 --ostype <type>"; use "list ostypes" to list

all possible values) 1: Suggested VM name "MYFILE"

(change with "--vsys 0 --vmname <name>")

2: Number of CPUs: 1

(change with "--vsys 0 --cpus <n>")

3: Guest memory: 512 MB

(change with "--vsys 0 --memory <MB>")

4: Network adapter: orig custom, config 5, extra type=Bridged 5: Network adapter: orig custom, config 5, extra type=Bridged 6: Network adapter: orig custom, config 5, extra type=Bridged 7: SCSI controller, type LsiLogic

(change with "--vsys 0 --unit 7 --scsitype {BusLogic|LsiLogic}"; disable with "--vsys 0 --unit 7 --ignore")

8: Hard disk image: source image=myfile.vmdk, target path=/PATH/myfile-disk1.vmdk, controller=7;channel=0

(change controller with "--vsys 0 --unit 8 --controller <id>"; disable with "--vsys 0 --unit 8 --ignore")

0%...FAILED ERROR: Could not create the clone hard disk '/HOME/.VirtualBox/HardDisks/myfile-disk1.vmdk' (VERR_INVALID_PARAMETER) Details: code NS_ERROR_FAILURE (0x80004005), component Appliance, interface IAppliance, callee <NULL> Context: "ImportAppliance" at line 697 of file VBoxManageImport.cpp

Attachments (1)

MYFILE.ovf (5.2 KB ) - added by Marechal 14 years ago.
myfile.ovf

Download all attachments as: .zip

Change History (8)

by Marechal, 14 years ago

Attachment: MYFILE.ovf added

myfile.ovf

comment:1 by Marechal, 14 years ago

I create this entry because there's same error on your forum with another ovf file (http://forums.virtualbox.org/viewtopic.php?f=1&t=26617)

So seems more a bug in OVF import than a wrong ovf file...

At least a more explicit error message could be useful to fix it

comment:2 by Marechal, 14 years ago

Same with virtualbox 3.1.6 :(

VBoxManage import myfile.ovf --vsys 0 --eula accept Sun VirtualBox Command Line Management Interface Version 3.1.6 (C) 2005-2010 Sun Microsystems, Inc. All rights reserved.

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Interpreting /Users/me/Downloads/myfile.ovf... OK. Disks: vmdisk1 2095226880 188350464 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized myfile-disk1.vmdk 28408320 -1 <NULL> Virtual system 0:

0: Suggested OS type: "FreeBSD"

(change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)

1: Suggested VM name "Virtual Appliance"

(change with "--vsys 0 --vmname <name>")

2: Product (ignored): Virtual Appliance 3: Vendor (ignored): - 4: Version (ignored): - 5: VendorUrl (ignored): - 6: Description "-"

(change with "--vsys 0 --description <desc>")

7: End-user license agreement (accepted) 8: Number of CPUs: 1

(change with "--vsys 0 --cpus <n>")

9: Guest memory: 1024 MB

(change with "--vsys 0 --memory <MB>")

10: Network adapter: orig custom, config 5, extra type=Bridged 11: Network adapter: orig custom, config 5, extra type=Bridged 12: Network adapter: orig custom, config 5, extra type=Bridged 13: SCSI controller, type LsiLogic

(change with "--vsys 0 --unit 13 --scsitype {BusLogic|LsiLogic}"; disable with "--vsys 0 --unit 13 --ignore")

14: Hard disk image: source image=myfile-disk1.vmdk, target path=/Users/me/Library/VirtualBox/HardDisks/myfile-disk1.vmdk, controller=13;channel=0

(change controller with "--vsys 0 --unit 14 --controller <id>"; disable with "--vsys 0 --unit 14 --ignore")

0%...FAILED ERROR: Could not create the clone hard disk '/Users/me/Library/VirtualBox/HardDisks/myfile-disk1.vmdk' (VERR_INVALID_PARAMETER) Details: code NS_ERROR_FAILURE (0x80004005), component Appliance, interface IAppliance, callee <NULL> Context: "ImportAppliance" at line 697 of file VBoxManageImport.cpp

comment:3 by Klaus Espenlaub, 14 years ago

Version: VirtualBox 3.1.2VirtualBox 3.1.6

This most likely is not an issue with the OVF files at all, but with the hard disk image. So not surprising that nothing changed with VirtualBox 3.1.6 - it has no changes to the VMDK code.

Converting the image from the compressed form to a normal, uncompressed image fails. Without knowing more about myfile-disk1.vmdk it's difficult to help. Is there any publicly available OVF appliance which triggers the same issue? Would save the effort of uploading your image for analysis.

comment:4 by Emerson Prado, 14 years ago

Me too with 3.2.8. I exported an appliance from Ubuntu 10.04 (with Win2k as guest), installed 8.04.4 in my system, and tried to import that appliance. Then I got this error. I got first stuck with the SHA1 checksum error, which I managed to workaround editing the SHA1 file. I can't tell if the SHA1 error was due to a known issue or by a file corruption indeed. After this, I got the clone medium error. I created a new VM, so that VirtualBox created the clone medium successfully, then imported again. Same error. I went on to the VM settings and "freed" (not sure if this is the correct word) the virtual disk and tried again. Same error. It seems the appliance is healthy, but unusable due to a difficulty in creating the virtual disk. Best regards, Emerson

comment:5 by Emerson Prado, 14 years ago

comment:6 by giannipd, 12 years ago

the bug does afflict also version 4.1.2 on ubuntu 11.10'

comment:7 by aeichner, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use