Ensure-availability doesn't work after stopping non-leader
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Unassigned |
Bug Description
[Environment]
ii juju 1.20.10-
ii juju-core 1.20.10-
ubuntu@
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
$ juju bootstrap
$ juju ensure-availability ( 3 nodes )
$juju status
environment: niedbalski
machines:
"0":
agent-state: started
agent-version: 1.20.10
dns-name: 10.5.0.4
instance-id: 5007ffe4-
instance-state: ACTIVE
series: trusty
hardware: arch=amd64 cpu-cores=1 mem=2048M root-disk=20480M
state-
"1":
agent-state: started
agent-version: 1.20.10
dns-name: 10.5.0.5
instance-id: c273df36-
instance-state: ACTIVE
series: trusty
hardware: arch=amd64 cpu-cores=1 mem=2048M root-disk=20480M
state-
"2":
agent-state: started
agent-version: 1.20.10
dns-name: 10.5.0.6
instance-id: 782258d6-
instance-state: ACTIVE
series: trusty
hardware: arch=amd64 cpu-cores=1 mem=2048M root-disk=20480M
state-
$ juju ssh 1
$ sudo service juju-machine-0 stop
Agent changes state to
machines:
"0":
agent-state: down
agent-
agent-version: 1.20.10
dns-name: 10.5.0.4
instance-id: 5007ffe4-
instance-state: ACTIVE
series: trusty
hardware: arch=amd64 cpu-cores=1 mem=2048M root-disk=20480M
state-
"1":
agent-state: started
agent-version: 1.20.10
dns-name: 10.5.0.5
instance-id: c273df36-
instance-state: ACTIVE
series: trusty
hardware: arch=amd64 cpu-cores=1 mem=2048M root-disk=20480M
state-
"2":
agent-state: started
agent-version: 1.20.10
dns-name: 10.5.0.6
instance-id: 782258d6-
instance-state: ACTIVE
series: trusty
hardware: arch=amd64 cpu-cores=1 mem=2048M root-disk=20480M
state-
Then i try to add a machine or run ensure-availaiblity again to remove the death node.
$juju add-machine
All the new machines keeps in 'pending' state forever
"15":
instance-id: pending
series: trusty
$ juju ensure-availability
[Expected]
If the initial state 0 node is turned off ( jujud-machine-0 stop ) then juju add-machine/
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: ha |
tags: |
added: cts-cloud-review removed: cts |
tags: | added: cts |
Changed in juju-core: | |
importance: | High → Medium |
summary: |
- Ensure-availability doesn't works after stop state server agent + Ensure-availability doesn't works after stopping non-leader |
summary: |
- Ensure-availability doesn't works after stopping non-leader + Ensure-availability doesn't work after stopping non-leader |
tags: |
added: sts removed: cts |
tags: | added: ci |
tags: | added: landscape |
Changed in juju-core: | |
milestone: | none → 1.26.0 |
importance: | Medium → High |
tags: | added: kanban-cross-team |
tags: | removed: kanban-cross-team |
Changed in juju-core: | |
milestone: | 1.26.0 → 2.0-beta5 |
tags: | added: sts-needs-review |
Changed in juju-core: | |
milestone: | 2.0-beta5 → 2.0-beta4 |
tags: | added: jujuqa |
Changed in juju-core: | |
milestone: | 2.0-beta4 → 2.0.0 |
tags: | removed: cts-cloud-review sts-needs-review |
Changed in juju-core: | |
assignee: | nobody → Richard Harding (rharding) |
assignee: | Richard Harding (rharding) → nobody |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0.0 → none |
milestone: | none → 2.0.0 |
Changed in juju: | |
milestone: | 2.0.0 → none |
tags: | added: eda |
Jorge - do you have any logs for this?
Also, do the other state servers continue to function?