heat/contrib/heat_keystoneclient_v2
liu-sheng 7a786674f7 Log translation hint for Heat.contrib
Currently, Log translation is motivated by oslo's move to prioritized
translation of strings, as documented at
https://wiki.openstack.org/wiki/LoggingStandards#Log_Translation

- add log translation hints for warning, error and info levels
- move from LOG.warning to LOG.warn
- remove use of % as a string formatter, use the log functionality
  instead

Partial implements blueprint log-translation-hints

Change-Id: I8dbb5430507283038939b5665d67615c46b1f72e
2014-10-15 10:25:50 +08:00
..
heat_keystoneclient_v2 Log translation hint for Heat.contrib 2014-10-15 10:25:50 +08:00
README.md Use setuptools to install contrib plugins 2014-08-13 20:12:29 -05:00
setup.cfg Use setuptools to install contrib plugins 2014-08-13 20:12:29 -05:00
setup.py Use setuptools to install contrib plugins 2014-08-13 20:12:29 -05:00

README.md

Heat Keystone V2

This plugin is a Keystone V2 compatible client. It can be used to replace the default client for clouds running older versions of Keystone.

Some forward compatibility decisions had to be made:

  • Stack domain users are created as users on the stack owner's tenant rather than the stack's domain
  • Trusts are not supported

Installation

  1. From this directory run: sudo python ./setup.py install

  2. Set the keystone_backend option to heat.engine.plugins.heat_keystoneclient_v2.client.KeystoneClientV2

How it works

By setting the keystone_backend option, the KeystoneBackend class in heat/common/heat_keystoneclient.py will instantiate the plugin KeystoneClientV2 class and use that instead of the default client in heat/common/heat_keystoneclient.py.