[one-users] Xen poll on Debian 6

Ara Sadoyan ara.sadoyan at netangels.net
Mon Jul 11 06:47:23 PDT 2011


Hello, 

I have installed  opennebula-2.2.1  on Debian 6. Oned is running under
user one. 
I have 1 Oneadmin host and 2 Xen Hypervisors. Both hosts are with exact
same hardware and software configuration. 
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" 
but on  second host i get this 

/tmp/one/vmm/xen/poll one-9
Error executing sudo /usr/sbin/xentop -bi2
/tmp/one/vmm/xen/poll:186:in `get_vm_info': undefined method `[]' for
nil:NilClass (NoMethodError)
from /tmp/one/vmm/xen/poll:310:in `print_one_vm_info'
from /tmp/one/vmm/xen/poll:344

sudo /usr/sbin/xentop -bi2 on both hosts shows correct output 
HOST 2
sudo /usr/sbin/xentop -bi2 
one-9 -----r        223    0.0    1048576   12.5    1048576      12.5
4    1        0        0    1        0        0        0          0
0    0
HOST 1
one-3 --b---          2    0.0    1043712   12.4    1048576      12.5
2    1      962       14    1        0        3       55         24
680    0
one-4 --b---          1    0.0    1041664   12.4    1048576      12.5
4    1      696        0    1        0        0       43          0
480    0
one-6 --b---          0    0.0    1041664   12.4    1048576      12.5
4    1      408        0    1        0        0       20          0
240    0

Sudo is configure properly  and same in both hosts 
%one    ALL=(ALL) NOPASSWD: /usr/sbin/xm *
%one    ALL=(ALL) NOPASSWD: /usr/sbin/xentop *

In host 1 after running some time I got this. 
/tmp/one/vmm/xen/poll one-3
STATE=d
/tmp/one/vmm/xen/poll one-4
STATE=a NETTX=717 USEDCPU=0.0 USEDMEMORY=1041664 NAME=one-4 NETRX=0
/tmp/one/vmm/xen/poll one-6
STATE=a NETTX=429 USEDCPU=0.0 USEDMEMORY=1041664 NAME=one-6 NETRX=0

virsh is also configured normally and shows VMs with virsh list command
with user one. 

Have anyone get this problem and solved it ?

Thanks 
Ara 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110711/073858d8/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110711/073858d8/attachment-0002.pgp>


More information about the Users mailing list