From 595c8d3f8523a9612ccc64ff4147eab993493892 Mon Sep 17 00:00:00 2001 From: Adriano Rosso Date: Thu, 30 Mar 2017 14:13:06 -0300 Subject: [PATCH] Hitachi: Mark HBSD and VSP as unsupported As per the message sent to the mailing list [1], the HBSD and VSP drivers should be marked as unsupported. [1]http://lists.openstack.org/pipermail/openstack/2017-March/018812.html DocImpact Change-Id: I921d1a16b28a2f310a483283069ae819ad498228 --- cinder/volume/drivers/hitachi/hbsd_fc.py | 2 ++ cinder/volume/drivers/hitachi/hbsd_iscsi.py | 2 ++ cinder/volume/drivers/hitachi/vsp_fc.py | 2 ++ cinder/volume/drivers/hitachi/vsp_iscsi.py | 2 ++ .../notes/hitachi-unsupported-drivers-37601e5bfabcdb8f.yaml | 5 +++++ 5 files changed, 13 insertions(+) create mode 100644 releasenotes/notes/hitachi-unsupported-drivers-37601e5bfabcdb8f.yaml diff --git a/cinder/volume/drivers/hitachi/hbsd_fc.py b/cinder/volume/drivers/hitachi/hbsd_fc.py index 7a8ff9e19b2..89c1d8b8f18 100644 --- a/cinder/volume/drivers/hitachi/hbsd_fc.py +++ b/cinder/volume/drivers/hitachi/hbsd_fc.py @@ -53,6 +53,8 @@ class HBSDFCDriver(cinder.volume.driver.FibreChannelDriver): # ThirdPartySystems wiki page CI_WIKI_NAME = ["Hitachi_HBSD_CI", "Hitachi_HBSD2_CI"] + SUPPORTED = False + def __init__(self, *args, **kwargs): os.environ['LANG'] = 'C' super(HBSDFCDriver, self).__init__(*args, **kwargs) diff --git a/cinder/volume/drivers/hitachi/hbsd_iscsi.py b/cinder/volume/drivers/hitachi/hbsd_iscsi.py index 852ba16d459..39cc6c6625c 100644 --- a/cinder/volume/drivers/hitachi/hbsd_iscsi.py +++ b/cinder/volume/drivers/hitachi/hbsd_iscsi.py @@ -61,6 +61,8 @@ class HBSDISCSIDriver(cinder.volume.driver.ISCSIDriver): # ThirdPartySystems wiki page CI_WIKI_NAME = ["Hitachi_HBSD_CI", "Hitachi_HBSD2_CI"] + SUPPORTED = False + def __init__(self, *args, **kwargs): os.environ['LANG'] = 'C' super(HBSDISCSIDriver, self).__init__(*args, **kwargs) diff --git a/cinder/volume/drivers/hitachi/vsp_fc.py b/cinder/volume/drivers/hitachi/vsp_fc.py index ad373a30295..048ca3f27e1 100644 --- a/cinder/volume/drivers/hitachi/vsp_fc.py +++ b/cinder/volume/drivers/hitachi/vsp_fc.py @@ -65,6 +65,8 @@ class VSPFCDriver(driver.FibreChannelDriver): # ThirdPartySystems wiki page CI_WIKI_NAME = "Hitachi_VSP_CI" + SUPPORTED = False + def __init__(self, *args, **kwargs): """Initialize instance variables.""" utils.output_log(MSG.DRIVER_INITIALIZATION_START, diff --git a/cinder/volume/drivers/hitachi/vsp_iscsi.py b/cinder/volume/drivers/hitachi/vsp_iscsi.py index eb045f672fe..2134b4aff0b 100644 --- a/cinder/volume/drivers/hitachi/vsp_iscsi.py +++ b/cinder/volume/drivers/hitachi/vsp_iscsi.py @@ -72,6 +72,8 @@ class VSPISCSIDriver(driver.ISCSIDriver): # ThirdPartySystems wiki page CI_WIKI_NAME = "Hitachi_VSP_CI" + SUPPORTED = False + def __init__(self, *args, **kwargs): """Initialize instance variables.""" utils.output_log(MSG.DRIVER_INITIALIZATION_START, diff --git a/releasenotes/notes/hitachi-unsupported-drivers-37601e5bfabcdb8f.yaml b/releasenotes/notes/hitachi-unsupported-drivers-37601e5bfabcdb8f.yaml new file mode 100644 index 00000000000..955252089a4 --- /dev/null +++ b/releasenotes/notes/hitachi-unsupported-drivers-37601e5bfabcdb8f.yaml @@ -0,0 +1,5 @@ +--- +deprecations: + - The Hitachi Block Storage Driver (HBSD) and VSP driver have been marked + as unsupported and are now deprecated. enable_unsupported_driver will need + to be set to True in cinder.conf to continue to use them. \ No newline at end of file