Devstack currently relies on the default value of the `known_stores`
configuration option. This patch enables explicitly the default stores
used by devstack.
The real fix for the issue below will land in Glance. However, since the
default stores will be FS and HTTP we need devstack to enable Swift's as
well, which is required in the gates, hence this patch.
Partially-fixes: #1255556
Change-Id: Id9aab356b36b2150312324a0349d120bbbbd4e63
| ... | ... |
@@ -124,6 +124,8 @@ function configure_glance() {
|
| 124 | 124 |
iniset $GLANCE_API_CONF DEFAULT swift_store_user $SERVICE_TENANT_NAME:glance |
| 125 | 125 |
iniset $GLANCE_API_CONF DEFAULT swift_store_key $SERVICE_PASSWORD |
| 126 | 126 |
iniset $GLANCE_API_CONF DEFAULT swift_store_create_container_on_put True |
| 127 |
+ |
|
| 128 |
+ iniset_multiline DEFAULT known_stores glance.store.filesystem.Store glance.store.http.Store glance.store.swift.Store |
|
| 127 | 129 |
fi |
| 128 | 130 |
|
| 129 | 131 |
cp -p $GLANCE_DIR/etc/glance-registry-paste.ini $GLANCE_REGISTRY_PASTE_INI |