Merge "Add filesystem info to FSAL in CephFS NFS" into stable/xena
This commit is contained in:
commit
af9d0658aa
@ -1055,7 +1055,8 @@ class NFSProtocolHelper(ganesha.GaneshaNASHelper2):
|
||||
return {
|
||||
'Name': 'Ceph',
|
||||
'User_Id': ceph_auth_id,
|
||||
'Secret_Access_Key': auth_result
|
||||
'Secret_Access_Key': auth_result,
|
||||
'Filesystem': self.volname
|
||||
}
|
||||
|
||||
def _cleanup_fsal_hook(self, base, share, access):
|
||||
|
@ -1150,7 +1150,8 @@ class NFSProtocolHelperTestCase(test.TestCase):
|
||||
expected_ret = {
|
||||
"Name": "Ceph",
|
||||
"User_Id": "ganesha-fakeid",
|
||||
"Secret_Access_Key": "ganesha-zorilla"
|
||||
"Secret_Access_Key": "ganesha-zorilla",
|
||||
"Filesystem": self._nfs_helper.volname
|
||||
}
|
||||
|
||||
driver.rados_command.return_value = 'ganesha-zorilla'
|
||||
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Add the filesystem info in the exports created by the CephFS NFS driver.
|
||||
This fixes inconsistencies when deploying Manila with CephFS NFS with
|
||||
multiple filesystems.
|
||||
|
Loading…
Reference in New Issue
Block a user