summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhishek Kekane <akekane@redhat.com>2018-09-18 09:34:40 +0000
committerAbhishek Kekane <akekane@redhat.com>2018-09-18 10:20:43 +0000
commite8a0ba0fc7671b32a9ec89eb6386a3680a7413e2 (patch)
tree28266581fceed60e557ba2367333c91759761054
parent35a4897925497e0d0c0f76dcbcfdca53b5bb8c8c (diff)
Provision to add new config options in sample config file
In Rocky we have added support for multiple backend as a EXPERIMENTAL feature. However configuration options related to multiple backend are not generated in sample config file due to some issue. We have added below 2 new config options for multiple backend. 1. enabled_backneds (added in glance) 2. default_backend (added in glance_store) Made provision to add all the above options to sample config file. Depends-On: https://review.openstack.org/#/c/603331/ Change-Id: Iff3db9fe31243e5b9610742c796fdca84c698bcf Closes-Bug: #1793057
Notes
Notes (review): Code-Review+2: Sean McGinnis <sean.mcginnis@gmail.com> Code-Review+2: Brian Rosmaita <rosmaita.fossdev@gmail.com> Workflow+1: Brian Rosmaita <rosmaita.fossdev@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 20 Nov 2018 06:14:01 +0000 Reviewed-on: https://review.openstack.org/603351 Project: openstack/glance Branch: refs/heads/master
-rw-r--r--etc/oslo-config-generator/glance-api.conf1
-rw-r--r--glance/opts.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/etc/oslo-config-generator/glance-api.conf b/etc/oslo-config-generator/glance-api.conf
index 31bdbaa..324a14e 100644
--- a/etc/oslo-config-generator/glance-api.conf
+++ b/etc/oslo-config-generator/glance-api.conf
@@ -3,6 +3,7 @@ wrap_width = 80
3output_file = etc/glance-api.conf.sample 3output_file = etc/glance-api.conf.sample
4namespace = glance.api 4namespace = glance.api
5namespace = glance.store 5namespace = glance.store
6namespace = glance.multi_store
6namespace = oslo.concurrency 7namespace = oslo.concurrency
7namespace = oslo.messaging 8namespace = oslo.messaging
8namespace = oslo.db 9namespace = oslo.db
diff --git a/glance/opts.py b/glance/opts.py
index 93caf40..7cabd40 100644
--- a/glance/opts.py
+++ b/glance/opts.py
@@ -60,6 +60,7 @@ _api_opts = [
60 glance.common.wsgi.eventlet_opts, 60 glance.common.wsgi.eventlet_opts,
61 glance.common.wsgi.socket_opts, 61 glance.common.wsgi.socket_opts,
62 glance.common.wsgi.wsgi_opts, 62 glance.common.wsgi.wsgi_opts,
63 glance.common.wsgi.store_opts,
63 glance.image_cache.drivers.sqlite.sqlite_opts, 64 glance.image_cache.drivers.sqlite.sqlite_opts,
64 glance.image_cache.image_cache_opts, 65 glance.image_cache.image_cache_opts,
65 glance.notifier.notifier_opts, 66 glance.notifier.notifier_opts,