From 37ce589763bb0764d30cf8f94a78085ff278e892 Mon Sep 17 00:00:00 2001 From: Gorka Eguileor Date: Wed, 25 Feb 2015 11:35:10 +0100 Subject: [PATCH] Use iscsi_helper instead of target_helper on logs With the deprecation of LVMISCSIDriver and LVMISERDriver a log warning was introduced to request using LVMVolumeDriver and setting target_helper, but it is missleading, as it should say iscsi_helper to be clear on what is expected on the target configuration. Change-Id: I0585a9c7a2ac1679213a6224955aa9762386e2ff --- cinder/volume/drivers/lvm.py | 4 ++-- cinder/volume/targets/iser.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cinder/volume/drivers/lvm.py b/cinder/volume/drivers/lvm.py index e7098916e..87d8756e8 100644 --- a/cinder/volume/drivers/lvm.py +++ b/cinder/volume/drivers/lvm.py @@ -625,7 +625,7 @@ class LVMISCSIDriver(LVMVolumeDriver): super(LVMISCSIDriver, self).__init__(*args, **kwargs) LOG.warning(_LW('LVMISCSIDriver is deprecated, you should ' 'now just use LVMVolumeDriver and specify ' - 'target_helper for the target driver you ' + 'iscsi_helper for the target driver you ' 'wish to use.')) @@ -642,7 +642,7 @@ class LVMISERDriver(LVMVolumeDriver): LOG.warning(_LW('LVMISERDriver is deprecated, you should ' 'now just use LVMVolumeDriver and specify ' - 'target_helper for the target driver you ' + 'iscsi_helper for the target driver you ' 'wish to use. In order to enable iser, please ' 'set iscsi_protocol with the value iser.')) diff --git a/cinder/volume/targets/iser.py b/cinder/volume/targets/iser.py index 1fee34eff..9505b4bdd 100644 --- a/cinder/volume/targets/iser.py +++ b/cinder/volume/targets/iser.py @@ -27,7 +27,7 @@ class ISERTgtAdm(TgtAdm): LOG.warning(_LW('ISERTgtAdm is deprecated, you should ' 'now just use LVMVolumeDriver and specify ' - 'target_helper for the target driver you ' + 'iscsi_helper for the target driver you ' 'wish to use. In order to enable iser, please ' 'set iscsi_protocol=iser with lioadm or tgtadm ' 'target helpers.')) -- 2.45.2