upgrade-juju shows available tools and best version but did not output what it decided to do

Bug #1403655 reported by Jay R. Wren
48
This bug affects 8 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Ian Booth
1.25
Fix Released
High
Ian Booth

Bug Description

was on 1.21-beta3, wanted to upgrade tools to 1.21-beta4

$ juju upgrade-juju
available tools:
    1.20.0-precise-amd64
    1.20.0-precise-armhf
    1.20.0-precise-i386
    1.20.0-saucy-amd64
    1.20.0-saucy-armhf
    1.20.0-saucy-i386
... SNIP HUGE LONG LIST OF ALL VERSIONS AVAILABLE
best version:
    1.21-beta4

To me, this output looks like something is wrong, like I need to pick one specifically, but it turns out, juju did pick the "best version".

$ juju upgrade-juju --version 1.21-beta4
no upgrades available
$ juju upgrade-juju
ERROR upgrade in progress - Juju functionality is limited

Instead of a long list of possibilities and a "best version" the output should be "upgrading to 1.21-beta4" so that me, the end user knows that it is doing something. The list of available tools is not necessary.

John George (jog)
Changed in juju-core:
importance: Undecided → High
milestone: none → 1.21-beta5
status: New → Triaged
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.21-beta5 → 1.22
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.22 → 1.23
Curtis Hovey (sinzui)
tags: added: ui upgrade-juju
Changed in juju-core:
milestone: 1.23 → none
importance: High → Low
tags: added: docteam
tags: added: 2.0
Revision history for this message
Cheryl Jennings (cherylj) wrote :

This is an user-experience issue that we hear about time and time again. Bumping the priority.

Changed in juju-core:
importance: Low → High
milestone: none → 2.0-alpha1
Changed in juju-core:
milestone: 2.0-alpha1 → 2.0-alpha2
Changed in juju-core:
assignee: nobody → Ian Booth (wallyworld)
Ian Booth (wallyworld)
Changed in juju-core:
status: Triaged → In Progress
Ian Booth (wallyworld)
Changed in juju-core:
status: In Progress → Fix Committed
Revision history for this message
Nick Veitch (evilnick) wrote :

\o/

Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-alpha2 → 1.26-alpha3
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.