<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3527" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText10930 dir=ltr>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>
<DIV id=idOWAReplyText88514 dir=ltr>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>Hi,</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Verdana size=2>I am able to schedule a AR VM using haizea. But at the scheduled time, it is throwing error saying "<STRONG>Can not deploy VM 4, wrong state'</STRONG>". Any reasons fort the same.</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Verdana size=2>One thing I observed is as soon as I submit the VM template after adding the haizea params to the template, VM is getting created immediately even though I had given the AR start time as 10 min. Am I missing something?. </FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Verdana size=2>Info: I am using nebula 1.2, HaizeaTP 1.3, Python 2.6</FONT></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr><STRONG>VM template used:</STRONG></DIV>
<DIV dir=ltr>--------------------------------------------------</DIV>
<DIV dir=ltr>NAME   = demo_vm<BR>CPU      = 0.5<BR>MEMORY   = 256<BR>OS=[kernel=/boot/vmlinuz-xen,initrd=/boot/initrd-xen,root=sda2,kernel_cmd="ro"]<BR>DISK     = [source="/home/wipro/vm-image/debian-jboss-245.img", target="sda2", BOOT="true", readonly="no"]<BR>NIC=[NETWORK="10.101.102.31"]<BR>GRAPHICS = [<BR>  type    = "vnc",<BR>  listen  = "127.0.0.1",<BR>  port    = "9999"]<BR>HAIZEA = [<BR>        start       = "+00:10:00",<BR>        duration    = "00:10:00",<BR>        preemptible = "no"<BR>] </DIV>
<DIV dir=ltr><FONT face=Verdana size=2>----------------------------------</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Verdana size=2>Log trace:</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2>-------------</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>[2009-06-16 05:54:06.06] CLOCK   Wake-up time recorded as 2009-06-16 05:54:06.00<BR>/usr/local/lib/python2.6/dist-packages/haizea/resourcemanager/enact/opennebula.py:36: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6<BR>  self.message = "Error when running '%s' (status=%i, output='%s')" % (cmd, status, output)<BR>/usr/local/lib/python2.6/dist-packages/haizea/resourcemanager/scheduler/resourcepool.py:53: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6<BR>  self.logger.error("Enactment of start VM failed: %s" % exc.message)<BR><STRONG>[2009-06-16 05:54:06.73] RPOOL   Enactment of start VM failed: Error when running 'onevm deploy' (status=65280, output='Error: Can not deploy VM 4, wrong state')<BR></STRONG>[2009-06-16 05:54:06.73] VMSCHED Enactment error when starting VMs.<BR>[2009-06-16 05:54:06.74] CLOCK   Going back to sleep. Waking up at 2009-06-16 05:55:06.00 to see if something interesting has happened by then.<BR></DIV></FONT>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2></FONT> </DIV></DIV>
<DIV id=idSignature92322 dir=ltr>
<DIV><FONT face=Verdana color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Thanks & regards,</FONT></DIV>
<DIV><FONT face=Verdana size=2>Prashanth</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Prashanth Srinivas (WT01 - Business Technology Services (ES))<BR><B>Sent:</B> Fri 6/12/2009 9:17 PM<BR><B>To:</B> Borja Sotomayor; users@lists.opennebula.org<BR><B>Subject:</B> RE: [one-users] haizea with ON | Enactment error when starting VMs<BR></FONT><BR></DIV>
<DIV dir=ltr>
<DIV id=idOWAReplyText22800 dir=ltr>
<DIV dir=ltr>
<DIV dir=ltr><FONT face=Verdana size=2></FONT></DIV><FONT face=Verdana color=#000000 size=2>Hi Borja,</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Verdana size=2>Thanks for the response. Now I have installed Nebula 1.2, but the same problem still persists. Your suggestion on this is much appreciated</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Verdana size=2>Log trace:</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2>---------------</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </DIV>
<DIV dir=ltr>[2009-06-13 13:29:37.80] ENACT.ONE.INFO Fetched 1 nodes from ONE db<BR>[2009-06-13 13:29:37.80] RM      Starting resource manager<BR>[2009-06-13 13:29:37.80] RPCSERVER RPC server started on port 42493<BR>[2009-06-13 13:29:37.80] CLOCK   Starting clock<BR>[2009-06-13 13:29:37.80] CLOCK   Waking up to manage resources<BR>.<BR>.<BR>[2009-06-13 13:30:38.06] CLOCK   Wake-up time recorded as 2009-06-13 13:30:38.00<BR>[2009-06-13 13:30:38.12] LSCHED  Lease #1 has been requested and is pending.<BR>[2009-06-13 13:30:38.12] LSCHED  Scheduling AR lease #1, 1 nodes from 2009-06-13<BR> 13:31:38.00 to 2009-06-13 13:41:38.00.<BR>[2009-06-13 13:30:38.12] LSCHED  AR lease #1 has been accepted.<BR>[2009-06-13 13:30:38.12] CLOCK   Going back to sleep. Waking up at 2009-06-13 13<BR>:31:38.00 to handle slot table event.<BR>[2009-06-13 13:31:38.06] CLOCK   Waking up to manage resources<BR>[2009-06-13 13:31:38.06] CLOCK   Wake-up time recorded as 2009-06-13 13:31:38.00<BR>/usr/local/lib/python2.6/dist-packages/haizea/resourcemanager/enact/opennebula.p<BR>y:36: DeprecationWarning: BaseException.message has been deprecated as of Python<BR> 2.6<BR>  self.message = "Error when running '%s' (status=%i, output='%s')" % (cmd, stat<BR>us, output)<BR>/usr/local/lib/python2.6/dist-packages/haizea/resourcemanager/scheduler/resource<BR>pool.py:53: DeprecationWarning: BaseException.message has been deprecated as of<BR>Python 2.6<BR>  self.logger.error("Enactment of start VM failed: %s" % exc.message)<BR><STRONG>[2009-06-13 13:31:38.10] RPOOL   Enactment of start VM failed: Error when runnin<BR>g 'onevm deploy' (status=256, output='/opt/nebula/bin/onevm:30:in `require': no<BR>such file to load -- one (LoadError)<BR>        from /opt/nebula/bin/onevm:30')<BR></STRONG>[2009-06-13 13:31:38.10] VMSCHED Enactment error when starting VMs.<BR>[2009-06-13 13:31:38.10] CLOCK   Going back to sleep. Waking up at 2009-06-13 13<BR>:32:38.00 to see if something interesting has happened by then.<BR></DIV>
<DIV dir=ltr>-----------------------------</DIV></DIV>
<DIV id=idSignature55954 dir=ltr>
<DIV><FONT face=Verdana color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Thanks & regards,</FONT></DIV>
<DIV><FONT face=Verdana size=2>Prashanth</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> users-bounces@lists.opennebula.org on behalf of Borja Sotomayor<BR><B>Sent:</B> Thu 6/4/2009 4:09 PM<BR><B>To:</B> users@lists.opennebula.org<BR><B>Subject:</B> Re: [one-users] haizea with ON | Enactment error when starting VMs<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hi,<BR><BR>> For info: I am using haizea1.3, Nebula1185, python2.6<BR><BR>Does this mean you're using OpenNebula 1.1.85? (the development version<BR>before 1.2) If you don't know what version you're using, you can find<BR>out by running "oned -v".<BR><BR>In any case, Haizea TP1.3 has only been tested with OpenNebula 1.2. The<BR>error you're getting indicates that OpenNebula is failing unexpectedly<BR>(there seems to be an actual error in code, as opposed to an "expected<BR>error": a VM fails to deploy, etc.) This could be due to Haizea using<BR>calls and template syntax consistent with ONE 1.2, but which do not work<BR>with ONE 1.1.85.<BR><BR>Cheers!<BR>--Borja<BR>_______________________________________________<BR>Users mailing list<BR>Users@lists.opennebula.org<BR><A href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</A><BR></FONT></P></DIV></DIV></FONT></DIV></DIV><P><strong><span style='font-size:10.0pt;font-family:
"Palatino Linotype","serif";color:green'> Please do not print this email unless it is absolutely necessary. </span></strong><span style='font-family:"Arial","sans-serif"'><o:p></o:p></span></p>


<p> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. </p>

<p>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. </p>
<p>
www.wipro.com
</p>
</BODY></HTML>