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: I97cc88354d9b54057350c70c4742055197540d1a
Closes-Bug: 1750074
(cherry picked from commit 05e4f14ea1fbc7ce61c8f57a082080d09c63e357)
(cherry picked from commit be8580b350c34c91494cb553eb15e6b61ef250b7)
Reviewed: https:/ /review. openstack. org/549596 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=c0f1af11b10 2eabdf7b21d79c8 0eb8945f03dee8
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit c0f1af11b102eab df7b21d79c80eb8 945f03dee8
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 e61c8f57a082080 d09c63e357) 1494cb553eb15e6 b61ef250b7)
Closes-Bug: 1750074
(cherry picked from commit 05e4f14ea1fbc7c
(cherry picked from commit be8580b350c34c9