问题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;