// , If one Consul Cluster connects to another, then both remove-peer each other, it makes the second Consul Cluster leaderless. #3218
Labels
type/question
Not an "enhancement" or "bug". Please post on discuss.hashicorp
I had a question, and directed it to the consul mailing list. It hasn't been addressed in the FAQ.
Here's a link to my question on the
consul-tool
mailing list:https://groups.google.com/d/msg/consul-tool/Mnf71dzLi-k/cxOe1dnoAAAJ
I also asked on serverfault.com:
https://serverfault.com/questions/852520/how-do-i-completely-remove-a-node-from-a-consul-cluster
I will continue to post there, but an architect in my group mentioned that the issue about which I asked may be a bug. Perhaps it's worth asking here whether this is something you have observed before.
consul version
for both Client and ServerClient: N/A
Server:
0.8.3
[nathan-basanese-zsh8@prd0consulserver2 ~]% consul version
Consul v0.8.3
Protocol 2 spoken by default, understands 2 to 3 (agent will automatically use protocol >2 when speaking to compatible agents)
[nathan-basanese-zsh8@prd0consulserver2 ~]%
consul info
for both Production Server and Alpha ServerProduction Server:
Alpha Server:
Operating system and Environment details
CEntOS 6.7
Linux 2.6.32-696.1.1.el6.x86_64 #1 SMP Tue Apr 11 17:13:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Description of the Issue (and unexpected/desired result)
Reproduction steps
Create a 3 member Consul cluster Alpha with members on different subnets.
Create another 3 member Consul cluster Production with members on 2 different subnets from the above two.
Have one member from the second Consul cluster Production configured with a member of Alpha in start_join.
Reconfigure that member of the Production cluster to no longer use a member of Alpha, and have each cluster remove the peers of the other.
Observe that the first cluster, Alpha, will become leaderless.
If this is a bug, it is somewhat subtle. It may have to do with Raft, not Consul.
I have reproduced this problem three times in an effort to resolve it, even after deleting all raft & consul data from the affected servers.
Log Fragments or Link to gist
Include appropriate Client or Server log fragments. If the log is longer
than a few dozen lines, please include the URL to the
gist.
Please refer to the stackoverflow.com post: https://serverfault.com/questions/852520/how-do-i-completely-remove-a-node-from-a-consul-cluster
Or indicate which other logs or behavior you would want to observe.
The text was updated successfully, but these errors were encountered: