I have an issue where I have lost 2 out of my 3 consul servers and need to transition my cluster temporarily down to a single consul server, so I set the bootstrap_expect value to 1 and restart the server. When consul starts up I see the following in the logs and I cannot use the service, which I need as I there are key value pairs stored in the raft DB that are used by other services in the system. Why is consul removing itself from the leadership role, leaving the cluster without a leader?--==> WARNING: LAN keyring exists but -encrypt given, using keyring
==> WARNING: WAN keyring exists but -encrypt given, using keyring
==> WARNING: BootstrapExpect Mode is specified as 1; this is the same as Bootstrap mode.
==> WARNING: Bootstrap mode enabled! Do not enable unless necessary
==> Starting raft data migration...
==> Starting Consul agent...
==> Starting Consul agent RPC...
==> Consul agent running!
Node name: 'chris-mnc5.ilabs.io'
Datacenter: 'dc1'
Server: true (bootstrap: true)
Client Addr: 127.0.0.1 (HTTP: 8500, HTTPS: -1, DNS: -1, RPC: 8400)
Cluster Addr: 10.6.1.7 (LAN: 8301, WAN: 8302)
Gossip encrypt: true, RPC-TLS: true, TLS-Incoming: true
Atlas: <disabled>
==> Log data will now stream in as it occurs:
2015/12/16 14:11:13 [INFO] raft: Node at 10.6.1.7:8300 [Follower] entering Follower state
2015/12/16 14:11:13 [INFO] serf: EventMemberJoin: chris-mnc5 10.6.1.7
2015/12/16 14:11:13 [ERR] agent: failed to sync remote state: No cluster leader
2015/12/16 14:11:13 [INFO] consul: adding server chris-mnc5 (Addr: 10.6.1.7:8300) (DC: dc1)
2015/12/16 14:11:13 [INFO] serf: EventMemberJoin: chris-mnc5.dc1 10.6.1.7
2015/12/16 14:11:13 [WARN] serf: Failed to re-join any previously known node
2015/12/16 14:11:13 [INFO] consul: adding server chris-mnc5.dc1 (Addr: 10.6.1.7:8300) (DC: dc1)
2015/12/16 14:11:13 [WARN] serf: Failed to re-join any previously known node
2015/12/16 14:11:15 [WARN] raft: Heartbeat timeout reached, starting election
2015/12/16 14:11:15 [INFO] raft: Node at 10.6.1.7:8300 [Candidate] entering Candidate state
2015/12/16 14:11:15 [INFO] raft: Election won. Tally: 1
2015/12/16 14:11:15 [INFO] raft: Node at 10.6.1.7:8300 [Leader] entering Leader state
2015/12/16 14:11:15 [INFO] consul: cluster leadership acquired
2015/12/16 14:11:15 [INFO] consul: New leader elected: chris-mnc5
2015/12/16 14:11:15 [INFO] raft: Disabling EnableSingleNode (bootstrap)
2015/12/16 14:11:15 [INFO] raft: Added peer 10.6.31.17:8300, starting replication
2015/12/16 14:11:15 [INFO] raft: Added peer 10.6.31.18:8300, starting replication
2015/12/16 14:11:15 [ERR] raft: Failed to AppendEntries to 10.6.31.17:8300: dial tcp 10.6.31.17:8300: connection refused
2015/12/16 14:11:15 [ERR] raft: Failed to AppendEntries to 10.6.31.18:8300: dial tcp 10.6.31.18:8300: connection refused
2015/12/16 14:11:15 [ERR] raft: Failed to AppendEntries to 10.6.31.18:8300: dial tcp 10.6.31.18:8300: connection refused
2015/12/16 14:11:15 [ERR] raft: Failed to AppendEntries to 10.6.31.17:8300: dial tcp 10.6.31.17:8300: connection refused
2015/12/16 14:11:15 [ERR] raft: Failed to heartbeat to 10.6.31.18:8300: dial tcp 10.6.31.18:8300: connection refused
2015/12/16 14:11:15 [ERR] raft: Failed to AppendEntries to 10.6.31.18:8300: dial tcp 10.6.31.18:8300: connection refused
2015/12/16 14:11:15 [ERR] raft: Failed to heartbeat to 10.6.31.17:8300: dial tcp 10.6.31.17:8300: connection refused
====>
2015/12/16 14:11:15 [ERR] raft: Failed to heartbeat to 10.6.31.18:8300: dial tcp 10.6.31.18:8300: connection refused
2015/12/16 14:11:15 [ERR] raft: Failed to AppendEntries to 10.6.31.17:8300: dial tcp 10.6.31.17:8300: connection refused
2015/12/16 14:11:15 [ERR] raft: Failed to AppendEntries to 10.6.31.18:8300: dial tcp 10.6.31.18:8300: connection refused
2015/12/16 14:11:15 [ERR] raft: Failed to heartbeat to 10.6.31.17:8300: dial tcp 10.6.31.17:8300: connection refused
2015/12/16 14:11:15 [ERR] raft: Failed to AppendEntries to 10.6.31.17:8300: dial tcp 10.6.31.17:8300: connection refused
2015/12/16 14:11:15 [ERR] raft: Failed to heartbeat to 10.6.31.18:8300: dial tcp 10.6.31.18:8300: connection refused
2015/12/16 14:11:15 [INFO] raft: Removed peer 10.6.31.17:8300, stopping replication (Index: 1240)
2015/12/16 14:11:15 [INFO] raft: Removed peer 10.6.31.18:8300, stopping replication (Index: 1240)
2015/12/16 14:11:15 [INFO] raft: Removed ourself, transitioning to follower
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
IRC: #consul on Freenode
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/b398846d-1796-4032-b1cb-eee0e2ab9dce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/8402e03b-4968-4bf9-83f4-2acf3c5bb752%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Consul" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/consul-tool/CJWXA7dMHw4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to consul-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/CAGoWc079jWAwbjLZYf%3DP%3DQHVZHBLnEqF0%3DAF0csWDfN5CSiTeA%40mail.gmail.com.
force-leave command can be used to transition the "failed" nodes to "left" nodes more quickly."To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/8402e03b-4968-4bf9-83f4-2acf3c5bb752%40googlegroups.com.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
IRC: #consul on Freenode
---
You received this message because you are subscribed to a topic in the Google Groups "Consul" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/consul-tool/CJWXA7dMHw4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to consul-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/8402e03b-4968-4bf9-83f4-2acf3c5bb752%40googlegroups.com.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
IRC: #consul on Freenode
---
You received this message because you are subscribed to a topic in the Google Groups "Consul" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/consul-tool/CJWXA7dMHw4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to consul-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/CAGoWc079jWAwbjLZYf%3DP%3DQHVZHBLnEqF0%3DAF0csWDfN5CSiTeA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
IRC: #consul on Freenode
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/46c5bbe1-7eaf-4ade-b54c-0a6a362651d1%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/01277018-692f-45a6-8074-e6ff5de32d6d%40googlegroups.com.