VMware Cloud Community
mr_telnet
Contributor
Contributor
Jump to solution

Failed to deploy OVA

Hi,

i have some OVA files that when i try to deploy them, shows the following error :

Unable to access file :

C:\user\Administrator\Desktop\Backup\new-ova\ubuntu.18-file1.iso

End Of OVA file reached while looking for : ubuntu.18-file1.iso

OVA-error.jpg

I use VMWare ESXi 5.5

how can i resolved this issue ?

1 Solution

Accepted Solutions
a_p_
Leadership
Leadership
Jump to solution

That won't work. As mentioned before, extract all the files from the OVA, replace the OVF file and select the OVF file for the import.

André

View solution in original post

Reply
0 Kudos
15 Replies
a_p_
Leadership
Leadership
Jump to solution

Only a guess. Maybe the .iso file was attached to the VM when the OVA was created!? What you could try to do is to create a file with this name in the mentioned folder to see whether this helps to workaround the issue.


André

mr_telnet
Contributor
Contributor
Jump to solution

Hi,

i did but it did not help

The iso is included while exporting the OVA file, please check the image

OVA-ISO.jpg

Reply
0 Kudos
a_p_
Leadership
Leadership
Jump to solution

In this case extract the files from the OVA and take a look at the .ovf file to see whether it contains a reference to the .iso file.

André

Reply
0 Kudos
mr_telnet
Contributor
Contributor
Jump to solution

Dear Andre,

Yes it does, i tried to remove the reference and the deploy the OVA but it did not work

Reply
0 Kudos
a_p_
Leadership
Leadership
Jump to solution

Do you still see the same error message or is it different after editing the .ovf file?

Unless the .ovf file contains sensitive data, please attach it to a reply post.

André

Reply
0 Kudos
mr_telnet
Contributor
Contributor
Jump to solution

its shows a different error.., i've attached the original ovf file

Reply
0 Kudos
a_p_
Leadership
Leadership
Jump to solution

Please backup the current .ovf file and use the modified one I attached.

André

mr_telnet
Contributor
Contributor
Jump to solution

Hi

i try to deploy with new OVF, showing this following error

OVA-error1.jpg

Reply
0 Kudos
a_p_
Leadership
Leadership
Jump to solution

What exactly did you do? Did you extract the files from the OVA, then replace the OVF and deploy from the OVF?

André

mr_telnet
Contributor
Contributor
Jump to solution

Dear andre,

i replaced the ovf file in the ova package by the one you provided

i used 7-zip to replaced

Reply
0 Kudos
a_p_
Leadership
Leadership
Jump to solution

That won't work. As mentioned before, extract all the files from the OVA, replace the OVF file and select the OVF file for the import.

André

Reply
0 Kudos
mr_telnet
Contributor
Contributor
Jump to solution

Thank you so much for your help, it's realy appreciate

i have this problem with 15 as my files, what modifications i should make to get it resolved ?

Reply
0 Kudos
a_p_
Leadership
Leadership
Jump to solution

What I basically changed in the OVF is to remove the reference to the .iso image and "disconnect" it from the CD-ROM drive:

~snip~

  <References>

    <File ovf:href="ubuntu.18-file1.iso" ovf:id="file1" ovf:size="704833536" />

    <File ovf:href="ubuntu.18-disk1.vmdk" ovf:id="file2" ovf:size="291964928" />

  </References>

~snip~

<Item ovf:required="false">

        <rasd:AddressOnParent>0</rasd:AddressOnParent>

        <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>

        <rasd:ElementName>CD-ROM 1</rasd:ElementName>

       <rasd:HostResource>ovf:/file/file1</rasd:HostResource>

        <rasd:InstanceID>8</rasd:InstanceID>

        <rasd:Parent>4</rasd:Parent>

        <rasd:ResourceSubType>vmware.cdrom.iso</rasd:ResourceSubType>

        <rasd:ResourceType>15</rasd:ResourceType>

      </Item>

~snip~

red: remove these lines

green: add this text

black: change the text

André

obogdanov
Contributor
Contributor
Jump to solution

Thanks, very helpful.  Had a similar situation with a .ova.  Had to extract it, edit the .ovf remove references to the .iso.  Then had to delete the .mf file because sha1sum no longer matched (apparently deleting the file makes vcenter skip the verification).  After that the .ovf deployed without error.

Edit:  Original export was with ESX 5.5 to .ova format, and same ESX host used for import.

lsspl
Contributor
Contributor
Jump to solution

I have same issue. I did workaround and its work for me.

1. Extract .ova file with 7Zip.

2. There are multiple files including .iso and .ova

3. Keep extracted folder as it is and deploy .ova which is in extracted folder. (KB in size)

It will deploy your VM without any error.

Enjoy..
Gujju Rocks

Reply
0 Kudos