]> git.apps.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>
Wed, 19 May 2021 12:43:14 +0000 (08:43 -0400)
commit74169045a9b212d4b549159a8f7870ed6e9119ea
treeb5cfe331a54d15e52cf2703080055aa979d7216f
parentae4ab5d2041856c8a891e25df610b88bc07b14f1
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>
src/cephadm/cephadm
src/pybind/mgr/cephadm/services/nfs.py
src/pybind/mgr/cephadm/tests/test_cephadm.py