From 355fc866833e0bd83796da1c45e4f94b58d5f500 Mon Sep 17 00:00:00 2001 From: Flavio Percoco Date: Fri, 29 Nov 2013 14:27:35 +0100 Subject: [PATCH] Explicily enable the stores used by devstack 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 --- lib/glance | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/glance b/lib/glance index 2e29a8f77c..b278796d21 100644 --- a/lib/glance +++ b/lib/glance @@ -124,6 +124,8 @@ function configure_glance() { iniset $GLANCE_API_CONF DEFAULT swift_store_user $SERVICE_TENANT_NAME:glance iniset $GLANCE_API_CONF DEFAULT swift_store_key $SERVICE_PASSWORD iniset $GLANCE_API_CONF DEFAULT swift_store_create_container_on_put True + + iniset_multiline DEFAULT known_stores glance.store.filesystem.Store glance.store.http.Store glance.store.swift.Store fi cp -p $GLANCE_DIR/etc/glance-registry-paste.ini $GLANCE_REGISTRY_PASTE_INI