Hi I have been trying to narrow down a problem I have been having with importing appliances in 4.3RC1 I created in 4.2.12, but I think this is a more general issue.
To recreate the problem:
On Mac OS 10.9 Host I installed the 4.3.0 RC1 89687 OSX dmg
[Note: I had removed 4.2.12 and I also moved my old ../VirtaulBox VMs and ../Library/VirtualBox folders to one side, to keep things as simple and clean as possible]
In Vbox:
Create a Test VM: selected Linux/ Oracle (64bit), memory defaults, create a new vdi disk, take defaults
Click on created VM -> Export Appliance: take defaults OVF 1.0 and no manifest
In Finder:
Click on the created testimport.ova file
In Vbox:
Click on import get following Error:
"Failed to import appliance /Users/john/Documents/testimport.ova.
<vbox:Machine> element in OVF contains a medium attachment for the disk image 36d4931c-1707-445e-bef5-82c30d1a6cfd but the OVF describes no such image."
I have tried this will all variants on Export format for OVF, with and without manifest and I get the same problem every time.
I also uninstalled VBox 4.3 and installed VBox 4.2.12 and was able to import the appliance created above in 4.3 without any problem.
Cannot Import Appliance in 4.3.0 RC1 89687 OSX
Cannot Import Appliance in 4.3.0 RC1 89687 OSX
- Attachments
-
- VirtualBox4.3RC1-import.zip
- Logs after clean install of 4.3RC1 and attempt to import appliance testimport.ova previously created in 4.3RC1
- (13.91 KiB) Downloaded 22 times
-
- VirtualBox4.2.12-import.zip
- Logs after clean install of 4.2.12 and successful import of appliance testimport.ova previously created in 4.3RC1
- (13.99 KiB) Downloaded 26 times
-
- testimport.ova4.3RC1.zip
- The testimport.ova appliance created in 4.3RC1 as described above
- (3.3 KiB) Downloaded 27 times
-
- Oracle Corporation
- Posts: 2973
- Joined: 19. Dec 2007, 15:45
- Primary OS: MS Windows 7
- VBox Version: PUEL
- Guest OSses: Any and all
- Contact:
Re: Cannot Import Appliance in 4.3.0 RC1 89687 OSX
There were definitely some problems with OVF export/import. Please try version 4.3.2 instead. At this point, we are not interested in any problem reports related to the 4.3 betas or release candidates.
Re: Cannot Import Appliance in 4.3.0 RC1 89687 OSX
Thanks for the pointer. I have tried with 4.3.2 and I can successfully create and import an appliance. I can also import an appliance created on 4.2.12 which is great.
The one remaining problem I have is that I cannot seem to import an appliance I created on 4.3.2 with multiple VM's, which I think is a known issue. For now I can just create separate appliances to workaround the issue.
Steps:
To reproduce the problem just create two VMs for Linux/Oracle taking all the defaults. Select the created VM's, export as an appliance and try to import it, get the following error:
"Failed to import appliance /Users/john/Documents/TestAppliance.ova.
Internal inconsistency looking up disk image 'vmdisk2'
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Appliance
Interface: IAppliance {3059cf9e-25c7-4f0b-9fa5-3c42e441670b}"
The one remaining problem I have is that I cannot seem to import an appliance I created on 4.3.2 with multiple VM's, which I think is a known issue. For now I can just create separate appliances to workaround the issue.
Steps:
To reproduce the problem just create two VMs for Linux/Oracle taking all the defaults. Select the created VM's, export as an appliance and try to import it, get the following error:
"Failed to import appliance /Users/john/Documents/TestAppliance.ova.
Internal inconsistency looking up disk image 'vmdisk2'
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Appliance
Interface: IAppliance {3059cf9e-25c7-4f0b-9fa5-3c42e441670b}"
Re: Cannot Import Appliance in 4.3.0 RC1 89687 OSX
1. I checked testimport.ova4.3RC1.zip on my Ubuntu machine. And It was successfully. Thus, I suppose the error happens when this package is imported on the machine with MacOS.
2. Export several VMs at once is possible. But import isn't supported for such package. Have you made such kind of import earlier?
I'll investigate both questions.
2. Export several VMs at once is possible. But import isn't supported for such package. Have you made such kind of import earlier?
I'll investigate both questions.
Re: Cannot Import Appliance in 4.3.0 RC1 89687 OSX
The issue was fixed. Changes in SVN. I have tested it on my Ubuntu machine. I have checked it with both variants: OVA package (one archive file contains all imported stuff) and OVF package(imported files lay separately in one folder).