Include os-brick configuration options

The cinder glance store now supports using an os-brick specific location
for file locks instead of using the one defined for the whole service
using the ``lock_path`` configuration option in the ``os_brick``
configuration section.

To render this option when generating the sample config file with ``tox
-egenconfig``, the ``os_brick`` namespace needs to be configured in the
oslo-config-generator config files and the os-brick dependency needs to
be present.

This patch adds the os-brick package as a dependency in the genconfig
test environment and adds the namespace to the relevant config files.

Depends-On: Ib11d63e3c388e12f145f40247d17030a566b8c5e
Change-Id: Ie25ab8bcc01a57e26da6a951e899659ec1782140
This commit is contained in:
Gorka Eguileor 2022-07-08 12:39:49 +02:00
parent c66705069b
commit d6f6b726f3
3 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@ output_file = etc/glance-api.conf.sample
namespace = castellan.config
namespace = glance.api
namespace = glance.store
namespace = os_brick
namespace = glance.multi_store
namespace = oslo.concurrency
namespace = oslo.messaging

View File

@ -3,5 +3,6 @@ wrap_width = 80
output_file = etc/glance-cache.conf.sample
namespace = glance.cache
namespace = glance.store
namespace = os_brick
namespace = oslo.log
namespace = oslo.policy

View File

@ -3,6 +3,7 @@ wrap_width = 80
output_file = etc/glance-scrubber.conf.sample
namespace = glance.scrubber
namespace = glance.store
namespace = os_brick
namespace = oslo.concurrency
namespace = oslo.db
namespace = oslo.log