But I dont have any REQUIREMENT section my vm template like this (Any idea)
cat basecentos.one NAME = zashah CPU = 1 MEMORY = 512 # --- kernel & boot device --- OS = [ bootloader = "/usr/bin/pygrub" ] # --- 1 disk --- DISK = [ image = "basecentos55", target = "xvda", clone = "yes", readonly = "no" ] # --- Use Leasing of Public Network MAC/IPs --- NIC = [ NETWORK="Public"] # --- Scheduling ----- # -- Context -- CONTEXT = [ hostname = "$NAME", ip_public = "$NIC[IP, NETWORK=\"Public\"]", username = zashah, root_pubkey = "id_rsa.pub", files = "/vm/cloud/conf/ssh/zashah/id_rsa.pub /vm/cloud/conf/centos/init.sh" ] onehost list ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM STAT 3 nebula1 default 0 200 200 200 8G 383M on 4 nebula2 default 0 200 200 200 8G 383M on 6 nebula3 default 0 200 200 200 8G 383M on 7 nebula4 default 0 200 200 200 8G 383M on 8 nebula6 default 0 200 200 200 8G 383M on 9 nebula7 default 0 200 200 200 8G 383M on 10 nebula8 default 0 200 200 200 8G 383M on 11 nebula9 default 0 200 200 200 8G 383M on 12 nebula10 default 0 200 200 200 8G 383M on 13 nebula11 default 0 200 200 200 8G 383M on 15 nebula13 default 0 200 200 200 8G 383M on 19 nebula12 default 2 200 199 50 8G 1024K on On Sat, Apr 2, 2011 at 8:56 PM, Upendra Sharma <[email protected]> wrote: > Hi Tino, > > something similar is happening to me as well. > > the VM template looks is shown below. > > ==== vm template ================== > NAME = TPCW-L > CPU = 1 > MEMORY = 2000 > REQUIREMENTS = "HOSTNAME=\"obelix20\"" > RANK = FREECPU > OS = [ bootloader=/usr/bin/pygrub ] > DISK = [ > source = "disk-vm1.img", > target = "xvda", > readonly = "no" ] > DISK = [ > source = "disk-tpcw-db.img", > target = "xvda5", > readonly = "no" ] > NIC = [ NETWORK = "Public VLAN" ] > RAW = [ > type = "xen", > data = "vcpus=1" > ] > ============================== > > > > > 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: > > > > > $ onehost list > ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM > STAT > 4 obelix20 cluster1 0 400 399 400 > 4G 2.9G on > > the machine simply sits on the pending state. > > When I comment out the REQUIREMENTS line, it works fine and schedules it on > one of the machines. > > I could not find a reason in any of the logs to find the reason. > > > > thanks, > -upendra > > > From: [email protected] > > Date: Fri, 1 Apr 2011 15:01:42 +0100 > > To: [email protected] > > CC: [email protected] > > Subject: Re: [one-users] VM creation stuck in "pending" state > > > > > Hi, > > > > Any REQUIREMENT section in the VM templates? > > > > Regards, > > > > -Tino > > > > -- > > Constantino Vázquez Blanco, MSc > > OpenNebula Major Contributor > > www.OpenNebula.org | @tinova79 > > > > > > > > On Fri, Apr 1, 2011 at 1:38 PM, Zeeshan Ali Shah <[email protected]> > wrote: > > > in Our case they are monitorized and are not in error state as shown in > one > > > host list . neither the memory cpu requirement are exhausted .. > > > any other hint ? > > > it was working fine after that I launched 5vm and it stucked (Although) > I > > > have 32 cores with 160GB RAM left. but later i deleted vms restarted > ONEd > > > and SCHED: > > > even after that when no vms left the new vms in pending state. I had > to > > > use manual one vm deploy everytime.. > > > Zeeshan > > > On Fri, Apr 1, 2011 at 1:22 PM, Tino Vazquez <[email protected]> > wrote: > > >> > > >> Hi, > > >> > > >> Please take a look at [1]. > > >> > > >> Regards, > > >> > > >> -Tino > > >> > > >> [1] > > >> > http://opennebula.org/documentation:community:faq#my_machine_stays_in_pending_state_what_can_i_do > > >> > > >> -- > > >> Constantino Vázquez Blanco | dsa-research.org/tinova > > >> Virtualization Technology Engineer / Researcher > > >> OpenNebula Toolkit | opennebula.org > > >> > > >> > > >> > > >> On Fri, Apr 1, 2011 at 11:59 AM, Zeeshan Ali Shah <[email protected]> > > >> wrote: > > >> > Happen to me as well , I can manually deploy, but by default it is > stuck > > >> > in > > >> > Pending state forever .. I restarted SCHED as well. but same .. > > >> > any hint ? > > >> > > > >> > Zeeshan > > >> > > > >> > On Sun, Mar 27, 2011 at 5:34 PM, Héctor Sanjuán > > >> > <[email protected]> > > >> > wrote: > > >> >> > > >> >> Hi, > > >> >> > > >> >> make sure there is a host available to receive the VM. Have you > tried > > >> >> to > > >> >> manually deploy it by: > > >> >> > > >> >> $ onevm deploy vmid hostid > > >> >> > > >> >> Maybe the logs will offer more information then. > > >> >> > > >> >> Héctor > > >> >> > > >> >> El 27/03/11 17:24, Madhurranjan Mohaan escribió: > > >> >> > Hi All, > > >> >> > > > >> >> > I am unable to create VMs any further because they are stuck in > > >> >> > pending > > >> >> > state. > > >> >> > > > >> >> > onevm list > > >> >> > 39 oneadmin vm-ex pend 0 0K 00 > 00:07:44 > > >> >> > > > >> >> > The logs don't seem to get anything about this. I restarted after > > >> >> > backing up the logs , on all machines but the result is the same > . I > > >> >> > keep getting this message but nothing more. Any suggestions ? > > >> >> > > > >> >> > Sun Mar 27 20:49:38 2011 [ReM][D]: VirtualMachinePoolInfo method > > >> >> > invoked > > >> >> > Sun Mar 27 20:49:40 2011 [ReM][D]: VirtualMachinePoolInfo method > > >> >> > invoked > > >> >> > Sun Mar 27 20:49:42 2011 [ReM][D]: HostPoolInfo method invoked > > >> >> > Sun Mar 27 20:49:42 2011 [ReM][D]: VirtualMachinePoolInfo method > > >> >> > invoked > > >> >> > Sun Mar 27 20:49:42 2011 [ReM][D]: VirtualMachinePoolInfo method > > >> >> > invoked > > >> >> > > > >> >> > > > >> >> > My vm-template is as follows: > > >> >> > NAME = vm-ex > > >> >> > > > >> >> > CPU = 1 > > >> >> > MEMORY = 256 > > >> >> > > > >> >> > DISK = [ > > >> >> > image = "Frame OS installation" ] > > >> >> > > > >> >> > NIC = [ network = "Test-Fixed" ] > > >> >> > > > >> >> > GRAPHICS = [ > > >> >> > type = "vnc", > > >> >> > listen = "localhost", > > >> >> > port = "5902" ] > > >> >> > > > >> >> > CONTEXT = [ > > >> >> > HOSTNAME = "ABC > > >> >> > files = "/srv/cloud/one/vm-template-2/init.sh" ] > > >> >> > > > >> >> > thanks > > >> >> > > > >> >> > Ranjan > > >> >> > > > >> >> > > > >> >> > > > >> >> > _______________________________________________ > > >> >> > Users mailing list > > >> >> > [email protected] > > >> >> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > >> >> > > >> >> > > >> >> -- > > >> >> Héctor Sanjuan > > >> >> OpenNebula.org > > >> >> _______________________________________________ > > >> >> Users mailing list > > >> >> [email protected] > > >> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > >> > > > >> > > > >> > > > >> > -- > > >> > > > >> > -- > > >> > Regards > > >> > > > >> > Zeeshan Ali Shah > > >> > System Administrator > > >> > PDC-Center for High Performance Computing > > >> > KTH-Royal Institute of Technology , Sweden > > >> > > > >> > +46 8 790 9115 > > >> > > > >> > _______________________________________________ > > >> > Users mailing list > > >> > [email protected] > > >> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > >> > > > >> > > > > > > > > > > > > > -- > > > > > > -- > > > Regards > > > > > > Zeeshan Ali Shah > > > System Administrator > > > PDC-Center for High Performance Computing > > > KTH-Royal Institute of Technology , Sweden > > > > > > +46 8 790 9115 > > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > -- -- Regards Zeeshan Ali Shah System Administrator PDC-Center for High Performance Computing KTH-Royal Institute of Technology , Sweden +46 8 790 9115
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
