Removing node that is currently a consul leader in the cluster broke the entire cluster.
If a consul loses quorum, which can happen when too many nodes have gone down, it will not regain quorum without manual intervention.
SOAR doesn't rely very heavily on the state of the consul DB, so in situations where the system is already "down" because consul appears to be configured correctly but still cannot elect a leader, it is safe to just blow away the existing consul cluster and start it fresh.
-Stop consul and clear the raft DB on all nodes with
phenv pantom_supervisord ctl stop consul
rm -r $PHANTOM_HOME/local_data/consul/*
-On all nodes, make sure the retry_join list in $PHANTOM_HOME/etc/consul/config.json contains the IP addresses of all 3 nodes in the cluster with "server": true in the configuration file.
-Pick a node, any node with "server": true, and create a bootstrap file.
echo '{"bootstrap":true}' > $PHANTOM_HOME/etc/consul/bootstrap.json
-On all nodes, beginning with the bootstrap node, followed by the other server nodes, and concluding with any remaining nodes, start consul with
phenv phantom_supervisord ctl start consul
-Back on the first node, remove the bootstrap.json file
rm $PHANTOM_HOME/etc/consul/bootstrap.json
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |