Thursday, 11 February 2016

Error: Failed to deploy OVF package: File ds:///*_deviceImage-0.iso was not found

This killer error would be enough to eat your productive time. Going through the forums does help you to fix this but the following are to be noted:

  1. OVA files are tar archive files with a .vmdk, .mf and .ovf files inside it.
  2. The files inside the OVA archives should be in specific order.
Here is what I had tried with no success:
  1. Unzipping the content, editing the respective files, zipping it again in .zip format and renaming to .ova. Used winrar tool for this. This may throw error "header not found".
  2. Using 7zip to extract the files, edit the required files and drag-drop updated files to 7zip. Just because 7zip utility changes the order of files in the archive, it gave error ".ovf file not found in the beginning of archive."

Following steps are executed on a Linux machine. You may use tools such as cygwin to perform them on Windows.
  1. Rename the .ova file to .tar: mv myovafile.ova myovafile.tar
  2. List the .tar file to note down the order of its contents: tar -tf myovafile.tar
  3. Extract the tar archive: tar -xvf myovafile.tar
  4. Edit the .ovf file using text editor to have vmware.cdrom.remotepassthrough as rasd:ResourceSubType content for the rasd:ElementName with CD-ROM DVD value. You may refer VMware KB document.
  5. Calculate SHA1 for the .ovf file: sha1sum myovafile.ovf
  6. Update the SHA1 value to the .mf file using a text editor.
  7. Create tar file with the updated files. Pass files in the order they was displayed when step 2 was performed: tar -cvf mynewova.tar {fileslist_separated_by_space}
  8. Rename the file to have OVA extension: mv mynewova.tar mynewova.ova


  1. Replies
    1. Great Article android based projects

      Java Training in Chennai Project Center in Chennai Java Training in Chennai projects for cse The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training Project Centers in Chennai

  2. Or you can simply create an empty file named "_deviceImage-0.iso" on destination datastore.

    1. Gian Cerro: You make my day ;) works perfectly !!! 10x

  3. TreasureBox is operated by a group of young, passionate, and ambitious people that are working diligently towards the same goal - make your every dollar count, as we believe you deserve something better.
    Check out the best
    laptop table
    shoe storage nz

  4. Wow! Such an amazing and helpful post this is. I really really love it. I hope that you continue to do your work like this in the future also.

    Spark and Scala Training
    Apache Spark Online Course

  5. Thanks for Sharing a Very Informative Post & I read Your Article & I must say that is very helpful post for us.
    Data Science Course in Pune
    Python Classes in Pune

  6. I'm truly grateful to you for offering Such sort of instructive articles to us.
    Really helpful.
    buy a logo

  7. This concept is a good way to enhance knowledge. thanks for sharing..
    Data Science Course in Pune
    Python Classes in Pune

  8. Thanks for sharing this information. This is really useful. Keep doing more.
    Hire Java Developers

  9. Playing at on-line casino for real money often a|could be a} thrilling experience! At OUSC you can see essentially the most trusted sites to play with cash and 온라인 바카라 the best real money video games. They make investments large cash} into making their websites and their providers top-notch for all gamers.