dc8d98dc6e
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
905 B
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
-
In
heat.conf
, add the path to theheat_keystoneclient_v2
root directory toplugin_dirs
. e.g.:plugin_dirs=path/to/heat/contrib/heat_keystoneclient_v2
-
Set the
keystone_backend
option toheat.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
.