commit 5dda3a6ab2becb5dd0b58c088f6daad807e12276
Author: Matt Riedemann <email address hidden>
Date: Thu May 15 12:22:19 2014 -0700
Mask block_device_info auth_password in virt driver debug logs
The block_device_info object can have an auth_password key which is
getting logged at debug level in several virt drivers so we need to
sanitize the message getting logged.
Adds tests to ensure the logged messages are properly sanitized.
Note that bug 1321785 was opened to track the long-term design issues
with storing the password in the block_device_info dict since this can
crop up elsewhere if it's logged. The immediate fix here is to mask
what's already exposed.
Reviewed: https:/ /review. openstack. org/93787 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=5dda3a6ab2b ecb5dd0b58c088f 6daad807e12276
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5dda3a6ab2becb5 dd0b58c088f6daa d807e12276
Author: Matt Riedemann <email address hidden>
Date: Thu May 15 12:22:19 2014 -0700
Mask block_device_info auth_password in virt driver debug logs
The block_device_info object can have an auth_password key which is
getting logged at debug level in several virt drivers so we need to
sanitize the message getting logged.
Adds tests to ensure the logged messages are properly sanitized.
Note that bug 1321785 was opened to track the long-term design issues
with storing the password in the block_device_info dict since this can
crop up elsewhere if it's logged. The immediate fix here is to mask
what's already exposed.
Closes-Bug: #1319943
Change-Id: I0eae07ce3f0f39 861eb97ec3dec44 895386c7d04