list-controllers shows HA: none for a HA enabled controller environment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Witold Krecicki |
Bug Description
On a freshly bootstrapped controller environment I run juju ensure-ha, then verify I have 3 controller machines in a healthy state using "juju show-controller".
"juju list-controllers" still shows HA as "none" for this controller.
Should we expect this field to show the controller is in fact HA enabled, or am I misinterpreting this field?
The following shows the output I am seeing:
juju --version
2.0.0-xenial-amd64
dpkg -l | grep juju
ii juju 1:2.0.0-
ii juju-2.0 1:2.0.0-
juju list-controllers
Use --refresh to see the latest information.
Controller Model User Access Cloud/Region Models Machines HA Version
juju2-test* controller admin superuser localhost/localhost 2 1 none 2.0.0
juju show-controller
juju2-test:
details:
uuid: 1120e961-
api-endpoints: ['10.91.
ca-cert: |
-----BEGIN CERTIFICATE-----
<cert redacted>
-----END CERTIFICATE-----
cloud: localhost
region: localhost
agent-version: 2.0.0
controller-
"0":
instance-id: juju-60691e-0
ha-status: ha-enabled
"1":
instance-id: juju-60691e-1
ha-status: ha-enabled
"2":
instance-id: juju-60691e-2
ha-status: ha-enabled
models:
controller:
uuid: d67d7d7f-
machine-
default:
uuid: a72d1217-
current-model: admin/controller
account:
user: admin
access: superuser
Changed in juju: | |
status: | Incomplete → New |
Changed in juju: | |
importance: | Undecided → High |
assignee: | nobody → Alexis Bruemmer (alexis-bruemmer) |
milestone: | none → 2.2.0 |
Changed in juju: | |
status: | New → Triaged |
Changed in juju: | |
assignee: | Alexis Bruemmer (alexis-bruemmer) → nobody |
Changed in juju: | |
milestone: | 2.2-beta1 → 2.2-beta2 |
Changed in juju: | |
milestone: | 2.2-beta2 → 2.2-beta3 |
Changed in juju: | |
milestone: | 2.2-beta3 → 2.2-beta4 |
Changed in juju: | |
milestone: | 2.2-beta4 → 2.2-rc1 |
no longer affects: | juju/2.2 |
Changed in juju: | |
milestone: | none → 2.3-alpha1 |
status: | Triaged → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Controller information is cached locally and when list controllers is run, no API call is made to the controller to avoid a stuck system preventing the command from completing. But it does prompt you to --refresh to see the latest information.
$ juju list-controllers
Use --refresh to see the latest information.
...