Cinder logs rabbitmq password on connection log
Cinder displays rabbitmq password if debug is enabled. Closes-Bug: 1750074 Change-Id: I117319ac12991e4b46170fe71d18a65ea4c98556
This commit is contained in:
parent
c100c8f188
commit
919dd16a35
@ -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…
x
Reference in New Issue
Block a user