[Openstack-operators] How to force Heat to use v2.0 Keystone

Alvise Dorigo alvise.dorigo at pd.infn.it
Thu Feb 19 08:44:14 UTC 2015


simple answer: it seems to require python 2.7; and I cannot install it 
because I'm still on SL/CentOS 6.6...
So, no way to run Heat unfortunately :-(

     A.

On 02/19/2015 09:24 AM, Alvise Dorigo wrote:
> Hi Chris,
> I cannot find it in the SL6.6 repos nor in the EPEL-6:
>
> [root at controller-02 ~]# yum search python-oslo.utils
> Loaded plugins: security
> Warning: No matches found for: python-oslo.utils
> No Matches found
> [root at controller-02 ~]# cat /etc/issue
> Scientific Linux release 6.6 (Carbon)
> Kernel \r on an \m
>
> I could get it from here https://pypi.python.org/pypi/oslo.utils, but 
> I would prefer keep track of everything is installed by mean of the 
> usual rpm.
> Is there a place where I can get the packaged python-oslo.utils for 
> RHEL6 ?
>
> Thanks,
>
>     Alvise
>
> On 02/18/2015 06:06 PM, Chris Buccella wrote:
>> Do you have python-oslo.utils installed?
>>
>> On Wed, Feb 18, 2015 at 9:02 AM, Alvise Dorigo 
>> <alvise.dorigo at pd.infn.it <mailto:alvise.dorigo at pd.infn.it>> wrote:
>>
>>     Hi Jens,
>>     If the correct one is oslo_utils (instead of oslo.utils) then the
>>     related package is not found:
>>
>>     [root at controller-02 ~]# tail /var/log/heat/heat-engine.log
>>     [...]
>>     2015-02-18 14:56:29.978 5282 CRITICAL heat [-] ImportError: No
>>     module named oslo_utils
>>
>>     [root at controller-02 ~]# rpm -qa|grep oslo
>>     python-oslo-messaging-1.3.0.2-4.el6.noarch
>>     python-oslo-config-1.2.1-1.el6.noarch
>>     python-oslo-rootwrap-1.0.0-1.el6.noarch
>>     [root at controller-02 ~]# grep oslo
>>     /usr/lib/heat/heat_keystoneclient_v2/client.py
>>     from oslo.config import cfg
>>     from oslo_utils import importutils
>>     from oslo_log import log as logging
>>
>>
>>     Alvise
>>
>>
>>
>>     On 02/18/2015 02:15 PM, Dr. Jens Rosenboom wrote:
>>
>>         Am 18/02/15 um 10:27 schrieb Alvise Dorigo:
>>
>>             I had an error in the repository clone.
>>             Now I've successfully installed the plugin (python
>>             setup.py install).
>>
>>             The backend is correctly configured in the heat.conf:
>>
>>             [root at controller-02 ~]# grep keystone_backend
>>             /etc/heat/heat.conf
>>             #keystone_backend=heat.common.heat_keystoneclient.KeystoneClientV3
>>             keystone_backend=heat.engine.plugins.heat_keystoneclient_v2.client.KeystoneClientV2
>>
>>
>>
>>             as descibed in the README.md
>>
>>             But heat engine dies just after start:
>>
>>             [root at controller-02 ~]# tail /var/log/heat/heat-engine.log
>>             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.
>>             2015-02-18 10:23:31.018 27308 ERROR
>>             heat.common.plugin_loader [-] Failed
>>             to import module
>>             heat.engine.plugins.heat_keystoneclient_v2.client
>>             2015-02-18 10:23:31.019 27308 CRITICAL heat [-]
>>             ImportError: No module
>>             named utils
>>
>>             Any idea ?
>>
>>
>>         This looks to be related to the recent namespace changes, can
>>         you try this patch?
>>
>>         diff --git
>>         a/contrib/heat_keystoneclient_v2/heat_keystoneclient_v2/client.py
>>         b/contrib/heat_keystoneclient_v2/heat_keystoneclient_v2/client.py
>>         index 783231b..ad128ff 100644
>>         ---
>>         a/contrib/heat_keystoneclient_v2/heat_keystoneclient_v2/client.py
>>         +++
>>         b/contrib/heat_keystoneclient_v2/heat_keystoneclient_v2/client.py
>>         @@ -15,7 +15,7 @@
>>
>>          from keystoneclient.v2_0 import client as kc
>>          from oslo.config import cfg
>>         -from oslo.utils import importutils
>>         +from oslo_utils import importutils
>>          from oslo_log import log as logging
>>
>>          from heat.common import exception
>>
>>
>>
>>     _______________________________________________
>>     OpenStack-operators mailing list
>>     OpenStack-operators at lists.openstack.org
>>     <mailto:OpenStack-operators at lists.openstack.org>
>>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>
>>
>
>
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150219/c648f983/attachment.html>


More information about the OpenStack-operators mailing list