juju refresh fails if all I change is the image

Bug #1954462 reported by Leon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Ian Booth

Bug Description

I am trying to refresh a charmhub charm with a new image but it doesn't work:

$ juju refresh prometheus --resource prometheus-image=prom/prometheus
ERROR already running latest charm "prometheus-k8s"

$ juju refresh prometheus --switch prometheus-k8s --resource prometheus-image=prom/prometheus
ERROR already running latest charm "prometheus-k8s"

$ juju refresh prometheus --force --resource prometheus-image=prom/prometheus
ERROR already running latest charm "prometheus-k8s"

However, refreshing with a local charm (refresh --path) works fine.
The idea is to avoid installing charmcraft + git clone + build charm just so I could swap an image.

Harry Pidcock (hpidcock)
Changed in juju:
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → High
milestone: none → 2.9.23
Changed in juju:
milestone: 2.9.23 → 2.9.24
Changed in juju:
milestone: 2.9.24 → 2.9.25
Changed in juju:
milestone: 2.9.25 → 2.9.26
Changed in juju:
milestone: 2.9.26 → 2.9.27
Changed in juju:
milestone: 2.9.27 → 2.9.28
Changed in juju:
milestone: 2.9.28 → 2.9.29
Changed in juju:
milestone: 2.9.29 → 2.9.30
Changed in juju:
milestone: 2.9.30 → 2.9.31
assignee: nobody → Ian Booth (wallyworld)
Ian Booth (wallyworld)
Changed in juju:
status: Triaged → In Progress
Revision history for this message
Ian Booth (wallyworld) wrote :
Ian Booth (wallyworld)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
milestone: 2.9.31 → 2.9.30
milestone: 2.9.30 → 2.9.31
Changed in juju:
status: Fix Committed → Fix Released
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.