Upgrading a juju model before the controller gives unhelpful error message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Anastasia | ||
2.3 |
Fix Released
|
Medium
|
Anastasia |
Bug Description
While trying to upgrade a Juju controller from 2.0.0 to 2.0.1, I ran into an unhelpful error message (see below) because I was running upgrade-juju from a model different from the controller model.
I realize now that you need to switch to the controller model first, do the upgrade there, then switch back to any other model that you wish to upgrade, however that is not really intuitive.
This should also really be clarified better in the docs on https:/
### Steps to reproduce
# Bootstrap a controller with version 2.0.0
$ juju bootstrap lxd --agent-
# Try to upgrade model/controller to 2.0.1
$ juju upgrade-juju --agent-
# Results in the following unhelpful message
ERROR a hosted model cannot have a higher version than the server model: 2.0.1 > 2.0.0
Changed in juju: | |
assignee: | nobody → Anastasia (anastasia-macmood) |
status: | Triaged → In Progress |
milestone: | none → 2.4-beta1 |
Changed in juju: | |
milestone: | 2.4-beta1 → none |
Doc issue: https:/ /github. com/juju/ docs/issues/ 1519