[one-users] Stuck with LCM_INIT when launchnig a VM !

Carlos Martín Sánchez cmartin at opennebula.org
Thu Oct 4 06:18:44 PDT 2012


Hi,

The scheduler log is referring to the CPU and MEMORY requirements.
The available Host CPU is the ACPU column of 'onehost list'. If you do a
'onehost show', you'll see this value corresponds to
TOTAL CPU - USED CPU (ALLOCATED). The available memory follows the same
idea.

Now, here's the catch: the Host CPU is measured as percentages, so 800
means 8 whole cpu cores [1]. but the CPU attribute of the VM definition is
measured as cores, so a new VM with CPU=8 will require a Host with ACPU=800.

In the output of your first email I can see a CPU=100... which means that
the scheduler will only deploy to a Host with 100 free cores (ACPU>=10000)

[1] http://opennebula.org/documentation:rel3.6:template#capacity_section

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>



On Tue, Oct 2, 2012 at 11:01 PM, Chlon Michaël
<mic.a.elle.chlon at gmail.com>wrote:

>  First of all: thanks for the quick help !
> :))
>
> ====================================================================
> 4.log, says:
> $ cat 4.log
> Tue Oct  2 22:33:29 2012 [DiM][I]: New VM state is DONE.
> ====================================================================
>
> ====================================================================
> I just try to lauch another VM, and I have this message
>
> => sched.log:
> Tue Oct  2 22:59:19 2012 [HOST][D]: Discovered Hosts (enabled):
>  0
> Tue Oct  2 22:59:19 2012 [VM][D]: Pending and rescheduling VMs:
>  5
> Tue Oct  2 22:59:19 2012 [SCHED][D]: Host 0 filtered out. Not enough
> capacity.
>
> Tue Oct  2 22:59:19 2012 [SCHED][I]: Selected hosts:
>          PRI    HID  VM: 5
>         -----------------------
>
>
> i do not understand, I have enough space!
> /dev/mapper/vg01-root   639G  501G  139G  79% /
>
>
> So ???
>
>
> Le 02/10/2012 22:50, Steven Timm a écrit :
>
> are there any messages in your sched.log?
>
> What about in the individual 4.log?
>
> Something doesn't match.. are you sure you are doing
> onevm list on the right virtual machine?  If onevm list shows "pending"
> but onevm show <vmid> shows "done" something is not right.
>
> Steve Timm
>
>
> On Tue, 2 Oct 2012, Chlon Michaël wrote:
>
> [Brouillons%3E1675?p=mozilla&v=3.11.21&t=1349210342324&u=d70c611e0c4ca423]
> Hi everyone,
>
> I have install opennebula with the latest package on KVM/Debian host:
> Debian-6.0.2-opennebula_3.6.0-1_amd64.deb
>
> But now, when i try to instantiate a template, it gets stuck in "PENDING"
> and one can read:
> ===== 8< =========================================
> onevm show 4
> VIRTUAL MACHINE 4
> INFORMATION
> ID                  : 4
> NAME                : one-4
> USER                : oneadmin
> GROUP               : oneadmin
> STATE               : DONE
> LCM_STATE           : LCM_INIT
> RESCHED             : No
> START TIME          : 10/02 22:31:28
> END TIME            : 10/02 22:33:29
> DEPLOY ID           : -
>
> VIRTUAL MACHINE
> MONITORING
> USED MEMORY         : 0K
> USED CPU            : 0
> NET_TX              : 0K
> NET_RX              : 0K
>
> PERMISSIONS
>
> ?? ?
>
> OWNER               : um-
> GROUP               : ---
> OTHER               : ---
>
> VIRTUAL MACHINE
> TEMPLATE
> CPU="100"
> DISK=[
>   CLONE="YES",
>   DATASTORE="default",
>   DATASTORE_ID="1",
>   DEV_PREFIX="hd",
>   DISK_ID="0",
>   IMAGE="ttylinux - kvm",
>   IMAGE_ID="0",
>   IMAGE_UNAME="oneadmin",
>   READONLY="NO",
>   SAVE="NO",
>   SOURCE="/var/lib/one/datastores/1/46e7a41c7fb7d033c9f59182c1fae16c",
>   TARGET="hda",
>   TM_MAD="shared",
>   TYPE="FILE" ]
> MEMORY="256"
> NAME="one-4"
> NIC=[
>   BRIDGE="br0",
>   IP="192.168.0.150",
>   MAC="02:00:c0:a8:00:96",
>   NETWORK="small_network",
>   NETWORK_ID="0",
>   NETWORK_UNAME="oneadmin",
>   PHYDEV="br0",
>   VLAN="YES" ]
> OS=[
>   ARCH="x86_64",
>   BOOT="hd" ]
> RAW=[
>   TYPE="kvm" ]
> TEMPLATE_ID="0"
> VMID="4
>
> ===== 8< ===================================================
>
> Any help appreciate !!!
>
> Thanks for the reply !
> Rgds,
>
> Michaël C.
>
>
>
>
> ------------------------------------------------------------------
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121004/4566e170/attachment-0002.htm>


More information about the Users mailing list