]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/telemetry: check if 'ident' channel is active 39923/head
authorYaarit Hatuka <yaarit@redhat.com>
Wed, 17 Feb 2021 22:26:59 +0000 (22:26 +0000)
committerNathan Cutler <ncutler@suse.com>
Mon, 8 Mar 2021 17:23:49 +0000 (18:23 +0100)
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 c21e23407b5bb1e6c20f03c19d08bbbf51b38518..286c18b4f59b9fca8413e886162c14ef2e262183 100644 (file)
@@ -366,6 +366,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):