Mask node.session.auth.password in volume.py _run_iscsiadm debug logs
The iscsi_command object passed to _run_iscsiadm can contain passwords
that get logged at debug level, so we need to sanitize the message
getting logged.
Adds a test to ensure the logged message is properly sanitized.
Reviewed: https:/ /review. openstack. org/93850 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=54458334136 b284bb0c45373e7 cacf5c1fa0ab99
Committed: https:/
Submitter: Jenkins
Branch: master
commit 54458334136b284 bb0c45373e7cacf 5c1fa0ab99
Author: Brad Pokorny <email address hidden>
Date: Fri May 16 03:59:36 2014 +0000
Mask node.session. auth.password in volume.py _run_iscsiadm debug logs
The iscsi_command object passed to _run_iscsiadm can contain passwords
that get logged at debug level, so we need to sanitize the message
getting logged.
Adds a test to ensure the logged message is properly sanitized.
Closes-Bug: #1320028
Change-Id: I33f1a5b6983685 04721b41e562661 62a713b3ce6