Juju controllers should show correct active controller

Bug #1813079 reported by Haw Loeung
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Anastasia

Bug Description

Hi,

As Ian has pointed out, 'juju controllers' uses the local cached yaml to determine the active controller instead of the real one. E.g.

| $ export JUJU_CONTROLLER=prodstack-is-2
| ...
| prodstack-is* controller admin superuser prodstack-45/bootstack-ps45 227 878 3 2.5.0
| prodstack-is-2 controller admin superuser prodstack-45/bootstack-ps45 4 3 3 2.5-rc1.1

This is confusing and should be fixed.

Thanks,

Haw

Tags: usability
Revision history for this message
Anastasia (anastasia-macmood) wrote :

The same behavior can be observed with JUJU_MODEL and models related commands.

They should be fixed as well.

Changed in juju:
status: New → Triaged
importance: Undecided → Medium
tags: added: usability
Changed in juju:
importance: Medium → High
milestone: none → 2.5.2
Changed in juju:
assignee: nobody → Anastasia (anastasia-macmood)
Changed in juju:
status: Triaged → In Progress
Revision history for this message
Anastasia (anastasia-macmood) wrote :

I have fixed this behavior in https://github.com/juju/juju/pull/9778, heading into 2.5.2.

We have had some commands behaving inconsistently and *forgetting* that current controller can be set by either $JUJU_CONTROLLER or $$JUJU_MODEL environment variables.

Changed in juju:
status: In Progress → Fix Committed
Revision history for this message
John A Meinel (jameinel) wrote :
Changed in juju:
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.