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
1.12 RC3: service vip does not respond correctly after service scale down(new replicas < old replicas) #24531
Comments
/cc @mavenugo |
I have the same issue only it extends to
I have also noticed that when creating a regular nginx service with the following:
However I have found that with this setup the containers are only visible occasionally through the port 30000 I have assigned and only through random nodes instead of all the nodes. Also it doesn't seem to work at all unless there are two containers on each node and the containers are occasionally visible through port 80 for some unknowable reason. When I can access my containers it is usually only through one node and that node is not load balancing the containers. When attempting to For reference: I am working in a private openstack cloud, ubuntu 14.04, on 6 machines distributed. 3 manager nodes that are drained and 3 client nodes that are active.
|
So my issue was caused by my swarm managers using docker 1.12.0-rc3 and my clients were 1.12.0-rc4. After updating my docker versions and remaking my cluster the issue of overlay networking was resolved. |
I have the same issue with rc4. |
@ligc This has been fixed in master and will be in the next (1.12.2) release. Could you try with master and confirm? |
@aluzzardi Can you please point to the PR that fixed it on master? Is it an all-encompassing vendoring change, or a localized patch? |
This issue should have been fixed in 1.12.1 itself. The PR that fixed this is moby/libnetwork#1370. |
As @mrjana said it is fixed in 1.12.1, closing. |
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
The swarm has 5 nodes:
Two services deployed in the swarm
Steps to reproduce the issue:
Describe the results you received:
After the httpserver service scale down, the 10.255.0.14:80 does not respond on some nodes, in the case below, the containers on nodes x6, x8 and x9 could not connect to the service vip
Describe the results you expected:
The service vip should work no matter the service scale up or scale down
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: