]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/nfs: Do not ignore clusters from rados pool conf objects 58535/head
authorAnoop C S <anoopcs@cryptolab.net>
Thu, 11 Jul 2024 07:46:30 +0000 (13:16 +0530)
committerAnoop C S <anoopcs@cryptolab.net>
Mon, 15 Jul 2024 15:38:07 +0000 (21:08 +0530)
commit67dbd062731943904e57f1d10c8d641cd2475a13
tree67bf43e5a601ef21313b6b0349ac11e9bf37e42c
parent6822f4bf15edbf704cf00dd45c383f70114d3b5b
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