Next version selection for upgrades is no longer correct

Bug #1359435 reported by Menno Finlay-Smits
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Ian Booth
1.20
Fix Released
High
Ian Booth

Bug Description

Before Juju 1.20, stable versions used even minor numbers and devel versions used odd minor numbers. This behaviour was changed after 1.20 - that is, 1.21 will be a stable release. Alpha and beta release tags are now used to indicate devel releases.

The upgrade-juju CLI command has not been updated to handle the new release numbering scheme. It still expects to find the next stable release by incrementing the minor version by 2. See upgradeContext.validate() in cmd/juju/upgradejuju.go.

Tim Penhey (thumper)
Changed in juju-core:
status: New → Triaged
description: updated
Ian Booth (wallyworld)
Changed in juju-core:
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
Ian Booth (wallyworld)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
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.