From f5694311bfd98d18b47873c70670d69e20b1c7aa Mon Sep 17 00:00:00 2001 From: Kurt Martin Date: Tue, 2 Jun 2015 15:30:00 -0700 Subject: [PATCH] Deprecate the HPLeftHandISCSIDriver CLIQ driver This patch adds a deprecation message to the HPLeftHandISCSIDriver CLIQ driver with the plan of removing it in the 2016.1 release. The HPLeftHandISCSIDriver REST based driver should be used instead. Change-Id: I9eb1fc71d7be4848f116e0585964af97cae210b5 --- cinder/volume/drivers/san/hp/hp_lefthand_cliq_proxy.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cinder/volume/drivers/san/hp/hp_lefthand_cliq_proxy.py b/cinder/volume/drivers/san/hp/hp_lefthand_cliq_proxy.py index 25e58d32b..884e8d6d0 100644 --- a/cinder/volume/drivers/san/hp/hp_lefthand_cliq_proxy.py +++ b/cinder/volume/drivers/san/hp/hp_lefthand_cliq_proxy.py @@ -26,7 +26,7 @@ from oslo_log import log as logging from oslo_utils import units from cinder import exception -from cinder.i18n import _, _LE +from cinder.i18n import _, _LE, _LW from cinder.volume.drivers.san import san @@ -83,6 +83,11 @@ class HPLeftHandCLIQProxy(san.SanISCSIDriver): def __init__(self, *args, **kwargs): super(HPLeftHandCLIQProxy, self).__init__(*args, **kwargs) self.cluster_vip = None + LOG.warning(_LW('The HPLeftHandISCSIDriver CLIQ driver has been ' + 'DEPRECATED as of the 2015.2 release. This driver ' + 'will be removed in the 2016.1 release. Please use ' + 'the HPLeftHandISCSIDriver REST based driver ' + 'instead.')) def do_setup(self, context): pass -- 2.45.2