New LCM state is BOOT_FAILURE

I installed opennebula front end on one machine and nodes on another 4 machines, ssh is fine , hosts are up. but while trying to create a vm it fails always shows the following error log kindly help me.

Mon Aug 7 11:59:20 2017 [Z0][VM][I]: New LCM state is LCM_INIT
Mon Aug 7 11:59:20 2017 [Z0][VM][I]: New state is PENDING
Mon Aug 7 11:59:34 2017 [Z0][VM][I]: New state is ACTIVE
Mon Aug 7 11:59:34 2017 [Z0][VM][I]: New LCM state is PROLOG
Mon Aug 7 11:59:38 2017 [Z0][VM][I]: New LCM state is BOOT
Mon Aug 7 11:59:38 2017 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/17/deployment.1
Mon Aug 7 11:59:38 2017 [Z0][VMM][I]: ExitCode: 0
Mon Aug 7 11:59:38 2017 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Mon Aug 7 11:59:39 2017 [Z0][VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy ‘/var/lib/one//datastores/0/17/deployment.1’ ‘sekar’ 17 sekar
Mon Aug 7 11:59:39 2017 [Z0][VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/17/deployment.1
Mon Aug 7 11:59:39 2017 [Z0][VMM][I]: error: unsupported configuration: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules.
Mon Aug 7 11:59:39 2017 [Z0][VMM][E]: Could not create domain from /var/lib/one//datastores/0/17/deployment.1
Mon Aug 7 11:59:39 2017 [Z0][VMM][I]: ExitCode: 255
Mon Aug 7 11:59:39 2017 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy.
Mon Aug 7 11:59:39 2017 [Z0][VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/17/deployment.1
Mon Aug 7 11:59:39 2017 [Z0][VM][I]: New LCM state is BOOT_FAILURE
Thanks in Advance

That should be the trick. Have you set up a host as a KVM host?

Sorry for the delay . sir I am very new to Opennebula, I don’t know how to set kvm host .I just followed the instructions on Opennebula4.14 quick start guide for ubuntu 14.04

You are probably referring to this guide: http://docs.opennebula.org/4.14/design_and_installation/quick_starts/qs_ubuntu_kvm.html
It was a nice guide, I don’t know why this has been removed in the newer versions and replaced by information scattered across several pages and focused mainly on the sunstone GUI: http://docs.opennebula.org/5.4/deployment/opennebula_installation/index.html

Anyway don’t use the ancient opennebula 4.14, the latest version is 5.4, and it has interesting features.
Also why the ancient Ubuntu 14.04? Use Ubuntu 16.04. If you don’t mind using CentOS 7 I still maintain a scripted guide based on http://docs.opennebula.org/4.14/design_and_installation/quick_starts/qs_centos7_kvm.html at https://github.com/marcindulak/vagrant-opennebula-tutorial-centos7

There is help how to verify if hardware virtualization support is enabled: https://help.ubuntu.com/community/KVM/Installation

On the potential KVM host:

egrep -c ‘(vmx|svm)’ /proc/cpuinfo

If 0 it means that your CPU doesn’t support hardware virtualization.

If 1 or more it does - but you still need to make sure that virtualization is enabled in the BIOS.

1 Like