Merge "HNAS: Deprecate HNAS iSCSI driver"
This commit is contained in:
commit
c3c560296d
@ -21,6 +21,7 @@ iSCSI Cinder Volume driver for Hitachi Unified Storage (HUS-HNAS) platform.
|
|||||||
from oslo_concurrency import processutils
|
from oslo_concurrency import processutils
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log as logging
|
from oslo_log import log as logging
|
||||||
|
from oslo_log import versionutils
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from cinder import exception
|
from cinder import exception
|
||||||
@ -100,9 +101,14 @@ class HNASISCSIDriver(driver.ISCSIDriver):
|
|||||||
CI_WIKI_NAME = "Hitachi_HNAS_CI"
|
CI_WIKI_NAME = "Hitachi_HNAS_CI"
|
||||||
VERSION = HNAS_ISCSI_VERSION
|
VERSION = HNAS_ISCSI_VERSION
|
||||||
|
|
||||||
|
SUPPORTED = False
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
"""Initializes and reads different config parameters."""
|
"""Initializes and reads different config parameters."""
|
||||||
super(HNASISCSIDriver, self).__init__(*args, **kwargs)
|
super(HNASISCSIDriver, self).__init__(*args, **kwargs)
|
||||||
|
msg = _("The Hitachi NAS iSCSI driver is deprecated and will be "
|
||||||
|
"removed in a future release.")
|
||||||
|
versionutils.report_deprecated_feature(LOG, msg)
|
||||||
self.configuration = kwargs.get('configuration', None)
|
self.configuration = kwargs.get('configuration', None)
|
||||||
self.context = {}
|
self.context = {}
|
||||||
self.config = {}
|
self.config = {}
|
||||||
|
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- The Hitachi NAS iSCSI driver has been marked as unsupported and is
|
||||||
|
now deprecated. enable_unsupported_drivers will need to be set to True
|
||||||
|
in cinder.conf to continue to use it.
|
||||||
|
deprecations:
|
||||||
|
- The Hitachi NAS iSCSI driver has been marked as unsupported and is now
|
||||||
|
deprecated. enable_unsupported_drivers will need to be set to True
|
||||||
|
in cinder.conf to continue to use it. The driver will be removed in the
|
||||||
|
next release.
|
Loading…
Reference in New Issue
Block a user