The pipeline fileter in the api-paste.ini for the keystone
middleware was renamed to 'authtoken'. Trove install is not
able to authenticate against keystone unless this is renamed
Change-Id: I6f912d29c143b3acbc43da222cf8b4c3fafb2c8d
| ... | ... |
@@ -129,14 +129,14 @@ function configure_trove() {
|
| 129 | 129 |
# Copy api-paste file over to the trove conf dir and configure it |
| 130 | 130 |
cp $TROVE_LOCAL_CONF_DIR/api-paste.ini $TROVE_CONF_DIR/api-paste.ini |
| 131 | 131 |
TROVE_API_PASTE_INI=$TROVE_CONF_DIR/api-paste.ini |
| 132 |
- iniset $TROVE_API_PASTE_INI filter:tokenauth auth_host $KEYSTONE_AUTH_HOST |
|
| 133 |
- iniset $TROVE_API_PASTE_INI filter:tokenauth auth_port $KEYSTONE_AUTH_PORT |
|
| 134 |
- iniset $TROVE_API_PASTE_INI filter:tokenauth auth_protocol $KEYSTONE_AUTH_PROTOCOL |
|
| 135 |
- iniset $TROVE_API_PASTE_INI filter:tokenauth cafile $KEYSTONE_SSL_CA |
|
| 136 |
- iniset $TROVE_API_PASTE_INI filter:tokenauth admin_tenant_name $SERVICE_TENANT_NAME |
|
| 137 |
- iniset $TROVE_API_PASTE_INI filter:tokenauth admin_user trove |
|
| 138 |
- iniset $TROVE_API_PASTE_INI filter:tokenauth admin_password $SERVICE_PASSWORD |
|
| 139 |
- iniset $TROVE_API_PASTE_INI filter:tokenauth signing_dir $TROVE_AUTH_CACHE_DIR |
|
| 132 |
+ iniset $TROVE_API_PASTE_INI filter:authtoken auth_host $KEYSTONE_AUTH_HOST |
|
| 133 |
+ iniset $TROVE_API_PASTE_INI filter:authtoken auth_port $KEYSTONE_AUTH_PORT |
|
| 134 |
+ iniset $TROVE_API_PASTE_INI filter:authtoken auth_protocol $KEYSTONE_AUTH_PROTOCOL |
|
| 135 |
+ iniset $TROVE_API_PASTE_INI filter:authtoken cafile $KEYSTONE_SSL_CA |
|
| 136 |
+ iniset $TROVE_API_PASTE_INI filter:authtoken admin_tenant_name $SERVICE_TENANT_NAME |
|
| 137 |
+ iniset $TROVE_API_PASTE_INI filter:authtoken admin_user trove |
|
| 138 |
+ iniset $TROVE_API_PASTE_INI filter:authtoken admin_password $SERVICE_PASSWORD |
|
| 139 |
+ iniset $TROVE_API_PASTE_INI filter:authtoken signing_dir $TROVE_AUTH_CACHE_DIR |
|
| 140 | 140 |
|
| 141 | 141 |
# (Re)create trove conf files |
| 142 | 142 |
rm -f $TROVE_CONF_DIR/trove.conf |