[Haizea] Haizea crashing on canceling the lease
Borja Sotomayor
borja at borjanet.com
Tue Nov 24 18:26:08 CST 2009
Hi Nikola,
> That VM is started fine, "onevm list" shows it, "haizea/list/leases" shows
> it with ID=2. Then I try to cancel it with "haizea-cancel-lease -l 2". It
> looks like it passed, but after that haizea process is dead.
Looks like this was a bug in the code. Haizea wasn't cleaning up
correctly after the cancellation, so the scheduler thought it still
had to process the premature end (which, by the time the scheduler
wakes up, was in the past, which made it crash).
Anyway, I just committed a fix to SVN:
https://phoenixforge.cs.uchicago.edu/repositories/revision/haizea/686
I am preparing a new release (which should be out sometime next week)
so, if this isn't urgent, you can wait for the new release, which will
include the fix. Otherwise, it shouldn't be hard to patch the code
using the following diff:
https://phoenixforge.cs.uchicago.edu/repositories/diff/haizea/trunk/src/haizea/core/scheduler/lease_scheduler.py?format=diff&rev=686
Thanks for reporting this!
Cheers,
--
::::::::::::::::::::::::::::::::::::::::::::::::::::
Borja Sotomayor, University of Chicago
Ph.D. Candidate, Department of Computer Science
Ryerson 257-C, 1100 East 58th Street, Chicago, IL
http://people.cs.uchicago.edu/~borja/
Haizea: http://haizea.cs.uchicago.edu/
····················································
"Dis maschine vill run und run!"
-- Kurt Gödel (on the Turing Machine)
::::::::::::::::::::::::::::::::::::::::::::::::::::
More information about the Haizea
mailing list