Merge "Deprecate GlusterFS (Native) Driver"
This commit is contained in:
commit
84d10cf225
@ -20,6 +20,9 @@ GlusterFS driver
|
||||
GlusterFS driver uses GlusterFS, an open source distributed file system,
|
||||
as the storage backend for serving file shares to manila clients.
|
||||
|
||||
.. note::
|
||||
This driver has been deprecated in 18.0.0 release.
|
||||
|
||||
Supported shared filesystems
|
||||
----------------------------
|
||||
|
||||
|
@ -27,6 +27,9 @@ shares. Access to each share is allowed via TLS Certificates. Only the instance
|
||||
which has the TLS trust established with the GlusterFS backend can mount and
|
||||
hence use the share. Currently only 'rw' access is supported.
|
||||
|
||||
.. note::
|
||||
This driver has been deprecated in 18.0.0 release.
|
||||
|
||||
Network Approach
|
||||
----------------
|
||||
|
||||
|
@ -6,6 +6,9 @@ GlusterFS driver uses GlusterFS, an open source distributed file system,
|
||||
as the storage back end for serving file shares to the Shared File
|
||||
Systems clients.
|
||||
|
||||
.. note::
|
||||
This driver has been deprecated in 18.0.0 release.
|
||||
|
||||
Supported shared filesystems and operations
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
@ -14,6 +14,9 @@ via TLS Certificates. Only the instance which has the TLS trust
|
||||
established with the GlusterFS back end can mount and hence use the
|
||||
share. Currently only ``read-write (rw)`` access is supported.
|
||||
|
||||
.. note::
|
||||
This driver has been deprecated in 18.0.0 release.
|
||||
|
||||
Network approach
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
|
@ -29,6 +29,7 @@ import socket
|
||||
import sys
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log
|
||||
|
||||
from manila.common import constants
|
||||
from manila import exception
|
||||
@ -60,6 +61,9 @@ GlusterfsManilaShare_opts = [
|
||||
CONF = cfg.CONF
|
||||
CONF.register_opts(GlusterfsManilaShare_opts)
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
NFS_EXPORT_DIR = 'nfs.export-dir'
|
||||
NFS_EXPORT_VOL = 'nfs.export-volumes'
|
||||
NFS_RPC_AUTH_ALLOW = 'nfs.rpc-auth-allow'
|
||||
@ -78,6 +82,8 @@ class GlusterfsShareDriver(driver.ExecuteMixin, driver.GaneshaMixin,
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(GlusterfsShareDriver, self).__init__(False, *args, **kwargs)
|
||||
LOG.warning('GlusterFS share driver has been deprecated and is '
|
||||
'expected to be removed in a future release.')
|
||||
self._helpers = {}
|
||||
self.configuration.append_config_values(GlusterfsManilaShare_opts)
|
||||
self.backend_name = self.configuration.safe_get(
|
||||
|
@ -71,6 +71,8 @@ class GlusterfsNativeShareDriver(driver.ExecuteMixin,
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(GlusterfsNativeShareDriver, self).__init__(
|
||||
False, *args, **kwargs)
|
||||
LOG.warning('GlusterFS native share driver has been deprecated and is '
|
||||
'expected to be removed in a future release.')
|
||||
self._helpers = None
|
||||
self.backend_name = self.configuration.safe_get(
|
||||
'share_backend_name') or 'GlusterFS-Native'
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
The GlusterFS driver the GlusterFS Native driver have been deprecated.
|
||||
These drivers will be removed in a future release.
|
Loading…
x
Reference in New Issue
Block a user