]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/nfs: Do not ignore clusters from rados pool conf objects 58285/head
authorAnoop C S <anoopcs@cryptolab.net>
Thu, 11 Jul 2024 07:46:30 +0000 (13:16 +0530)
committerPonnuvel Palaniyappan <pponnuvel@gmail.com>
Sun, 23 Mar 2025 19:44:23 +0000 (19:44 +0000)
commit0ffff4968c133dcf72befa2662e452984a5fa293
treec00ed75476ea8026293bba316adb96e7c7560446
parent03c7a5173282d21c00f5be3da31179d51e7479b8
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