You can check it here: http://opennebula.org/documentation:rel2.2:template
On 4 April 2011 16:13, Zeeshan Ali Shah <[email protected]> wrote: > it is working if i omit CPU= in vm template .. but can u briefly explain if > CPU= in percentage ? right ? > > Zeeshan > > On Mon, Apr 4, 2011 at 3:58 PM, Daniel Molina <[email protected]> > wrote: >> >> Hi, >> >> Would you mind to try changing the Requirements statement to: >> REQUIREMENTS = "HOSTNAME=obelix20" >> >> Regards >> >> On 2 April 2011 20:56, 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 >> > >> > >> >> >> >> -- >> Daniel Molina, Cloud Technology Engineer/Researcher >> Major Contributor >> OpenNebula - The Open Source Toolkit for Cloud Computing >> www.OpenNebula.org | [email protected] >> _______________________________________________ >> 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 > -- Daniel Molina, Cloud Technology Engineer/Researcher Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | [email protected] _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
