[one-users] Error monitoring VM, Error executing sudo /usr/sbin/xentop -bi2

María Pérez maria at caton.es
Fri May 20 06:01:53 PDT 2011


Hi Carlos,

The output of 'sudo /usr/sbin/xentop -bi2' is:

[oneadmin at dn08 ~]$ sudo /usr/sbin/xentop -bi2
       NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k) 
MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS   VBD_OO   VBD_RD   VBD_WR SSID
   Domain-0 -----r         51    0.0   15532060   92.6   no limit       
n/a     8    5        0        0    0        0        0        0    0
     one-44 --b---          1    0.0    1048396    6.2    1048576       
6.3     1    1        1    15680    2        0       68      253    0
       NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k) 
MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS   VBD_OO   VBD_RD   VBD_WR SSID
   Domain-0 -----r         51    0.5   15532276   92.6   no limit       
n/a     8    5        0        0    0        0        0        0    0
     one-44 --b---          1    0.1    1048404    6.2    1048576       
6.3     1    1        1    15705    2        0       68      253    0


This error causes that the VM is not monitored correctly, also the 
machines happen to unknown state. Do you think that this error will have 
something to do with the unknown state of the VM?


Thank you very much.
Regards,
María

El 20/05/11 14:34, Carlos Martín Sánchez escribió:
> Hi María,
>
> It looks like the script is not getting the expected output format and 
> fails to parse it.
> Could you please copy the output of 'sudo /usr/sbin/xentop -bi2', 
> logged as oneadmin in the Host?
>
> Regards,
> Carlos.
> --
> Carlos Martín, MSc
> Project Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org <http://www.opennebula.org/> | 
> cmartin at opennebula.org <mailto:cmartin at opennebula.org>
>
>
> On Wed, May 18, 2011 at 3:07 PM, María Pérez <maria at caton.es 
> <mailto:maria at caton.es>> wrote:
>
>     Hi again,
>
>     I have another problem with the monitoring of the machines and the
>     execution of /var/tmp/one/vmm/xen/poll.
>
>     The log file contains the following lines with the error:
>
>
>     Command execution fail: 'if [ -x "/var/tmp/one/vmm/xen/poll" ];
>     then /var/tmp/one/vmm/xen/poll one-28;
>     else                              exit 42; fi'
>     Wed May 18 14:48:56 2011 [VMM][I]: STDERR follows.
>     Wed May 18 14:48:56 2011 [VMM][I]: Error executing sudo
>     /usr/sbin/xentop -bi2
>     Wed May 18 14:48:56 2011 [VMM][I]:
>     /var/tmp/one/vmm/xen/poll:186:in `[]': can't convert String into
>     Integer (TypeError)
>     Wed May 18 14:48:56 2011 [VMM][I]: from
>     /var/tmp/one/vmm/xen/poll:186:in `get_vm_info'
>     Wed May 18 14:48:56 2011 [VMM][I]: from
>     /var/tmp/one/vmm/xen/poll:310:in `print_one_vm_info'
>     Wed May 18 14:48:56 2011 [VMM][I]: from /var/tmp/one/vmm/xen/poll:344
>     Wed May 18 14:48:56 2011 [VMM][I]: ExitCode: 1
>     Wed May 18 14:48:56 2011 [VMM][E]: Error monitoring VM, Error
>     executing sudo /usr/sbin/xentop -bi2
>
>
>     I have tried to execute the commando from the own node to discard
>     problems of ssh, but the error message is the same.
>
>     I have found the following information
>
>     http://dev.opennebula.org/issues/567
>
>     but this patches no solved this problem.  I have installed
>     opennebula 2,2 and the nodes are xen 3.4.3
>
>     Any idea? Thank you very much by your attention.
>
>     Regards,
>
>     María
>
>
>
>
>
>
>     	
>
>     	
>
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>     http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
*María Ascensión Pérez García*
Engineering & Support
Catón Sistemas Alternativos ** 	


maria at caton.es <mailto:maria at caton.es>
www.caton.es <http://www.caton.es/>
Telf: +34 958 750 446
Fax: +34 958 750 447 	

Parque Tecnológico de Ciencias de la Salud
Avda. de la Innovación nº 1
Edf. BIC Granada
C.P. 18100 - Armilla, Granada (Spain)
------------------------------------------------------------------------

Este mensaje se dirige exclusivamente a su destinatario y puede contener 
información privilegiada o confidencial. Si no es vd. el destinatario 
indicado, queda notificado de que la lectura, utilización, divulgación 
y/o copia sin autorización está prohibida en virtud de la legislación 
vigente.

Si ha recibido este mensaje por error, le rogamos que nos lo comunique 
inmediatamente por esta misma vía y proceda a su destrucción. El correo 
electrónico vía Internet no permite asegurar la confidencialidad de los 
mensajes que se transmiten ni su integridad o correcta recepción. CATÓN 
no asume ninguna responsabilidad por estas circunstancias.

------------------------------------------------------------------------

This message is intended exclusively for its addressee and may contain 
information that is CONFIDENTIAL and protected by a professional 
privilege or whose disclosure is prohibited by law. If you are not the 
intended recipient you are hereby notified that any read, dissemination, 
copy or disclosure of this communication is strictly prohibited by law.

If this message has been received in error, please immediately notify us 
via e-mail and delete it. Internet e-mail neither guarantees the 
confidentiality nor the integrity or proper receipt of the messages 
sent. CATÓN does not assume any liability for those circumstances.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110520/a60f04a0/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logoCaton.png
Type: image/png
Size: 1109 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110520/a60f04a0/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SIG-EIBT.jpg
Type: image/jpeg
Size: 11278 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110520/a60f04a0/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arbol-MA.gif
Type: image/gif
Size: 2268 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110520/a60f04a0/attachment-0003.gif>


More information about the Users mailing list