Some metrics are not collected with Ceph Nautilus
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Prometheus Ceph Exporter Charm |
Critical
|
David O Neill | ||
| prometheus-ceph-exporter snap |
Critical
|
David O Neill |
Bug Description
With Ceph Nautilus, some of the Ceph Template dashboard for Grafana fails to load.
In Grafana, I see the following logs in /var/log/
2020-03-12 05:42:36 DEBUG juju-log Skipping Dashboard Template: CephCluster.json.j2 missing 2 metrics.Missing: ceph_osd_
2020-03-12 05:42:36 DEBUG juju-log Skipping Dashboard Template: CephOSD.json.j2 missing 2 metrics.Missing: ceph_osd_
It looks like the following metrics are not available or not collected.
- ceph_osd_
- ceph_osd_
According to this[0], there is a fix for this in ceph-exporter for Nautilus.
However, the prometheus-
so this fix is not available from snap package.
Nobuto Murata (nobuto) wrote : | #1 |
Yoshi Kadokawa (yoshikadokawa) wrote : | #2 |
I have tested by using the snap build from the nautilus branch, but did not work.
It looks like that the latest fix in nautilus branch in https:/
However, I could confirm with the snap build by specifying the commit that has the fix.
https:/
This is the snapcraft.yaml that I used.
https:/
Xav Paice (xavpaice) wrote : | #3 |
This is a snap issue, following up on that, have marked invalid for the charm since there's nothing we can change in the charm to help.
Changed in charm-prometheus-ceph-exporter: | |
status: | New → Invalid |
Nobuto Murata (nobuto) wrote : | #4 |
@Xav, even if the snap could be updated, it probably needs multiple channels to support multiple releases of Ceph. Thus, the ceph-exporter charm would also need a config option to specify a channel for the snap like Graylog:
https:/
Changed in charm-prometheus-ceph-exporter: | |
status: | Invalid → New |
Changed in charm-prometheus-ceph-exporter: | |
importance: | Undecided → Wishlist |
Changed in snap-prometheus-ceph-exporter: | |
importance: | Undecided → Wishlist |
Xav Paice (xavpaice) wrote : | #5 |
Related: https:/
Xav Paice (xavpaice) wrote : | #6 |
https:/
For the snap itself, I've uploaded a v3.0.0 (nautilus) snap to the latest/edge channel if we need it.
The latest release of the prometheus-
David O Neill (dmzoneill) wrote : | #7 |
need to promote -next to production.
Changed in charm-prometheus-ceph-exporter: | |
assignee: | nobody → David O Neill (dmzoneill) |
Changed in snap-prometheus-ceph-exporter: | |
assignee: | nobody → David O Neill (dmzoneill) |
Changed in charm-prometheus-ceph-exporter: | |
status: | New → Fix Committed |
Changed in snap-prometheus-ceph-exporter: | |
status: | New → Fix Committed |
Changed in charm-prometheus-ceph-exporter: | |
importance: | Wishlist → Critical |
Changed in snap-prometheus-ceph-exporter: | |
importance: | Wishlist → Critical |
Vladimir Grevtsev (vlgrevtsev) wrote : | #8 |
Can confirm that latest/edge works fine, the metrics are in-place and the dashboards has been imported successfully.
However, with the edge snap we're having another issue: https:/
Drew Freiberger (afreiberger) wrote : | #9 |
Upstream bug filed against the project. The ceph_exporter team is working on a one-version-
https:/
I'd hate to unwind the separate snapstore tracks across many clouds back to a single track once the upstream project finishes their work.
Jose Guedez (jfguedez) wrote : | #10 |
As both the snap (edge channel) [0], and the charm change to enable changing channels have been released [1]. Setting status to fix released.
[0] https:/
[1] https:/
Changed in charm-prometheus-ceph-exporter: | |
status: | Fix Committed → Fix Released |
Changed in snap-prometheus-ceph-exporter: | |
status: | Fix Committed → Fix Released |
The github project doesn't have a release or a tag from the nautilus branch. /github. com/digitalocea n/ceph_ exporter/ tags
https:/
So a separate snap channel would be required for nautilus.