Configure Swift dispersion tools to use Keystone v3

Change-Id: I6c5b318a9b08ad66dfcaf476df25018152ef577c
Closes-Bug: #1544425
This commit is contained in:
Travis Truman 2016-03-03 09:32:01 -05:00
parent afcf86c50f
commit fa3b7d1079
2 changed files with 8 additions and 4 deletions

View File

@ -85,6 +85,7 @@ swift_service_name: swift
swift_service_user_name: swift swift_service_user_name: swift
swift_service_project_name: service swift_service_project_name: service
swift_service_project_domain_id: "default" swift_service_project_domain_id: "default"
swift_service_project_domain_name: "Default"
swift_service_user_domain_id: "default" swift_service_user_domain_id: "default"
swift_service_role_name: "admin" swift_service_role_name: "admin"
swift_service_type: object-store swift_service_type: object-store
@ -109,8 +110,9 @@ statsd_metric_prefix:
## Keystone authentication middleware ## Keystone authentication middleware
swift_keystone_auth_plugin: "password" swift_keystone_auth_plugin: "password"
## Swift default variables
swift_dispersion_user: dispersion swift_dispersion_user: dispersion
swift_dispersion_user_domain_name: "Default"
swift_operator_role: swiftoperator swift_operator_role: swiftoperator
swift_allow_versions: True swift_allow_versions: True
# This will allow all users to create containers and upload to swift if set to True # This will allow all users to create containers and upload to swift if set to True

View File

@ -2,8 +2,10 @@
[dispersion] [dispersion]
auth_url = {{ keystone_service_internalurl }} auth_url = {{ keystone_service_internalurl }}
auth_user = {{ swift_service_project_name }}:{{ swift_dispersion_user }} auth_user = {{ swift_dispersion_user }}
auth_key = {{ swift_dispersion_password }} auth_key = {{ swift_dispersion_password }}
auth_version = 2.0 auth_version = 3.0
keystone_api_insecure = {{ keystone_service_internaluri_insecure | bool }} user_domain_name = {{ swift_dispersion_user_domain_name }}
project_domain_name = {{ swift_service_project_domain_name }}
project_name = {{ swift_service_project_name }}
endpoint_type = internalURL endpoint_type = internalURL