-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
SwarmMode - Not routing on worker node #838
Comments
Some tests with 2 ubuntu containers :
They can't reach each other on the VIP |
Have you made sure you have all the required ports open? If your overlay is encrypted you will also need to make sure you can send ESP packets. https://docs.docker.com/engine/swarm/swarm-tutorial/#/open-ports-between-the-hosts |
Yeah thanks |
After some tests, its clearly a docker swarm config issue itself. I don"t know what i'm missing. To reproduce my setup, it's quite easy.
Now i'm trying do do a swarm init on docker PC 1 and a swarm join on PC 2 Then :
Try to ping/curl each other by VIP or IP |
Closing cause no pb with real swarm cluster |
Hi,
I want to set up a 2 nodes swarm cluster (1 manager, 1 worker)
I have traefik running on master, with theses options (i took pr 728 which i found is the last with functionnal dashboard)
Then i run whoami service on manager node :
That's OK I can access http://whoami.swarm.mydomain.org:85/
I remove service and start same conf on worker node :
As expected the container start on worker and traefik dashboard show me an entry to the VIP, like :
http://10.0.0.7:80
But then traefik can't access it
Logs :
time="2016-11-14T09:41:21Z" level=warning msg="Error forwarding to http://10.0.0.7:80, err: dial tcp 10.0.0.7:80: getsockopt: no route to host"
What am I missing ?
Thanx for reading
The text was updated successfully, but these errors were encountered: