[Haizea] unmatching host CPU information between ONE and Haizea
Łukasz Grabowski
grabbs07 at gmail.com
Wed May 25 01:39:53 CDT 2011
Hi Borja,
Thanks for your response.
I tried to install opennebula 1.1 following the instructions you gave in
your dissertation. Well, I didn't have much luck. I encounter the same error
that I wrote about last week. One thing I tried to change this time is a
version of python to 2.5.
With python 2.5 I got this:
luc at debian:~$ haizea -c /home/luc/sample.conf
Traceback (most recent call last):
File "/usr/local/bin/haizea", line 12, in <module>
c.run()
File "/usr/lib/python2.5/site-packages/haizea/cli/commands.py", line 124,
in run
manager.start()
File "/usr/lib/python2.5/site-packages/haizea/core/manager.py", line 355,
in start
self.__initialize()
File "/usr/lib/python2.5/site-packages/haizea/core/manager.py", line 157,
in __initialize
site = Site.from_lwf_file(tracefile)
File "/usr/lib/python2.5/site-packages/haizea/core/leases.py", line 1602,
in from_lwf_file
site_elem = ET.parse(lwf_file).getroot().find("site")
File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 862, in parse
tree.parse(source, parser)
File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 586, in parse
parser.feed(data)
File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 1245, in feed
self._parser.Parse(data, 0)
xml.parsers.expat.ExpatError: junk after document element: line 61, column 0
With python 2.6:
(without psycho, so I commented out the psyco section from /bin/haizea)
root at debian:/home/luc# haizea -c sample.conf
Traceback (most recent call last):
File "/home/luc/haizea/bin/haizea", line 3, in <module>
from haizea.cli import commands
File "/usr/local/lib/python2.6/dist-packages/haizea/cli/commands.py", line
27, in <module>
from haizea.lwf.generators import LWFGenerator, LWFAnnotationGenerator
ImportError: No module named lwf.generators
I set pythonpath and path to the source code of Haizea.
root at debian:/home/luc# echo $PYTHONPATH
/home/luc/haizea/src
root at debian:/home/luc# echo $PATH
/home/luc/haizea/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
root at debian:/home/luc# ls ./haizea
bin build doc etc html LICENSE MANIFEST.in README setup.py src
tests traces
If I comment out imports from lwf.generators I get:
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 give me some other advise?
I'd like to have Haizea working with OpenNebula 1.4.
Would it be better to solve the problem with Haizea 1.0 that I described a
week ago?
Regards,
Łukasz Grabowski
2011/5/23 Borja Sotomayor <borja at cs.uchicago.edu>
> Hi,
>
> > I also tried to install branch 1.1 version from subversion, but I haven't
> > manage to make it work neither.
>
> To use the 1.1 version, you may have better luck with the instructions
> in Appendix A of this document:
>
>
> http://people.cs.uchicago.edu/~borja/dissertation/borja_sotomayor_dissertation_updated_20100825.pdf
>
> At the very least, those instructions should allow you to run the
> sample traces in sumulation. Unfortunately, the 1.1 branch hasn't been
> thoroughly tested with OpenNebula; the integration in the latest
> version is still a work in progress.
>
> Cheers!
> --
> Borja Sotomayor
>
> Scientific Writer, Computation Institute
> Lecturer, Department of Computer Science
> University of Chicago
> http://people.cs.uchicago.edu/~borja/
>
> Community Manager, OpenNebula project
> http://www.opennebula.org/
> _______________________________________________
> Haizea mailing list
> Haizea at mailman.cs.uchicago.edu
> https://mailman.cs.uchicago.edu/mailman/listinfo/haizea
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.uchicago.edu/pipermail/haizea/attachments/20110525/91e93980/attachment.htm
More information about the Haizea
mailing list