But I dont have any REQUIREMENT section my vm template like this (Any idea)<br><br>cat basecentos.one <br>NAME = zashah<br>CPU = 1<br>MEMORY = 512<br># --- kernel & boot device ---<br>OS = [ bootloader = "/usr/bin/pygrub" ]<br>
# --- 1 disk ---<br>DISK = [<br> image = "basecentos55",<br> target = "xvda",<br> clone = "yes",<br> readonly = "no" ]<br># --- Use Leasing of Public Network MAC/IPs ---<br>
NIC = [ NETWORK="Public"]<br># --- Scheduling -----<br># -- Context --<br>CONTEXT = [<br> hostname = "$NAME",<br> ip_public = "$NIC[IP, NETWORK=\"Public\"]",<br> username = zashah,<br>
root_pubkey = "id_rsa.pub", <br>files = "/vm/cloud/conf/ssh/zashah/id_rsa.pub /vm/cloud/conf/centos/init.sh"<br>]<br><br><br>onehost list<br> ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM STAT<br>
3 nebula1 default 0 200 200 200 8G 383M on<br> 4 nebula2 default 0 200 200 200 8G 383M on<br> 6 nebula3 default 0 200 200 200 8G 383M on<br>
7 nebula4 default 0 200 200 200 8G 383M on<br> 8 nebula6 default 0 200 200 200 8G 383M on<br> 9 nebula7 default 0 200 200 200 8G 383M on<br>
10 nebula8 default 0 200 200 200 8G 383M on<br> 11 nebula9 default 0 200 200 200 8G 383M on<br> 12 nebula10 default 0 200 200 200 8G 383M on<br>
13 nebula11 default 0 200 200 200 8G 383M on<br> 15 nebula13 default 0 200 200 200 8G 383M on<br> 19 nebula12 default 2 200 199 50 8G 1024K on<br>
<br><br><div class="gmail_quote">On Sat, Apr 2, 2011 at 8:56 PM, Upendra Sharma <span dir="ltr"><<a href="mailto:upendras@hotmail.com">upendras@hotmail.com</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;">
<div>
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. HOSTNAME. That particular host has a no VMs running
on it and a 3 G of RAM 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 STAT<br> 4 obelix20 cluster1 0 400 399 400 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 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" target="_blank">tinova@opennebula.org</a><br>> Date: Fri, 1 Apr 2011 15:01:42 +0100<br>> To: <a href="mailto:zashah@pdc.kth.se" target="_blank">zashah@pdc.kth.se</a><br>
> CC: <a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a><br>> Subject: Re: [one-users] VM creation stuck in "pending" state<div><div></div><div class="h5"><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" target="_blank">zashah@pdc.kth.se</a>> wrote:<br>> > in Our case they are monitorized and are not in error state as shown in 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) I<br>> > have 32 cores with 160GB RAM left. but later i deleted vms restarted ONEd<br>
> > and SCHED:<br>> > even after that when no vms left the new vms in pending state. I had 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" target="_blank">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>> >> <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" target="_blank">zashah@pdc.kth.se</a>><br>
> >> wrote:<br>> >> > Happen to me as well , I can manually deploy, but by default it is 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" target="_blank">hsanjuan@opennebula.org</a>><br>
> >> > wrote:<br>> >> >><br>> >> >> Hi,<br>> >> >><br>> >> >> make sure there is a host available to receive the VM. Have you 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 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 . 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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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></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><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>