Unable to upgrade hosted model with --upload-tools after upgrading controller with --upload-tools
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Expired
|
High
|
Unassigned |
Bug Description
I upgraded my admin model from 2.0-beta3 to tip of master with --upload-tools, and it completed successfully:
$ juju status -m amazon:admin
[Services]
NAME STATUS EXPOSED CHARM
ubuntu unknown false cs:trusty/ubuntu-7
ubuntu1 unknown false cs:trusty/ubuntu-7
[Units]
ID WORKLOAD-STATUS JUJU-STATUS VERSION MACHINE PORTS PUBLIC-ADDRESS MESSAGE
ubuntu/0 unknown idle 2.0-beta4.1 1 52.37.116.156
ubuntu1/0 unknown idle 2.0-beta4.1 2 52.38.0.77
[Machines]
ID STATE DNS INS-ID SERIES AZ
0 started 52.38.80.2 i-9b390c5c xenial us-west-2a
1 started 52.37.116.156 i-74027aac trusty us-west-2b
2 started 52.38.0.77 i-1d2525c7 trusty us-west-2c
However, when I went to upgrade my hosted model (default), I got the following error:
2016-03-30 18:46:47 ERROR cmd supercommand.go:448 a hosted model cannot have a higher version than the server model: 2.0-beta4.2 > 2.0-beta4.1
summary: |
- Unable to upgrade hosted model with --upload-tools after upgrading - controller with --upload-tools + Disallow hosted models to be upgraded with --upload-tools |
summary: |
- Disallow hosted models to be upgraded with --upload-tools + Unable to upgrade hosted model with --upload-tools after upgrading + controller with --upload-tools |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0.1 → none |
milestone: | none → 2.0.1 |
Changed in juju: | |
milestone: | 2.0.1 → none |
tags: | added: eda |
Bug #1567170 tracks the removal of --upload-tools for upgrading hosted environments. In future releases, we should allow for users to upgrade a hosted environment to the level of the controller model.