[one-users] haizea sch

Sulthana Ansar rashyansar at gmail.com
Wed Apr 10 03:39:36 PDT 2013


I have integrated haizea1.0 and opennebula3.0
previously not working . i replaced the opennebula_xmlrpc.py file. then
working fine.
I have added the below lines in vm template then instantiated vm in
sunstone.
HAIZEA = [
start = "+00:00:30",
duration = "00:01:00",
preemptible = "no"
]

It shows the wrong scheduling time, so VM not started.
oneadmin at ubuntu:~$oned
oneadmin at ubuntu:~$ haizea --fg -c
/usr/share/haizea/etc/sample_opennebula.conf
[                      ] ENACT.ONE.INFO Fetching nodes from OpenNebula
[                      ] ENACT.ONE.INFO Fetched 1 nodes from OpenNebula
[2013-04-10 15:44:11.49] RM      Starting resource manager
[2013-04-10 15:44:11.49] RPCSERVER RPC server started on port 42493
[2013-04-10 15:44:11.49] RM      Recovered lease 1 (already done)
[2013-04-10 15:44:11.49] CLOCK   Starting clock
[2013-04-10 15:44:11.49] CLOCK   Waking up to manage resources
[2013-04-10 15:44:11.49] CLOCK   Wake-up time recorded as 2013-04-10
15:44:11.00
[2013-04-10 15:44:11.70] LSCHED  Lease #1 has been requested.
[2013-04-10 15:44:11.70] LSCHED  Lease #1 has been marked as pending.
[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.
[2013-04-10 15:44:11.86] LSCHED  AR lease #1 has been scheduled.
[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.
[2013-04-10 15:45:11.00] CLOCK   Waking up to manage resources
[2013-04-10 15:45:11.00] CLOCK   Wake-up time recorded as 2013-04-10
15:45:11.00
[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.
[2013-04-10 15:46:11.03] CLOCK   Waking up to manage resources
[2013-04-10 15:46:11.03] CLOCK   Wake-up time recorded as 2013-04-10
15:46:11.00
[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.


Add i tried haizea-request-lease, it shows

oneadmin at ubuntu:~$ haizea-request-lease
Traceback (most recent call last):
  File "/usr/local/bin/haizea-request-lease", line 7, in <module>
    c.run()
  File "/usr/local/lib/python2.7/dist-packages/haizea/cli/rpc_commands.py",
line 119, in run
    capacity.set_quantity(constants.RES_CPU, int(self.opt.cpu) * 100)
TypeError: int() argument must be a string or a number, not 'NoneType'

Anyone please help me..

--
Regards,
Sulthana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130410/79f6fc55/attachment.htm>


More information about the Users mailing list