{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/18783","labels_url":"https://api.github.com/repos/docker/docker/issues/18783/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/18783/comments","events_url":"https://api.github.com/repos/docker/docker/issues/18783/events","html_url":"https://github.com/docker/docker/issues/18783","id":123043754,"number":18783,"title":"issue with docker overlay multihost network","user":{"login":"mazembo","id":47649,"avatar_url":"https://avatars.githubusercontent.com/u/47649?v=3","gravatar_id":"","url":"https://api.github.com/users/mazembo","html_url":"https://github.com/mazembo","followers_url":"https://api.github.com/users/mazembo/followers","following_url":"https://api.github.com/users/mazembo/following{/other_user}","gists_url":"https://api.github.com/users/mazembo/gists{/gist_id}","starred_url":"https://api.github.com/users/mazembo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mazembo/subscriptions","organizations_url":"https://api.github.com/users/mazembo/orgs","repos_url":"https://api.github.com/users/mazembo/repos","events_url":"https://api.github.com/users/mazembo/events{/privacy}","received_events_url":"https://api.github.com/users/mazembo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-18T23:32:45Z","updated_at":"2015-12-18T23:32:47Z","closed_at":null,"body":"I have been trying to create an overlay network between two hosts with no success. I keep getting the error message: \r\nmavungu@mavungu-Aspire-5250:~$ sudo docker -H tcp://192.168.0.18:2380 network create -d overlay myapp\r\nError response from daemon: 500 Internal Server Error: failed to parse pool request for address space \"GlobalDefault\" pool \"\" subpool \"\": cannot find address space GlobalDefault (most likely the backing datastore is not configured)\r\n\r\nmavungu@mavungu-Aspire-5250:~$ sudo docker network create -d overlay myapp\r\n[sudo] password for mavungu: \r\nError response from daemon: failed to parse pool request for address space \"GlobalDefault\" pool \"\" subpool \"\": cannot find address space GlobalDefault (most likely the backing datastore is not configured)\r\n\r\nMy environment details: \r\nmavungu@mavungu-Aspire-5250:~$ sudo docker info\r\nContainers: 1\r\nImages: 364\r\nServer Version: 1.9.1\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 368\r\n Dirperm1 Supported: true\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nKernel Version: 3.19.0-26-generic\r\nOperating System: Ubuntu 15.04\r\nCPUs: 2\r\nTotal Memory: 3.593 GiB\r\nName: mavungu-Aspire-5250\r\nRegistry: https://index.docker.io/v1/\r\nWARNING: No swap limit support\r\n\r\nI have a swarm cluster working well with consul as the discovery mechanism: \r\n\r\nmavungu@mavungu-Aspire-5250:~$ sudo docker -H tcp://192.168.0.18:2380 info\r\nContainers: 4\r\nImages: 51\r\nRole: primary\r\nStrategy: spread\r\nFilters: health, port, dependency, affinity, constraint\r\nNodes: 2\r\n mavungu-Aspire-5250: 192.168.0.36:2375\r\n  └ Containers: 1\r\n  └ Reserved CPUs: 0 / 2\r\n  └ Reserved Memory: 0 B / 3.773 GiB\r\n  └ Labels: executiondriver=native-0.2, kernelversion=3.19.0-26-generic, operatingsystem=Ubuntu 15.04, storagedriver=aufs\r\n mavungu-HP-Pavilion-15-Notebook-PC: 192.168.0.18:2375\r\n  └ Containers: 3\r\n  └ Reserved CPUs: 0 / 4\r\n  └ Reserved Memory: 0 B / 3.942 GiB\r\n  └ Labels: executiondriver=native-0.2, kernelversion=4.2.0-19-generic, operatingsystem=Ubuntu 15.10, storagedriver=aufs\r\nCPUs: 6\r\nTotal Memory: 7.715 GiB\r\nName: bb47f4e57436\r\n\r\nMy consul is available at 192.168.0.18:8500 and it works well with the swarm cluster. \r\n\r\nI would like to be able to create an overlay network across the two hosts. I have configured the docker engines on both hosts with this additional settings: \r\nDOCKER_OPTS=\"-D --cluster-store-consul://192.168.0.18:8500 --cluster-advertise=192.168.0.18:0\"\r\nDOCKER_OPTS=\"-D --cluster-store-consul://192.168.0.18:8500 --cluster-advertise=192.168.0.36:0\"\r\nI had to stop and restart the engines and reset the swarm cluster...\r\nAfter failing to create the overlay network, I changed the --cluster-advertise setting to this : \r\n\r\nDOCKER_OPTS=\"-D --cluster-store-consul://192.168.0.18:8500 --cluster-advertise=192.168.0.18:2375\"\r\nDOCKER_OPTS=\"-D --cluster-store-consul://192.168.0.18:8500 --cluster-advertise=192.168.0.36:2375\"\r\n\r\nBut still it did not work. I am not sure of what ip:port should be set for the --cluster-advertise= . Docs, discussions and tutorials are not clear on this advertise thing. \r\n\r\nThere is something that I am getting wrong here. Please help. \r\n \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/165920483","html_url":"https://github.com/docker/docker/issues/18783#issuecomment-165920483","issue_url":"https://api.github.com/repos/docker/docker/issues/18783","id":165920483,"user":{"login":"GordonTheTurtle","id":10620046,"avatar_url":"https://avatars.githubusercontent.com/u/10620046?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonTheTurtle","html_url":"https://github.com/GordonTheTurtle","followers_url":"https://api.github.com/users/GordonTheTurtle/followers","following_url":"https://api.github.com/users/GordonTheTurtle/following{/other_user}","gists_url":"https://api.github.com/users/GordonTheTurtle/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonTheTurtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonTheTurtle/subscriptions","organizations_url":"https://api.github.com/users/GordonTheTurtle/orgs","repos_url":"https://api.github.com/users/GordonTheTurtle/repos","events_url":"https://api.github.com/users/GordonTheTurtle/events{/privacy}","received_events_url":"https://api.github.com/users/GordonTheTurtle/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T23:32:46Z","updated_at":"2015-12-18T23:32:46Z","body":"Hi!\n\t\nPlease read this important information about creating issues.\n\nIf you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.\n\nIf you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.\n\nThis is an automated, informational response. \n\nThank you.\n\nFor more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues \n\n-----------------------------\nBUG REPORT INFORMATION\n-----------------------------\nUse the commands below to provide key information from your environment:\n\n`docker version`:\n`docker info`:\n`uname -a`:\n\nProvide additional environment details (AWS, VirtualBox, physical, etc.):\n\n\n\nList the steps to reproduce the issue:\n1.\n2.\n3.\n\n\nDescribe the results you received:\n\n\nDescribe the results you expected:\n\n\nProvide additional info you think is important:\n\n\n----------END REPORT ---------\n\n\n\n#ENEEDMOREINFO\n"}}