]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: avoid returning -ESHUTDOWN back to cli 51040/head
authorVenky Shankar <vshankar@redhat.com>
Tue, 7 Feb 2023 04:13:54 +0000 (23:13 -0500)
committerVenky Shankar <vshankar@redhat.com>
Wed, 12 Apr 2023 09:05:21 +0000 (14:35 +0530)
commit9aaba143529074130d61c41343d64ff303635a00
tree692f7caea18a6219a073b53179f9e733fcb76861
parent9eedc7140d9a08c56101ae016aac5553558cb567
mgr/volumes: avoid returning -ESHUTDOWN back to cli

I think mgr/volumes is acting a bit fancy by checking if the
ceph-mgr daemon and plugins are under termination, thereby
returning -ESHUTDOWN to cli commands. This seems unnecessary.
None of the other mgr plugins do anything like this.

Handling of commands when the ceph-mgr is under termination
is possibly handled in one of the upper layers.

Fixes: http://tracker.ceph.com/issues/58651
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 32ffcfdcdedf18cae654752e22fa7bf327314372)
src/pybind/mgr/mgr_util.py
src/pybind/mgr/volumes/fs/volume.py