From: Yaarit Hatuka Date: Wed, 17 Feb 2021 22:26:59 +0000 (+0000) Subject: mgr/telemetry: check if 'ident' channel is active X-Git-Tag: v17.1.0~2819^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=24849196bed042a122c98f07fa9889c7184a2265;p=ceph.git mgr/telemetry: check if 'ident' channel is active When compiling the telemetry reports we check for active channels. The 'ident' channel check was missing, hence even if users turned this channel on, its content could not be appended to the report. Fixes: https://tracker.ceph.com/issues/49349 Signed-off-by: Yaarit Hatuka --- diff --git a/src/pybind/mgr/telemetry/module.py b/src/pybind/mgr/telemetry/module.py index 70330a961f4d..c13778103c98 100644 --- a/src/pybind/mgr/telemetry/module.py +++ b/src/pybind/mgr/telemetry/module.py @@ -327,6 +327,8 @@ class Module(MgrModule): r.append('crash') if self.channel_device: r.append('device') + if self.channel_ident: + r.append('ident') return r def gather_device_report(self) -> Dict[str, Dict[str, Dict[str, str]]]: