Cannot deploy vm after completing CentOS + KVM tutorial for OpenNebula4.14

Hello! I’va seen some similar topics but they couldn’t help me. I’ve just finished installing OpenNebula 4.14, and wanted to deploy a template from the SunStone user interface. It first stuck on PENDING state, then I wanted to force deploy it and got this in my log file:

[oneadmin@localhost ~]$ cat /var/log/one/1.log 
Fri Aug 12 14:16:00 2016 [Z0][VM][I]: New state is ACTIVE
Fri Aug 12 14:16:00 2016 [Z0][VM][I]: New LCM state is PROLOG
Fri Aug 12 14:16:05 2016 [Z0][VM][I]: New LCM state is BOOT
Fri Aug 12 14:16:06 2016 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/1/deployment.0
Fri Aug 12 14:16:06 2016 [Z0][VMM][I]: ExitCode: 0
Fri Aug 12 14:16:06 2016 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Fri Aug 12 14:16:07 2016 [Z0][VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/1/deployment.0' 'localhost' 1 localhost
Fri Aug 12 14:16:07 2016 [Z0][VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/1/deployment.0
Fri Aug 12 14:16:07 2016 [Z0][VMM][I]: error: invalid argument: could not find capabilities for arch=x86_64 domaintype=kvm
Fri Aug 12 14:16:07 2016 [Z0][VMM][E]: Could not create domain from /var/lib/one//datastores/0/1/deployment.0
Fri Aug 12 14:16:07 2016 [Z0][VMM][I]: ExitCode: 255
Fri Aug 12 14:16:07 2016 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy.
Fri Aug 12 14:16:07 2016 [Z0][VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/1/deployment.0
Fri Aug 12 14:16:07 2016 [Z0][VM][I]: New LCM state is BOOT_FAILURE

Also note that I am making this in one machine front-end and node machines are the same. I really don’t know what the problem is. Can anyone help me please?

what output of “virt-host-validate” on node?

Hi,

Wld you check if there is a virtualization option (like Intel VT) in BIOS settings and if yes, make sure it is enabled.

Kind regards,
Orhan

2 Likes

I had to enable virtualization in BIOS to make it work. Thank you all for your help.