Browse Source

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
Abhishek Kekane 7 months ago
parent
commit
e8a0ba0fc7
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      etc/oslo-config-generator/glance-api.conf
  2. 1
    0
      glance/opts.py

+ 1
- 0
etc/oslo-config-generator/glance-api.conf View File

@@ -3,6 +3,7 @@ wrap_width = 80
3 3
 output_file = etc/glance-api.conf.sample
4 4
 namespace = glance.api
5 5
 namespace = glance.store
6
+namespace = glance.multi_store
6 7
 namespace = oslo.concurrency
7 8
 namespace = oslo.messaging
8 9
 namespace = oslo.db

+ 1
- 0
glance/opts.py View File

@@ -60,6 +60,7 @@ _api_opts = [
60 60
         glance.common.wsgi.eventlet_opts,
61 61
         glance.common.wsgi.socket_opts,
62 62
         glance.common.wsgi.wsgi_opts,
63
+        glance.common.wsgi.store_opts,
63 64
         glance.image_cache.drivers.sqlite.sqlite_opts,
64 65
         glance.image_cache.image_cache_opts,
65 66
         glance.notifier.notifier_opts,

Loading…
Cancel
Save