remove-machine gets wedged if you remove the primary out of 2

Bug #1766571 reported by John A Meinel
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
John A Meinel

Bug Description

If you do:
$ juju bootstrap
$ juju enable-ha -n3
# wait to be happy
$ juju remove-machine 2
# wait to be gone
# Juju will then be set up w/ 0 as the primary, and 1 as a non-voting secondary.
# doing
$ juju remove-machine 0

Will then wedge the controllers because it is trying to get 0 to be demoted as the primary, but it cannot, as 1 is not eligible to replace it. We need to update the code so that it first enlists machine 1 as a voting/eligible secondary and then asks machine 0 to step down.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.