]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/telemetry: reset health warning after re-opting-in 47001/head
authorYaarit Hatuka <yaarit@redhat.com>
Wed, 6 Jul 2022 21:59:15 +0000 (21:59 +0000)
committerYaarit Hatuka <yaarit@redhat.com>
Wed, 6 Jul 2022 21:59:15 +0000 (21:59 +0000)
commitb8bbf642c1bc985e5e08639f44adc0e0d7c686da
treedeb83888bedc47467968af6c9bd0941beebd3671
parent163ae57e34c80a3104abc9fb5703b9a3e4e36348
mgr/telemetry: reset health warning after re-opting-in

When telemetry requires re-opting-in (either whenever new collections
which require nagging are available, or on major upgrades) 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>
src/pybind/mgr/telemetry/module.py