{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/docker/issues/28313","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/28313/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/28313/comments","events_url":"https://api.github.com/repos/docker/docker/issues/28313/events","html_url":"https://github.com/docker/docker/issues/28313","id":188799398,"number":28313,"title":"Overlay network in swarm windows host doesn't work","user":{"login":"samcayford","id":19393271,"avatar_url":"https://avatars.githubusercontent.com/u/19393271?v=3","gravatar_id":"","url":"https://api.github.com/users/samcayford","html_url":"https://github.com/samcayford","followers_url":"https://api.github.com/users/samcayford/followers","following_url":"https://api.github.com/users/samcayford/following{/other_user}","gists_url":"https://api.github.com/users/samcayford/gists{/gist_id}","starred_url":"https://api.github.com/users/samcayford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samcayford/subscriptions","organizations_url":"https://api.github.com/users/samcayford/orgs","repos_url":"https://api.github.com/users/samcayford/repos","events_url":"https://api.github.com/users/samcayford/events{/privacy}","received_events_url":"https://api.github.com/users/samcayford/received_events","type":"User","site_admin":false},"labels":[{"id":237472034,"url":"https://api.github.com/repos/docker/docker/labels/area/networking","name":"area/networking","color":"fbca04","default":false},{"id":392678049,"url":"https://api.github.com/repos/docker/docker/labels/area/swarm","name":"area/swarm","color":"fbca04","default":false},{"id":161101581,"url":"https://api.github.com/repos/docker/docker/labels/platform/windows","name":"platform/windows","color":"F6FBFF","default":false},{"id":375714123,"url":"https://api.github.com/repos/docker/docker/labels/version/1.12","name":"version/1.12","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-11T16:37:11Z","updated_at":"2016-11-11T22:04:42Z","closed_at":"2016-11-11T22:04:41Z","body":"\r\n**Description**\r\nWhen running swarm services if you supply the --network option to a service to run on a windows node it fails to start.\r\n\r\n**Steps to reproduce the issue:**\r\n1. Create swarm (on linux): \r\n`docker swarm init`\r\n2. Add windows worker node: \r\n`docker -H <ip> swarm join --token <token> <ip>:<port>`\r\n3. Add node label: \r\n`docker node update --label-add operatingsystem=windows <nodeId>`\r\n4. Create overlay network: \r\n`docker network create --driver overlay <network_name>`\r\n5. Create service to run on windows host:\r\n`docker service create --network <network_name> --constraint node.labels.operatingsystem==windows microsoft/windowsservercore`\r\n\r\n**Describe the results you received:**\r\n`docker service ps <name>`\r\nyields:\r\n\r\n> ID                         NAME                    IMAGE                        NODE             DESIRED STATE  CURRENT STATE             ERROR\r\n> 4d0c1c0xirwkuxi1qfqkpom6t  determined_jones.1      microsoft/windowsservercore  EC2AMAZ-I3HBU1F  Ready          Preparing 10 seconds ago\r\n> dglkd4encz05b26760pvpmtai   \\_ determined_jones.1  microsoft/windowsservercore  EC2AMAZ-I3HBU1F  Shutdown       Rejected 11 seconds ago   \"plugin not found\"\r\n\r\nThe logs on the Windows host show:\r\n```\r\ntime=\"2016-11-11T15:42:31.871024400Z\" level=warning msg=\"Unable to locate plugin: overlay, retrying in 1s\"\r\ntime=\"2016-11-11T15:42:32.872039400Z\" level=warning msg=\"Unable to locate plugin: overlay, retrying in 2s\"\r\ntime=\"2016-11-11T15:42:34.873984000Z\" level=warning msg=\"Unable to locate plugin: overlay, retrying in 4s\"\r\ntime=\"2016-11-11T15:42:38.874930000Z\" level=warning msg=\"Unable to locate plugin: overlay, retrying in 8s\"\r\ntime=\"2016-11-11T15:42:46.875795000Z\" level=error msg=\"Failed creating ingress network: plugin not found\"\r\ntime=\"2016-11-11T16:26:01.035374100Z\" level=warning msg=\"Unable to locate plugin: overlay, retrying in 1s\"\r\ntime=\"2016-11-11T16:26:02.036440300Z\" level=warning msg=\"Unable to locate plugin: overlay, retrying in 2s\"\r\ntime=\"2016-11-11T16:26:04.037436800Z\" level=warning msg=\"Unable to locate plugin: overlay, retrying in 4s\"\r\ntime=\"2016-11-11T16:26:08.038468700Z\" level=warning msg=\"Unable to locate plugin: overlay, retrying in 8s\"\r\ntime=\"2016-11-11T16:26:16.040462100Z\" level=error msg=\"fatal task error\" error=\"plugin not found\" module=\"node/agent/taskmanager\" task.id=dglkd4encz05b26760pvpmtai\r\n```\r\n\r\n**Describe the results you expected:**\r\nI would expect it to start and to be able to ping other containers within that overlay network. Doing so with non-windows containers yields that result.\r\n\r\n**Output of `docker version`:**\r\nLinux:\r\n```\r\nClient:\r\n Version:      1.12.3\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   6b644ec\r\n Built:        Wed Oct 26 21:49:51 2016\r\n OS/Arch:      linux/amd64\r\n Experimental: true\r\n\r\nServer:\r\n Version:      1.12.3\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   6b644ec\r\n Built:        Wed Oct 26 21:49:51 2016\r\n OS/Arch:      linux/amd64\r\n Experimental: true\r\n```\r\n\r\nWindows:\r\n```\r\nClient:\r\n Version:      1.12.2-cs2-ws-beta\r\n API version:  1.25\r\n Go version:   go1.7.1\r\n Git commit:   050b611\r\n Built:        Tue Oct 11 02:35:40 2016\r\n OS/Arch:      windows/amd64\r\n\r\nServer:\r\n Version:      1.12.2-cs2-ws-beta\r\n API version:  1.25\r\n Go version:   go1.7.1\r\n Git commit:   050b611\r\n Built:        Tue Oct 11 02:35:40 2016\r\n OS/Arch:      windows/amd64\r\n```\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\n\r\nBoxes are AWS instances. Linux is running Ubuntu 16.04. Windows one is the \"Microsoft Windows Server 2016 Base with Containers - ami-d08edfc7\" which comes with Docker preinstalled."}}
{"actor":{"display_login":"cpuguy83"}}