部署ovf模板,突然出现用户取消任务。
2013-11-13 10:50
645 查看
查看了网上的文章,自己做了一下实验。
发觉导出ovf模板时,虚拟CDROM的选项要选【客户端设备】,导入时才不会出事。
参考连接
http://lukebarklimore.wordpress.com/2012/10/25/esxi-5-1-fixing-failed-to-deploy-ovf-package-the-task-was-canceled-by-a-user/
Frustrated by the inability to redeploy a template I spent so long preparing, I broke open the OVA template and took a look inside. There were three files with different extensions,
.ova - OVF descriptor, written in XML, which describes the hardware requirements
.mf – contains SHA1 checksums of the .OVA and .VMDK
.vmdk – the virtual hard disk for the virtual machine.
I immediately discarded the .mf. If you modify the .ova and don’t update the .mf, it’ll complain that the checksum is invalid. Removing this file seems to prevent vSphere from checking the checksums, which is useful, seeing as we want to poke around the .ova. After fiddling around inside the .ova, I stumbled across the following line…
<rasd:ResourceSubType>vmware.cdrom.iso</rasd:ResourceSubType>
Changing the above line, to read…
<rasd:ResourceSubType>vmware.cdrom.atapi</rasd:ResourceSubType>
…appears to have fixed my deployment issues. Perhaps changing the ‘CD Drive Device type’ in the virtual machine’s settings would’ve fixed it. But by that point, I had already exported the OVA and deleted the source virtual machine.
Hopefully someone will stumble across this one day, and it’ll save them a few hours!
发觉导出ovf模板时,虚拟CDROM的选项要选【客户端设备】,导入时才不会出事。
参考连接
http://lukebarklimore.wordpress.com/2012/10/25/esxi-5-1-fixing-failed-to-deploy-ovf-package-the-task-was-canceled-by-a-user/
Frustrated by the inability to redeploy a template I spent so long preparing, I broke open the OVA template and took a look inside. There were three files with different extensions,
.ova - OVF descriptor, written in XML, which describes the hardware requirements
.mf – contains SHA1 checksums of the .OVA and .VMDK
.vmdk – the virtual hard disk for the virtual machine.
I immediately discarded the .mf. If you modify the .ova and don’t update the .mf, it’ll complain that the checksum is invalid. Removing this file seems to prevent vSphere from checking the checksums, which is useful, seeing as we want to poke around the .ova. After fiddling around inside the .ova, I stumbled across the following line…
<rasd:ResourceSubType>vmware.cdrom.iso</rasd:ResourceSubType>
Changing the above line, to read…
<rasd:ResourceSubType>vmware.cdrom.atapi</rasd:ResourceSubType>
…appears to have fixed my deployment issues. Perhaps changing the ‘CD Drive Device type’ in the virtual machine’s settings would’ve fixed it. But by that point, I had already exported the OVA and deleted the source virtual machine.
Hopefully someone will stumble across this one day, and it’ll save them a few hours!
相关文章推荐
- VMware Esxi 部署OVF模板失败,提示用户取消任务
- 部署OVF模板失败,提示用户取消任务
- ESXI部署OVF模板提示用户已取消操作处理方法
- ESXI部署OVF模板提示用户已取消操作处理方法
- VMware导入OVF时报错(未能部署OVF包用户取消了任务的解决办法)
- 登录服务器windows2008出现:远程桌面服务当前正忙,因此无法完成您尝试执行的任务。请在几分钟后重试。其他用户应该仍然能够登录
- 部署时,出现用户代码未处理 System.Security.Cryptography.CryptographicException 错误解决方法
- 登录服务器windows2008出现:远程桌面服务当前正忙,因此无法完成您尝试执行的任务。请在几分钟后重试。其他用户应该仍然能够登录
- VMware导入ovf时报-用户取消了任务-的解决办法
- [置顶] linux系统tomcat应为被定时任务脚本监控自动部署,服务器重启导致同一个tomcat出现很多进程,kill -9杀死又出现等一系列问题解决。
- linux-OVF模板部署问题
- vSphere 6.0 部署OVF模板失败,解决方法
- vmware 4.1版本物理机部署6.0版本OVF模板 报“硬件系列vmx-11不受支持“的解决办法
- 如何解决查询数据库时出现“用户请求取消当前操作”
- 部署时,出现用户代码未处理 System.Security.Cryptography.CryptographicException 错误解决方法
- VMware ESXi部署OVF模板
- NetScaler的部署实验之一部署NetScaler VPX的OVF模板
- 登录服务器windows2008出现:远程桌面服务当前正忙,因此无法完成您尝试执行的任务。请在几分钟后重试。其他用户应该仍然能够登录
- asp.net core部署到iis中出现 HTTP Error 502.5 - Process Failure的问题
- 运行部署在Weblogic上的Web应用时,过一段时间程序就提示数据连接断了,重起Weblogic就好了。过一段时间又出现同样的问题。