summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-glance
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2014-05-07 00:14:10 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-05-07 00:14:10 -0400
commit7b1c8e1d5d37ce4a88ca90ff949fe86ff0d45315 (patch)
tree1bf84f236fa4f8d6645f99e11a85f11d7da48406 /meta-openstack/recipes-devtools/python/python-glance
parent3e625d7fc1342a4c02d7d5c6e7797fe89fce5983 (diff)
downloadmeta-cloud-services-7b1c8e1d5d37ce4a88ca90ff949fe86ff0d45315.tar.gz
glance: update to stable/icehouse
Updating glance to the icehouse release. Changes include: - patch glance to not load ALL backend modules, only the ones defined in the glance configuration. Without this patch, we must have support for all backends, even if we don't use them. To avoid including support for unused backends .. we prefer to only load used ones. - Add a variable GLANCE_KNOWN_STORES to the recipe, which will be copied into the glance configuration to enable the loading of supported options (as modifed by the first patch). - Change "sql_connection" to the new "connection" directive - Change the "notifier_strategy" to the new "notification_driver" Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-glance')
-rw-r--r--meta-openstack/recipes-devtools/python/python-glance/0001-glance-store-only-load-known-stores-not-all-stores.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-glance/0001-glance-store-only-load-known-stores-not-all-stores.patch b/meta-openstack/recipes-devtools/python/python-glance/0001-glance-store-only-load-known-stores-not-all-stores.patch
new file mode 100644
index 0000000..080f6ed
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-glance/0001-glance-store-only-load-known-stores-not-all-stores.patch
@@ -0,0 +1,30 @@
1From 929b981a5970082980dcda7ad531ab7f2fb71577 Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@windriver.com>
3Date: Wed, 30 Apr 2014 23:54:30 -0400
4Subject: [PATCH] glance/store: only load known stores, not all stores
5
6To avoid the import of modules and support for unnecessary storage options,
7we only load the store modules that are specified as known_stores in the
8glance-api.conf.
9
10Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
11---
12 glance/store/__init__.py | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/glance/store/__init__.py b/glance/store/__init__.py
16index 33a67d626d37..0fdedcfe3c86 100644
17--- a/glance/store/__init__.py
18+++ b/glance/store/__init__.py
19@@ -181,7 +181,7 @@ def create_stores():
20 """
21 store_count = 0
22 store_classes = set()
23- for store_entry in set(CONF.known_stores + _ALL_STORES):
24+ for store_entry in set(CONF.known_stores):
25 store_entry = store_entry.strip()
26 if not store_entry:
27 continue
28--
291.7.10.4
30