[Haizea] unexpected exception: haizea with ON

Gordon Wells gordon.wells at gmail.com
Mon Jun 1 02:51:08 CDT 2009


Hi

I'm not managing to run ON with haizea, I get the following output:

# /opt/bin/haizea --fg -c /opt/share/haizea/etc/sample_opennebula.conf
[2009-06-01 09:47:05.07] ENACT.ONE.INFO Fetched 2 nodes from ONE db
[2009-06-01 09:47:05.12] RM      Starting resource manager
[2009-06-01 09:47:05.12] RPCSERVER RPC server started on port 42493
[2009-06-01 09:47:05.13] CLOCK   Starting clock
[2009-06-01 09:47:05.13] CLOCK   Waking up to manage resources
[2009-06-01 09:47:05.13] CLOCK   Wake-up time recorded as 2009-06-01 09:47:05.00
[2009-06-01 09:47:05.13] RM      An unexpected exception has happened.
[2009-06-01 09:47:05.13] RM        File
"/opt/lib/python/haizea/resourcemanager/rm.py", line 376, in
process_reservations
    self.scheduler.process_reservations(time)

[2009-06-01 09:47:05.13] RM        File
"/opt/lib/python/haizea/resourcemanager/scheduler/lease_scheduler.py",
line 281, in process_reservations
    util = self.vm_scheduler.get_utilization(nowtime)

[2009-06-01 09:47:05.13] RM        File
"/opt/lib/python/haizea/resourcemanager/scheduler/vm_scheduler.py",
line 572, in get_utilization
    util[k] /= total

[2009-06-01 09:47:05.13] RM      Message: float division
[2009-06-01 09:47:05.13] RM      Panicking...
[2009-06-01 09:47:06.12] RM      --- Haizea status summary ---
[2009-06-01 09:47:06.12] RM      Number of leases (not including completed): 0
[2009-06-01 09:47:06.12] RM      Completed leases: 0
[2009-06-01 09:47:06.12] RM      Completed best-effort leases: 0
[2009-06-01 09:47:06.12] RM      Queue size: 0
[2009-06-01 09:47:06.12] RM      Accepted AR leases: 0
[2009-06-01 09:47:06.12] RM      Rejected AR leases: 0
[2009-06-01 09:47:06.12] RM      Accepted IM leases: 0
[2009-06-01 09:47:06.12] RM      Rejected IM leases: 0
[2009-06-01 09:47:06.12] RM      ---- End summary ----
[2009-06-01 09:47:06.12] RM      Next change point (in slot table): None


When I check the relevant code it seems it's trying to divide None
(from util[k]) by 0.0 (from total). I haven't dug further in case
there is a quick known answer to this.

Thanks in advance
Gordon

--


Gordon Wells
Bioinformatics and Computational Biology Unit
Department of Biochemistry
University of Pretoria /
High Performance Computing Research group
Meraka Institute
CSIR

A poet once said "The whole universe is in a glass of wine." We will
probably never know in what sense he meant that, for poets do not
write to be understood. But it is true that if we look at a glass
closely enough we see the entire universe. There are the things of
physics: the twisting liquid which evaporates depending on the wind
and weather, the reflections in the glass, and our imaginations adds
the atoms. The glass is a distillation of the Earth's rocks, and in
its composition we see the secret of the universe's age, and the
evolution of the stars. What strange array of chemicals are there in
the wine? How did they come to be? There are the ferments, the
enzymes, the substrates, and the products. There in wine is found the
great generalization: all life is fermentation. Nobody can discover
the chemistry of wine without discovering, as did Louis Pasteur, the
cause of much disease. How vivid is the claret, pressing its existence
into the consciousness that watches it! If our small minds, for some
convenience, divide this glass of wine, this universe, into parts —
physics, biology, geology, astronomy, psychology, and so on — remember
that Nature does not know it! So let us put it all back together, not
forgetting ultimately what it is for. Let it give us one more final
pleasure: drink it and forget it all!

 -- Richard Feynman


--


Gordon Wells
Bioinformatics and Computational Biology Unit
Department of Biochemistry
University of Pretoria /
High Performance Computing Research group
Meraka Institute
CSIR

A poet once said "The whole universe is in a glass of wine." We will
probably never know in what sense he meant that, for poets do not
write to be understood. But it is true that if we look at a glass
closely enough we see the entire universe. There are the things of
physics: the twisting liquid which evaporates depending on the wind
and weather, the reflections in the glass, and our imaginations adds
the atoms. The glass is a distillation of the Earth's rocks, and in
its composition we see the secret of the universe's age, and the
evolution of the stars. What strange array of chemicals are there in
the wine? How did they come to be? There are the ferments, the
enzymes, the substrates, and the products. There in wine is found the
great generalization: all life is fermentation. Nobody can discover
the chemistry of wine without discovering, as did Louis Pasteur, the
cause of much disease. How vivid is the claret, pressing its existence
into the consciousness that watches it! If our small minds, for some
convenience, divide this glass of wine, this universe, into parts —
physics, biology, geology, astronomy, psychology, and so on — remember
that Nature does not know it! So let us put it all back together, not
forgetting ultimately what it is for. Let it give us one more final
pleasure: drink it and forget it all!

 -- Richard Feynman


More information about the Haizea mailing list