Merge "[coordination] backend_url should be secret"

This commit is contained in:
Zuul 2023-12-15 16:15:43 +00:00 committed by Gerrit Code Review
commit 4980d8279b
2 changed files with 7 additions and 0 deletions

View File

@ -38,6 +38,7 @@ LOG = log.getLogger(__name__)
coordination_opts = [ coordination_opts = [
cfg.StrOpt('backend_url', cfg.StrOpt('backend_url',
secret=True,
default='file://$state_path', default='file://$state_path',
help='The backend URL to use for distributed coordination.'), help='The backend URL to use for distributed coordination.'),
] ]

View File

@ -0,0 +1,6 @@
---
fixes:
- |
`Bug #2008017 <https://bugs.launchpad.net/cinder/+bug/2012246>`_: Hide
value of the `[coordination] backend_url` option from logs because it can
contain credential.