[one-users] Problem monitoring host (RHEL5): null values in some fields.

Javier Fontan jfontan at gmail.com
Mon Nov 2 03:27:57 PST 2009


Hello,

That looks like a libvirt problem to me. Maybe this mail helps you:

http://www.mail-archive.com/libvir-list@redhat.com/msg17477.html

Bye

On Thu, Oct 29, 2009 at 3:59 PM, Gianni Dalla Torre
<gianni.dallatorre at cnaf.infn.it> wrote:
> Hi all,
>
> I configured OpenNebula front end in my pc "solaris" (Ubuntu 9.04)and
> installed two cluster nodes "ivanov" (Ubuntu 9.04) and "omii001" (Scientific
> Linux CERN SLC release 5.4 : 2.6.18-164.2.1.el5
> x86_64).
> My problem is that, on the second node (omii001), total memory,CPU time and
> free CPU are not updated when am issuing the onehost list command.
>
> oneadmin at solaris:~$ onehost list
> HID NAME                      RVM   TCPU   FCPU   ACPU    TMEM    FMEM STAT
>  2 ivanov                      0    200    193    193 2060728 1651592   on
>  4 omii001                     0      0      0    100       0 3972204   on
>
> If I execute on omii001
> /tmp/one-im/one_im-218131afa926b52434fc7ee9e027cddf I have different
> behaviour, If I am root or oneadmin user.
> To be more precise, the error lines don't appear if I run the command in
> succession, I mean, without waiting more then some minutes.
>
> [root at omii001 var]#  /tmp/one-im/one_im-218131afa926b52434fc7ee9e027cddf
> HYPERVISOR=kvm
> TOTALCPU=400
> CPUSPEED=1995
> TOTALMEMORY=4047668
> USEDMEMORY=330772
> FREEMEMORY=3973220
> FREECPU=399.6
> USEDCPU=0.399999999999977
> NETRX=0
> NETTX=0
>
> [oneadmin-user]
> -bash-3.2$ /tmp/one-im/one_im-218131afa926b52434fc7ee9e027cddf 12:20:10.527:
> error : No vport operation path found for host1
> 12:20:10.543: error : No vport operation path found for host0
> 12:20:10.567: error : No vport operation path found for host2
> HYPERVISOR=kvm
> TOTALCPU=400
> CPUSPEED=1995
> TOTALMEMORY=4047668
> USEDMEMORY=329096
> FREEMEMORY=3975148
> FREECPU=400.0
> USEDCPU=0.0
> NETRX=0
> NETTX=0
>
> Even I execute "virsh nodeinfo" (by oneadmin) I have the same error lines:
>
> -bash-3.2$ virsh nodeinfo
> 12:23:55.447: error : No vport operation path found for host1
> 12:23:55.462: error : No vport operation path found for host0
> 12:23:55.483: error : No vport operation path found for host2
> CPU model:           x86_64
> CPU(s):              4
> CPU frequency:       1995 MHz
> CPU socket(s):       2
> Core(s) per socket:  2
> Thread(s) per core:  1
> NUMA cell(s):        1
> Memory size:         4047668 kB
>
> This are inforamtion, I obatain from the fornt end:
> oneadmin at solaris:~$ onehost show omii001
> HOST 4 INFORMATION
>    ID                    : 4                   NAME                  :
> omii001             STATE                 : MONITORED           IM_MAD
>          : im_kvm              VM_MAD                : vmm_kvm
> TM_MAD                : tm_nfs
>
> HOST SHARES
>     MAX MEM               : 0                   USED MEM (REAL)       :
> 339188              USED MEM (ALLOCATED)  : 0                   MAX CPU
>           : 0                   USED CPU (REAL)       : 0
> USED CPU (ALLOCATED)  : 0                   RUNNING VMS           : 0
>
>
> MONITORING INFORMATION
>    ARCH=x86_64
> CPUSPEED=
> FREECPU=0.0
> FREEMEMORY=3973152
> HOSTNAME=omii001.cnaf.infn.it
> HYPERVISOR=kvm
> MODELNAME=Intel(R) Xeon(R) CPU            5130  @ 2.00GHz
> NETRX=0
> NETTX=0
> TOTALCPU=
> TOTALMEMORY=
> USEDCPU=0.0
> USEDMEMORY=339188
>
> This is the log file oned.log:
>
> Mon Oct 26 12:41:57 2009 [ONE][I]: Init OpenNebula Log system
> Mon Oct 26 12:41:57 2009 [ONE][I]: Log Level: 3
> [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
> Mon Oct 26 12:41:57 2009 [ONE][I]:
> ----------------------------------------------
> Mon Oct 26 12:41:57 2009 [ONE][I]:        OpenNebula Configuration File
> Mon Oct 26 12:41:57 2009 [ONE][I]:
> ----------------------------------------------
> Mon Oct 26 12:41:57 2009 [ONE][I]:
> --------------------------------------------
>      DEBUG_LEVEL=3
>      HM_MAD=EXECUTABLE=one_hm
>      HOST_MONITORING_INTERVAL=60
>      IM_MAD=ARGUMENTS=im_kvm/im_kvm.conf,EXECUTABLE=one_im_ssh,NAME=im_kvm
>      MAC_PREFIX=00:03
>      MANAGER_TIMER=30
>      NETWORK_SIZE=254
>      PORT=2633
>      TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,NAME=tm_nfs
>      VM_DIR=/srv/cloud/one/var
>
>  VM_MAD=DEFAULT=vmm_kvm/vmm_kvm.conf,EXECUTABLE=one_vmm_kvm,NAME=vmm_kvm,TYPE=kvm
>      VM_POLLING_INTERVAL=60
> --------------------------------------------
> Mon Oct 26 12:41:57 2009 [VMM][I]: Starting Virtual Machine Manager...
> Mon Oct 26 12:41:57 2009 [VMM][I]: Virtual Machine Manager started.
> Mon Oct 26 12:41:57 2009 [LCM][I]: Starting Life-cycle Manager...
> Mon Oct 26 12:41:57 2009 [LCM][I]: Life-cycle Manager started.
> Mon Oct 26 12:41:57 2009 [InM][I]: Starting Information Manager...
> Mon Oct 26 12:41:57 2009 [InM][I]: Information Manager started.
> Mon Oct 26 12:41:57 2009 [TrM][I]: Starting Transfer Manager...
> Mon Oct 26 12:41:57 2009 [TrM][I]: Transfer Manager started.
> Mon Oct 26 12:41:57 2009 [DiM][I]: Starting Dispatch Manager...
> Mon Oct 26 12:41:57 2009 [DiM][I]: Dispatch Manager started.
> Mon Oct 26 12:41:57 2009 [ReM][I]: Starting Request Manager...
> Mon Oct 26 12:41:57 2009 [ReM][I]: Request Manager started.
> Mon Oct 26 12:41:57 2009 [ReM][I]: Starting XML-RPC server, port 2633 ...
> Mon Oct 26 12:41:57 2009 [HKM][I]: Starting Hook Manager...
> Mon Oct 26 12:41:57 2009 [HKM][I]: Hook Manager started.
> Mon Oct 26 12:41:59 2009 [VMM][I]: Loading Virtual Machine Manager drivers.
> Mon Oct 26 12:41:59 2009 [VMM][I]:      Loading driver: vmm_kvm (KVM)
> Mon Oct 26 12:42:00 2009 [VMM][I]:      Driver vmm_kvm loaded.
> Mon Oct 26 12:42:00 2009 [InM][I]: Loading Information Manager drivers.
> Mon Oct 26 12:42:00 2009 [InM][I]:      Loading driver: im_kvm
> Mon Oct 26 12:42:00 2009 [InM][I]:      Driver im_kvm loaded
> Mon Oct 26 12:42:00 2009 [TM][I]: Loading Transfer Manager drivers.
> Mon Oct 26 12:42:00 2009 [VMM][I]:      Loading driver: tm_nfs
> Mon Oct 26 12:42:00 2009 [TM][I]:       Driver tm_nfs loaded.
> Mon Oct 26 12:42:00 2009 [HKM][I]: Loading Hook Manager driver.
> Mon Oct 26 12:42:00 2009 [HKM][I]:      Hook Manager loaded
> Mon Oct 26 12:42:13 2009 [ReM][D]: HostPoolInfo method invoked
> Mon Oct 26 12:42:27 2009 [InM][I]: Monitoring host ivanov (2)
> Mon Oct 26 12:42:27 2009 [InM][I]: Monitoring host omii001 (4)
> Mon Oct 26 12:43:01 2009 [InM][D]: Host 4 successfully monitored.
> Mon Oct 26 12:43:05 2009 [InM][D]: Host 2 successfully monitored.
> (...)
>
> Thank you in advance for your time.
>
> Best regards,
> Gianni
>
> --
> Gianni Dalla Torre
> Computer Science Engineering
>
> INFN -CNAF
> Via Ranzani 13/2
> 40127 Bologna, Italy
> Phone:  +39 051 6092913
> Fax:    +39 051 6092916
> mail:   dallatorre&cnaf.infn.it
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



More information about the Users mailing list