No feedback to client when Juju HA controller lost a quorum
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
According to the actual behavior, Juju stops listening tcp port 17070 when the HA controllers lost a quorum. Then, juju status command just times out.
Expected result is explicit feedback with a message like:
$ juju status
API is disabled due to missing a quorum. For help see <URL>
with a document describing how to promote the remaining controller as the master to continue operation if a user is pretty sure the one has the latest database.
Actual:
$ juju status --debug
15:02:12 INFO juju.cmd supercommand.go:57 running juju [2.5.1 gc go1.10.4]
15:02:12 DEBUG juju.cmd supercommand.go:58 args: []string{
15:02:12 INFO juju.juju api.go:67 connecting to API addresses: [10.0.9.157:17070 10.0.9.189:17070 10.0.9.118:17070]
-> timeout
How to reproduce:
$ juju bootstrap localhost
$ juju enable-ha
kill two of three controllers.
$ lxc stop -f juju-<controlle
$ lxc stop -f juju-<controlle
$ juju status
-> timeout
juju_engine_ report. yaml after killing two of three controllers.