Cannot upgrade charm if storage is modified, even if the service doesn't use said storage
Bug #1599503 reported by
Junien Fridrick
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Andrew Wilkins | ||
juju-core |
Fix Released
|
High
|
Andrew Wilkins | ||
1.25 |
Fix Released
|
High
|
Andrew Wilkins |
Bug Description
Hi,
In https:/
In an environment where this charm was deployed before MP above and that we're now trying to upgrade, we run into the following error :
ERROR cannot upgrade service "prometheus" to charm "prometheus": storage "metrics-
This error would be fine if we had used this storage when deploying the charm, but we did not. We never used this storage.
Is this an expected behaviour ? Can it be fixed ? And is there a workaround that would allow us to upgrade the charm ? I tried "--switch", but it didn't work.
juju version is 1.25.5
Thanks !
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in juju-core: | |
importance: | High → Critical |
milestone: | none → 2.0-beta14 |
Changed in juju-core: | |
assignee: | nobody → Andrew Wilkins (axwalk) |
Changed in juju-core: | |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
tags: | added: blocker |
tags: | removed: blocker |
Changed in juju-core: | |
importance: | Critical → High |
tags: | added: canonical-is |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
tags: | added: landscape |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0-beta14 → none |
milestone: | none → 2.0-beta14 |
Changed in juju-core: | |
assignee: | nobody → Andrew Wilkins (axwalk) |
importance: | Undecided → High |
status: | New → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is preventing upgrades of our charm in production; it would be appreciated if a workaround could be devised to mitigate this until such time as it can be fixed.