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.
Partial-Bug: #1255556
Change-Id: Id9aab356b36b2150312324a0349d120bbbbd4e63
(cherry picked from commit 355fc866833e0bd83796da1c45e4f94b58d5f500)
| ... | ... |
@@ -121,6 +121,8 @@ function configure_glance() {
|
| 121 | 121 |
iniset $GLANCE_API_CONF DEFAULT swift_store_user $SERVICE_TENANT_NAME:glance |
| 122 | 122 |
iniset $GLANCE_API_CONF DEFAULT swift_store_key $SERVICE_PASSWORD |
| 123 | 123 |
iniset $GLANCE_API_CONF DEFAULT swift_store_create_container_on_put True |
| 124 |
+ |
|
| 125 |
+ iniset $GLANCE_API_CONF DEFAULT known_stores "glance.store.filesystem.Store, glance.store.http.Store, glance.store.swift.Store" |
|
| 124 | 126 |
fi |
| 125 | 127 |
|
| 126 | 128 |
cp -p $GLANCE_DIR/etc/glance-registry-paste.ini $GLANCE_REGISTRY_PASTE_INI |