<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi Daniel,<br><br>sorry for late response ... <br>here is the result<br><br><HOST><br> <ID>4</ID><br> <NAME>obelix20</NAME><br> <STATE>2</STATE><br> <IM_MAD>im_xen</IM_MAD><br> <VM_MAD>vmm_xen</VM_MAD><br> <TM_MAD>tm_ssh</TM_MAD><br> <LAST_MON_TIME>1302289702</LAST_MON_TIME><br> <CLUSTER>cluster1</CLUSTER><br> <HOST_SHARE><br> <HID>4</HID><br> <DISK_USAGE>0</DISK_USAGE><br> <MEM_USAGE>0</MEM_USAGE><br> <CPU_USAGE>0</CPU_USAGE><br> <MAX_DISK>0</MAX_DISK><br> <MAX_MEM>4193280</MAX_MEM><br> <MAX_CPU>400</MAX_CPU><br> <FREE_DISK>0</FREE_DISK><br> <FREE_MEM>3091456</FREE_MEM><br> <FREE_CPU>399</FREE_CPU><br> <USED_DISK>0</USED_DISK><br> <USED_MEM>1101824</USED_MEM><br> <USED_CPU>1</USED_CPU><br> <RUNNING_VMS>0</RUNNING_VMS><br> </HOST_SHARE><br> <TEMPLATE><br> <ARCH><![CDATA[x86_64]]></ARCH><br> <CPUSPEED><![CDATA[2133]]></CPUSPEED><br> <FREECPU><![CDATA[399]]></FREECPU><br> <FREEMEMORY><![CDATA[3091456]]></FREEMEMORY><br> <HOSTNAME><![CDATA[obelix20.local]]></HOSTNAME><br> <HYPERVISOR><![CDATA[xen]]></HYPERVISOR><br> <MODELNAME><![CDATA[Intel(R) Xeon(R) CPU X3210 @ 2.13GHz]]></MODELNAME><br> <NETRX><![CDATA[1784244]]></NETRX><br> <NETTX><![CDATA[215582]]></NETTX><br> <TOTALCPU><![CDATA[400]]></TOTALCPU><br> <TOTALMEMORY><![CDATA[4193280]]></TOTALMEMORY><br> <USEDCPU><![CDATA[1]]></USEDCPU><br> <USEDMEMORY><![CDATA[1101824]]></USEDMEMORY><br> </TEMPLATE><br></HOST><br><br><br>thanks,<br>-upendra<br><br>> From: dmolina@opennebula.org<br>> Date: Tue, 5 Apr 2011 11:44:42 +0200<br>> Subject: Re: [one-users] VM creation stuck in "pending" state<br>> To: upendras@hotmail.com<br>> CC: users@lists.opennebula.org<br>> <br>> Hi Upendra,<br>> <br>> Would you mind to send us the output of:<br>> onehost show 4 -x<br>> <br>> Regards<br>> <br>> On 4 April 2011 15:58, Daniel Molina <dmolina@opennebula.org> wrote:<br>> > Hi,<br>> ><br>> > Would you mind to try changing the Requirements statement to:<br>> > REQUIREMENTS = "HOSTNAME=obelix20"<br>> ><br>> > Regards<br>> ><br>> > On 2 April 2011 20:56, Upendra Sharma <upendras@hotmail.com> 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: tinova@opennebula.org<br>> >>> Date: Fri, 1 Apr 2011 15:01:42 +0100<br>> >>> To: zashah@pdc.kth.se<br>> >>> CC: users@lists.opennebula.org<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>> >>> www.OpenNebula.org | @tinova79<br>> >>><br>> >>><br>> >>><br>> >>> On Fri, Apr 1, 2011 at 1:38 PM, Zeeshan Ali Shah <zashah@pdc.kth.se><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 <tinova79@gmail.com> wrote:<br>> >>> >><br>> >>> >> Hi,<br>> >>> >><br>> >>> >> Please take a look at [1].<br>> >>> >><br>> >>> >> Regards,<br>> >>> >><br>> >>> >> -Tino<br>> >>> >><br>> >>> >> [1]<br>> >>> >><br>> >>> >> http://opennebula.org/documentation:community:faq#my_machine_stays_in_pending_state_what_can_i_do<br>> >>> >><br>> >>> >> --<br>> >>> >> Constantino Vázquez Blanco | dsa-research.org/tinova<br>> >>> >> Virtualization Technology Engineer / Researcher<br>> >>> >> OpenNebula Toolkit | opennebula.org<br>> >>> >><br>> >>> >><br>> >>> >><br>> >>> >> On Fri, Apr 1, 2011 at 11:59 AM, Zeeshan Ali Shah <zashah@pdc.kth.se><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>> >>> >> > <hsanjuan@opennebula.org><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>> >>> >> >> > Users@lists.opennebula.org<br>> >>> >> >> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org<br>> >>> >> >><br>> >>> >> >><br>> >>> >> >> --<br>> >>> >> >> Héctor Sanjuan<br>> >>> >> >> OpenNebula.org<br>> >>> >> >> _______________________________________________<br>> >>> >> >> Users mailing list<br>> >>> >> >> Users@lists.opennebula.org<br>> >>> >> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org<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>> >>> >> > Users@lists.opennebula.org<br>> >>> >> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org<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>> >>> Users@lists.opennebula.org<br>> >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org<br>> >><br>> >> _______________________________________________<br>> >> Users mailing list<br>> >> Users@lists.opennebula.org<br>> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org<br>> >><br>> >><br>> ><br>> ><br>> ><br>> > --<br>> > Daniel Molina, Cloud Technology Engineer/Researcher<br>> > Major Contributor<br>> > OpenNebula - The Open Source Toolkit for Cloud Computing<br>> > www.OpenNebula.org | dmolina@opennebula.org<br>> ><br>> <br>> <br>> <br>> -- <br>> Daniel Molina, Cloud Technology Engineer/Researcher<br>> Major Contributor<br>> OpenNebula - The Open Source Toolkit for Cloud Computing<br>> www.OpenNebula.org | dmolina@opennebula.org<br> </body>
</html>