]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: fix prom reconfig loop when dashboard is disabled
authorSage Weil <sage@redhat.com>
Wed, 4 Mar 2020 20:21:10 +0000 (14:21 -0600)
committerSage Weil <sage@redhat.com>
Wed, 4 Mar 2020 20:25:31 +0000 (14:25 -0600)
commite855c749124088f7407831e148de9776aa5514cc
tree17874e214b6be12999c7c63d99d70022e26ae328
parente28148c43eafc32274d994c2bcf1c1614670d70a
mgr/cephadm: fix prom reconfig loop when dashboard is disabled

We need to consider the mgrs a dep even if the prometheus module isn't
enabled, so that we are consistent with _calc_daemon_deps() and don't
reconfig prom in a loop.

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