it is working if i omit CPU= in vm template .. but can u briefly explain if CPU= in percentage ?  right ? <br><br>Zeeshan<br><br><div class="gmail_quote">On Mon, Apr 4, 2011 at 3:58 PM, Daniel Molina <span dir="ltr"><<a href="mailto:dmolina@opennebula.org">dmolina@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
<br>
Would you mind to try changing the Requirements statement to:<br>
REQUIREMENTS = "HOSTNAME=obelix20"<br>
<br>
Regards<br>
<div><div></div><div class="h5"><br>
On 2 April 2011 20:56, Upendra Sharma <<a href="mailto:upendras@hotmail.com">upendras@hotmail.com</a>> wrote:<br>
> Hi Tino,<br>
><br>
> something similar is happening to me as well.<br>
><br>
> the VM template looks is shown below.<br>
><br>
> ==== vm template ==================<br>
> NAME   = TPCW-L<br>
> CPU    = 1<br>
> MEMORY = 2000<br>
> REQUIREMENTS = "HOSTNAME=\"obelix20\""<br>
> RANK         = FREECPU<br>
> OS     = [ bootloader=/usr/bin/pygrub ]<br>
> DISK   = [<br>
>   source   = "disk-vm1.img",<br>
>   target   = "xvda",<br>
>   readonly = "no" ]<br>
> DISK   = [<br>
>   source   = "disk-tpcw-db.img",<br>
>   target   = "xvda5",<br>
>   readonly = "no" ]<br>
> NIC    = [ NETWORK = "Public VLAN" ]<br>
> RAW    = [<br>
>   type  = "xen",<br>
>   data  = "vcpus=1"<br>
> ]<br>
> ==============================<br>
><br>
><br>
><br>
><br>
> The main problem is this: my vm-template has a specific REQUIREMENTS .. i.e.<br>
> HOSTNAME. That particular host has a no VMs running on it and a 3 G of RAM<br>
> free on it. The list of hosts on the cluster are:<br>
><br>
><br>
><br>
><br>
> $ onehost list<br>
>   ID NAME              CLUSTER  RVM   TCPU   FCPU   ACPU    TMEM    FMEM<br>
> STAT<br>
>    4 obelix20          cluster1          0    400      399     400<br>
> 4G       2.9G    on<br>
><br>
> the machine simply sits on the pending state.<br>
><br>
> When I comment out the REQUIREMENTS line, it works fine and schedules it on<br>
> one of the machines.<br>
><br>
> I could not find a reason in any of the logs to find the reason.<br>
><br>
><br>
><br>
> thanks,<br>
> -upendra<br>
><br>
>> From: <a href="mailto:tinova@opennebula.org">tinova@opennebula.org</a><br>
>> Date: Fri, 1 Apr 2011 15:01:42 +0100<br>
>> To: <a href="mailto:zashah@pdc.kth.se">zashah@pdc.kth.se</a><br>
>> CC: <a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
>> Subject: Re: [one-users] VM creation stuck in "pending" state<br>
>><br>
>> Hi,<br>
>><br>
>> Any REQUIREMENT section in the VM templates?<br>
>><br>
>> Regards,<br>
>><br>
>> -Tino<br>
>><br>
>> --<br>
>> Constantino Vázquez Blanco, MSc<br>
>> OpenNebula Major Contributor<br>
>> <a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | @tinova79<br>
>><br>
>><br>
>><br>
>> On Fri, Apr 1, 2011 at 1:38 PM, Zeeshan Ali Shah <<a href="mailto:zashah@pdc.kth.se">zashah@pdc.kth.se</a>><br>
>> wrote:<br>
>> > in Our case they are monitorized and are not in error state as shown in<br>
>> > one<br>
>> > host list .  neither the memory cpu requirement are exhausted ..<br>
>> > any other hint ?<br>
>> > it was working fine after that I launched 5vm and it stucked (Although)<br>
>> > I<br>
>> > have 32 cores with 160GB RAM left.   but later i deleted vms restarted<br>
>> > ONEd<br>
>> > and SCHED:<br>
>> > even after that when no vms left the new vms in pending state.    I had<br>
>> > to<br>
>> > use manual one vm deploy everytime..<br>
>> > Zeeshan<br>
>> > On Fri, Apr 1, 2011 at 1:22 PM, Tino Vazquez <<a href="mailto:tinova79@gmail.com">tinova79@gmail.com</a>> wrote:<br>
>> >><br>
>> >> Hi,<br>
>> >><br>
>> >> Please take a look at [1].<br>
>> >><br>
>> >> Regards,<br>
>> >><br>
>> >> -Tino<br>
>> >><br>
>> >> [1]<br>
>> >><br>
>> >> <a href="http://opennebula.org/documentation:community:faq#my_machine_stays_in_pending_state_what_can_i_do" target="_blank">http://opennebula.org/documentation:community:faq#my_machine_stays_in_pending_state_what_can_i_do</a><br>

