Change in snap channel does not refresh the snap

Bug #1891582 reported by Xav Paice
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Prometheus Ceph Exporter Charm
Fix Released
High
David O Neill

Bug Description

When the snap channel config is changed, e.g. from stable to edge, nothing in the charm triggers the change. The config-changed hook should do this.

E.g.:

juju config prometheus-ceph-exporter snap_channel=edge

Should result in the snap from the edge channel getting installed. Instead, we have to:

$ sudo snap refresh prometheus-ceph-exporter --channel latest/edge

Related branches

Revision history for this message
Adam Dyess (addyess) wrote :

There doesn't appear to be a config-changed hook in the charm.
This charm should handle any config-changes

Changed in charm-prometheus-ceph-exporter:
status: New → Confirmed
importance: Undecided → Medium
importance: Medium → High
Changed in charm-prometheus-ceph-exporter:
assignee: nobody → David O Neill (dmzoneill)
status: Confirmed → In Progress
Changed in charm-prometheus-ceph-exporter:
status: In Progress → Fix Committed
Alvaro Uria (aluria)
Changed in charm-prometheus-ceph-exporter:
status: Fix Committed → Confirmed
Celia Wang (ziyiwang)
Changed in charm-prometheus-ceph-exporter:
status: Confirmed → Fix Released
milestone: none → 21.01
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.