Fix HDS HNAS driver logging password as plain text
HDS HNAS driver logs every command that is sent to HNAS. Some
commands need the HNAS password, so the driver ends up logging
this password as plain text. This patch changes these commands
syntax so that oslo_utils.strutils.mask_password can successfully
mask this password.
Reviewed: https:/ /review. openstack. org/221922 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=9314616cac7 32fb9ec2f1dfb87 9c98c614226909
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 9314616cac732fb 9ec2f1dfb879c98 c614226909
Author: Tiago Pasqualini <email address hidden>
Date: Wed Sep 2 14:58:03 2015 -0300
Fix HDS HNAS driver logging password as plain text
HDS HNAS driver logs every command that is sent to HNAS. Some strutils. mask_password can successfully
commands need the HNAS password, so the driver ends up logging
this password as plain text. This patch changes these commands
syntax so that oslo_utils.
mask this password.
Conflicts: volume/ drivers/ hds/hnas_ backend. py
cinder/
Change-Id: I720701d8ee2b94 4ad498917f66816 0894f1f07cc 9e8d19b709b86d5 82d8b6e0c2)
Closes-Bug: #1491524
(cherry picked from commit 15755b8e9a5f801