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:
Adriano Rosso 2017-03-30 10:49:14 -03:00
parent 10cd7a8e04
commit c37fcfa374
2 changed files with 11 additions and 0 deletions

View File

@ -24,6 +24,7 @@ import socket
from oslo_concurrency import processutils
from oslo_config import cfg
from oslo_log import log as logging
from oslo_log import versionutils
from oslo_utils import units
import six
@ -89,7 +90,12 @@ class HNASNFSDriver(nfs.NfsDriver):
CI_WIKI_NAME = "Hitachi_HNAS_CI"
VERSION = HNAS_NFS_VERSION
SUPPORTED = False
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.context = None
self.configuration = kwargs.get('configuration', None)

View File

@ -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.