]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: nfs: add rank to grace file from mgr module
authorSage Weil <sage@newdream.net>
Mon, 26 Apr 2021 18:48:03 +0000 (14:48 -0400)
committerSage Weil <sage@newdream.net>
Thu, 3 Jun 2021 12:37:20 +0000 (07:37 -0500)
commit9cb23c75b0da53b1ccc1e476d69b46f8aa9c94f7
treee503b63da1b86833f41d3346ad97e721fbd49428
parent4b3ff8b5c3302ae7d8680b302780ccc8828f5e4a
mgr/cephadm: nfs: add rank to grace file from mgr module

Do the grace file manipulation from the mgr module.  For add, this isn't
especially important, but for remove it is very important.  Clean out
old ranks from the grace table before we record that the rank has been
purged from the rank_map.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 74169045a9b212d4b549159a8f7870ed6e9119ea)
src/cephadm/cephadm
src/pybind/mgr/cephadm/services/nfs.py
src/pybind/mgr/cephadm/tests/test_cephadm.py