[one-users] Incomplete information from hosts polling (VMWare ESXi 4.1 an OpenNebula 2.0.1)

Luigi Fortunati luigi.fortunati at gmail.com
Thu Feb 3 08:10:43 PST 2011


Hi,
I noticed a serious problem about the usage of VMWare ESXi 4.1 and
OpenNebula 2.0.1.
I'm actually using the VMWare driver addon which can be found on the
opennebula website (ver. 1.0) and libvirt (ver. 0.8.7).
It happens that OpenNebula can't get information about the usage of
resources on the cluster nodes.
By running 2 VM (each one requires 2 VCPU and 1 GB of memory) and executing
some commands I get this output.

oneadmin at custom2:~/src$ onehost list
  ID NAME              CLUSTER  RVM   TCPU   FCPU   ACPU    TMEM    FMEM
STAT
   2 custom7.sns.it    default    0    200    200    200      2G      0K
 off
   1 custom6.sns.it    default    2    200    200    200      2G      0K
on
oneadmin at custom2:~/src$ onehost show 1
HOST 1 INFORMATION

ID                    : 1
NAME                  : custom6.sns.it
CLUSTER               : default
STATE                 : MONITORED
IM_MAD                : im_vmware
VM_MAD                : vmm_vmware
TM_MAD                : tm_vmware

HOST SHARES

MAX MEM               : 2096460
USED MEM (REAL)       : 0
USED MEM (ALLOCATED)  : 0
MAX CPU               : 200
USED CPU (REAL)       : 0
USED CPU (ALLOCATED)  : 0
RUNNING VMS           : 2

MONITORING INFORMATION

CPUSPEED=1992
HYPERVISOR=vmware
TOTALCPU=200
TOTALMEMORY=2096460

As you can see OpenNebula is unable to get correct information about the
usage of resources on the cluster nodes.
As these informations are used by the VM scheduler, OpenNebula is unable to
schedule the VM correctly.
I tried to create several VM and all of them were placed on the same host
even if the latter was unable to satisfy the resource requirements of all
the VMs.
I think that this problem is strongly related to libvirt as OpenNebula use
it to recover information about hosts and vm.

Do you get the same behavior? Do you know if there is a way to solve this
big issue?

-- 
Luigi Fortunati
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110203/7433bb12/attachment.htm>


More information about the Users mailing list