]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: prime cached service state with newly created services
authorSage Weil <sage@redhat.com>
Mon, 27 Jan 2020 14:59:24 +0000 (08:59 -0600)
committerSage Weil <sage@redhat.com>
Thu, 30 Jan 2020 17:20:59 +0000 (11:20 -0600)
commit8b37c780bf4383526d59ff09ef30a540202e793c
treee461883b3486a5cefbc715df764dc7122022d8a3
parent509f896fa00aa5aea9ef42752da7b9b4f80f2f15
mgr/cephadm: prime cached service state with newly created services

If we create a service, add the expected state to our cache, so that it
immediately appears in the get_services result.

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