{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/docker/issues/25112","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/25112/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/25112/comments","events_url":"https://api.github.com/repos/docker/docker/issues/25112/events","html_url":"https://github.com/docker/docker/issues/25112","id":167764997,"number":25112,"title":"1.12 rc_5 problem connecting node to swarm","user":{"login":"gurtagel","id":6096919,"avatar_url":"https://avatars.githubusercontent.com/u/6096919?v=3","gravatar_id":"","url":"https://api.github.com/users/gurtagel","html_url":"https://github.com/gurtagel","followers_url":"https://api.github.com/users/gurtagel/followers","following_url":"https://api.github.com/users/gurtagel/following{/other_user}","gists_url":"https://api.github.com/users/gurtagel/gists{/gist_id}","starred_url":"https://api.github.com/users/gurtagel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurtagel/subscriptions","organizations_url":"https://api.github.com/users/gurtagel/orgs","repos_url":"https://api.github.com/users/gurtagel/repos","events_url":"https://api.github.com/users/gurtagel/events{/privacy}","received_events_url":"https://api.github.com/users/gurtagel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/version/1.12","name":"version/1.12","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-27T03:56:06Z","updated_at":"2016-07-27T03:56:06Z","closed_at":null,"body":"<!--\r\nIf you are reporting a new issue, make sure that we do not have any duplicates\r\nalready open. You can ensure this by searching the issue list for this\r\nrepository. If there is a duplicate, please close your issue and add a comment\r\nto the existing issue instead.\r\n\r\nIf you suspect your issue is a bug, please edit your issue description to\r\ninclude the BUG REPORT INFORMATION shown below. If you fail to provide this\r\ninformation within 7 days, we cannot debug your issue and will close it. We\r\nwill, however, reopen it if you later provide the information.\r\n\r\nFor more information about reporting issues, see\r\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues\r\n\r\n---------------------------------------------------\r\nBUG REPORT INFORMATION\r\n---------------------------------------------------\r\nUse the commands below to provide key information from your environment:\r\nYou do NOT have to include this information if this is a FEATURE REQUEST\r\n-->\r\n\r\n**Output of `docker version`:**\r\n\r\n```\r\n(paste your output here)\r\n```\r\nClient:\r\n Version:      1.12.0-rc5\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   a3f2063\r\n Built:        Tue Jul 26 13:32:56 2016\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.12.0-rc5\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   a3f2063\r\n Built:        Tue Jul 26 13:32:56 2016\r\n OS/Arch:      linux/amd64\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\n(paste your output here)\r\n```\r\nContainers: 1\r\n Running: 0\r\n Paused: 0\r\n Stopped: 1\r\nImages: 2\r\nServer Version: 1.12.0-rc5\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 7\r\n Dirperm1 Supported: true\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: bridge null overlay host\r\nSwarm: pending\r\n NodeID: 8sbrs80mlcv77ycs84nmhnojn\r\n Error: rpc error: code = 2 desc = raft: no elected cluster leader\r\n Is Manager: true\r\n Managers: 0\r\n Nodes: 0\r\n Node Address: 171.71.27.157\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nSecurity Options: apparmor\r\nKernel Version: 3.16.0-77-generic\r\nOperating System: Ubuntu 14.04.4 LTS\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 8\r\nTotal Memory: 7.781 GiB\r\nName: cisco-h8-1020\r\nID: QY5G:HS4B:7QA5:GZHF:EBKW:QYSY:Q72X:M4RK:WDV3:GZXS:UP3W:UCYF\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): false\r\nRegistry: https://index.docker.io/v1/\r\nWARNING: No swap limit support\r\nInsecure Registries:\r\n 127.0.0.0/8\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\nphysical box. Total cluster for now is 3 physical boxes\r\n\r\n\r\n**Steps to reproduce the issue:**\r\n1. Get swarm 1.12 rc_5 on all 3 boxes\r\n2. Init swarm on one box (leader)\r\n3. Use command generated by this to add nodes 2, 3 to swarm. Box 2 works perfectly fine, but not box 3\r\n\r\n\r\n**Describe the results you received:**\r\nAfter doing a docker node ls I get the following\r\n\r\n7p111jefh2fqloeifycx7xsdf                                                  Unknown     Active        \r\nao0ttbqkaats7erurf3ck0e4a *      cisco-router-1               Ready         Active        Leader\r\nctnpjt52jbc480s0f2mn0p3q3       cisco-machine-3         Ready         Active\r\n\r\nAs you can see, 7p111... is not getting added to the swarm, its status is \"Unknown\" unlike the other 2 which show status as ready. This is also confirmed by the fact that when doing a job with a replication of 15 not a single one goes to this box. If it means anything, running the command to join the swarm took very long to process; I get \"Error response from daemon: Timeout was reached before node was joined. Attempt to join the cluster will continue in the background. Use \"docker info\" command to see the current swarm status of your node.\" When I do a docker node ls immediately after running the join for that box it does not appear, but shortly after this message appears I get that it does in fact join the swarm but with an unknown status, and no jobs get pushed to it. This confuses me, as I am almost certain it is not an internet issue (I am hardwired in and downloads happen very quickly). I am a newbie to docker, so any help would be appreciated!\r\n\r\n**Describe the results you expected:**\r\n\r\n\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\nI followed all of the isntructions carefully on the swarm installation guide"}}
{"actor":{"display_login":"gurtagel"}}