Cinder logs rabbitmq password on connection log
Cinder displays rabbitmq password if debug is enabled. Closes-Bug: 1750074 Change-Id: I117319ac12991e4b46170fe71d18a65ea4c98556 (cherry picked from commit919dd16a35
) (cherry picked from commitca9bf2d1c5
)
This commit is contained in:
parent
8cea2c800b
commit
d51fabb497
|
@ -621,6 +621,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