执行成功
错误信息解决办法
libvirt.libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
解决方法:
查看libvirt进程是否启动:
ps -le | grep libvirt* 如果没有启动,那么上面的错误就是这个原因
现在启动libvirt进程 libvirtd -d
raise oz.OzException.OzException("No disk activity in %d seconds, failing. %s" % (inactivity_timeout, screenshot_text))
oz.OzException.OzException: No disk activity in 300 seconds, failing. Check screenshot at /var/lib/oz/screenshots/centos7_x86_64-1464282071.67.ppm for more detail
解决方法:
这个问题一般是centos7.1.ks文件出错,查看/var/lib/oz/screenshots/centos7_x86_64-1464282071.67.ppm该文件,它是一个图片,打开之后如下图:
错误很清晰,最后一行缺少%end
raise oz.OzException.OzException("Unsupported " + tdl.distro + " update " + tdl.update
oz.OzException.OzException: Unsupported centos-7 update 1
解决办法:
修改centos7.1.tdl 文件,将centos-7 修改为RHEL-7