Deprecate auth_plugin option

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

Change-Id: Ia64b2f548161745e4ec75197c67119fbfedd69a0
Implements: blueprint deprecate-auth-plugin
This commit is contained in:
ZhongShengping 2017-03-22 11:05:03 +08:00
parent a88589b47a
commit b0e5eb6e27
3 changed files with 8 additions and 2 deletions

View File

@ -136,7 +136,8 @@ cinder_service_v3_internaluri: "{{ cinder_service_internaluri_proto }}://{{ inte
cinder_service_v3_internalurl: "{{ cinder_service_internaluri }}/v3/%(tenant_id)s"
## Keystone authentication middleware
cinder_keystone_auth_plugin: password
cinder_keystone_auth_plugin: "{{ cinder_keystone_auth_type }}"
cinder_keystone_auth_type: password
## In order to enable the cinder backup you MUST set ``cinder_service_backup_program_enabled`` to "true"
cinder_service_backup_program_enabled: false

View File

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

View File

@ -134,7 +134,7 @@ api_class = castellan.key_manager.barbican_key_manager.BarbicanKeyManager
[keystone_authtoken]
insecure = {{ keystone_service_internaluri_insecure | bool }}
auth_plugin = {{ cinder_keystone_auth_plugin }}
auth_type = {{ cinder_keystone_auth_plugin }}
auth_url = {{ keystone_service_adminurl }}
auth_uri = {{ keystone_service_internaluri }}
project_domain_id = {{ cinder_service_project_domain_id }}