Juju HA - Unable to remove controller machines in 'down' state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
John A Meinel |
Bug Description
I'm testing Juju HA where I faced issues with removal of 'controller' machines in down state. I'm using MAAS as backend infrastructure provider.
After enabling-ha with 3 controllers, I released a controller machine from MAAS. Running 'juju enable-ha', brought up a new node but I wasn't able to remove old machine (that has machine state as 'down') from controller model. It errors out 'ERROR no machines were destroyed: machine is required by the model'.
controller-
$ juju status
Model Controller Cloud/Region Version
controller ctr-xenial maas 2.0.2
App Version Status Scale Charm Store Rev OS Notes
Unit Workload Agent Machine Public address Ports Message
Machine State DNS Inst id Series AZ
0 started 172.30.40.39 w666gw xenial default
1 down 172.30.40.46 4dgtc6 xenial default
2 started 172.30.40.251 c7rcwd xenial default
3 started 172.30.40.47 q6wfa3 xenial default
$ juju status --format yaml
http://
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.2.0 |
tags: | added: 4010 |
tags: | added: cpec |
tags: |
added: cpe-onsite removed: cpec |
tags: | added: ensure-availability |
Changed in juju: | |
assignee: | nobody → John A Meinel (jameinel) |
status: | Triaged → In Progress |
milestone: | none → 2.4-beta1 |
Changed in juju: | |
milestone: | 2.4-beta1 → none |
Changed in juju: | |
milestone: | none → 2.4-beta2 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
I was facing same issue on Openstack cloud (OVH public cloud), and it seems that the cause was that I added a new Neutron network after initial bootstrap. I assumes this causes the controller to be confused with the network it should use for further instance provisioning.
After Bootstraping with --config network=<networkID> no more issue enabling HA.