]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs,mon: allow FS rename only if FS is offline
authorRishabh Dave <ridave@redhat.com>
Mon, 9 Oct 2023 19:58:36 +0000 (01:28 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 2 Nov 2023 16:41:51 +0000 (22:11 +0530)
commitfe3a4b9683d7b6f72f57f5ed8bc324bdbb24351f
tree5394fb373e9a06c601e421a161f5e8c070fa68fa
parent4fe08f167c1cf3df6a8d2a02573cfc328f1a9b77
cephfs,mon: allow FS rename only if FS is offline

Reject the attempt to rename the CephFS is the CephFS is not offline.
Add new tests for this and update current tests (test_admin.py and
test_volumes.py) accordingly.

Fixes: https://tracker.ceph.com/issues/63154
Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/test_admin.py
qa/tasks/cephfs/test_volumes.py
src/mon/FSCommands.cc