Indicate the current leader in status output

Bug #1620063 reported by Mark Shuttleworth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Tim Penhey

Bug Description

Please show the leader unit in the default status UNIT table, using an asterisk appended to the UNIT column:

UNIT
elasticsearch/0*
elasticsearch/1
etcd/0*
  filebeat/0*
  topbeat/0
etcd/1
etcd/2
  filebeat/1
  topbeat/1*
kibana/0*
kubernetes/0*
kubernetes/1
kubernetes/2

Thanks!

Tags: ateam
Changed in juju:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Richard Harding (rharding)
milestone: none → 2.0-beta18
Changed in juju:
milestone: 2.0-beta18 → 2.0-rc1
Tim Penhey (thumper)
Changed in juju:
assignee: Richard Harding (rharding) → Tim Penhey (thumper)
Changed in juju:
milestone: 2.0-rc1 → 2.0-rc2
Tim Penhey (thumper)
Changed in juju:
status: Triaged → In Progress
Revision history for this message
Tim Penhey (thumper) wrote :

Do we really want it on every unit even if there is only one instance for an application?

Revision history for this message
Anastasia (anastasia-macmood) wrote :
Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 1620063] Re: Indicate the current leader in status output

The problem with not doing it on the single-unit ones is that it turns
the leader indication into a surprise later. And the problem with
tagging it onto the end of every unit name is it makes the simple case
harder to read. I didn't want to have a whole column just for this,
though (the name of the column would be much longer than the content
:)). We already have the "Messages" column but I don't see a nice way to
add it there.

Mark

Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0-rc2 → none
Revision history for this message
Tim Penhey (thumper) wrote :

For now, I think we should show it for all applications in the tabular output, even when there is only one unit for an application.

Changed in juju:
milestone: none → 2.0.0
Tim Penhey (thumper)
Changed in juju:
status: In Progress → Fix Committed
tags: added: ateam
Curtis Hovey (sinzui)
Changed in juju:
status: Fix Committed → Fix Released
Revision history for this message
Mark Shuttleworth (sabdfl) wrote :

Thank you, enjoying this feature :)

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.