ERROR_SUCCESS when importing OVA applicance
-
- Posts: 9
- Joined: 6. Sep 2011, 23:41
- Primary OS: Linux other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Slackware 13.37
ERROR_SUCCESS when importing OVA applicance
Hi,
I'm trying to import this image: https://www.dropbox.com/s/ns3n47gewrbnh ... 00.9.3.ova
Slightly over 2GB. When importing I get above mentioned ERROR_SUCCESS (0x00000000).
I rename the ova to ZIP and open ZIP file. I see: a VDMK file with a size of -1,949,782,528 (NEGATIVE!).
Q: how to fix this?
(Export from 4.2.16, import to 4.3.6)
I did search for ERROR_SUCCESS, OVA ERROR, NEGATIVE SIZE etc but didn't find anything yet....
Thanks
Wolf
I'm trying to import this image: https://www.dropbox.com/s/ns3n47gewrbnh ... 00.9.3.ova
Slightly over 2GB. When importing I get above mentioned ERROR_SUCCESS (0x00000000).
I rename the ova to ZIP and open ZIP file. I see: a VDMK file with a size of -1,949,782,528 (NEGATIVE!).
Q: how to fix this?
(Export from 4.2.16, import to 4.3.6)
I did search for ERROR_SUCCESS, OVA ERROR, NEGATIVE SIZE etc but didn't find anything yet....
Thanks
Wolf
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: ERROR_SUCCESS when importing OVA applicance
Looks like a red herring. What tool did you use to examine the ZIP? Chances are that it doesn't like seeing files with sizes >2GB, as that requires unsigned 32bit fields.
p.s. Are you sure it was even a zip file? Last I heard, an OVA isn't zip, it's a tar archive, possibly compressed.
Have you checked whether the VM exists after this "error"? I ask because a result code of 0 usually indicates success, and of course it says - "success".
p.s. Are you sure it was even a zip file? Last I heard, an OVA isn't zip, it's a tar archive, possibly compressed.
Have you checked whether the VM exists after this "error"? I ask because a result code of 0 usually indicates success, and of course it says - "success".
-
- Posts: 9
- Joined: 6. Sep 2011, 23:41
- Primary OS: Linux other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Slackware 13.37
Re: ERROR_SUCCESS when importing OVA applicance
I have seen somewhere on the web that OVA is ZIP... I don't know. Renamed the file and opened (tool: filzip).
VM has NOT been created.
I like the notion of an ERROR_SUCCESS though
I will double check whether the image maybe has an export corruption or something similar this evening...
VM has NOT been created.
I like the notion of an ERROR_SUCCESS though

I will double check whether the image maybe has an export corruption or something similar this evening...
-
- Posts: 9
- Joined: 6. Sep 2011, 23:41
- Primary OS: Linux other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Slackware 13.37
Re: ERROR_SUCCESS when importing OVA applicance
BTW - when I open the OVA (as ZIP) there are two files inside - the VMDK and an OVF file - contains some XML describing the machine. I can extract and read the OVF without any problems - which supports the assumption that OVA is a ZIP...
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: ERROR_SUCCESS when importing OVA applicance
...or that the tool you used ignored the file extension and determined the actual format by other means.WarpinWolf wrote:which supports the assumption that OVA is a ZIP...
-
- Posts: 9
- Joined: 6. Sep 2011, 23:41
- Primary OS: Linux other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Slackware 13.37
Re: ERROR_SUCCESS when importing OVA applicance
Yup - you were right. Seems to be TAR. At least I did use the gnu-tar.
So: rename ...ova .....tar
tar -xvf ....tar
--> ...vmdk
Manually create a machine with this image --> works!!!
So I'd say: the export virtual machine function produces a tar. If the disk image is over 2 GB (in my case: 2.345.184.768) the export uses 32-bit number. When it comes to import I get an ERROR_SUCCESS - maybe because the import takes the 32-bits as signed int?....
Should be reproducible with the image at the beginning of the thread...
Thanks
Wolf
So: rename ...ova .....tar
tar -xvf ....tar
--> ...vmdk
Manually create a machine with this image --> works!!!
So I'd say: the export virtual machine function produces a tar. If the disk image is over 2 GB (in my case: 2.345.184.768) the export uses 32-bit number. When it comes to import I get an ERROR_SUCCESS - maybe because the import takes the 32-bits as signed int?....
Should be reproducible with the image at the beginning of the thread...
Thanks
Wolf
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: ERROR_SUCCESS when importing OVA applicance
Beware - VMDKs bundled inside a OVF/OVA appliance usually use the compressed variant of VMDK. This will be read-only if used in a VM, with a difference image used to catch writes. I'm sure that would come as a surprise sooner or later.WarpinWolf wrote:Manually create a machine with this image --> works!!!
I suggest you clone the vmdk to VDI format, using "VBoxManage clonehd <srcfile.vmdk> <dstfile.vdi> --format VDI --variant Standard", then build a new VM using the VDI. Don't use the VDI in the VM you created, because that VM is now expecting the difference image.
-
- Posts: 9
- Joined: 6. Sep 2011, 23:41
- Primary OS: Linux other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Slackware 13.37
Re: ERROR_SUCCESS when importing OVA applicance
Thanks for the suggestions! I won't be using this "in production" - I just posted it here to show that the import process seems to have a bug! a) ERROR_SUCCESS (isn't really great thing) b) manually extracted image works. So it is no data issue, it's in import issue.... Where how can I address this?
Regards
Wolf
Regards
Wolf
-
- Volunteer
- Posts: 2567
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: ERROR_SUCCESS when importing OVA applicance
Does the import really fail?
ERROR_SUCCESS is usually just the return code 0 which means "The operation completed successfully".
ERROR_SUCCESS is usually just the return code 0 which means "The operation completed successfully".
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: ERROR_SUCCESS when importing OVA applicance
Yes, it does. That's the weird thing. Error code 0; Success. I tried it on my Mac as well just to verify it. I believe it has to do with the XML parser and with ticket #12345 which was just fixed in the SVN 2 days ago.
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.
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.
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: ERROR_SUCCESS when importing OVA applicance
I suspect a bug in error reporting. I suspect that the OVA is being unpacked successfully (hence ERROR_SUCCESS), but the target VM isn't being created for reasons I can't determine based on what the OP has revealed so far.
-
- Posts: 9
- Joined: 6. Sep 2011, 23:41
- Primary OS: Linux other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Slackware 13.37
Re: ERROR_SUCCESS when importing OVA applicance
Sorry - no - file is NOT unpacked successfully. I'll open a ticket.
-
- Posts: 9
- Joined: 6. Sep 2011, 23:41
- Primary OS: Linux other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Slackware 13.37