]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/telemetry: reset health warning after re-opting-in 47307/head
authorYaarit Hatuka <yaarit@redhat.com>
Wed, 6 Jul 2022 21:59:15 +0000 (21:59 +0000)
committerYaarit Hatuka <yaarit@redhat.com>
Wed, 27 Jul 2022 14:17:24 +0000 (14:17 +0000)
commit0ad7533b4a36bdb2961055ab5d3ddb1c0762da5e
treee15f4bbdb2ef773eff191d6cdd9a939c2de2470a
parent326a13991da4406903cf23cbeeab34bfaf6386fd
mgr/telemetry: reset health warning after re-opting-in

When telemetry requires re-opting-in (whenever new data
is available), a health warning is set by the module. This health
warning should be reset once the user re-opts-in (with `ceph telemetry
on`), but currently it might take longer. Fixing it here by waking up
serve() immediately after re-opting-in, which will
invoke refreshing health checks.

Fixes: https://tracker.ceph.com/issues/56486
Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
(cherry picked from commit b8bbf642c1bc985e5e08639f44adc0e0d7c686da)

Conflicts:
  src/pybind/mgr/telemetry/module.py
  Conflicts were due to the new opt-in flow which was introduced in
  Quincy.
src/pybind/mgr/telemetry/module.py