[Haizea] How to clear or reset the queue of haizea

Borja Sotomayor borja at borjanet.com
Tue Oct 6 17:12:01 CDT 2009


Hi,

[Replying to an off-list message]

> I had submitted one vm with haieza scheduler, it was fine. Then I 
> submitted 2 more VM's, but they were in pending state (For reasons which 
> I do not know). Hence I deleted those vm's from nebula and restarted 
> Haizea, but still see VMid's (5,6) still queued. How do I clear or reset 
> the queue.

If you're just testing, you can stop Haizea, delete the persistence file 
(in ~/.haizea/leases.dat) and that will make Haizea start from a clean 
slate. You can also remove each lease individually using the 
haizea-cancel-lease command.

However, take into account that Haizea currently does not react to 
unexpected changes in OpenNebula. If Haizea starts up VMs, and you 
cancel them in OpenNebula, this will put Haizea in an inconsistent 
state. This will eventually be changed but, for now, it is best to not 
make changes through OpenNebula (other than submitting the VMs), and 
only allow Haizea to manage them.

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