[Haizea] Haizea with Nebula1.4 | 'dict' object has no attribute 'get_by_type'

prashanth.srinivas at wipro.com prashanth.srinivas at wipro.com
Thu Oct 1 08:20:15 CDT 2009


Hi,
 
Some time Haizea throws following error and stops the scheduler. Can some one let me know the reason for the same
 
Error log:
----------------------
[2009-09-28 18:23:09.91] CLOCK   Waking up to manage resources
[2009-09-28 18:23:09.91] CLOCK   Wake-up time recorded as 2009-09-28 18:23:10.00
[2009-09-28 18:23:09.92] LSCHED  Lease #1 has been requested.
[2009-09-28 18:23:09.92] LSCHED  Lease #1 has been marked as pending.
[2009-09-28 18:23:09.93] LSCHED  Queued best-effort lease request #1, 1 nodes for 36500:00:00:00.00.
[2009-09-28 18:23:09.94] LSCHED  Next request in the queue is lease 2. Attempting to schedule...
[2009-09-28 18:23:09.94] VMSCHED Lease #2 has been scheduled on nodes [1] from 2009-09-28 18:23:20.00 to 2109-09-04 18:23:20.00
[2009-09-28 18:23:09.94] LSCHED  Next request in the queue is lease 1. Attempting to schedule...
[2009-09-28 18:23:09.94] RM      An unexpected exception has happened.
[2009-09-28 18:23:09.96] RM        File "/usr/lib/python2.5/site-packages/haizea/core/manager.py", line 419, in process_requests   self.scheduler.schedule(nexttime)
[2009-09-28 18:23:09.96] RM        File "/usr/lib/python2.5/site-packages/haizea/core/scheduler/lease_scheduler.py", line 196, in schedule   self.__process_queue(nexttime)
[2009-09-28 18:23:09.96] RM        File "/usr/lib/python2.5/site-packages/haizea/core/scheduler/lease_scheduler.py", line 489, in __process_queue    self.__schedule_lease(lease, nexttime)
[2009-09-28 18:23:09.96] RM        File "/usr/lib/python2.5/site-packages/haizea/core/scheduler/lease_scheduler.py", line 555, in __schedule_lease   (vmrr, preemptions) = self.vm_scheduler.schedule(lease, nexttime, earliest)
[2009-09-28 18:23:09.96] RM        File "/usr/lib/python2.5/site-packages/haizea/core/scheduler/vm_scheduler.py", line 108, in schedule  return self.__schedule_asap(lease, nexttime, earliest, allow_in_future = self.can_schedule_in_future())
[2009-09-28 18:23:09.96] RM        File "/usr/lib/python2.5/site-packages/haizea/core/scheduler/vm_scheduler.py", line 590, in __schedule_asap  self.__schedule_suspension(vmrr, end)
[2009-09-28 18:23:09.96] RM        File "/usr/lib/python2.5/site-packages/haizea/core/scheduler/vm_scheduler.py", line 856, in __schedule_suspension  times = self.__compute_susprem_times(vmrr, suspend_by, constants.DIRECTION_BACKWARD, susp_exclusion, rate, override)
[2009-09-28 18:23:09.96] RM        File "/usr/lib/python2.5/site-packages/haizea/core/scheduler/vm_scheduler.py", line 720, in __compute_susprem_times    mem = vmrr.lease.requested_resources.get_by_type(constants.RES_MEM)
[2009-09-28 18:23:09.96] RM      Message: 'dict' object has no attribute 'get_by_type'
[2009-09-28 18:23:09.96] RM      Panicking...
[2009-09-28 18:23:10.89] RM      --- Haizea status summary ---
[2009-09-28 18:23:10.89] RM      Number of leases (not including completed): 2
[2009-09-28 18:23:10.89] RM      Completed leases: 4
[2009-09-28 18:23:10.89] RM      ---- End summary ----
[2009-09-28 18:23:10.89] RM      Next change point (in slot table): 2009-09-28 18:23:20.00
 
-----------------------------------------------------------------------------------

 
 
Thanks & regards,
Prashanth

Please do not print this email unless it is absolutely necessary. 

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. 

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. 

www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.uchicago.edu/pipermail/haizea/attachments/20091001/caf2d1ab/attachment.htm 


More information about the Haizea mailing list