<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Hello, <BR>
<BR>
I have installed opennebula-2.2.1 on Debian 6. Oned is running under user one. <BR>
I have 1 Oneadmin host and 2 Xen Hypervisors. Both hosts are with exact same hardware and software configuration. <BR>
When I execute /tmp/one/vmm/xen/poll one-6 on host 1 I get correct state "STATE=a NETTX=395 USEDCPU=0.0 USEDMEMORY=1041664 NAME=one-6 NETRX=0" <BR>
but on second host i get this <BR>
<BR>
/tmp/one/vmm/xen/poll one-9<BR>
Error executing sudo /usr/sbin/xentop -bi2<BR>
/tmp/one/vmm/xen/poll:186:in `get_vm_info': undefined method `[]' for nil:NilClass (NoMethodError)<BR>
from /tmp/one/vmm/xen/poll:310:in `print_one_vm_info'<BR>
from /tmp/one/vmm/xen/poll:344<BR>
<BR>
sudo /usr/sbin/xentop -bi2 on both hosts shows correct output <BR>
HOST 2<BR>
sudo /usr/sbin/xentop -bi2 <BR>
one-9 -----r 223 0.0 1048576 12.5 1048576 12.5 4 1 0 0 1 0 0 0 0 0 0<BR>
HOST 1<BR>
one-3 --b--- 2 0.0 1043712 12.4 1048576 12.5 2 1 962 14 1 0 3 55 24 680 0<BR>
one-4 --b--- 1 0.0 1041664 12.4 1048576 12.5 4 1 696 0 1 0 0 43 0 480 0<BR>
one-6 --b--- 0 0.0 1041664 12.4 1048576 12.5 4 1 408 0 1 0 0 20 0 240 0<BR>
<BR>
Sudo is configure properly and same in both hosts <BR>
%one ALL=(ALL) NOPASSWD: /usr/sbin/xm *<BR>
%one ALL=(ALL) NOPASSWD: /usr/sbin/xentop *<BR>
<BR>
In host 1 after running some time I got this. <BR>
/tmp/one/vmm/xen/poll one-3<BR>
STATE=d<BR>
/tmp/one/vmm/xen/poll one-4<BR>
STATE=a NETTX=717 USEDCPU=0.0 USEDMEMORY=1041664 NAME=one-4 NETRX=0<BR>
/tmp/one/vmm/xen/poll one-6<BR>
STATE=a NETTX=429 USEDCPU=0.0 USEDMEMORY=1041664 NAME=one-6 NETRX=0<BR>
<BR>
virsh is also configured normally and shows VMs with virsh list command with user one. <BR>
<BR>
Have anyone get this problem and solved it ?<BR>
<BR>
Thanks <BR>
Ara
</BODY>
</HTML>