<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
simple answer: it seems to require python 2.7; and I cannot install
it because I'm still on SL/CentOS 6.6...<br>
So, no way to run Heat unfortunately :-(<br>
<br>
A.<br>
<br>
<div class="moz-cite-prefix">On 02/19/2015 09:24 AM, Alvise Dorigo
wrote:<br>
</div>
<blockquote cite="mid:54E59DAF.10705@pd.infn.it" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Hi Chris,<br>
I cannot find it in the SL6.6 repos nor in the EPEL-6:<br>
<br>
[root@controller-02 ~]# yum search python-oslo.utils<br>
Loaded plugins: security<br>
Warning: No matches found for: python-oslo.utils<br>
No Matches found<br>
[root@controller-02 ~]# cat /etc/issue<br>
Scientific Linux release 6.6 (Carbon)<br>
Kernel \r on an \m<br>
<br>
I could get it from here
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<a moz-do-not-send="true"
href="https://pypi.python.org/pypi/oslo.utils">https://pypi.python.org/pypi/oslo.utils</a>,
but I would prefer keep track of everything is installed by mean
of the usual rpm.<br>
Is there a place where I can get the packaged python-oslo.utils
for RHEL6 ?<br>
<br>
Thanks,<br>
<br>
Alvise<br>
<br>
<div class="moz-cite-prefix">On 02/18/2015 06:06 PM, Chris
Buccella wrote:<br>
</div>
<blockquote
cite="mid:CAO7ZK0aWoAUBxU3=PRd0nQXH7Ab70099ZNa+zRiassgxsuGRow@mail.gmail.com"
type="cite">
<div dir="ltr">Do you have python-oslo.utils installed?<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Feb 18, 2015 at 9:02 AM,
Alvise Dorigo <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:alvise.dorigo@pd.infn.it" target="_blank">alvise.dorigo@pd.infn.it</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jens,<br>
If the correct one is oslo_utils (instead of oslo.utils)
then the related package is not found:<span class=""><br>
<br>
[root@controller-02 ~]# tail
/var/log/heat/heat-engine.log<br>
</span> [...]<br>
2015-02-18 14:56:29.978 5282 CRITICAL heat [-]
ImportError: No module named oslo_utils<br>
<br>
[root@controller-02 ~]# rpm -qa|grep oslo<br>
python-oslo-messaging-1.3.0.2-4.el6.noarch<br>
python-oslo-config-1.2.1-1.el6.noarch<br>
python-oslo-rootwrap-1.0.0-1.el6.noarch<br>
[root@controller-02 ~]# grep oslo
/usr/lib/heat/heat_keystoneclient_v2/client.py<br>
from oslo.config import cfg<span class="im HOEnZb"><br>
from oslo_utils import importutils<br>
from oslo_log import log as logging<br>
<br>
<br>
</span><span class="HOEnZb"><font color="#888888">
Alvise</font></span>
<div class="HOEnZb">
<div class="h5"><br>
<br>
<br>
On 02/18/2015 02:15 PM, Dr. Jens Rosenboom wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Am 18/02/15 um 10:27 schrieb Alvise Dorigo:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
I had an error in the repository clone.<br>
Now I've successfully installed the plugin (python
setup.py install).<br>
<br>
The backend is correctly configured in the
heat.conf:<br>
<br>
[root@controller-02 ~]# grep keystone_backend
/etc/heat/heat.conf<br>
#keystone_backend=heat.common.heat_keystoneclient.KeystoneClientV3<br>
keystone_backend=heat.engine.plugins.heat_keystoneclient_v2.client.KeystoneClientV2
<br>
<br>
<br>
as descibed in the README.md<br>
<br>
But heat engine dies just after start:<br>
<br>
[root@controller-02 ~]# tail
/var/log/heat/heat-engine.log<br>
2015-02-18 10:23:30.513 27308 WARNING
heat.common.config [-] The<br>
"instance_user" option in heat.conf is deprecated
and will be removed in<br>
the Juno release.<br>
2015-02-18 10:23:31.018 27308 ERROR
heat.common.plugin_loader [-] Failed<br>
to import module
heat.engine.plugins.heat_keystoneclient_v2.client<br>
2015-02-18 10:23:31.019 27308 CRITICAL heat [-]
ImportError: No module<br>
named utils<br>
<br>
Any idea ?<br>
</blockquote>
<br>
This looks to be related to the recent namespace
changes, can you try this patch?<br>
<br>
diff --git
a/contrib/heat_keystoneclient_v2/heat_keystoneclient_v2/client.py
b/contrib/heat_keystoneclient_v2/heat_keystoneclient_v2/client.py<br>
index 783231b..ad128ff 100644<br>
---
a/contrib/heat_keystoneclient_v2/heat_keystoneclient_v2/client.py<br>
+++
b/contrib/heat_keystoneclient_v2/heat_keystoneclient_v2/client.py<br>
@@ -15,7 +15,7 @@<br>
<br>
from keystoneclient.v2_0 import client as kc<br>
from oslo.config import cfg<br>
-from oslo.utils import importutils<br>
+from oslo_utils import importutils<br>
from oslo_log import log as logging<br>
<br>
from heat.common import exception<br>
<br>
</blockquote>
<br>
<br>
_______________________________________________<br>
OpenStack-operators mailing list<br>
<a moz-do-not-send="true"
href="mailto:OpenStack-operators@lists.openstack.org"
target="_blank">OpenStack-operators@lists.openstack.org</a><br>
<a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators"
target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OpenStack-operators mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a>
</pre>
</blockquote>
<br>
</body>
</html>