<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 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-<u></u>4.el6.noarch<br>
python-oslo-config-1.2.1-1.<u></u>el6.noarch<br>
python-oslo-rootwrap-1.0.0-1.<u></u>el6.noarch<br>
[root@controller-02 ~]# grep oslo /usr/lib/heat/heat_<u></u>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.<u></u>heat_keystoneclient.<u></u>KeystoneClientV3<br>
keystone_backend=heat.engine.<u></u>plugins.heat_keystoneclient_<u></u>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_<u></u>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_<u></u>v2/heat_keystoneclient_v2/<u></u>client.py b/contrib/heat_keystoneclient_<u></u>v2/heat_keystoneclient_v2/<u></u>client.py<br>
index 783231b..ad128ff 100644<br>
--- a/contrib/heat_keystoneclient_<u></u>v2/heat_keystoneclient_v2/<u></u>client.py<br>
+++ b/contrib/heat_keystoneclient_<u></u>v2/heat_keystoneclient_v2/<u></u>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>
______________________________<u></u>_________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.<u></u>openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-operators</a><br>
</div></div></blockquote></div><br></div>