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

Carlos Martín Sánchez cmartin at opennebula.org
Mon Sep 26 04:44:32 PDT 2011


Hi Steve,

I assume you are using OpenNebula 2.2.

The host_shares contains the "running_vms" column; you need to update that
column value with OpenNebula stopped.

We are still trying to figure out what causes this bug, so if you come
across it again, it would be great if you could write down the operations
that led to it.

Regards.
--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org


On Thu, Sep 22, 2011 at 8:34 PM, Steven Timm <timm at fnal.gov> wrote:

> 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.
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110926/7ebbb869/attachment-0003.htm>


More information about the Users mailing list