Project

General

Profile

Actions

Feature #45982

closed

mgr/cephadm: remove or update Dashboard settings after daemons are destroyed

Added by Kiefer Chang almost 4 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
cephadm
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
octopus
Reviewed:
Affected Versions:
Pull request ID:

Description

When these services are deployed, cephadm calls Dashboard's command to set settings to make features available in the Dashboard:
  • Prometheus
  • AlertManager
  • Grafana
  • Ganesha
  • iSCSI

The settings are not updated or removed after daemons are destroyed.
e.g.

bin/ceph orch ls
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2020-06-12T06:07:44.633+0000 7f925a835700 -1 WARNING: all dangerous and experimental features are enabled.
2020-06-12T06:07:44.653+0000 7f925a835700 -1 WARNING: all dangerous and experimental features are enabled.
NAME           RUNNING  REFRESHED  AGE  PLACEMENT  IMAGE NAME                            IMAGE ID
alertmanager       1/1  12m ago    14m  count:1    docker.io/prom/alertmanager:v0.20.0   0881eb8f169f
grafana            1/1  12m ago    14m  count:1    docker.io/ceph/ceph-grafana:latest    87a51ecf0b1c
iscsi.test         2/2  12m ago    3h   mgr0,osd0  quay.io/ceph-ci/ceph:master           597a83acbe4d
node-exporter      2/2  12m ago    14m  *          docker.io/prom/node-exporter:v0.18.1  e5a616e4b9cf
prometheus         1/1  12m ago    14m  count:1    docker.io/prom/prometheus:v2.18.1     de242295e225
bin/ceph dashboard get-grafana-api-url
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2020-06-12T06:07:52.593+0000 7fcfffd0a700 -1 WARNING: all dangerous and experimental features are enabled.
2020-06-12T06:07:52.609+0000 7fcfffd0a700 -1 WARNING: all dangerous and experimental features are enabled.
https://osd0:3000
bin/ceph orch rm grafana
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2020-06-12T06:08:08.557+0000 7f6f3f8a4700 -1 WARNING: all dangerous and experimental features are enabled.
2020-06-12T06:08:08.577+0000 7f6f3f8a4700 -1 WARNING: all dangerous and experimental features are enabled.
Removed service grafana
bin/ceph dashboard get-grafana-api-url
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2020-06-12T06:12:57.589+0000 7f09142d8700 -1 WARNING: all dangerous and experimental features are enabled.
2020-06-12T06:12:57.605+0000 7f09142d8700 -1 WARNING: all dangerous and experimental features are enabled.
https://osd0:3000
Actions #1

Updated by Sebastian Wagner over 3 years ago

  • Tracker changed from Bug to Feature
Actions #2

Updated by Sebastian Wagner over 2 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF