-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
Docker Swarm Connectivity issue on Ubuntu 22.04 Cluster #45541
Comments
networks:
storm-net:
external: true You left out the most important information. What's the configuration of |
I apologize for the inconvenience. |
I see that you set the data path port to 7777. I suggest you try changing it to the default of 4789. I have a hunch that the Ubuntu Docker package installs ufw configuration to allow incoming traffic on the default data path port only. |
Tbh the only reason why I changed the data path port was due to the fact that I found some posts online suggesting that that might be the problem. I am experiencing this problem even when using the default data path port. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Same boat. I was using Ubuntu 20.04 and it worked, but as soon as I upgraded to 22.04 everything stopped working. Absolutely no connectivity between swarm nodes. Single-node swarm still works but as soon as the network goes beyond the one machine there is no connectivity. Pinging containers works, but |
@tusooa what's your @jgeorg02 @tusooa did you both upgrade Ubuntu 20.04 -> 22.04 in-place, i.e. without reinstalling the operating system from scratch? How did you upgrade? |
20.10.21-0ubuntu1~22.04.3 Yes it was an upgrade in place, but, I also tried to use a new 22.04 installation, same result. |
I also upgraded from Ubuntu 20.04 -> 22.04, I also tried to uninstall and reinstall docker but still I couldn't make it work. I also tried in a fresh new installment of Ubuntu 22.04, it still didn't work. My docker engine version is 23.0.5 |
I have the same problem. In the same docker swarm I have nodes with Ubuntu 20.04 that work the overlay network between them. On nodes 22.04, the overlay network does not work both between nodes 22.04 and between nodes 22.04 and 20.04. |
I still experience the same issue and I haven't found out any way to solve it. |
Hello everyone, I would like to confirm that with the updated version of docker this bug has been fixed :) Everything is working properly now (at least for me) |
Description
Something seems to go wrong when using Docker Swarm on Ubuntu 22.04. I have some services where when I deploy them on a Docker Swarm locally everything works fine. If I deploy one in one node and another in another node, even though they can ping each other using hostnames they cannot connect/communicate to each other. There isn't something wrong with the services since they were working just fine when I used to have Ubuntu 20.04.
I tried to find solutions from issues that were relevant to mine that I found online but none of them seemed to fix my issue. I have already tried the following:
Reproduce
An example docker-compose.yaml that I am using to deploy a service using the command:
docker stack deploy --compose-file docker-compose.yaml storm-net
:storm.yaml contains the following:
Then the output of ping:
The output of the supervisor:
Using docker inspect I can verify that the IP of the Zookeeper service is:
For both nodes I have installed Docker version 20.10.21, build 20.10.21-0ubuntu1~22.04.3
Expected behavior
Docker Swarm Overlay networking should work as it used to work on Ubuntu 20.04.
docker version
docker info
Additional Info
No response
The text was updated successfully, but these errors were encountered: