]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: by default, return current service state
authorSage Weil <sage@redhat.com>
Sat, 25 Jan 2020 16:40:08 +0000 (10:40 -0600)
committerSage Weil <sage@redhat.com>
Thu, 30 Jan 2020 17:12:02 +0000 (11:12 -0600)
commit509f896fa00aa5aea9ef42752da7b9b4f80f2f15
tree34a686769a8142f126ebeb077fec8eb5b132590c
parentcaeb5bff81140d1574dae2c39f7badb814d89152
mgr/cephadm: by default, return current service state

In the normal case, return whatever state we currently have.

In the serve loop, refresh if the state is old.

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/tests/test_cephadm.py