[Haizea] unmatching host CPU information between ONE and Haizea
Łukasz Grabowski
grabbs07 at gmail.com
Tue May 17 13:09:39 CDT 2011
Hi,
I am using Haizea 1.0 and OpenNebula 1.4 on a 24 CPU server. I have
encountered the same problem that was described in [1] in October 2010
If I submit a lease for 12 CPU in the haizea.log prints CPU=100. What is
more, I can only deploy one VM on a host, even though I have resources.
Haizea-list-hosts shows 100 in a CPU section and not 2400 like I think it
should be.
I followed hints described in that thread: used a fix for opennebula.py [2].
After doing that, a different error occured:
oneadmin at debian:/srv/data/xen-susp/haizea1$ haizea -c badanie1.conf
Traceback (most recent call last):
File "/usr/local/bin/haizea", line 12, in <module>
c.run()
File "/usr/local/lib/python2.6/dist-packages/haizea/cli/commands.py", line
119, in run
manager = Manager(config, daemon, pidfile)
File "/usr/local/lib/python2.6/dist-packages/haizea/common/utils.py", line
132, in __call__
self.instance = super(Singleton, self).__call__(*args, **kw)
File "/usr/local/lib/python2.6/dist-packages/haizea/core/manager.py", line
188, in __init__
rt = slottable.create_resource_tuple_from_capacity(n.capacity)
File
"/usr/local/lib/python2.6/dist-packages/haizea/core/scheduler/slottable.py",
line 469, in create_resource_tuple_from_capacity
pos = self.rtuple_restype2pos[restype]
KeyError: 'CPU'
I also tried to install branch 1.1 version from subversion, but I haven't
manage to make it work neither.
I don't have psyco templates installed and I saw in haizea 1.0 archive that
in /bin/haizea the part of code related to psyco is commented out and I did
the same in branch version.
#try:
# import psyco
# psyco.full()
#except:
# pass
After running haizea with a configuration file I encounter this error:
root at debian:~# haizea -c /usr/local/share/haizea/etc/sample_trace.conf
Traceback (most recent call last):
File "/usr/local/bin/haizea", line 13, in <module>
c.run()
File "/usr/local/lib/python2.6/dist-packages/haizea/cli/commands.py", line
125, in run
manager.start()
File "/usr/local/lib/python2.6/dist-packages/haizea/core/manager.py", line
355, in start
self.__initialize()
File "/usr/local/lib/python2.6/dist-packages/haizea/core/manager.py", line
165, in __initialize
info_enact = SimulatedResourcePoolInfo(site)
File
"/usr/local/lib/python2.6/dist-packages/haizea/core/enact/simulated.py",
line 34, in __init__
raise
TypeError: exceptions must be old-style classes or derived from
BaseException, not NoneType
Could you advise me on how to solve the problem with Haizea 1.0 or the one
with branch 1.1 version?
Thanks in advance,
Łukasz Grabowski
[1]
https://mailman.cs.uchicago.edu/pipermail/haizea/2010-October/000233.html
[2]
https://mailman.cs.uchicago.edu/pipermail/haizea/2010-October/000239.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.uchicago.edu/pipermail/haizea/attachments/20110517/b84204e9/attachment.htm
More information about the Haizea
mailing list