<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
Hi Carlos,<br>
<br>
The output of 'sudo /usr/sbin/xentop -bi2' is:<br>
<br>
[oneadmin@dn08 ~]$ sudo /usr/sbin/xentop -bi2<br>
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<br>
Domain-0 -----r 51 0.0 15532060 92.6 no
limit n/a 8 5 0 0 0 0
0 0 0<br>
one-44 --b--- 1 0.0 1048396 6.2
1048576 6.3 1 1 1 15680 2 0
68 253 0<br>
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<br>
Domain-0 -----r 51 0.5 15532276 92.6 no
limit n/a 8 5 0 0 0 0
0 0 0<br>
one-44 --b--- 1 0.1 1048404 6.2
1048576 6.3 1 1 1 15705 2 0
68 253 0<br>
<br>
<br>
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?<br>
<br>
<br>
Thank you very much.<br>
Regards,<br>
María<br>
<br>
El 20/05/11 14:34, Carlos Martín Sánchez escribió:
<blockquote
cite="mid:BANLkTi=3tZ1zQuabtHHD=p+U3roQ77oSOw@mail.gmail.com"
type="cite">Hi María,<br>
<br>
It looks like the script is not getting the expected output format
and fails to parse it.<br>
Could you please copy the output of 'sudo /usr/sbin/xentop -bi2',
logged as oneadmin in the Host?<br>
<br>
Regards,<br>
Carlos.<br clear="all">
<span style="border-collapse: collapse; color: rgb(136, 136, 136);
font-family: arial,sans-serif; font-size: 13px;">--<br>
Carlos Martín, MSc<br>
Project Major Contributor<br>
<span style="background-color: rgb(255, 255, 204); color:
rgb(34, 34, 34);">OpenNebula</span> - The Open Source Toolkit
for Cloud Computing<br>
<a moz-do-not-send="true" href="http://www.opennebula.org/"
style="color: rgb(42, 93, 176);" target="_blank">www.<span
style="background-color: rgb(255, 255, 204); color: rgb(34,
34, 34);">OpenNebula</span>.org</a> | <a
moz-do-not-send="true" href="mailto:cmartin@opennebula.org"
style="color: rgb(42, 93, 176);" target="_blank">cmartin@<span
style="background-color: rgb(255, 255, 204); color: rgb(34,
34, 34);">opennebula</span>.org</a></span><br>
<br>
<br>
<div class="gmail_quote">On Wed, May 18, 2011 at 3:07 PM, María
Pérez <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:maria@caton.es">maria@caton.es</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"> Hi again,<br>
<br>
I have another problem with the monitoring of the machines
and the execution of /var/tmp/one/vmm/xen/poll.<br>
<br>
The log file contains the following lines with the error:<br>
<br>
<br>
Command execution fail: 'if [ -x "/var/tmp/one/vmm/xen/poll"
]; then /var/tmp/one/vmm/xen/poll one-28;
else exit 42; fi'<br>
Wed May 18 14:48:56 2011 [VMM][I]: STDERR follows.<br>
Wed May 18 14:48:56 2011 [VMM][I]: Error executing sudo
/usr/sbin/xentop -bi2<br>
Wed May 18 14:48:56 2011 [VMM][I]:
/var/tmp/one/vmm/xen/poll:186:in `[]': can't convert String
into Integer (TypeError)<br>
Wed May 18 14:48:56 2011 [VMM][I]: from
/var/tmp/one/vmm/xen/poll:186:in `get_vm_info'<br>
Wed May 18 14:48:56 2011 [VMM][I]: from
/var/tmp/one/vmm/xen/poll:310:in `print_one_vm_info'<br>
Wed May 18 14:48:56 2011 [VMM][I]: from
/var/tmp/one/vmm/xen/poll:344<br>
Wed May 18 14:48:56 2011 [VMM][I]: ExitCode: 1<br>
Wed May 18 14:48:56 2011 [VMM][E]: Error monitoring VM,
Error executing sudo /usr/sbin/xentop -bi2<br>
<br>
<br>
I have tried to execute the commando from the own node to
discard problems of ssh, but the error message is the same.<br>
<br>
I have found the following information <br>
<br>
<a moz-do-not-send="true"
href="http://dev.opennebula.org/issues/567"
target="_blank">http://dev.opennebula.org/issues/567</a><br>
<br>
but this patches no solved this problem. I have installed
opennebula 2,2 and the nodes are xen 3.4.3<br>
<br>
Any idea? Thank you very much by your attention.<br>
<br>
Regards,<br>
<br>
María<br>
<br>
<br>
<br>
<br>
<br>
<div>
<table border="0" cellpadding="8" cellspacing="0">
<tbody>
<tr>
<td><br>
</td>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
<td><br>
</td>
</tr>
<tr>
<td colspan="2"><br>
</td>
</tr>
<tr>
<td colspan="2"><br>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
</blockquote>
</div>
<br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<title>Firma de correo</title>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css" id="internalStyle">
table.firma {
padding-left: 1em;
padding-right: 1em;
padding-top: 1em;
padding-bottom: 1em;
font-family: "Calibri" ,"Times New Roman", Times, serif, Georgia;
background-color: #f3f3f3;
width: 80%;
margin-left: 2%;
border: 2px solid silver;
color: blue;
font-size: 11.0pt;
}
td.identidad {
font-style: italic;
vertical-align: top;
}
td.link_logo {
text-align: right;
color: blue;
vertical-align: top;
}
td.link_logo img {
border-width: 0;
width: 225px;
height: 60px;
}
hr.separador1 {
border: 1px solid silver;
}
td.contacto {
text-align: left;
vertical-align: top;
}
.links a:link, .links a:active, .links a:visited {
text-decoration: none;
color: blue;
}
.links a:hover {
text-decoration: underline;
color: blue;
}
td.direccion {
font-size: 10.0pt;
text-align: right;
color: gray;
vertical-align: bottom;
}
td.final {
color: silver;
font-size: 9.0pt;
}
hr.separador2 {
border: 1px dotted silver;
}
</style>
<!-- color logo #0099d5 -->
<table class="firma" border="0" cellpadding="8" cellspacing="0">
<tbody>
<tr>
<td class="identidad"> <b>María Ascensión Pérez García<b><br>
Engineering & Support<br>
Catón Sistemas Alternativos </b></b></td>
<td class="link_logo"> <img
src="cid:part1.07090303.00040604@caton.es" alt=""> </td>
</tr>
<tr>
<td class="contacto"> <span class="links">
<br>
<br>
<a href="mailto:maria@caton.es">maria@caton.es</a><br>
<a href="http://www.caton.es/">www.caton.es</a><br>
</span> Telf: +34 958 750 446<br>
Fax: +34 958 750 447 </td>
<td class="direccion">
<img src="cid:part2.02000505.07090101@caton.es" alt=""><br>
<br>
Parque Tecnológico de Ciencias de la Salud<br>
Avda. de la Innovación nº 1<br>
Edf. BIC Granada<br>
C.P. 18100 - Armilla, Granada (Spain) </td>
</tr>
<tr>
<td colspan="2">
<hr class="separador1"> </td>
</tr>
<tr>
<td class="final" colspan="2">
<p>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.</p>
<p>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.</p>
<hr class="separador2">
<p>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.</p>
<p>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.</p>
<img src="cid:part3.06070303.05070402@caton.es" alt=""> </td>
</tr>
</tbody>
</table>
</div>
</body>
</html>