<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
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>
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
"instance_user" option in heat.conf is deprecated and will be
removed in the Juno release.<br>
2015-02-18 10:23:31.018 27308 ERROR heat.common.plugin_loader [-]
Failed to import module
heat.engine.plugins.heat_keystoneclient_v2.client<br>
2015-02-18 10:23:31.019 27308 CRITICAL heat [-] ImportError: No
module named utils<br>
<br>
Any idea ?<br>
<br>
Alvise<br>
<br>
<div class="moz-cite-prefix">On 02/18/2015 09:06 AM, Alvise Dorigo
wrote:<br>
</div>
<blockquote cite="mid:54E4481E.3010408@pd.infn.it" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Hi Chris,<br>
provided that I'm not a great expert of python, I tried to install
it without success:<br>
<br>
[root@controller-01 heat]# ls -l<br>
total 16<br>
drwxr-xr-x 2 root root 4096 Feb 18 09:00 heat_keystoneclient_v2<br>
-rw-r--r-- 1 root root 801 Feb 18 08:58 README.md<br>
-rw-r--r-- 1 root root 789 Feb 18 08:59 setup.cfg<br>
-rw-r--r-- 1 root root 1045 Feb 18 08:59 setup.py<br>
[root@controller-01 heat]# python ./setup.py install<br>
error in setup command: Error parsing /root/heat/setup.cfg:
Exception: Versioning for this project requires either an sdist
tarball, or access to an upstream git repository. Are you sure
that git is installed?<br>
[root@controller-01 heat]# git --version<br>
git version 1.7.1<br>
<br>
<br>
Do you suggest to simply substitute the "stock" heat file with the
new one heat_keystoneclient_v2/client.py ?<br>
<br>
Is this,
/usr/lib/python2.6/site-packages/heat/common/heat_keystoneclient.py,
the stock file, isn't it ?<br>
<br>
thanks,<br>
<br>
Alvise<br>
<br>
<br>
<div class="moz-cite-prefix">On 02/17/2015 07:46 PM, Chris
Buccella wrote:<br>
</div>
<blockquote
cite="mid:CAO7ZK0aW1GgNeRqx+LoYKrXG+GiLbpuegf9mjOGEGz0voFmC2A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>For Icehouse and Juno, you'll want to use the Keystone v2
plugin for heat:<br>
<br>
<a moz-do-not-send="true"
href="https://git.openstack.org/cgit/openstack/heat/tree/contrib/heat_keystoneclient_v2">https://git.openstack.org/cgit/openstack/heat/tree/contrib/heat_keystoneclient_v2</a><br>
<br>
<br>
</div>
-Chris<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Feb 17, 2015 at 10:51 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
Christian; here the info you've requested:<br>
<br>
[root@controller-01 ~]# grep auth_uri /etc/heat/heat.conf
/etc/glance/glance-api.conf<br>
/etc/heat/heat.conf:# Allowed keystone endpoints for
auth_uri when multi_cloud is<br>
/etc/heat/heat.conf:#allowed_auth_uris=<br>
/etc/heat/heat.conf:auth_uri = <a moz-do-not-send="true"
href="https://cloud-areapd-test.pd.infn.it:5000/v2.0"
target="_blank">https://cloud-areapd-test.pd.infn.it:5000/v2.0</a><br>
/etc/heat/heat.conf:#auth_uri=<a moz-do-not-send="true"
href="http://127.0.0.1:5000/v2.0" target="_blank">http://127.0.0.1:5000/v2.0</a><br>
/etc/heat/heat.conf:# Allowed keystone endpoints for
auth_uri when multi_cloud is<br>
/etc/heat/heat.conf:#allowed_auth_uris=<br>
/etc/heat/heat.conf:auth_uri = <a moz-do-not-send="true"
href="https://cloud-areapd-test.pd.infn.it:5000/v2.0"
target="_blank">https://cloud-areapd-test.pd.infn.it:5000/v2.0</a><br>
/etc/heat/heat.conf:#auth_uri=<None><br>
/etc/glance/glance-api.conf:auth_uri = <a
moz-do-not-send="true"
href="https://cloud-areapd-test.pd.infn.it:35357/v2.0"
target="_blank">https://cloud-areapd-test.pd.infn.it:35357/v2.0</a><br>
<br>
is the problem in the TCP port mismatch ?<span
class="HOEnZb"><font color="#888888"><br>
<br>
A.</font></span>
<div class="HOEnZb">
<div class="h5"><br>
<br>
On 02/17/2015 04:38 PM, Christian Berendt wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
On 02/17/2015 04:11 PM, Alvise Dorigo wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
[dorigoa@lxadorigo ~]$ heat -k stack-create -f
test-stack.yml -P<br>
"ImageID=cirros;NetID=$NET_ID" testStac<br>
ERROR: Property error : server1: image
Authorization failed: SSL<br>
exception connecting to<br>
<a moz-do-not-send="true"
href="https://cloud-areapd-test.pd.infn.it:5000/v3/auth/tokens"
target="_blank">https://cloud-areapd-test.pd.infn.it:5000/v3/auth/tokens</a><br>
</blockquote>
What value do you have for the auth_uri parameter in
the<br>
/etc/heat/heat.conf file? Same for the
/etc/glance/glance-api.conf file.<br>
<br>
Christian.<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>
</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>