From 77dfc44705daa4114e69e0eae87d0b975f7f5a41 Mon Sep 17 00:00:00 2001 From: David Casier Date: Mon, 22 Jul 2019 23:40:35 +0200 Subject: [PATCH] mgr/dashboard: ganesha: Specify the name of the filesystem for creating a path Signed-off-by: David Casier --- src/pybind/mgr/dashboard/services/ganesha.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/services/ganesha.py b/src/pybind/mgr/dashboard/services/ganesha.py index 4053d20c1ca10..4a525a54da7a6 100644 --- a/src/pybind/mgr/dashboard/services/ganesha.py +++ b/src/pybind/mgr/dashboard/services/ganesha.py @@ -486,7 +486,7 @@ class CephFSFSal(FSal): self.cephx_key = CephX.get_client_key(self.user_id) def create_path(self, path): - cfs = CephFS() + cfs = CephFS(self.fs_name) if not cfs.dir_exists(path): cfs.mkdirs(path) -- 2.47.3