>> >><br>
>> >> --<br>
>> >> Constantino Vázquez Blanco | <a href="http://dsa-research.org/tinova" target="_blank">dsa-research.org/tinova</a><br>
>> >> Virtualization Technology Engineer / Researcher<br>
>> >> OpenNebula Toolkit | <a href="http://opennebula.org" target="_blank">opennebula.org</a><br>
>> >><br>
>> >><br>
>> >><br>
>> >> On Fri, Apr 1, 2011 at 11:59 AM, Zeeshan Ali Shah <<a href="mailto:zashah@pdc.kth.se">zashah@pdc.kth.se</a>><br>
>> >> wrote:<br>
>> >> > Happen to me as well , I can manually deploy, but by default it is<br>
>> >> > stuck<br>
>> >> > in<br>
>> >> > Pending state forever ..   I restarted SCHED as well. but same ..<br>
>> >> > any hint ?<br>
>> >> ><br>
>> >> > Zeeshan<br>
>> >> ><br>
>> >> > On Sun, Mar 27, 2011 at 5:34 PM, Héctor Sanjuán<br>
>> >> > <<a href="mailto:hsanjuan@opennebula.org">hsanjuan@opennebula.org</a>><br>
>> >> > wrote:<br>
>> >> >><br>
>> >> >> Hi,<br>
>> >> >><br>
>> >> >> make sure there is a host available to receive the VM. Have you<br>
>> >> >> tried<br>
>> >> >> to<br>
>> >> >> manually deploy it by:<br>
>> >> >><br>
>> >> >> $ onevm deploy vmid hostid<br>
>> >> >><br>
>> >> >> Maybe the logs will offer more information then.<br>
>> >> >><br>
>> >> >> Héctor<br>
>> >> >><br>
>> >> >> El 27/03/11 17:24, Madhurranjan Mohaan escribió:<br>
>> >> >> > Hi All,<br>
>> >> >> ><br>
>> >> >> > I am unable to create VMs any further because they are stuck in<br>
>> >> >> > pending<br>
>> >> >> > state.<br>
>> >> >> ><br>
>> >> >> > onevm list<br>
>> >> >> >    39 oneadmin    vm-ex pend   0      0K                 00<br>
>> >> >> > 00:07:44<br>
>> >> >> ><br>
>> >> >> > The logs don't seem to get anything about this. I restarted after<br>
>> >> >> > backing up the logs , on all machines but the result is the same .<br>
>> >> >> > I<br>
>> >> >> > keep getting this message but nothing more. Any suggestions ?<br>
>> >> >> ><br>
>> >> >> > Sun Mar 27 20:49:38 2011 [ReM][D]: VirtualMachinePoolInfo method<br>
>> >> >> > invoked<br>
>> >> >> > Sun Mar 27 20:49:40 2011 [ReM][D]: VirtualMachinePoolInfo method<br>
>> >> >> > invoked<br>
>> >> >> > Sun Mar 27 20:49:42 2011 [ReM][D]: HostPoolInfo method invoked<br>
>> >> >> > Sun Mar 27 20:49:42 2011 [ReM][D]: VirtualMachinePoolInfo method<br>
>> >> >> > invoked<br>
>> >> >> > Sun Mar 27 20:49:42 2011 [ReM][D]: VirtualMachinePoolInfo method<br>
>> >> >> > invoked<br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> > My vm-template is as follows:<br>
>> >> >> > NAME = vm-ex<br>
>> >> >> ><br>
>> >> >> > CPU    = 1<br>
>> >> >> > MEMORY = 256<br>
>> >> >> ><br>
>> >> >> > DISK = [<br>
>> >> >> >  image  = "Frame OS installation" ]<br>
>> >> >> ><br>
>> >> >> > NIC = [ network = "Test-Fixed" ]<br>
>> >> >> ><br>
>> >> >> > GRAPHICS = [<br>
>> >> >> >   type    = "vnc",<br>
>> >> >> >   listen  = "localhost",<br>
>> >> >> >   port    = "5902"  ]<br>
>> >> >> ><br>
>> >> >> > CONTEXT = [<br>
>> >> >> >  HOSTNAME = "ABC<br>
>> >> >> >  files  =       "/srv/cloud/one/vm-template-2/init.sh" ]<br>
>> >> >> ><br>
>> >> >> > thanks<br>
>> >> >> ><br>
>> >> >> > Ranjan<br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> ><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>
>> >> >><br>
>> >> >> --<br>
>> >> >> Héctor Sanjuan<br>
>> >> >> OpenNebula.org<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>
>> >> ><br>
>> >> ><br>
>> >> > --<br>
>> >> ><br>
>> >> > --<br>
>> >> > Regards<br>
>> >> ><br>
>> >> > Zeeshan Ali Shah<br>
>> >> > System Administrator<br>
>> >> > PDC-Center for High Performance Computing<br>
>> >> > KTH-Royal Institute of Technology , Sweden<br>
>> >> ><br>
>> >> > +46 8 790 9115<br>
>> >> ><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>
>> >> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> ><br>
>> > --<br>
>> > Regards<br>
>> ><br>
>> > Zeeshan Ali Shah<br>
>> > System Administrator<br>
>> > PDC-Center for High Performance Computing<br>
>> > KTH-Royal Institute of Technology , Sweden<br>
>> ><br>
>> > +46 8 790 9115<br>
>> ><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>
> _______________________________________________<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>
><br>
<br>
<br>
<br>
--<br>
</div></div><div class="im">Daniel Molina, Cloud Technology Engineer/Researcher<br>
Major Contributor<br>
OpenNebula - The Open Source Toolkit for Cloud Computing<br>
</div><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org">dmolina@opennebula.org</a><br>
<div><div></div><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><pre cols="72">-- <br>Regards<br><br>Zeeshan Ali Shah<br>System Administrator<br>PDC-Center for High Performance Computing<br>KTH-Royal Institute of Technology , Sweden<br>
+46 8 790 9115</pre>
<br>