Opened 11 years ago
Closed 10 years ago
#12340 closed defect (fixed)
Failed to import export_A.ovf
Reported by: | Richard_Brown | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.3.2 |
Keywords: | install vmeare export | Cc: | |
Guest type: | Windows | Host type: | Windows |
Description
I search the bug list and I have found other people who got this error. there was no solution, can you please tell me the solution. THANKS.
this is what i did: I have VMware Player 6.0.1 build-1379776 installed and I am moving to Virtual Box. I exported a windows 2008 server that was running Oracle 11g and Documentum 7.0. this is the error I obtained
Failed to import appliance C:\virtual_Box\export_A.ovf.
Could not open the medium storage unit 'C:\virtual_Box\export_A-disk1.vmdk'.
VMDK: incorrect ordering of entries in descriptor in 'C:\virtual_Box\export_A-disk1.vmdk' (VERR_VD_VMDK_INVALID_HEADER).
VD: error VERR_VD_VMDK_INVALID_HEADER opening image file 'C:\virtual_Box\export_A-disk1.vmdk' (VERR_VD_VMDK_INVALID_HEADER).
Result Code: VBOX_E_FILE_ERROR (0x80BB0004) Component: Appliance Interface: IAppliance {3059cf9e-25c7-4f0b-9fa5-3c42e441670b}
Attachments (19)
Change History (53)
by , 11 years ago
Attachment: | VBoxSVC.log added |
---|
by , 11 years ago
Attachment: | selectorwindow.log added |
---|
by , 11 years ago
Attachment: | vbox-ssl-cacertificate.crt added |
---|
by , 11 years ago
Attachment: | VirtualBox.xml added |
---|
by , 11 years ago
Attachment: | VirtualBox.xml-prev added |
---|
by , 11 years ago
Attachment: | VBoxSVC.log.1 added |
---|
comment:1 by , 11 years ago
please let me know if you want any additional data.I can send you the VmWare export if you want it. Please let me know if I did something really not do smart. THANKS for your help.
comment:2 by , 11 years ago
One more thing. I saw a number of people had this error but there was not resolution to the problem. Did I mess something?
follow-up: 4 comment:3 by , 11 years ago
please, attach the file export_A.ovf. May be it will be enough. What is in the folder C:\virtual_Box\ else?
comment:4 by , 11 years ago
Replying to VVP:
please, attach the file export_A.ovf. May be it will be enough. What is in the folder C:\virtual_Box\ else?
Ok I will have to do late tomorrow. I think that file is quite large. about 35 GB. I will check and let you know before I do it.
by , 11 years ago
Attachment: | export_A.ovf added |
---|
comment:6 by , 11 years ago
Ok I was wrong the file is only 9 KB. I was thinking it was the actual export file. Thanks for looking at this case. If I can be of any more help please let me know. and again THANKS
comment:8 by , 11 years ago
Can I be of any more help? Are there any more files you need? Is there something I did wrong? Please let me know. Thanks
by , 11 years ago
Attachment: | export_A.mf added |
---|
comment:11 by , 11 years ago
I found something related to SCSI controller. Wrong processing. As workaround, would you try to reattach VMDK image to IDE controller. And repeat export/import operations? Or if you familiar with OVF description file structure you can modify it manually.
p.s. When I solve this issue I'll leave feedback here.
comment:12 by , 11 years ago
I have no SCSI controller on my laptop. how do you reattach the wmdk image to the IDE controller. I know what a IDE controller is - hardware wise, etc. How do you unattached it and reattach it?? Thanks
comment:15 by , 11 years ago
I talked about the SCSI controller inside your VM not about your real hardware. Apologize if it was unclear. I fixed the OVF description file as you had asked. Try it.
comment:16 by , 11 years ago
Failed to import appliance C:\virtual_Box\export_A_IDE.ovf.
Root element in OVF file must be "Envelope"..
Result Code: VBOX_E_FILE_ERROR (0x80BB0004) Component: Appliance Interface: IAppliance {3059cf9e-25c7-4f0b-9fa5-3c42e441670b}
comment:17 by , 11 years ago
We are almost there. I am looking at the XML file, do you know what root element the error is referring to?
by , 11 years ago
Attachment: | selectorwindow.2.log added |
---|
by , 11 years ago
Attachment: | VirtualBox.2.xml added |
---|
by , 11 years ago
Attachment: | VirtualBox.2.xml-prev added |
---|
by , 11 years ago
Attachment: | VBoxSVC.2.log added |
---|
comment:19 by , 11 years ago
does it want the root element Envelope in quotes?
<Envelope vmw:buildId="build-1274719" xmlns="http://schemas.dmtf.org/ovf/envelope/1" xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vmw="http://www.vmware.com/schema/ovf" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
comment:20 by , 11 years ago
Strange. would you compare my and your OVF files? If you look at this you will see that I have changed one character in the file. They must be completely equal except one line 105:"<rasd:Parent>5</rasd:Parent>".
comment:21 by , 11 years ago
I used your file to do the upload. I will try it again. (the virtual machines are on an other Laptop) but I just copied your file and used that, no changes were made. Let me try to copy it again and try it. Can I upload that 20 GB file to this website?
by , 11 years ago
Attachment: | export_A.ovf.org added |
---|
by , 11 years ago
Attachment: | CSDiff.htm added |
---|
comment:23 by , 11 years ago
I did a diff between your file and the original file. There are a lot of differences. Are you sure you uploaded the correct file for me to use? THANKS...
comment:25 by , 11 years ago
ok. I guess the error could happened because the file had been changed on Linux system and was opened on Windows system. Would you change the file yourself? Just change the line 105: from "<rasd:Parent>4</rasd:Parent>" to "<rasd:Parent>5</rasd:Parent>".
Thus, you will attach VMDK image to the IDE controller instead SCSI controller.
the full section will look like:
<Item>
<rasd:AddressOnParent>0</rasd:AddressOnParent>
<rasd:ElementName>disk0</rasd:ElementName>
<rasd:HostResource>ovf:/disk/vmdisk1</rasd:HostResource>
<rasd:InstanceID>9</rasd:InstanceID>
<rasd:Parent>5</rasd:Parent>
<rasd:ResourceType>17</rasd:ResourceType>
</Item>
comment:26 by , 11 years ago
<Item ovf:required="false">
<rasd:AddressOnParent>0</rasd:AddressOnParent> <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation> <rasd:ElementName>cdrom0</rasd:ElementName> <rasd:InstanceID>8</rasd:InstanceID> <rasd:Parent>5</rasd:Parent> <rasd:ResourceType>15</rasd:ResourceType>
</Item> <Item>
<rasd:AddressOnParent>0</rasd:AddressOnParent> <rasd:ElementName>disk0</rasd:ElementName> <rasd:HostResource>ovf:/disk/vmdisk1</rasd:HostResource> <rasd:InstanceID>9</rasd:InstanceID> <rasd:Parent>5</rasd:Parent> <rasd:ResourceType>17</rasd:ResourceType>
</Item> <Item>
<rasd:AddressOnParent>2</rasd:AddressOnParent> <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation> <rasd:Connection>nat</rasd:Connection> <rasd:Description>E1000 ethernet adapter on "nat"</rasd:Description> <rasd:ElementName>ethernet0</rasd:ElementName> <rasd:InstanceID>10</rasd:InstanceID> <rasd:ResourceSubType>E1000</rasd:ResourceSubType> <rasd:ResourceType>10</rasd:ResourceType> <vmw:Config ovf:required="false" vmw:key="wakeOnLanEnabled" vmw:value="false"/>
</Item>
comment:27 by , 11 years ago
<Item>
<rasd:AddressOnParent>0</rasd:AddressOnParent> <rasd:ElementName>disk0</rasd:ElementName> <rasd:HostResource>ovf:/disk/vmdisk1</rasd:HostResource> <rasd:InstanceID>9</rasd:InstanceID> <rasd:Parent>5</rasd:Parent> <rasd:ResourceType>17</rasd:ResourceType>
</Item>
comment:28 by , 11 years ago
Ok did that, still errors:
Failed to import appliance C:\virtual_Box\export_A.ovf.
Could not open the medium storage unit 'C:\virtual_Box\export_A-disk1.vmdk'.
VMDK: incorrectly quoted value in descriptor in 'C:\virtual_Box\export_A-disk1.vmdk' (VERR_VD_VMDK_INVALID_HEADER).
VD: error VERR_VD_VMDK_INVALID_HEADER opening image file 'C:\virtual_Box\export_A-disk1.vmdk' (VERR_VD_VMDK_INVALID_HEADER).
Result Code: VBOX_E_FILE_ERROR (0x80BB0004) Component: Appliance Interface: IAppliance {3059cf9e-25c7-4f0b-9fa5-3c42e441670b}
by , 11 years ago
Attachment: | VirtualBox.3.xml added |
---|
by , 11 years ago
Attachment: | VirtualBox.3.xml-prev added |
---|
by , 11 years ago
Attachment: | selectorwindow.3.log added |
---|
by , 11 years ago
Attachment: | VBoxSVC.3.log added |
---|
comment:30 by , 11 years ago
hmm, in this case I thinkI see two errors in the log file:
- Could not find file for the medium 'C:\Users\Administrator\VirtualBox VMs\vm\export_A-disk1_1.vmdk'
- Could not open the medium storage unit 'C:\virtual_Box\export_A-disk1.vmdk'
are both of these files exist?
what is the folder which you use for import (from which folder)?
for the file C:\Users\Administrator\VirtualBox VMs\vm\export_A-disk1_1.vmdk - It looks as the non-existing VMDK image. for the file C:\virtual_Box\export_A-disk1.vmdk - It looks as wrong or broken VMDK image.
comment:31 by , 11 years ago
I will try this again, please note I have upgraded to the latest version. The above fixes should exist. I will try again and send you the log files. Thanks for all your help.
comment:32 by , 11 years ago
One more thing, I could just send you the exported files form VMWare and you can test it yourself. The files are about 30GB in total size.
comment:34 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
log file