upgrade-model failed for develop stream

Bug #1875567 reported by Yang Kelvin Liu
6
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-stream=develop
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-stream=develop
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

Tags: upgrade-juju
Changed in juju:
milestone: none → 2.8-rc1
milestone: 2.8-rc1 → 2.8.1
Ian Booth (wallyworld)
Changed in juju:
status: New → Triaged
importance: Undecided → High
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.8.1 → 2.8.2
Ian Booth (wallyworld)
tags: added: upgrade-juju
Changed in juju:
milestone: 2.8.2 → 2.8.3
Pen Gale (pengale)
Changed in juju:
milestone: 2.8.4 → 2.9-beta1
Changed in juju:
milestone: 2.9-beta1 → 2.9-rc1
Pen Gale (pengale)
Changed in juju:
importance: High → Medium
milestone: 2.9-rc1 → none
Revision history for this message
John A Meinel (jameinel) wrote :

(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.)

Revision history for this message
John A Meinel (jameinel) wrote :

'juju status' also isn't helpful here, because it reports the "requested agent version" as the overall controller version. You need to do "juju show-machine -m controller 0" or "juju status -m controller --format=yaml" to see that the individual controller machines aren't at the new version.

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.