Cinder logs rabbitmq password on connection log
Cinder displays rabbitmq password if debug is enabled.
Closes-Bug: 1750074
Change-Id: I117319ac12991e4b46170fe71d18a65ea4c98556
(cherry picked from commit 919dd16a35
)
This commit is contained in:
parent
3257665691
commit
ca9bf2d1c5
|
@ -629,6 +629,7 @@ def wait():
|
|||
# hide flag contents from log if contains a password
|
||||
# should use secret flag when switch over to openstack-common
|
||||
if ("_password" in flag or "_key" in flag or
|
||||
(flag == "transport_url" and "rabbit:" in flag_get) or
|
||||
(flag == "sql_connection" and
|
||||
("mysql:" in flag_get or "postgresql:" in flag_get))):
|
||||
LOG.debug('%s : FLAG SET ', flag)
|
||||
|
|
Loading…
Reference in New Issue