]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/telemetry: anonymizing smartctl report itself 33029/head
authorYaarit Hatuka <yaarit@redhat.com>
Fri, 31 Jan 2020 21:44:30 +0000 (16:44 -0500)
committerYaarit Hatuka <yaarit@redhat.com>
Fri, 31 Jan 2020 21:44:30 +0000 (16:44 -0500)
commitbe1257f324684cd3034f89ac1421b366cac66822
tree8f189bdb65a71b8c39fcfa42dd6a9954abea5f11
parentcae87cc42935cd5cc6c6a2096af215b8dc64171d
mgr/telemetry: anonymizing smartctl report itself

smartctl JSON output contains the device's serial number in two
different keys ('serial_number' & 'output'). Serial is now obfuscated in
both.

Fixes: https://tracker.ceph.com/issues/43939
Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
src/pybind/mgr/telemetry/module.py