Show controller version in 'juju controllers'
Bug #1603640 reported by
Mark Shuttleworth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth |
Bug Description
It would be useful to see the version of the controller software in 'juju controllers', please add that at the end (after cloud/region).
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: usability |
tags: | added: 2.0 |
Changed in juju-core: | |
milestone: | none → 2.0-beta13 |
Changed in juju-core: | |
milestone: | 2.0-beta13 → 2.0-beta14 |
Changed in juju-core: | |
milestone: | 2.0-beta14 → 2.0-beta15 |
Changed in juju-core: | |
milestone: | 2.0-beta15 → 2.0-beta16 |
Changed in juju-core: | |
milestone: | 2.0-beta16 → 2.0-beta17 |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0-beta17 → none |
milestone: | none → 2.0-beta17 |
Changed in juju: | |
assignee: | nobody → Reed O'Brien (reedobrien) |
Changed in juju: | |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Changed in juju: | |
assignee: | Reed O'Brien (reedobrien) → Ian Booth (wallyworld) |
status: | Fix Released → In Progress |
Changed in juju: | |
milestone: | 2.0-beta17 → 2.0-beta18 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
We want to keep "juju controllers" as a command that always succeeds, and returns instantly. It does this by *only* parsing and printing just the local controllers.yaml file and not making any API calls. This is to avoid the situation where a bad or stuck controller can prevent the user from seeing what controllers they have.
A tabular output option was added to juju show-controller. API calls are made to display the level of access the current user has to that controller, as well as the agent version.
$ juju show-controller --format tabular controller admin@local superuser lxd/localhost 2.0-beta17.1
CONTROLLER MODEL USER ACCESS CLOUD/REGION VERSION
prod admin@local/
show-controller also allows multiple controllers to be specified:
$ juju show-controller --format tabular prod test
We can discuss and tweak the decisions made, and the reasoning for them, if the approach taken is not desirable.