NetApp ONTAP: Deprecate 7-mode driver

For several years now, NetApp has been transitioning its
customers to a newer version of ONTAP that operates
in Cluster mode. We are now deprecating the 7-mode
Data ONTAP Cinder driver, in line with end of support for
the product.

The deprecation begins this release (Ocata) and the driver
will be removed in Queens. We will run the 7-mode CI until
stable/pike is tagged EOL; no new features will be added,
however, existing code may be meaningfully refactored to
keep the driver ready for removal.

DocImpact

Change-Id: I181e6be45c358c3d8b81b7a2cde2e1eb4ef50d92
This commit is contained in:
Goutham Pacha Ravi 2016-11-01 15:49:36 -04:00 committed by Goutham Pacha Ravi
parent 0f29ca0450
commit d6bd4c8740
3 changed files with 18 additions and 0 deletions

View File

@ -80,6 +80,11 @@ class NetAppBlockStorage7modeLibrary(block_base.NetAppBlockStorageLibrary):
self.root_volume_name = self._get_root_volume_name() self.root_volume_name = self._get_root_volume_name()
self.perf_library = perf_7mode.Performance7modeLibrary( self.perf_library = perf_7mode.Performance7modeLibrary(
self.zapi_client) self.zapi_client)
# This driver has been marked 'deprecated' in the Ocata release and
# can be removed in Queens.
msg = _("The 7-mode Data ONTAP driver is deprecated and will be "
"removed in a future release.")
versionutils.report_deprecated_feature(LOG, msg)
def _do_partner_setup(self): def _do_partner_setup(self):
partner_backend = self.configuration.netapp_partner_backend_name partner_backend = self.configuration.netapp_partner_backend_name

View File

@ -24,6 +24,7 @@ Volume driver for NetApp NFS storage.
import os import os
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
@ -68,6 +69,12 @@ class NetApp7modeNfsDriver(nfs_base.NetAppNfsDriver):
self.perf_library = perf_7mode.Performance7modeLibrary( self.perf_library = perf_7mode.Performance7modeLibrary(
self.zapi_client) self.zapi_client)
# This driver has been marked 'deprecated' in the Ocata release and
# can be removed in Queens.
msg = _("The 7-mode Data ONTAP driver is deprecated and will be "
"removed in a future release.")
versionutils.report_deprecated_feature(LOG, msg)
def check_for_setup_error(self): def check_for_setup_error(self):
"""Checks if setup occurred properly.""" """Checks if setup occurred properly."""
api_version = self.zapi_client.get_ontapi_version() api_version = self.zapi_client.get_ontapi_version()

View File

@ -0,0 +1,6 @@
---
deprecations:
- The 7-Mode Data ONTAP configuration of the NetApp Unified driver is
deprecated as of the Ocata release and will be removed in the Queens
release. Other configurations of the NetApp Unified driver, including
Clustered Data ONTAP and E-series, are unaffected.