juju cannot downgrade to same major.minor version with earlier patch number
Bug #1306296 reported by
Ian Booth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
John A Meinel | ||
1.18 |
Fix Released
|
High
|
John A Meinel | ||
juju-core (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
We recently disallowed *any* Juju downgrades because the addition of better upgrade support meant that going from 1.X to 1.X+1 may introduce changes to conf and other artefacts that are no longer able to be read by the earlier version. So allowing a downgrade would break Juju.
However, we want to allow downgrades to the same major.minor version number eg from 1.2.3 to 1.2.2. This allows our CI testing to continue to work with the existing test scripts and also allows customers to downgrade to an earlier patch level if required.
Related branches
lp:~jameinel/juju-core/1.18-dowgrade-patch-level
- Ian Booth: Approve
-
Diff: 183 lines (+95/-30)3 files modifiedworker/upgrader/export_test.go (+4/-1)
worker/upgrader/upgrader.go (+40/-28)
worker/upgrader/upgrader_test.go (+51/-1)
lp:~wallyworld/juju-core/port-1.18-2267-2268
- Juju Engineering: Pending requested
-
Diff: 614 lines (+269/-113)11 files modifiedcmd/juju/scp.go (+35/-35)
cmd/juju/scp_test.go (+115/-30)
cmd/plugins/juju-restore/restore.go (+1/-1)
utils/ssh/ssh.go (+3/-3)
utils/ssh/ssh_gocrypto.go (+1/-1)
utils/ssh/ssh_gocrypto_test.go (+1/-1)
utils/ssh/ssh_openssh.go (+5/-6)
utils/ssh/ssh_test.go (+13/-6)
worker/upgrader/export_test.go (+4/-1)
worker/upgrader/upgrader.go (+40/-28)
worker/upgrader/upgrader_test.go (+51/-1)
Changed in juju-core: | |
milestone: | 1.18.1 → 1.19.1 |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
milestone: | 1.19.1 → 1.19.0 |
Changed in juju-core (Ubuntu Trusty): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This bug was fixed in the package juju-core - 1.18.1-0ubuntu1
---------------
juju-core (1.18.1-0ubuntu1) trusty; urgency=medium
* New upstream point release, including fixes for:
- Upgrading juju 1.16.6 -> 1.18.x fails (LP: #1299802).
- Peer relation disappears during juju-upgrade (LP: #1303697).
- public-address of units changes to internal bridge post upgrade
(LP: #1303735).
- Unable to deploy local charms without series (LP: #1303880).
- juju scp no longer allows multiple extra arguments to be passed
(LP: #1306208).
- juju cannot downgrade to same major.minor version with earlier
patch number (LP: #1306296).
-- James Page <email address hidden> Sat, 12 Apr 2014 07:04:37 +0100