[one-users] ONE 2.0 underreporting running VM's in onehost list

Steven Timm timm at fnal.gov
Thu Sep 22 11:34:42 PDT 2011


We have a host which frequently underreports the number of
  VM's it is running.. this is a problem because most
of our user templates are using a rank of "- RUNNING_VMS".

As you can see from the output included below, onehost list
and onehost show report only 5 running VM's but
onevm list reports seven vm's assigned to this host and there
are in fact seven vm's assigned to this host.  This has been
underreporting for a couple of weeks, we have restarted oned and sched
to no effect.

It appears that onehost list gets its information from the host_shares
table in the database.  What modifies that table?  Where does
it get its info from?

Steve Timm
----------------------------------------------
[timm at fcl002 ~]$ onehost show 17
HOST 17 INFORMATION
ID                    : 17
NAME                  : fcl007
CLUSTER               : default
STATE                 : MONITORED
IM_MAD                : im_kvm
VM_MAD                : vmm_kvm
TM_MAD                : tm_ssh

HOST SHARES
MAX MEM               : 24675860
USED MEM (REAL)       : 6602540
USED MEM (ALLOCATED)  : 8388608
MAX CPU               : 1600
USED CPU (REAL)       : 22
USED CPU (ALLOCATED)  : 200
RUNNING VMS           : 5

MONITORING INFORMATION
ARCH=x86_64
CPUSPEED=2660
FREECPU=1577.6
FREEMEMORY=20140228
HOSTNAME=fcl007.fnal.gov
HYPERVISOR=kvm
MODELNAME=Intel(R) Xeon(R) CPU E5640 @ 2.67GHz
NETRX=23816529
NETTX=365298
TOTALCPU=1600
TOTALMEMORY=24675860
USEDCPU=22.4000000000001
USEDMEMORY=6602540
-------------------------------------------

[root at fcl007 ~]# virsh list
  Id Name                 State
----------------------------------
   6 one-1107             running
  19 one-1202             running
  27 one-1235             running
  30 one-1236             running
  31 one-1237             running
  32 one-841              running
  33 one-1110             running




-- 
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
timm at fnal.gov  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Group Leader.
Lead of FermiCloud project.



More information about the Users mailing list