HNAS: Mark NFS driver as unsupported
As per the message sent to the mailing list [1], the Hitachi NAS Platform driver should be marked as unsupported. [1]http://lists.openstack.org/pipermail/openstack/2017-March/018812.html DocImpact Change-Id: I2a56b43d818cd4828fb15dcec75b2af6adda5837
This commit is contained in:
@@ -24,6 +24,7 @@ import socket
|
|||||||
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
|
||||||
from oslo_utils import units
|
from oslo_utils import units
|
||||||
import six
|
import six
|
||||||
|
|
||||||
@@ -89,7 +90,12 @@ class HNASNFSDriver(nfs.NfsDriver):
|
|||||||
CI_WIKI_NAME = "Hitachi_HNAS_CI"
|
CI_WIKI_NAME = "Hitachi_HNAS_CI"
|
||||||
VERSION = HNAS_NFS_VERSION
|
VERSION = HNAS_NFS_VERSION
|
||||||
|
|
||||||
|
SUPPORTED = False
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
|
msg = _("The Hitachi NAS driver is deprecated and will be "
|
||||||
|
"removed in a future release.")
|
||||||
|
versionutils.report_deprecated_feature(LOG, msg)
|
||||||
self._execute = None
|
self._execute = None
|
||||||
self.context = None
|
self.context = None
|
||||||
self.configuration = kwargs.get('configuration', None)
|
self.configuration = kwargs.get('configuration', None)
|
||||||
|
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- The Hitachi NAS NFS driver has been marked as unsupported and is now
|
||||||
|
deprecated. enable_unsupported_driver will need to be set to True
|
||||||
|
in cinder.conf to continue to use it.
|
Reference in New Issue
Block a user