Hi,<div><br></div><div>The scheduler log is referring to the CPU and MEMORY requirements.</div><div>The available Host CPU is the ACPU column of 'onehost list'. If you do a 'onehost show', you'll see this value corresponds to </div>

<div><div>TOTAL CPU - USED CPU (ALLOCATED). The available memory follows the same idea.</div><div><br></div><div>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.</div>

<div><br></div><div>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)</div><div><br></div><div>[1] <a href="http://opennebula.org/documentation:rel3.6:template#capacity_section">http://opennebula.org/documentation:rel3.6:template#capacity_section</a></div>

<div><br></div><div>Regards</div>--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>

<br>
<br><br><div class="gmail_quote">On Tue, Oct 2, 2012 at 11:01 PM, Chlon Michaël <span dir="ltr"><<a href="mailto:mic.a.elle.chlon@gmail.com" target="_blank">mic.a.elle.chlon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>First of all: thanks for the quick help
      !<br>
      :))<br>
      <br>
====================================================================<br>
      4.log, says:<br>
      $ cat 4.log <br>
      Tue Oct  2 22:33:29 2012 [DiM][I]: New VM state is DONE.<br>
====================================================================<br>
      <br>
====================================================================<br>
      I just try to lauch another VM, and I have this message<br>
      <br>
      => sched.log:<br>
      Tue Oct  2 22:59:19 2012 [HOST][D]: Discovered Hosts (enabled):<br>
       0<br>
      Tue Oct  2 22:59:19 2012 [VM][D]: Pending and rescheduling VMs:<br>
       5<br>
      Tue Oct  2 22:59:19 2012 [SCHED][D]: Host 0 filtered out. Not
      enough capacity.<br>
      <br>
      Tue Oct  2 22:59:19 2012 [SCHED][I]: Selected hosts:<br>
               PRI    HID  VM: 5<br>
              -----------------------<br>
      <br>
      <br>
      i do not understand, I have enough space!<br>
      /dev/mapper/vg01-root   639G  501G  139G  79% /<br>
      <br>
      <br>
      So ???<br>
      <br>
      <br>
      Le 02/10/2012 22:50, Steven Timm a écrit :<br>
    </div><div><div class="h5">
    <blockquote type="cite">are there any messages in your sched.log?
      <br>
      <br>
      What about in the individual 4.log?
      <br>
      <br>
      Something doesn't match.. are you sure you are doing
      <br>
      onevm list on the right virtual machine?  If onevm list shows
      "pending"
      <br>
      but onevm show <vmid> shows "done" something is not right.
      <br>
      <br>
      Steve Timm
      <br>
      <br>
      <br>
      On Tue, 2 Oct 2012, Chlon Michaël wrote:
      <br>
      <br>
      <blockquote type="cite">[Brouillons%3E1675?p=mozilla&v=3.11.21&t=1349210342324&u=d70c611e0c4ca423]
        <br>
        Hi everyone,
        <br>
        <br>
        I have install opennebula with the latest package on KVM/Debian
        host:
        <br>
        Debian-6.0.2-opennebula_3.6.0-1_amd64.deb
        <br>
        <br>
        But now, when i try to instantiate a template, it gets stuck in
        "PENDING"
        <br>
        and one can read:
        <br>
        ===== 8< =========================================
        <br>
        onevm show 4
        <br>
        VIRTUAL MACHINE 4
        <br>
        INFORMATION                                                  
        <br>
        ID                  : 4                  
        <br>
        NAME                : one-4              
        <br>
        USER                : oneadmin           
        <br>
        GROUP               : oneadmin           
        <br>
        STATE               : DONE               
        <br>
        LCM_STATE           : LCM_INIT           
        <br>
        RESCHED             : No                 
        <br>
        START TIME          : 10/02 22:31:28     
        <br>
        END TIME            : 10/02 22:33:29     
        <br>
        DEPLOY ID           : -                  
        <br>
        <br>
        VIRTUAL MACHINE
        <br>
        MONITORING                                                     
        <br>
        USED MEMORY         : 0K                 
        <br>
        USED CPU            : 0                  
        <br>
        NET_TX              : 0K                 
        <br>
        NET_RX              : 0K                 
        <br>
        <br>
PERMISSIONS                                                               
        <br>
      </blockquote>
      ?? ?    
      <br>
      <blockquote type="cite">OWNER               : um-                
        <br>
        GROUP               : ---                
        <br>
        OTHER               : ---                
        <br>
        <br>
        VIRTUAL MACHINE
        <br>
        TEMPLATE                                                       
        <br>
        CPU="100"
        <br>
        DISK=[
        <br>
          CLONE="YES",
        <br>
          DATASTORE="default",
        <br>
          DATASTORE_ID="1",
        <br>
          DEV_PREFIX="hd",
        <br>
          DISK_ID="0",
        <br>
          IMAGE="ttylinux - kvm",
        <br>
          IMAGE_ID="0",
        <br>
          IMAGE_UNAME="oneadmin",
        <br>
          READONLY="NO",
        <br>
          SAVE="NO",
        <br>
         
        SOURCE="/var/lib/one/datastores/1/46e7a41c7fb7d033c9f59182c1fae16c",
        <br>
          TARGET="hda",
        <br>
          TM_MAD="shared",
        <br>
          TYPE="FILE" ]
        <br>
        MEMORY="256"
        <br>
        NAME="one-4"
        <br>
        NIC=[
        <br>
          BRIDGE="br0",
        <br>
          IP="192.168.0.150",
        <br>
          MAC="02:00:c0:a8:00:96",
        <br>
          NETWORK="small_network",
        <br>
          NETWORK_ID="0",
        <br>
          NETWORK_UNAME="oneadmin",
        <br>
          PHYDEV="br0",
        <br>
          VLAN="YES" ]
        <br>
        OS=[
        <br>
          ARCH="x86_64",
        <br>
          BOOT="hd" ]
        <br>
        RAW=[
        <br>
          TYPE="kvm" ]
        <br>
        TEMPLATE_ID="0"
        <br>
        VMID="4
        <br>
        <br>
        ===== 8< ===================================================
        <br>
        <br>
        Any help appreciate !!!
        <br>
        <br>
        Thanks for the reply !
        <br>
        Rgds,
        <br>
        <br>
        Michaël C.
        <br>
        <br>
        <br>
        <br>
      </blockquote>
      <br>
      ------------------------------------------------------------------
      <br>
      Steven C. Timm, Ph.D  <a href="tel:%28630%29%20840-8525" value="+16308408525" target="_blank">(630) 840-8525</a>
      <br>
      <a href="mailto:timm@fnal.gov" target="_blank">timm@fnal.gov</a>  <a href="http://home.fnal.gov/~timm/" target="_blank">http://home.fnal.gov/~timm/</a>
      <br>
      Fermilab Computing Division, Scientific Computing Facilities,
      <br>
      Grid Facilities Department, FermiGrid Services Group, Group
      Leader.
      <br>
      Lead of FermiCloud project.<br>
    </blockquote>
    <br>
    <br>
    </div></div><div>
      <div style="font-size:13.3px;font-family:Verdana,Arial,Helvetica,sans-serif"> <img border="0" height="1" width="1">   <img height="1" width="1"></div>
    </div>
    <div>
      <div title="Cliquer pour traduire"></div>
    </div>
  </div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>