Fix manila logging rabbitmq password in debug mode
Manila will display the rabbitmq password if debugging is enabled.
This patch will ensure that the rabbitmq password is no longer
displayed in the connection log for Manila when debugging is
enabled by looking for the rabbitmq key and not printing it.
There should likely be an effort to utilize Oslo's secret flag for
options to truly fix this issue for this and other sensitive options.
Reviewed: https:/ /review. openstack. org/546673 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=05e4f14ea1f bc7ce61c8f57a08 2080d09c63e357
Committed: https:/
Submitter: Zuul
Branch: master
commit 05e4f14ea1fbc7c e61c8f57a082080 d09c63e357
Author: Dustin Schoenbrun <email address hidden>
Date: Wed Feb 21 10:53:41 2018 -0500
Fix manila logging rabbitmq password in debug mode
Manila will display the rabbitmq password if debugging is enabled.
This patch will ensure that the rabbitmq password is no longer
displayed in the connection log for Manila when debugging is
enabled by looking for the rabbitmq key and not printing it.
There should likely be an effort to utilize Oslo's secret flag for
options to truly fix this issue for this and other sensitive options.
Change-Id: I97cc88354d9b54 057350c70c47420 55197540d1a
Closes-Bug: 1750074