OVF Deployment Failed: File ds:///vmfs/volumes/uuid/_deviceImage-0.iso was not found
来源:互联网 发布:查淘宝在线人数的插件 编辑:程序博客网 时间:2024/05/19 01:13
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2034422
Deploying an OVF fails on vCenter Server 5.1 when VMware tools are installed (2034422)
Quick vSphere OVF/OVA Hack
Found myself in a predicament just the other day. I had spent several hours building out template VMs for a few servers, installing vmtools, applying all the latest updates, running sysprep, etc. At the end of that effort, I exported them to .ova files and removed the original VMs. Then I decided I might want to test these .ova exports to make sure they work. Well, guess what? I found myself with broken .ova files that would not import.
The error message, “OVF Deployment Failed: File ds:///vmfs/volumes/uuid/_deviceImage-0.iso was not found” led me toVMware KB article 2034422. The resolution, of course, required use of the original source VMs which I had over zealously deleted earlier. Thankfully, the article gave enough detail about the issue that I was able to work up the following little hack to repair my damaged .ova files:
- I extracted the contents of the .ova files using tar. This works because .ova files are just uncompressed tar archives. You could also use7zip on Windows.
- Inside, there was one .mf or manifest file, one .ovf file, and one .vmdk. There would be more .vmdk files if I had more drives associated with the VMs.
- I edited the .ovf file to change the text “vmware.cdrom.iso” to“vmware.cdrom.remotepassthrough”. The reason for the failure was that the import process was trying to mount a non-existent vmware tools iso image.
- Once edited, the SHA1 sum of the .ovf file had changed, causing it to not match the sum contained in the manifest. I generated a new SHA1 sum and replaced the original in the .mf manifest file.
- Finally, I re-archived the files with tar, making sure to change the extension on the end back to .ova. The tricky bit to this is to make sure you add the files to the archive in the correct order. The .ovf has to be the first file in the archive. Usetar cvf archive.ova vm.ovf to create, then tar uvf archive.ova *.mv *.vmdk to append the rest of the files. Note that I couldn’t get 7zip to archive these in order. I had to use GNU tar from an Ubuntu VM.
I was then able to successfully import the .ova files back into my vSphere environment.
- OVF Deployment Failed: File ds:///vmfs/volumes/uuid/_deviceImage-0.iso was not found
- Image file was not found.
- eclipse c++ 问题Launch failed,Binary not found和A program file was not specified in the launch configur
- erro: "Instantiation of '***' failed. The design unit was not found"
- vmware server FileNotFound: A file was not found
- jxl.read.biff.biffexception: the input file was not found
- jxl.read.biff.biffexception: the input file was not found
- apktool 反编译 Input file was not found or was not readable.问题解决方案
- apktool 反编译 Input file was not found or was not readable.问题解决方案
- apktool 反编译 Input file was not found or was not readable.
- apktool 反编译 Input file was not found or was not readable.问题解决方案
- kali中运行apktool出现Input file (***.apk) was not found or was not readable
- Android-apktool反汇编异常-Input file (XXX) was not found or was not readable.
- apktool 反编译 Input file was not found or was not readable.问题解决方案
- libz was not found
- bisonExe was not found
- 解决eclipse 之“launch failed. Binary file not found.”
- ubuntu解决eclipse 之“launch failed. Binary file not found.”
- Linux NAT优化的校验和问题
- vm 序列号
- 业界信息系统集成的三个主流模式:单点登录、数据融合、过程协同
- linux df命令详解
- String.valueOf(a)和(String)a有什么区别
- OVF Deployment Failed: File ds:///vmfs/volumes/uuid/_deviceImage-0.iso was not found
- 僵尸进程(zombie process )
- 网上回答网友的问题
- Linux cut命令详解
- MapObject2.1在C#中的运用
- VC编程调用dxdiag生成XML文件,来获取系统配置情况
- 数制转换
- C 语言文件操作一般过程
- C++采用递归算法寻找一个整型数组中的最大元素