]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/orch: allow list daemons by service_name 34160/head
authorKiefer Chang <kiefer.chang@suse.com>
Tue, 10 Mar 2020 11:43:42 +0000 (19:43 +0800)
committerSage Weil <sage@redhat.com>
Tue, 24 Mar 2020 22:27:02 +0000 (17:27 -0500)
commitd82ab437fcf12b218530ad08a1e86fb02ed7edf6
treec73f0be60b83f627f3da6b2a4bc82722d81df96e
parenta8062613c81ad08815edcdf06e668fcc77270a03
mgr/orch: allow list daemons by service_name

Services like rgw and mds are differentiated by service_name. For
example: mds.xyz vs. mds.abc. With current interface, we can't list all
daemons belonged to mds.xyz only. Add service_name as a new argument to
filter daemons by it.

Fixes: https://tracker.ceph.com/issues/44541
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
(cherry picked from commit 079c9fd7718ceb17660da61d46019c53012e0f0c)
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/orchestrator/_interface.py
src/pybind/mgr/orchestrator/module.py
src/pybind/mgr/rook/module.py
src/pybind/mgr/test_orchestrator/module.py