Unable to Start VM

Instantiated a VM from a template and getting error after boot state:

[oneadmin@node01 8]$ cat /var/log/one/9.log
Tue Jun 28 12:09:40 2016 [Z0][VM][I]: New state is ACTIVE
Tue Jun 28 12:09:40 2016 [Z0][VM][I]: New LCM state is PROLOG
Tue Jun 28 12:09:41 2016 [Z0][VM][I]: New LCM state is BOOT
Tue Jun 28 12:09:41 2016 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/9/deployment.0
Tue Jun 28 12:09:42 2016 [Z0][VMM][I]: Successfully execute transfer manager driver operation: tm_context.
Tue Jun 28 12:09:42 2016 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Tue Jun 28 12:09:42 2016 [Z0][VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy ‘/var/lib/one//datastores/100/9/deployment.0’ ‘host-node03’ 9 host-node03
Tue Jun 28 12:09:42 2016 [Z0][VMM][I]: error: Failed to create domain from /var/lib/one//datastores/100/9/deployment.0
Tue Jun 28 12:09:42 2016 [Z0][VMM][I]: error: XML error: Invalid value ‘-2147483648’ for element or attribute './memory[1]'
Tue Jun 28 12:09:42 2016 [Z0][VMM][E]: Could not create domain from /var/lib/one//datastores/100/9/deployment.0
Tue Jun 28 12:09:42 2016 [Z0][VMM][I]: ExitCode: 255
Tue Jun 28 12:09:42 2016 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy.
Tue Jun 28 12:09:42 2016 [Z0][VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/100/9/deployment.0
Tue Jun 28 12:09:42 2016 [Z0][VM][I]: New LCM state is BOOT_FAILURE

Any advise please?

Thanks,
Orhan

OK 2048GB memory in the template was a very bad idea :slight_smile:

Cheers,
Orhan

We’ll take a look at this, OpenNebula should complain about the wrong value
earlier…

here for yout reference

http://dev.opennebula.org/issues/4610