Use cinder.conf for auth_token configs.

Updates the cinder element so that we use the application config file
(cinder.conf) instead of the Cinder api-paste.ini config file.

Related-Bug: #1240753

Change-Id: I6636d33ee522757145ac97fc354324a8b9379700
This commit is contained in:
Dan Prince 2013-10-16 21:09:45 -04:00 committed by Chris Jones
parent e63751ae7c
commit c47f9bd196
2 changed files with 11 additions and 9 deletions

View File

@ -50,12 +50,3 @@ paste.filter_factory = cinder.api.middleware.auth:CinderKeystoneContext.factory
[filter:authtoken]
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
service_protocol = http
service_host = {{keystone.host}}
service_port = 5000
auth_host = {{keystone.host}}
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = cinder
admin_password = {{cinder.service-password}}

View File

@ -28,3 +28,14 @@ qpid_port = 5672
qpid_username = {{username}}
qpid_password = {{password}}
{{/qpid}}
[keystone_authtoken]
service_protocol = http
service_host = {{keystone.host}}
service_port = 5000
auth_host = {{keystone.host}}
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = cinder
admin_password = {{cinder.service-password}}