]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/nfs: add known_cluster_ids to generalize nfs cluster id fetching
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 28 Feb 2022 20:39:24 +0000 (15:39 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 1 Mar 2022 15:11:18 +0000 (10:11 -0500)
commit4d09660dea5696e5085a75694968aafe9253f47a
tree6f7b0055f642325f26f605a2fc3dbfc2f426c929
parentded84b8d5f16d6d76f044a24c5f4cfd632e04c50
mgr/nfs: add known_cluster_ids to generalize nfs cluster id fetching

The changes to the nfs module in 8c711afc are working but when I began
writing more test automation I found a few more places in the
export-configuration code path relying on the orchestration module
only. This change generalizes the logic to source nfs clusters from
orchestration when it's enabled but from the .nfs pool when
orchestration is disabled. It then uses that call when loading
the exports cache on the ExportMgr object.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/nfs/export.py