upgrade-model failed for develop stream
Bug #1875567 reported by
Yang Kelvin Liu
This bug report is a duplicate of:
Bug #1943074: juju upgrade-controller --agent-stream proposed is broken.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Medium
|
Unassigned |
Bug Description
Upgrade model to a develop stream for a specific build number failed even the controller has already been upgraded.
$ juju upgrade-controller --agent-
best version:
2.8-beta1.1
$ juju status --relations --color --storage -m k1:controller
Model Controller Cloud/Region Version SLA Timestamp
controller k1 microk8s/localhost 2.8-beta1.1 unsupported 00:22:50-07:00
$ juju upgrade-model -m t1 --agent-
best version:
2.8-beta1.1
ERROR model cannot be upgraded to 2.8-beta1.1 while the controller is 2.8-beta1: upgrade 'controller' model first
Changed in juju: | |
milestone: | none → 2.8-rc1 |
milestone: | 2.8-rc1 → 2.8.1 |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in juju: | |
milestone: | 2.8.1 → 2.8.2 |
tags: | added: upgrade-juju |
Changed in juju: | |
milestone: | 2.8.2 → 2.8.3 |
Changed in juju: | |
milestone: | 2.8.4 → 2.9-beta1 |
Changed in juju: | |
milestone: | 2.9-beta1 → 2.9-rc1 |
Changed in juju: | |
importance: | High → Medium |
milestone: | 2.9-rc1 → none |
To post a comment you must log in.
(note that in this case, I think the issue is that the upgrade-controller command "succeeds" because the client can find the binary, but the controller itself cannot upgrade because the model's agent-stream isn't pointed at the stream that the client looked at. And so the controller hasn't actually upgraded, which is why you cannot upgrade the model.)