Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No master is currently leading ... #79

Closed
ilackarms opened this issue Nov 9, 2015 · 2 comments
Closed

No master is currently leading ... #79

ilackarms opened this issue Nov 9, 2015 · 2 comments

Comments

@ilackarms
Copy link

When I run vagrant up inside the multinode directory, the cluster seems to boot up without issue. However the "No master is currently leading ..." message never goes away (or at least takes a long time), and neither master ever detects any of the slaves. Could this be a problem with zookeeper? I have tried reducing the number of Masters to 1, as well as the number of slaves to 1, but the master still seems to not detect the slave.

@schmidtjohannes
Copy link

i had to set up a basic config file in /etc/zookeeper/conf/zoo.cfg with
tickTime=2000
dataDir=/var/lib/zookeeper
clientPort=2181
After that a restart of the cluster will help
I had to start marathon manually
/opt/marathon/bin/start --master zk://172.31.0.11:2181/mesos --zk zk://172.31.0.11:2181/marathon --http_port 8080
But I got the impression that something is not working with chef, because there are some config templates for zk in this project.

@ilackarms
Copy link
Author

This issue was caused by specifying a synced folder in the vagrantfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants