<div dir="ltr"><div>I have integrated haizea1.0 and opennebula3.0<br>previously not working . i replaced the opennebula_xmlrpc.py file. then working fine.<br>I have added the below lines in vm template then instantiated vm in sunstone.<br>
</div><div>HAIZEA = [<br>start = "+00:00:30",<br>duration = "00:01:00",<br>preemptible = "no"<br>]<br><br>It shows the wrong scheduling time, so VM not started.<br>oneadmin@ubuntu:~$oned<br>oneadmin@ubuntu:~$ haizea --fg -c /usr/share/haizea/etc/sample_opennebula.conf<br>
[ ] <a href="http://ENACT.ONE.INFO">ENACT.ONE.INFO</a> Fetching nodes from OpenNebula<br>[ ] <a href="http://ENACT.ONE.INFO">ENACT.ONE.INFO</a> Fetched 1 nodes from OpenNebula<br>
[2013-04-10 15:44:11.49] RM Starting resource manager<br>[2013-04-10 15:44:11.49] RPCSERVER RPC server started on port 42493<br>[2013-04-10 15:44:11.49] RM Recovered lease 1 (already done)<br>[2013-04-10 15:44:11.49] CLOCK Starting clock<br>
[2013-04-10 15:44:11.49] CLOCK Waking up to manage resources<br>[2013-04-10 15:44:11.49] CLOCK Wake-up time recorded as 2013-04-10 15:44:11.00<br>[2013-04-10 15:44:11.70] LSCHED Lease #1 has been requested.<br>[2013-04-10 15:44:11.70] LSCHED Lease #1 has been marked as pending.<br>
[2013-04-10 15:44:11.80] LSCHED Scheduling AR lease #1, 1 nodes from 2013-04-10 15:06:47.00 to 2013-04-10 15:07:47.00.<br>[2013-04-10 15:44:11.86] LSCHED AR lease #1 has been scheduled.<br>[2013-04-10 15:44:11.94] CLOCK Going back to sleep. Waking up at 2013-04-10 15:45:11.00 to see if something interesting has happened by then.<br>
[2013-04-10 15:45:11.00] CLOCK Waking up to manage resources<br>[2013-04-10 15:45:11.00] CLOCK Wake-up time recorded as 2013-04-10 15:45:11.00<br>[2013-04-10 15:45:11.15] CLOCK Going back to sleep. Waking up at 2013-04-10 15:46:11.00 to see if something interesting has happened by then.<br>
[2013-04-10 15:46:11.03] CLOCK Waking up to manage resources<br>[2013-04-10 15:46:11.03] CLOCK Wake-up time recorded as 2013-04-10 15:46:11.00<br>[2013-04-10 15:46:11.13] CLOCK Going back to sleep. Waking up at 2013-04-10 15:47:11.00 to see if something interesting has happened by then.<br>
<br><br></div><div>Add i tried haizea-request-lease, it shows<br></div><div><br><div>oneadmin@ubuntu:~$ haizea-request-lease<br>Traceback (most recent call last):<br> File "/usr/local/bin/haizea-request-lease", line 7, in <module><br>
c.run()<br> File "/usr/local/lib/python2.7/dist-packages/haizea/cli/rpc_commands.py", line 119, in run<br> capacity.set_quantity(constants.RES_CPU, int(self.opt.cpu) * 100)<br>TypeError: int() argument must be a string or a number, not 'NoneType'<br>
<br></div><div>Anyone please help me..<br clear="all"></div><div><br>-- <br>Regards,<br>Sulthana<br>
</div></div></div>