Failed to import appliance: Could not find a storage control

Discussions related to using VirtualBox on Linux hosts.
Post Reply
laredotornado
Posts: 7
Joined: 27. Apr 2011, 17:43
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 7

Failed to import appliance: Could not find a storage control

Post by laredotornado »

Hi,

I'm trying to get a VirtualBox image (for VirtualBox running on Intel x64 Ubuntu Linux) from VmWare Fusion Windows 7 image (originally built on Mac 10.6.6 PowerBook) using VMWare's ovftool conversion facility.

After running my conversion, and moving the .ovf, .mf. and .vmdk files over to my Linux machine, I went to the Import Appliance setting, chose my ovf file and then began the import. After about 40% complete, the process failed with the message of

Code: Select all

Failed to import appliance /home/selenium/Windows7.ovf.
Could not find a storage controller named 'SCSI Controller'
Not sure what adjustments I should make but this is in my .ovf file where the reference to the controller appears:

Code: Select all

      <Item>
        <rasd:Address>0</rasd:Address>
        <rasd:Description>SCSI Controller</rasd:Description>
        <rasd:ElementName>scsiController0</rasd:ElementName>
        <rasd:InstanceID>4</rasd:InstanceID>
        <rasd:ResourceSubType>lsilogicsas</rasd:ResourceSubType>
        <rasd:ResourceType>6</rasd:ResourceType>
      </Item>
Any guidance for next troubleshooting steps is appreciated. If this helps, these were the settings on the Applicance Import Settings screen:

Code: Select all

Guest OS Type: Other/Unknown
CPU: 1
RAM: 1024 MB
DVD: checked
USB Controller: Checked
Network Adapter (checked: Intel PRO/1000 MT Server (*254SEM)
Hard Disk Controller (IDE): PIIX4
Hard Disk Controller (SAS): LsaLogicSas
	Virtual Disk Image: 	(a path that I can't fully read … but that I don't think exists).

- Dave
daniell
Posts: 1
Joined: 11. Jun 2013, 16:14

Re: Failed to import appliance: Could not find a storage con

Post by daniell »

As this topic was in the top search results while I was searching for this problem's solution, I'll post here my findings:

I could manage to overcome this situation with the following tiny modifications in the .ovf file:

Code: Select all

$ diff -u Server1.ovf-orig  Server1.ovf
--- Server1.ovf-orig    2013-06-11 16:06:55.967865670 +0200
+++ Server1.ovf 2013-06-11 16:08:08.040864095 +0200
@@ -54,14 +54,6 @@
         <vmw:Config ovf:required="false" vmw:key="ehciEnabled" vmw:value="true"/>
       </Item>
       <Item>
-        <rasd:Address>0</rasd:Address>
-        <rasd:Description>SCSI Controller</rasd:Description>
-        <rasd:ElementName>scsiController0</rasd:ElementName>
-        <rasd:InstanceID>4</rasd:InstanceID>
-        <rasd:ResourceSubType>lsilogicsas</rasd:ResourceSubType>
-        <rasd:ResourceType>6</rasd:ResourceType>
-      </Item>
-      <Item>
         <rasd:Address>1</rasd:Address>
         <rasd:Description>IDE Controller</rasd:Description>
         <rasd:ElementName>ideController1</rasd:ElementName>
@@ -96,7 +88,7 @@
         <rasd:ElementName>disk1</rasd:ElementName>
         <rasd:HostResource>ovf:/disk/vmdisk1</rasd:HostResource>
         <rasd:InstanceID>9</rasd:InstanceID>
-        <rasd:Parent>4</rasd:Parent>
+        <rasd:Parent>5</rasd:Parent>
         <rasd:ResourceType>17</rasd:ResourceType>
       </Item>
       <Item>
What is missing from this diff is the fact, that I had another storage controller, with InstanceID 5

Code: Select all

      <Item>
        <rasd:Address>1</rasd:Address>
        <rasd:Description>IDE Controller</rasd:Description>
        <rasd:ElementName>ideController1</rasd:ElementName>
        <rasd:InstanceID>5</rasd:InstanceID>
        <rasd:ResourceType>5</rasd:ResourceType>
      </Item>
... and I put this as the vmdisk1's parent (4 -> 5).

After this, I updated the Server1.ovf file's SHA-1 checksum in the OVF export's Server1.mf (manifest) file, but noticed that virtualbox just can't get it's head around verifying the otherwise correct SHA-1 checksums...
While sha1sum(1) -c Server1.mf certified that the manifest file is indeed correct, virtualbox just spat errors...
So I've read in another topic "OVF Import Issues" (it's here in the vbox forums, but I'm not allowed to post links yet...), that one could simply delete the manifest file, and voila, the import just worked.
--
LEVAI Daniel
Post Reply