]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Remove chap secret DEBUG logging in PureISCSIDriver
authorDaniel Wilson <daniel.wilson@purestorage.com>
Fri, 20 Mar 2015 04:35:14 +0000 (21:35 -0700)
committerDaniel Wilson <daniel.wilson@purestorage.com>
Fri, 20 Mar 2015 04:35:14 +0000 (21:35 -0700)
We are removing a small piece of code that caused the CHAP secret to be logged
in plain text in the log file when DEBUG level logging is turned on in Cinder.
This is undesirable so it is being taken out.

Change-Id: I119800e2c3695201e9fca544f597ea9a577a2809
Closes-Bug: 1434320

cinder/volume/drivers/pure.py

index 611ddeb3cddbcd65897c04db962eb29b265588e4..94a17f373703cb7fbc0a495b2451e8f32b2b69f6 100644 (file)
@@ -270,8 +270,7 @@ class PureISCSIDriver(san.SanISCSIDriver):
         if initiator_update:
             properties["initiator_update"] = initiator_update
 
-        LOG.debug("Leave PureISCSIDriver.initialize_connection. "
-                  "Return value: %s", str(properties))
+        LOG.debug("Leave PureISCSIDriver.initialize_connection.")
         return properties
 
     def _get_target_iscsi_port(self):