Comments (2)
hello @galindro, I build this as a demostration for the docker scale, I didn't make it for the purpose of persistent storage, because most of the consul cluster I saw was based on independent service for each consul instance.
I don't know much about the internal behaviour of the consul itself, but I think that when you save the persistent data and start a new stack again, the containers could not have the same IP, so perhaps it loose some IP configuration and because that could make a a leader election (perhaps they are waiting for response of a non-existant IP). You could check it writing the IP addresses before stoping the stack and when starting again, and look if they match on the logs for the voter and leader election when starting the 2nd time.
You could also try the placement constraint using a label instead of a node.role == manager
, make something like consul == true
and add labels to nodes. Then try to remove one label from one node and add it again to see if it joins, then try remove one label, then a remove a 2nd label, and add the two labels again.
from consul.
No answer on the last months so I will close this. Reopen if needed.
from consul.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from consul.