[one-users] Monitoring of a host can fail during a VM shutdown

Daniel Dehennin daniel.dehennin at baby-gnu.org
Wed Dec 11 06:30:11 PST 2013


Hello,

On a ONE 4.2, we just encountered an transiant issue:

    [InM][I]: Monitoring host grichka (9)
    [InM][I]: Command execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm 9 grichka; else exit 42; fi'
    [InM][I]: error: failed to get domain 'one-1547'
    [InM][I]: error: Domain not found: no domain with matching name 'one-1547'
    [InM][I]: ../../vmm/kvm/poll:70:in `block in get_vm_info': undefined method `[]' for nil:NilClass (NoMethodError)
    [InM][I]: from ../../vmm/kvm/poll:68:in `each'
    [InM][I]: from ../../vmm/kvm/poll:68:in `get_vm_info'
    [InM][I]: from ../../vmm/kvm/poll:35:in `get_all_vm_info'
    [InM][I]: from ../../vmm/kvm/poll:401:in `print_all_vm_template'
    [InM][I]: from ../../vmm/kvm/poll:440:in `<main>'
    [InM][E]: Error executing poll.sh
    [InM][I]: ExitCode: 1
    [ONE][E]: Error monitoring Host grichka (9): Error executing poll.sh


It looks like something list all the running VM and then call
“get_vm_info” for each one.

This result in an error if the VM disappears in the meantime, because of
a shutdown for example.

Is this something plausible, in which case I'll open an issue on the bug
tracker?

Regards.
    
-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131211/559c8e29/attachment.pgp>


More information about the Users mailing list