]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/telemetry: force --license when sending while opted-out
authorYaarit Hatuka <yaarit@redhat.com>
Thu, 5 Mar 2020 14:42:46 +0000 (09:42 -0500)
committerNathan Cutler <ncutler@suse.com>
Thu, 4 Jun 2020 12:49:33 +0000 (14:49 +0200)
commitcb8dae6bc7b2d9eb852d77a5034d38e49a15486e
tree5099ffe8d6dd26d56a732f3f3498e72927be5846
parent547e340e86bd5463af2d49a848cf5701e0f3f036
mgr/telemetry: force --license when sending while opted-out

Users can manually send telemetry data with 'ceph telemetry send', even
in case they did not opt-in and agree to the license. We ask to
explicitly add '--license' to 'ceph telemetry send' in this case.
This also fixes an issue when opting-out ('ceph telemetry off'), where the
revision was not reset.

Fixes: https://tracker.ceph.com/issues/44442
Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
(cherry picked from commit cbe600eaa80a2a0b99704ff868fd6eab33070397)
src/pybind/mgr/telemetry/module.py