]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix HDS HNAS driver logging password as plain text
authorTiago Pasqualini <tiagop.silva@fit-tecnologia.org.br>
Wed, 2 Sep 2015 17:58:03 +0000 (14:58 -0300)
committerTiago Pasqualini <tiagop.silva@fit-tecnologia.org.br>
Fri, 4 Sep 2015 19:00:25 +0000 (16:00 -0300)
commit15755b8e9a5f8019e8d19b709b86d582d8b6e0c2
tree8cf14509413fd8dccf8b3e3ea836598c910f7e3a
parent77d6bf6550d0b5a94bec7f88024a4105b33502f8
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.

Change-Id: I720701d8ee2b944ad498917f668160894f1f07cc
Closes-Bug: #1491524
cinder/volume/drivers/hitachi/hnas_backend.py
cinder/volume/drivers/hitachi/hnas_iscsi.py
cinder/volume/drivers/hitachi/hnas_nfs.py