首页 > 其他 > 详细

opennebula虚拟机启动失败

时间:2014-07-02 23:23:01      阅读:536      评论:0      收藏:0      [点我收藏+]
问题1
故障现象:
Wed Jan 16 09:30:08 2013 [DiM][I]: New VM state is ACTIVE.
Wed Jan 16 09:30:08 2013 [LCM][I]: New VM state is PROLOG.
Wed Jan 16 09:30:08 2013 [VM][I]: Virtual Machine has no context
Wed Jan 16 09:30:08 2013 [TM][I]: clone: Cloning ../../1/761d969382aefd016b88d2dd3a347d4d in ezcloudmaster:/srv/cloud/one/var//datastores/0/3/disk.0
Wed Jan 16 09:30:08 2013 [TM][I]: ExitCode: 0
Wed Jan 16 09:30:08 2013 [LCM][I]: New VM state is BOOT
Wed Jan 16 09:30:08 2013 [VMM][I]: Generating deployment file: /srv/cloud/one/var/3/deployment.0
Wed Jan 16 09:30:08 2013 [VMM][I]: ExitCode: 0
Wed Jan 16 09:30:09 2013 [VMM][I]: Successfully execute network driver operation: pre.
Wed Jan 16 09:30:09 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//datastores/0/3/deployment.0 ezcloudmaster 3 ezcloudmaster
Wed Jan 16 09:30:09 2013 [VMM][I]: error: Failed to create domain from /srv/cloud/one/var//datastores/0/3/deployment.0
Wed Jan 16 09:30:09 2013 [VMM][I]: error: Cannot find QEMU binary /usr/bin/kvm: No such file or directory
Wed Jan 16 09:30:09 2013 [VMM][E]: Could not create domain from /srv/cloud/one/var//datastores/0/3/deployment.0
Wed Jan 16 09:30:09 2013 [VMM][I]: ExitCode: 255
Wed Jan 16 09:30:09 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy.
Wed Jan 16 09:30:09 2013 [VMM][E]: Error deploying virtual machine: Could not create domain from /srv/cloud/one/var//datastores/0/3/deployment.0
Wed Jan 16 09:30:09 2013 [DiM][I]: New VM state is FAILED
解决办法:
管理端:
[root@cloudmaster ~]# ln -s /usr/libexec/qemu-kvm /usr/bin/kvm
问题解决~***************************************************************************************************************
问题2
故障现象:
Fri Jan 11 09:21:24 2013 [DiM][I]: New VM state is ACTIVE.
Fri Jan 11 09:21:24 2013 [LCM][I]: New VM state is PROLOG.
Fri Jan 11 09:21:24 2013 [VM][I]: Virtual Machine has no context
Fri Jan 11 09:21:24 2013 [TM][I]: clone: Cloning /srv/cloud/one/var/datastores/1/1a91f0dc3c3e9a3b702f74eb73c83ff4 in cloudserver:/srv/cloud/one/var//datastores/0/0/disk.0
Fri Jan 11 09:21:24 2013 [TM][I]: ExitCode: 0
Fri Jan 11 09:21:24 2013 [LCM][I]: New VM state is BOOT
Fri Jan 11 09:21:24 2013 [VMM][I]: Generating deployment file: /srv/cloud/one/var/0/deployment.0
Fri Jan 11 09:21:25 2013 [VMM][I]: ExitCode: 0
Fri Jan 11 09:21:25 2013 [VMM][I]: Successfully execute network driver operation: pre.
Fri Jan 11 09:21:25 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//datastores/0/0/deployment.0 cloudserver 0 cloudserver
Fri Jan 11 09:21:25 2013 [VMM][I]: error: Failed to create domain from /srv/cloud/one/var//datastores/0/0/deployment.0
Fri Jan 11 09:21:25 2013 [VMM][I]: error: unknown OS type hvm
Fri Jan 11 09:21:25 2013 [VMM][E]: Could not create domain from /srv/cloud/one/var//datastores/0/0/deployment.0Fri Jan 11 09:21:25 2013 [VMM][I]: ExitCode: 255
Fri Jan 11 09:21:25 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy.
Fri Jan 11 09:21:25 2013 [VMM][E]: Error deploying virtual machine: Could not create domain from /srv/cloud/one/var//datastores/0/0/deployment.0Fri Jan 11 09:21:25 2013 [DiM][I]: New VM state is FAILED
问题原因:
主机不支持虚拟化,或者BIOS中CPU没有打开VT功能,导致kernel驱动无法加载;
 
解决办法:
1.BIOS中开启CPU的VT功能即可;
2.如果是用虚拟机搭建的Opennebula实验环境,由于虚拟机的VCPU不再支持虚拟化,Opennebula再创建的虚拟机无法加载kernel驱动,状态总是Faild;
 

 

opennebula虚拟机启动失败,布布扣,bubuko.com

opennebula虚拟机启动失败

原文:http://www.cnblogs.com/heidsoft/p/3818866.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!