Project

General

Profile

Actions

Bug #54120

closed

mgr/dashboard: dashboard turns telemetry off when configuring report

Added by Yaarit Hatuka about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Component - Telemetry
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
octopus, pacific, quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Description of problem

The Telemetry wizard on the Dashboard turns telemetry off when user explores various channels in the report (while being opted-in).

Environment

  • ceph version vstart cluster (pacific / quincy / master). Saw that also on the gibba cluster.
  • Platform (OS/distro/release): centos8
  • Cluster details (nodes, monitors, OSDs): vstart cluster / gibba cluster
  • Did it happen on a stable environment or after a migration/upgrade?: both
  • Browser used (e.g.: Version 86.0.4240.198 (Official Build) (64-bit)): firefox 78.13.Oesr 64-bit

How reproducible

Steps:

  1. Start a vstart cluster (pacific / quincy / master)
  2. Opt-in to telemetry either via:
    1. CLI with `ceph telemetry on`
    2. Dashboard wizard:
      1. Go to Telemetry Configuration page (Step 1 of 2: Telemetry report configuration) at 
https://127.0.0.1:<port>/#/telemetry
      2. Click “Next” at the bottom of the page
      3. On the next page (Step 2 of 2: Telemetry report preview) check the license box (I agree…).
      4. Click “Update”
  3. In the CLI, run `ceph telemetry status` to see that `"enabled": true`.
  4. Go back to the Telemetry Configuration page (Step 1 of 2: Telemetry report configuration).
  5. Uncheck one of the checked boxed of the available channels (e.g. uncheck Crash channel checkbox).
  6. Click “Next”.
  7. Now a popup window should appear with the text:
    "Your settings have been applied successfully. Due to privacy/legal reasons the Telemetry module is now disabled until you complete the next step and accept the license."
  8. Go back to CLI and run `ceph telemetry status` (which shows that “enabled”: false)

Actual results

The telemetry module is being disabled when the user just explores the report, which is wrong.

Expected results

The wizard should not turn telemetry off, unless the user explicitly clicked the "Deactivate" button.
The user should be able to explore the report details without setting any new configuration.

Additional info

This might happen also in Octopus, need to check.


Related issues 7 (1 open6 closed)

Related to mgr - Bug #54250: mgr/telemetry: telemetry module experiences an AssertionError when generating device metricsResolvedLaura Flores

Actions
Related to Dashboard - Bug #54133: mgr/dashboard: Contact Info should be visible only when Ident channel is checkedResolvedSarthak Gupta

Actions
Related to Dashboard - Feature #53543: mgr/dashboard: expose new telemetry commandsNew

Actions
Related to Dashboard - Feature #51020: telemetry activate: only show ident fields when ident is checkResolvedAaryan Porwal

Actions
Copied to Dashboard - Backport #54351: octopus: mgr/dashboard: dashboard turns telemetry off when configuring reportResolvedLaura FloresActions
Copied to Dashboard - Backport #54352: pacific: mgr/dashboard: dashboard turns telemetry off when configuring reportResolvedLaura FloresActions
Copied to Dashboard - Backport #54353: quincy: mgr/dashboard: dashboard turns telemetry off when configuring reportResolvedLaura FloresActions
Actions

Also available in: Atom PDF