]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: avoid returning -ESHUTDOWN back to cli 50013/head
authorVenky Shankar <vshankar@redhat.com>
Tue, 7 Feb 2023 04:13:54 +0000 (23:13 -0500)
committerVenky Shankar <vshankar@redhat.com>
Tue, 7 Feb 2023 04:55:01 +0000 (10:25 +0530)
commit32ffcfdcdedf18cae654752e22fa7bf327314372
tree82acb94a5c91dddab08465d303264e0cdc9b972b
parent9754cafc029e1da83f5ddd4332b69066fe6b3ffb
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>
src/pybind/mgr/mgr_util.py
src/pybind/mgr/volumes/fs/volume.py