diff --git a/manila/share/drivers/glusterfs/__init__.py b/manila/share/drivers/glusterfs/__init__.py index fca1e5a8dd..38faf4565f 100644 --- a/manila/share/drivers/glusterfs/__init__.py +++ b/manila/share/drivers/glusterfs/__init__.py @@ -309,3 +309,13 @@ class GaneshaNFSHelper(ganesha.GaneshaNASHelper): return {"Hostname": self.gluster_manager.host, "Volume": self.gluster_manager.volume, "Volpath": self.gluster_manager.path} + + def update_access(self, base_path, share, add_rules, delete_rules, + recovery=False): + """Update access rules.""" + + context = None + access_rules = [] + super(GaneshaNFSHelper, self).update_access( + context, share, access_rules, add_rules, + delete_rules, share_server=None) diff --git a/releasenotes/notes/bug-1964696-fix-GaneshaNFSHelper-update_access-6124a79e34e63030.yaml b/releasenotes/notes/bug-1964696-fix-GaneshaNFSHelper-update_access-6124a79e34e63030.yaml new file mode 100644 index 0000000000..99091a84b8 --- /dev/null +++ b/releasenotes/notes/bug-1964696-fix-GaneshaNFSHelper-update_access-6124a79e34e63030.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + `Bug #1964696 `_: Fix + calling the GaneshaNASHelper `update_access` method from the gluster + GaneshaNFSHelper with the wrong signature. +