| ... | ... |
@@ -30,10 +30,6 @@ glance.filter_factory = glance.common.context:ContextMiddleware |
| 30 | 30 |
|
| 31 | 31 |
[filter:authtoken] |
| 32 | 32 |
paste.filter_factory = keystone.middleware.auth_token:filter_factory |
| 33 |
-# FIXME(dtroyer): remove these service_* entries after auth_token is updated |
|
| 34 |
-service_host = %KEYSTONE_SERVICE_HOST% |
|
| 35 |
-service_port = %KEYSTONE_SERVICE_PORT% |
|
| 36 |
-service_protocol = %KEYSTONE_SERVICE_PROTOCOL% |
|
| 37 | 33 |
auth_host = %KEYSTONE_AUTH_HOST% |
| 38 | 34 |
auth_port = %KEYSTONE_AUTH_PORT% |
| 39 | 35 |
auth_protocol = %KEYSTONE_AUTH_PROTOCOL% |
| ... | ... |
@@ -14,10 +14,6 @@ glance.filter_factory = glance.common.context:ContextMiddleware |
| 14 | 14 |
|
| 15 | 15 |
[filter:authtoken] |
| 16 | 16 |
paste.filter_factory = keystone.middleware.auth_token:filter_factory |
| 17 |
-# FIXME(dtroyer): remove these service_* entries after auth_token is updated |
|
| 18 |
-service_host = %KEYSTONE_SERVICE_HOST% |
|
| 19 |
-service_port = %KEYSTONE_SERVICE_PORT% |
|
| 20 |
-service_protocol = %KEYSTONE_SERVICE_PROTOCOL% |
|
| 21 | 17 |
auth_host = %KEYSTONE_AUTH_HOST% |
| 22 | 18 |
auth_port = %KEYSTONE_AUTH_PORT% |
| 23 | 19 |
auth_protocol = %KEYSTONE_AUTH_PROTOCOL% |
| ... | ... |
@@ -19,6 +19,8 @@ account_autocreate = true |
| 19 | 19 |
paste.filter_factory = keystone.middleware.swift_auth:filter_factory |
| 20 | 20 |
operator_roles = Member,admin |
| 21 | 21 |
|
| 22 |
+# NOTE(chmou): s3token middleware is not updated yet to use only |
|
| 23 |
+# username and password. |
|
| 22 | 24 |
[filter:s3token] |
| 23 | 25 |
paste.filter_factory = keystone.middleware.s3_token:filter_factory |
| 24 | 26 |
service_port = %KEYSTONE_SERVICE_PORT% |
| ... | ... |
@@ -29,21 +31,15 @@ auth_protocol = %KEYSTONE_AUTH_PROTOCOL% |
| 29 | 29 |
auth_token = %SERVICE_TOKEN% |
| 30 | 30 |
admin_token = %SERVICE_TOKEN% |
| 31 | 31 |
|
| 32 |
-[filter:tokenauth] |
|
| 32 |
+[filter:authtoken] |
|
| 33 | 33 |
paste.filter_factory = keystone.middleware.auth_token:filter_factory |
| 34 |
-# FIXME(dtroyer): remove these service_* entries after auth_token is updated |
|
| 35 |
-service_port = %KEYSTONE_SERVICE_PORT% |
|
| 36 |
-service_host = %KEYSTONE_SERVICE_HOST% |
|
| 37 |
-auth_port = %KEYSTONE_AUTH_PORT% |
|
| 38 | 34 |
auth_host = %KEYSTONE_AUTH_HOST% |
| 35 |
+auth_port = %KEYSTONE_AUTH_PORT% |
|
| 39 | 36 |
auth_protocol = %KEYSTONE_AUTH_PROTOCOL% |
| 40 |
-auth_token = %SERVICE_TOKEN% |
|
| 41 |
-# FIXME(dtroyer): remove admin_token after auth_token is updated |
|
| 42 |
-admin_token = %SERVICE_TOKEN% |
|
| 37 |
+auth_uri = %KEYSTONE_SERVICE_PROTOCOL%://%KEYSTONE_SERVICE_HOST%:%KEYSTONE_SERVICE_PORT%/ |
|
| 43 | 38 |
admin_tenant_name = %SERVICE_TENANT_NAME% |
| 44 | 39 |
admin_user = %SERVICE_USERNAME% |
| 45 | 40 |
admin_password = %SERVICE_PASSWORD% |
| 46 |
-cache = swift.cache |
|
| 47 | 41 |
|
| 48 | 42 |
[filter:swift3] |
| 49 | 43 |
use = egg:swift#swift3 |
| ... | ... |
@@ -1078,7 +1078,7 @@ if is_service_enabled swift; then |
| 1078 | 1078 |
# which has some default username and password if you have |
| 1079 | 1079 |
# configured keystone it will checkout the directory. |
| 1080 | 1080 |
if is_service_enabled key; then |
| 1081 |
- swift_auth_server="s3token tokenauth keystone" |
|
| 1081 |
+ swift_auth_server="s3token authtoken keystone" |
|
| 1082 | 1082 |
else |
| 1083 | 1083 |
swift_auth_server=tempauth |
| 1084 | 1084 |
fi |
| ... | ... |
@@ -1091,6 +1091,7 @@ if is_service_enabled swift; then |
| 1091 | 1091 |
s,%SERVICE_TENANT_NAME%,$SERVICE_TENANT_NAME,g; |
| 1092 | 1092 |
s,%SERVICE_USERNAME%,swift,g; |
| 1093 | 1093 |
s,%SERVICE_PASSWORD%,$SERVICE_PASSWORD,g; |
| 1094 |
+ s,%KEYSTONE_SERVICE_PROTOCOL%,$KEYSTONE_SERVICE_PROTOCOL,g; |
|
| 1094 | 1095 |
s,%SERVICE_TOKEN%,${SERVICE_TOKEN},g;
|
| 1095 | 1096 |
s,%KEYSTONE_SERVICE_PORT%,${KEYSTONE_SERVICE_PORT},g;
|
| 1096 | 1097 |
s,%KEYSTONE_SERVICE_HOST%,${KEYSTONE_SERVICE_HOST},g;
|