On 05/24/2012 01:05 PM, Carlos Martín Sánchez wrote:
Hi,
This is fixed in OpenNebula 3.4+, see [1]. I think you should be able to
apply these changes [2] in 3.2 without any problems.
Regarding your question, you can't force a VM in the suspended state to be
monitored and restored to the running state, unless you change in the DB
the vm_pool columns lcm_state, state and the same xml attributes inside the
body column.
Hi,
I created a script (http://mif.vu.lt/~rolnas/one/) to correct problem
with failed/paused VM in opennebula-3.2.1. It works properly only on VM
with only one history record (deployed and running on one host and not
migrated or stopped/resumed to another). Of cause it should be run when
oned is stopped:
oneadmin$ one stop;./vm_runn VMID|./mysql2;one start
Regards, Rolandas Naujikas
Regards.
[1] http://dev.opennebula.org/issues/1165
[2]
http://dev.opennebula.org/projects/opennebula/repository/revisions/a7ab6e4ce8e3ee304de85fc1fb31246c3a998582
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | [email protected] |
@OpenNebula<http://twitter.com/opennebula><[email protected]>
On Thu, May 24, 2012 at 9:53 AM, Rolandas Naujikas<
[email protected]> wrote:
Hi,
I got:
Wed May 23 14:22:28 2012 [VMM][I]: ExitCode: 0
Wed May 23 14:22:28 2012 [VMM][W]: Adding custom monitoring attribute:
NAME one-588
Wed May 23 14:22:28 2012 [VMM][D]: Monitor Information:
CPU : 0
Memory: 3584000
Net_TX: 12001
Net_RX: 452
Wed May 23 14:27:28 2012 [VMM][I]: ExitCode: 0
Wed May 23 14:27:28 2012 [VMM][W]: Adding custom monitoring attribute:
NAME one-588
Wed May 23 14:27:28 2012 [VMM][I]: VM running but new state from monitor
is PAUSED.
Wed May 23 14:27:28 2012 [LCM][I]: VM is suspended.
Wed May 23 14:27:28 2012 [DiM][I]: New VM state is SUSPENDED
That is strange. We are using Xen + opennebula-3.2.1.
Around this time I rebooted VM from inside (in OS).
VM is really running.
How to push to continue monitoring, because it is not monitored anymore ?
Regards, Rolandas Naujikas
______________________________**_________________
Users mailing list
[email protected]
http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org