]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/telemetry: check if 'ident' channel is active 39727/head
authorYaarit Hatuka <yaarit@redhat.com>
Wed, 17 Feb 2021 22:26:59 +0000 (22:26 +0000)
committerSage Weil <sage@newdream.net>
Fri, 26 Feb 2021 17:36:11 +0000 (11:36 -0600)
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>
(cherry picked from commit 24849196bed042a122c98f07fa9889c7184a2265)

src/pybind/mgr/telemetry/module.py

index bc68e12896759929ec381a23325d2047ea36c159..d4fb9930853f8ba90f05af72c8d5f432b69e87d3 100644 (file)
@@ -367,6 +367,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):