Don't override nfs protocols w/ CephFS
The CephFS NFS service may be configured to allow any or all NFS versions; Manila exports must not prevent that by only requesting NFS v4.0+ via export policies. Change-Id: If1cbeec2318f1b1bbd087cc2addf7f196fda8974 Closes-Bug: #2099273
This commit is contained in:
@@ -1612,7 +1612,6 @@ class NFSClusterProtocolHelper(NFSProtocolHelperMixin, ganesha.NASHelperBase):
|
||||
"pseudo": self._get_export_pseudo_path(share, sub_name=sub_name),
|
||||
"squash": "none",
|
||||
"security_label": True,
|
||||
"protocols": [4],
|
||||
"fsal": {
|
||||
"name": "CEPH",
|
||||
"fs_name": self.volname,
|
||||
|
@@ -1885,7 +1885,6 @@ class NFSClusterProtocolHelperTestCase(test.TestCase):
|
||||
"pseudo": "ganesha:/foo/bar",
|
||||
"squash": "none",
|
||||
"security_label": True,
|
||||
"protocols": [4],
|
||||
"fsal": {
|
||||
"name": "CEPH",
|
||||
"fs_name": volname,
|
||||
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
`Launchpad bug 2099273 <https://bugs.launchpad.net/manila/+bug/2099273>`
|
||||
has been addressed by removing the NFS protocol override within the
|
||||
request sent to the Ceph Manager API. This allows users to mount shares
|
||||
exported by the Ceph NFS service with any NFS protocol version exposed by
|
||||
that service.
|
Reference in New Issue
Block a user