heat/contrib/heat_keystoneclient_v2/README.md
Anderson Mesquita dc8d98dc6e Add Keystone V2 plugin
This adds the previous Keystone V2 client to be used as a plugin by
clouds that have not upgraded to V3 yet.  This replacement also raises
NotSupported exceptions in methods that are V3 only.

Co-Authored-By: Richard Lee <rblee88@gmail.com>
Closes-Bug: #1274201
Change-Id: I97d3fe7e5ff52250c699c9b470d114e53888ef15
2014-03-03 15:22:43 -06:00

905 B

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. In heat.conf, add the path to the heat_keystoneclient_v2 root directory to plugin_dirs. e.g.: plugin_dirs=path/to/heat/contrib/heat_keystoneclient_v2

  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.