[Haizea] Problems with Haizea and OpenNEbula
Borja Sotomayor
borja at borjanet.com
Thu Sep 3 06:26:27 CDT 2009
Hi,
> I´m using OpenNebula and I think that Haizea could be useful for my
> virtual infrastructure. I´ve installed Haizea without problems, but now
> I´m trying to configure Haizea to work with OpenNebula and it fails.
> Following the instructions of
>
> http://haizea.cs.uchicago.edu/manual/node33.html
>
> when I execute the command: /haizea -c
> /usr/share/haizea/etc/sample_opennebula.conf,/ I get this error:
>
> [...]
>
> File
> "/usr/local/lib/python2.6/dist-packages/haizea/core/enact/opennebula.py",
> line 37, in get_one_xmlrpcclient
>
> user, passw = OpenNebulaXMLRPCClient.get_userpass_from_env()
>
> TypeError: 'NoneType' object is not iterable
Is the ONE_AUTH environment variable set up? This variable is described
in the OpenNebula documentation
(http://www.opennebula.org/doku.php?id=documentation:rel1.4:cg).
Basically, you need to export an ONE_AUTH variable with the username and
password of the OpenNebula admin user:
export ONE_AUTH="oneadmin:foobar"
The OpenNebula 1.4 API now requires that a password be sent with each
request and, for consistency with OpenNebula, Haizea takes this password
from the same location OpenNebula does (the ONE_AUTH environment variable)
However, I just realized that the Haizea documentation doesn't refer to
this; I will make sure to change this in the next release (a new beta is
coming out tomorrow). I'll also make sure that Haizea prints out a more
informative error message when it doesn't find the ONE_AUTH variable.
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