Upgrading K8s charm gives error message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Yang Kelvin Liu |
Bug Description
I have a charm that is successfully deployed. I go and try to upgrade it with these commands:
charmcraft build
juju upgrade-charm pipelines-api --path ./pipelines-
The upgrade fails with the status bouncing between these two states/error messages:
waiting / waiting for container
error / currently only k8s-raw-set and k8s-spec-set are supported
The above error message is unlikely to be due to charm code directly. The charm I'm testing this with is one that I'm working on at the moment that just outputs some debug info, and doesn't call self.model.
It appears that the charm was successfully upgraded, as the logs show updated code running.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.9-rc10 |
Changed in juju: | |
assignee: | nobody → Yang Kelvin Liu (kelvin.liu) |
status: | Triaged → In Progress |
Changed in juju: | |
milestone: | 2.8.12 → 2.8.11 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/juju/ juju/pull/ 12862 will be landed to 2.8 to fix this