Closed niau closed 8 years ago
One more comment I have monitored exactly the same behavior also in an environment build against the head of master docker repository branch.
niau@docker-swarm-head-1:~$ docker info
Containers: 4
Running: 1
Paused: 0
Stopped: 3
Images: 6
Server Version: 1.13.0-dev
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 26
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local azurefile
Network: bridge host null overlay overlay
Swarm: active
NodeID: 7p1ab5vhjax085liyxlrrkfl6
Is Manager: true
ClusterID: b9sxgfffc4pk274xhyylvyeqg
Managers: 1
Nodes: 2
Orchestration:
Task History Retention Limit: 5
Raft:
Snapshot Interval: 10000
Heartbeat Tick: 1
Election Tick: 3
Dispatcher:
Heartbeat Period: 5 seconds
CA Configuration:
Expiry Duration: 3 months
Node Address: 10.0.0.57
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.4.0-36-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 27.48 GiB
Name: docker-swarm-head-1
ID: CZFA:OXKQ:K6OD:4TMK:BRT6:5FXD:6NUE:JG5I:XKNV:J6AJ:5DLA:QK3R
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
niau@docker-swarm-head-1:~$ docker version
Client:
Version: 1.13.0-dev
API version: 1.25
Go version: go1.7
Git commit: ebae43e
Built: Sat Sep 10 10:38:38 2016
OS/Arch: linux/amd64
Server:
Version: 1.13.0-dev
API version: 1.25
Go version: go1.7
Git commit: ebae43e
Built: Sat Sep 10 10:38:38 2016
OS/Arch: linux/amd64
@niau Since this is an issue found by using docker directly, would you mind re-creating this issue in docker/docker?
I am closing the issue here since it needs to be created in docker/docker
@mrjana this issue has been created and found by using swarm.
Docker directly is used just for verification purposes. Please confirm that I still needs to open it against docker/docker.
@niau Yes, all issues found my using docker directly should be filed against docker/docker. This just helps to have one single funnel point to triage all the docker issues.
Please file the issue there and ping me there. We can start the conversation there.
My environment: I have a swarm cluster from one manager and one node. On Ubuntu 16.04 with an inactive ufw firewall.
Docker version
Docker info
How to reproduce the issue:
Create 3 services with replica factor 1 and endpoint mode vip so that to get a distribution like one container on one of the nodes and two on the other. Make them to use the initially (by default) created internal overlay docker network.
Example service inspect
Once you do that you can try to resolve the name of the services. The pattern I have found is:
-> container from service nms2 on host node1 trying to reach nms1 service that is in a container running on a different node (head1)
When I check the routing on the container
->>>> Which is a bug to me....