Dashboards can only be registered once unless charm is upgraded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Prometheus libvirt exporter charm |
New
|
Undecided
|
Unassigned |
Bug Description
I believe I've found a bug regarding dashboard registration. This prevents both registration with multiple grafana apps via a "dashboards" relation, and causes problems if it is necessary to redeploy a grafana unit or app.
The bug is likely caused by this clause protecting the register_
@when_
@when_
def register_
The libvirt-
The workaround for this is likely:
juju exec -u prometheus-