"RBD Overview" and "RBD details" dashboards are all empty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph Dashboard Charm |
In Progress
|
Undecided
|
Yoshi Kadokawa |
Bug Description
"RBD Overview" and "RBD details" dashboards in Grafana are all empty as you can see in the attached screenshot.
Because of this "Overall performance" in Ceph Dashboard => Block => Images
is also empty.
The environment is OpenStack Yoga + Ceph Quincy on Ubuntu Focal.
I have confirmed that there are several pools been created but no rbd_stats_pools[0] is configured.
$ sudo ceph osd pool ls
.mgr
default.
default.rgw.control
default.
default.rgw.gc
default.rgw.log
default.
default.rgw.meta
default.rgw.otp
default.rgw.usage
default.
default.
default.
default.
default.
default.
.rgw.root
glance
cinder-ceph
$ sudo ceph config get mgr mgr/prometheus/
<empty>
This can be workarounded by conifugring the following. (Adding cinder-ceph and glance for example)
$ sudo ceph config set mgr mgr/prometheus/
Then the dashboards in Grafana will show with data.
However, for the dashboards in the Ceph Dashboard, you will need to workaround because of the other bug[1].
Steps to reproduce:
juju deploy openstack-base
juju deploy ceph-dashboard --channel quincy/stable
juju deploy telegraf
juju deploy grafana
juju deploy prometheus2 prometheus
juju config telegraf hostname="{host}"
juju config grafana anonymous=True
juju config grafana allow_embedding
juju config grafana install_plugins="https:/
GRAFANA_IP=$(juju run --unit grafana/leader \
"network-get --bind-address website")
juju config ceph-dashboard grafana-api-url=https:/
juju add-relation ceph-dashboard:
juju add-relation grafana:
juju add-relation grafana:
juju add-relation telegraf:
juju add-relation telegraf:dashboards grafana:dashboards
juju add-relation ceph-dashboard:
juju add-relation ceph-dashboard:
juju add-relation ceph-dashboard:
juju add-relation ceph-dashboard:
juju add-relation ceph-mon:prometheus prometheus:target
juju add-relation ceph-osd:juju-info telegraf:juju-info
juju add-relation ceph-mon:juju-info telegraf:juju-info
[0] https:/
[1] https:/
Changed in charm-ceph-dashboard: | |
status: | New → In Progress |
assignee: | nobody → Yoshi Kadokawa (yoshikadokawa) |
Screenshot after applying the fix.