]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/nfs: Do not ignore clusters from rados pool conf objects 58283/head
authorAnoop C S <anoopcs@cryptolab.net>
Thu, 11 Jul 2024 07:46:30 +0000 (13:16 +0530)
committerPonnuvel Palaniyappan <pponnuvel@gmail.com>
Thu, 25 Jul 2024 16:40:38 +0000 (17:40 +0100)
commit33cb3ae5f30038039b294d12a26f873d00992d28
treed168ba95ace2f70831e4933d21b01522745bab95
parent945672c95e1c2701dc41595dad52417755ea9577
mgr/nfs: Do not ignore clusters from rados pool conf objects

Early handling of NoOrchestrator exception via a2192c73e41e prevented us
from looking for namespaces containing conf objects in .nfs pool. This
would mean that we fail to recognize such namespaces as clusters thereby
prohibiting the creation of nfs exports. We could instead search for
such namespaces while handling the NoOrchestrator exception within
available_clusters() before returning the final list of clusters.

Fixes: https://tracker.ceph.com/issues/66800
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
src/pybind/mgr/nfs/export.py
src/pybind/mgr/nfs/utils.py