{"action":"created","issue":{"url":"https://api.github.com/repos/moby/moby/issues/35380","repository_url":"https://api.github.com/repos/moby/moby","labels_url":"https://api.github.com/repos/moby/moby/issues/35380/labels{/name}","comments_url":"https://api.github.com/repos/moby/moby/issues/35380/comments","events_url":"https://api.github.com/repos/moby/moby/issues/35380/events","html_url":"https://github.com/moby/moby/issues/35380","id":270588235,"number":35380,"title":"The service published ports are not published in my docker swarm.","user":{"login":"yellowiscool","id":45740,"avatar_url":"https://avatars2.githubusercontent.com/u/45740?v=4","gravatar_id":"","url":"https://api.github.com/users/yellowiscool","html_url":"https://github.com/yellowiscool","followers_url":"https://api.github.com/users/yellowiscool/followers","following_url":"https://api.github.com/users/yellowiscool/following{/other_user}","gists_url":"https://api.github.com/users/yellowiscool/gists{/gist_id}","starred_url":"https://api.github.com/users/yellowiscool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yellowiscool/subscriptions","organizations_url":"https://api.github.com/users/yellowiscool/orgs","repos_url":"https://api.github.com/users/yellowiscool/repos","events_url":"https://api.github.com/users/yellowiscool/events{/privacy}","received_events_url":"https://api.github.com/users/yellowiscool/received_events","type":"User","site_admin":false},"labels":[{"id":392678049,"url":"https://api.github.com/repos/moby/moby/labels/area/swarm","name":"area/swarm","color":"fbca04","default":false},{"id":712410756,"url":"https://api.github.com/repos/moby/moby/labels/version/17.10","name":"version/17.10","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-02T09:39:34Z","updated_at":"2017-11-02T12:15:12Z","closed_at":null,"author_association":"NONE","body":"\r\n**Description**\r\n\r\nHei, I just updated to docker swarm cluster to 17.10.0-ce and all my services ports are not published anymore. When creating a new service, it is not published as well.\r\n\r\n**Steps to reproduce the issue:**\r\n1. `docker service create -p 7777:80 --name nginx-test-service nginx`\r\n2. `curl http://127.0.0.1:7777/`\r\n\r\n**Describe the results you received:**\r\n\r\n`Failed to connect to localhost port 7777: Connection refused`\r\n\r\n**Output of `docker version`:**\r\n\r\n```\r\ndocker version\r\nClient:\r\n Version:      17.10.0-ce\r\n API version:  1.33\r\n Go version:   go1.8.3\r\n Git commit:   f4ffd25\r\n Built:        Tue Oct 17 19:04:40 2017\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      17.10.0-ce\r\n API version:  1.33 (minimum version 1.12)\r\n Go version:   go1.8.3\r\n Git commit:   f4ffd25\r\n Built:        Tue Oct 17 19:03:20 2017\r\n OS/Arch:      linux/amd64\r\n Experimental: false\r\n```\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\ndocker info\r\nContainers: 60\r\n Running: 13\r\n Paused: 0\r\n Stopped: 47\r\nImages: 733\r\nServer Version: 17.10.0-ce\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 1586\r\n Dirperm1 Supported: true\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: bridge host macvlan null overlay\r\n Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog\r\nSwarm: active\r\n NodeID: 0vyd402jbbodbke13os0it3v5\r\n Is Manager: true\r\n ClusterID: c9w8yeookbcev7wja70fufm4s\r\n Managers: 5\r\n Nodes: 7\r\n Orchestration:\r\n  Task History Retention Limit: 5\r\n Raft:\r\n  Snapshot Interval: 10000\r\n  Number of Old Snapshots to Retain: 0\r\n  Heartbeat Tick: 1\r\n  Election Tick: 3\r\n Dispatcher:\r\n  Heartbeat Period: 5 seconds\r\n CA Configuration:\r\n  Expiry Duration: 3 months\r\n  Force Rotate: 0\r\n Autolock Managers: false\r\n Root Rotation In Progress: false\r\n Node Address: 192.168.1.6\r\n Manager Addresses:\r\n  192.168.1.21:2377\r\n  192.168.1.23:2377\r\n  192.168.1.41:2377\r\n  192.168.1.43:2377\r\n  192.168.1.6:2377\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nInit Binary: docker-init\r\ncontainerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0\r\nrunc version: 0351df1c5a66838d0c392b4ac4cf9450de844e2d\r\ninit version: 949e6fa\r\nSecurity Options:\r\n apparmor\r\nKernel Version: 4.4.0-98-generic\r\nOperating System: Ubuntu 14.04.5 LTS\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 6\r\nTotal Memory: 15.64GiB\r\nName: swarm-master\r\nID: IOS2:WWFW:2WTT:VALW:HYDB:A4N4:FT7N:MHQB:B6XI:RCFA:A4ZK:W6IZ\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): false\r\nUsername: bmorin\r\nRegistry: https://index.docker.io/v1/\r\nLabels:\r\n provider=generic\r\n sin.region=no-oslo-1\r\n sin.color=black\r\n sin.storage=ssd\r\n sin.cpu=amd\r\n sin.performances=meh\r\nExperimental: false\r\nInsecure Registries:\r\n 127.0.0.0/8\r\nLive Restore Enabled: false\r\n\r\nWARNING: No swap limit support\r\n```\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\n\r\nIt's a small SWARM cluster of 7 physical nodes. I have the same results on all nodes. I tried to scale up and down, to run the actual container on different nodes… No difference."},"comment":{"url":"https://api.github.com/repos/moby/moby/issues/comments/341403114","html_url":"https://github.com/moby/moby/issues/35380#issuecomment-341403114","issue_url":"https://api.github.com/repos/moby/moby/issues/35380","id":341403114,"user":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars2.githubusercontent.com/u/1804568?v=4","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"created_at":"2017-11-02T12:15:12Z","updated_at":"2017-11-02T12:15:12Z","author_association":"MEMBER","body":"Anything in the logs that stands out? Perhaps you can also check if the iptables rules look ok (and if you see changes being made to iptables).\r\n\r\nDoes it make a difference if you try to connect using the external IP address of a node (instead of `localhost`)?"}}
{"actor":{"display_login":"thaJeztah"}}