Deprecate auth_plugin option

Option "auth_plugin" is deprecated, use option "auth_type" instead.

Change-Id: I77f5757a4d12c8320702bcf3685c5de7417ceda6
Implements: blueprint deprecate-auth-plugin
This commit is contained in:
ZhongShengping 2017-03-22 11:25:35 +08:00
parent 6bb0c94acc
commit 6a55fccd31
3 changed files with 8 additions and 2 deletions

View File

@ -126,7 +126,8 @@ trove_rabbitmq_port: 5672
trove_rabbitmq_servers: "{{ rabbitmq_servers }}"
# Keystone AuthToken/Middleware
trove_keystone_auth_plugin: password
trove_keystone_auth_plugin: "{{ trove_keystone_auth_type }}"
trove_keystone_auth_type: password
trove_service_project_domain_name: Default
trove_service_user_domain_name: default
trove_service_project_domain_id: default

View File

@ -0,0 +1,5 @@
---
deprecations:
- The ``trove_keystone_auth_plugin`` variable has been deprecated.
``trove_keystone_auth_type`` should be used instead to configure
authentication type.

View File

@ -76,7 +76,7 @@ api_paste_config = api-paste.ini
[keystone_authtoken]
insecure = {{ keystone_service_internaluri_insecure | bool }}
auth_plugin = {{ trove_keystone_auth_plugin }}
auth_type = {{ trove_keystone_auth_plugin }}
auth_url = {{ keystone_service_adminuri }}
auth_uri = {{ keystone_service_internaluri }}
project_domain_id = {{ trove_service_project_domain_id }}