]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/telemetry: check if 'ident' channel is active
authorYaarit Hatuka <yaarit@redhat.com>
Wed, 17 Feb 2021 22:26:59 +0000 (22:26 +0000)
committerYaarit Hatuka <yaarit@redhat.com>
Wed, 17 Feb 2021 22:26:59 +0000 (22:26 +0000)
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 <yaarit@redhat.com>
src/pybind/mgr/telemetry/module.py

index 70330a961f4da5cb14e0e48b4413f96aa469fc88..c13778103c9848a1f213b2277aa5148872c983b7 100644 (file)
@@ -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]]]: