]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: avoid returning -ESHUTDOWN back to cli 51039/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 08:57:39 +0000 (14:27 +0530)
commit9ae35cf892846801f0dbb6f0482e66e4de04b9c8
treee79ddd0f3e77e7e038da6fe4aa3d66b434c256dd
parent04cb175726b73de68d884a482d80a54e160d81a8
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)

 Conflicts:
src/pybind/mgr/volumes/fs/volume.py

rename_fs_volume() is not present in pacific.
src/pybind/mgr/mgr_util.py
src/pybind/mgr/volumes/fs/volume.py