{"action":"created","issue":{"url":"https://api.github.com/repos/docker/swarmkit/issues/872","repository_url":"https://api.github.com/repos/docker/swarmkit","labels_url":"https://api.github.com/repos/docker/swarmkit/issues/872/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarmkit/issues/872/comments","events_url":"https://api.github.com/repos/docker/swarmkit/issues/872/events","html_url":"https://github.com/docker/swarmkit/issues/872","id":159301811,"number":872,"title":"swarmctl does not return in multiple managers environment","user":{"login":"dongluochen","id":14985073,"avatar_url":"https://avatars.githubusercontent.com/u/14985073?v=3","gravatar_id":"","url":"https://api.github.com/users/dongluochen","html_url":"https://github.com/dongluochen","followers_url":"https://api.github.com/users/dongluochen/followers","following_url":"https://api.github.com/users/dongluochen/following{/other_user}","gists_url":"https://api.github.com/users/dongluochen/gists{/gist_id}","starred_url":"https://api.github.com/users/dongluochen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongluochen/subscriptions","organizations_url":"https://api.github.com/users/dongluochen/orgs","repos_url":"https://api.github.com/users/dongluochen/repos","events_url":"https://api.github.com/users/dongluochen/events{/privacy}","received_events_url":"https://api.github.com/users/dongluochen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-06-08T23:50:56Z","updated_at":"2016-06-09T17:55:47Z","closed_at":null,"body":"When trying to reject a node already in a cluster, `swarmctl` doesn't return. Similar problem with `remove`, `pause`, `drain` node. \r\n\r\nCluster is set up with docker integration https://github.com/docker/docker/pull/23362. \r\n\r\n```\r\ndchen@vm2:~$ sudo ./swarmctl -s /var/lib/docker/swarm/control.sock node ls\r\nID             Name  Membership  Status  Availability  Manager status\r\n--             ----  ----------  ------  ------------  --------------\r\n1awuz66ikj9vd  vm2   ACCEPTED    READY   ACTIVE        REACHABLE *\r\n281iee3xb1z1b  vm3   ACCEPTED    READY   ACTIVE\r\n3t9ft91gotlov  vm4   ACCEPTED    READY   ACTIVE        REACHABLE\r\n\r\ndchen@vm2:~$ sudo ./swarmctl -s /var/lib/docker/swarm/control.sock node reject vm3\r\n^C\r\n\r\ndchen@vm2:~$ sudo ./swarmctl -s /var/lib/docker/swarm/control.sock node remove vm3\r\n^C\r\n\r\ndchen@vm2:~$ sudo ./swarmctl -s /var/lib/docker/swarm/control.sock node pause vm3\r\n^C\r\n\r\ndchen@vm2:~$ sudo ./swarmctl -s /var/lib/docker/swarm/control.sock node drain vm3\r\n^C\r\n\r\ndchen@vm2:~$ sudo ./swarmctl -s /var/lib/docker/swarm/control.sock version\r\n./swarmctl github.com/docker/swarmkit 5592f68\r\n\r\ndchen@vm2:~$ ~/docker-1.12/docker version\r\nClient:\r\n Version:      1.12.0-dev\r\n API version:  1.24\r\n Go version:   go1.6.2\r\n Git commit:   f0b540d\r\n Built:        Wed Jun  8 22:39:33 2016\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.12.0-dev\r\n API version:  1.24\r\n Go version:   go1.6.2\r\n Git commit:   f0b540d\r\n Built:        Wed Jun  8 22:39:33 2016\r\n OS/Arch:      linux/amd64\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/swarmkit/issues/comments/224975431","html_url":"https://github.com/docker/swarmkit/issues/872#issuecomment-224975431","issue_url":"https://api.github.com/repos/docker/swarmkit/issues/872","id":224975431,"user":{"login":"jpetazzo","id":171481,"avatar_url":"https://avatars.githubusercontent.com/u/171481?v=3","gravatar_id":"","url":"https://api.github.com/users/jpetazzo","html_url":"https://github.com/jpetazzo","followers_url":"https://api.github.com/users/jpetazzo/followers","following_url":"https://api.github.com/users/jpetazzo/following{/other_user}","gists_url":"https://api.github.com/users/jpetazzo/gists{/gist_id}","starred_url":"https://api.github.com/users/jpetazzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpetazzo/subscriptions","organizations_url":"https://api.github.com/users/jpetazzo/orgs","repos_url":"https://api.github.com/users/jpetazzo/repos","events_url":"https://api.github.com/users/jpetazzo/events{/privacy}","received_events_url":"https://api.github.com/users/jpetazzo/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T17:55:47Z","updated_at":"2016-06-09T17:55:47Z","body":"@abronan: I don't know if it's the same issue! I had a task that remained in `ACCEPTING` for a while, but now (a couple of hours later) it is `RUNNING`. However I still have a bunch of lines like this in the logs of the Engine:\r\n\r\n```\r\nJun 09 17:54:16 ip-172-31-19-35 docker[24374]: time=\"2016-06-09T17:54:16.734937349Z\" level=error msg=\"Bulk sync to node ip-172-31-19-39 timed out\"\r\nJun 09 17:54:16 ip-172-31-19-35 docker[24374]: time=\"2016-06-09T17:54:16.738491338Z\" level=error msg=\"Bulk sync to node ip-172-31-19-39 timed out\"\r\nJun 09 17:54:47 ip-172-31-19-35 docker[24374]: time=\"2016-06-09T17:54:47.621241775Z\" level=error msg=\"Bulk sync to node ip-172-31-19-36 timed out\"\r\nJun 09 17:54:48 ip-172-31-19-35 docker[24374]: time=\"2016-06-09T17:54:48.331440454Z\" level=error msg=\"Bulk sync to node ip-172-31-19-38 timed out\"\r\nJun 09 17:55:15 ip-172-31-19-35 docker[24374]: time=\"2016-06-09T17:55:15.764598785Z\" level=error msg=\"Bulk sync to node ip-172-31-19-37 timed out\"\r\n```\r\n\r\nIf you want access to the cluster, ping me on Slack, I can share it for sure."}}
{"actor":{"display_login":"jpetazzo"}}