Make Cinder Auth Strategy configurable
Cinder supports both noauth and keystone auth mode. This patch adds cinder_auth_strategy variable to have abililty to configure Cinder's auth strategy Change-Id: I7454c9340aff06628aa438301106f2ae8897765c
This commit is contained in:
parent
5c72bbb582
commit
fe32f9f169
@ -137,6 +137,8 @@ cinder_service_v3_adminurl: "{{ cinder_service_adminuri }}/v3/%(tenant_id)s"
|
|||||||
cinder_service_v3_internaluri: "{{ cinder_service_internaluri_proto }}://{{ internal_lb_vip_address }}:{{ cinder_service_port }}"
|
cinder_service_v3_internaluri: "{{ cinder_service_internaluri_proto }}://{{ internal_lb_vip_address }}:{{ cinder_service_port }}"
|
||||||
cinder_service_v3_internalurl: "{{ cinder_service_internaluri }}/v3/%(tenant_id)s"
|
cinder_service_v3_internalurl: "{{ cinder_service_internaluri }}/v3/%(tenant_id)s"
|
||||||
|
|
||||||
|
cinder_auth_strategy: keystone
|
||||||
|
|
||||||
## Keystone authentication middleware
|
## Keystone authentication middleware
|
||||||
cinder_keystone_auth_plugin: "{{ cinder_keystone_auth_type }}"
|
cinder_keystone_auth_plugin: "{{ cinder_keystone_auth_type }}"
|
||||||
cinder_keystone_auth_type: password
|
cinder_keystone_auth_type: password
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Added ``cinder_auth_strategy`` variable to configure Cinder's auth
|
||||||
|
strategy since Cinder can work in noauth mode as well.
|
@ -11,7 +11,7 @@ osapi_volume_workers = {{ cinder_osapi_volume_workers }}
|
|||||||
|
|
||||||
rootwrap_config = /etc/cinder/rootwrap.conf
|
rootwrap_config = /etc/cinder/rootwrap.conf
|
||||||
api_paste_config = /etc/cinder/api-paste.ini
|
api_paste_config = /etc/cinder/api-paste.ini
|
||||||
auth_strategy = keystone
|
auth_strategy = {{ cinder_auth_strategy }}
|
||||||
|
|
||||||
## Cinder API's enabled
|
## Cinder API's enabled
|
||||||
enable_v1_api = {{ cinder_enable_v1_api }}
|
enable_v1_api = {{ cinder_enable_v1_api }}
|
||||||
|
Loading…
Reference in New Issue
Block a user