{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/25039","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/25039/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/25039/comments","events_url":"https://api.github.com/repos/docker/docker/issues/25039/events","html_url":"https://github.com/docker/docker/issues/25039","id":167508615,"number":25039,"title":"could not add veth pair inside the network sandbox: could not find an appropriate master \"bridged563c27\" for \"vethac2aa6d\"","user":{"login":"jschunlei","id":9960265,"avatar_url":"https://avatars.githubusercontent.com/u/9960265?v=3","gravatar_id":"","url":"https://api.github.com/users/jschunlei","html_url":"https://github.com/jschunlei","followers_url":"https://api.github.com/users/jschunlei/followers","following_url":"https://api.github.com/users/jschunlei/following{/other_user}","gists_url":"https://api.github.com/users/jschunlei/gists{/gist_id}","starred_url":"https://api.github.com/users/jschunlei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jschunlei/subscriptions","organizations_url":"https://api.github.com/users/jschunlei/orgs","repos_url":"https://api.github.com/users/jschunlei/repos","events_url":"https://api.github.com/users/jschunlei/events{/privacy}","received_events_url":"https://api.github.com/users/jschunlei/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/group/networking","name":"group/networking","color":"F6FBFF"},{"url":"https://api.github.com/repos/docker/docker/labels/version/1.9","name":"version/1.9","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-26T02:35:29Z","updated_at":"2016-07-27T22:20:39Z","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[root@docker3 ~]# docker version\r\n\r\n```\r\nClient:\r\n Version:      1.9.1\r\n API version:  1.21\r\n Go version:   go1.4.2\r\n Git commit:   a34a1d5\r\n Built:        Fri Nov 20 13:25:01 UTC 2015\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.9.1\r\n API version:  1.21\r\n Go version:   go1.4.2\r\n Git commit:   a34a1d5\r\n Built:        Fri Nov 20 13:25:01 UTC 2016\r\n OS/Arch:      linux/amd64\r\n```\r\n**Additional environment** : VirtualBox\r\n\r\n**Steps to reproduce the issue:**\r\n1. my command is `docker run -d --net=vlan100 10.10.114.162:5000/tomcat_root:7.0.68`\r\n2. vlan100 is overlay driver\r\n3. the container can't start, return error: `Cannot start container de093f4b3302d470f55f510f67ce43588fc9b8a3c69bf0564d31e47b15c7a41d: could not add veth pair inside the network sandbox: could not find an appropriate master \\\"bridged563c27\\\" for \\\"veth6e7b39b\\\"`\r\n4. I find the source code about the error :  [https://github.com/docker/libnetwork/blob/master/osl/interface_linux.go](https://github.com/docker/libnetwork/blob/master/osl/interface_linux.go) ; but i can't understand the source code\r\n5. After i execute the command `systemctl restart docker`, the command  `docker run -d --net=vlan100 10.10.114.162:5000/tomcat_root:7.0.68`  can execute\r\n\r\nlet us look the docker log:\r\n\r\n```\r\nJul 21 11:08:52 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:52.902868257+08:00\" level=info msg=\"GET /v1.21/containers/10.10.114.162:5000/tomcat_root:7.0.68/json\"\r\nJul 21 11:08:52 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:52.903236728+08:00\" level=error msg=\"Handler for GET /v1.21/containers/10.10.114.162:5000/tomcat_root:7.0.68/json returned error: no such id: 10.10.114.162:5000/tomcat_root:7.0.68\"\r\nJul 21 11:08:52 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:52.903287269+08:00\" level=error msg=\"HTTP Error\" err=\"no such id: 10.10.114.162:5000/tomcat_root:7.0.68\" statusCode=404\r\nJul 21 11:08:52 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:52.903970040+08:00\" level=info msg=\"GET /v1.21/images/10.10.114.162:5000/tomcat_root:7.0.68/json\"\r\nJul 21 11:08:52 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:52.925476848+08:00\" level=info msg=\"GET /v1.21/containers/10.10.114.162:5000/tomcat_root:7.0.68/json\"\r\nJul 21 11:08:52 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:52.926012473+08:00\" level=error msg=\"Handler for GET /v1.21/containers/10.10.114.162:5000/tomcat_root:7.0.68/json returned error: no such id: 10.10.114.162:5000/tomcat_root:7.0.68\"\r\nJul 21 11:08:52 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:52.926085631+08:00\" level=error msg=\"HTTP Error\" err=\"no such id: 10.10.114.162:5000/tomcat_root:7.0.68\" statusCode=404\r\nJul 21 11:08:52 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:52.926828006+08:00\" level=info msg=\"GET /v1.21/images/10.10.114.162:5000/tomcat_root:7.0.68/json\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.103304398+08:00\" level=info msg=\"POST /v1.21/containers/create?name=mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.634c9a4a-211b-4611-a88e-7b3fa08380ee\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.150929182+08:00\" level=info msg=\"GET /v1.21/containers/mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.634c9a4a-211b-4611-a88e-7b3fa08380ee/json\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.151967711+08:00\" level=info msg=\"GET /v1.21/containers/mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.47a48329-239a-4cfa-a53b-9c09b7d4caf3/json\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.152221242+08:00\" level=error msg=\"Handler for GET /v1.21/containers/mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.47a48329-239a-4cfa-a53b-9c09b7d4caf3/json returned error: no such id: mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.47a48329-239a-4cfa-a53b-9c09b7d4caf3\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.152283467+08:00\" level=error msg=\"HTTP Error\" err=\"no such id: mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.47a48329-239a-4cfa-a53b-9c09b7d4caf3\" statusCode=404\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.152736487+08:00\" level=info msg=\"POST /v1.21/containers/create?name=mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.47a48329-239a-4cfa-a53b-9c09b7d4caf3\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.164683359+08:00\" level=info msg=\"GET /v1.21/images/mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.47a48329-239a-4cfa-a53b-9c09b7d4caf3/json\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.165127125+08:00\" level=error msg=\"Handler for GET /v1.21/images/mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.47a48329-239a-4cfa-a53b-9c09b7d4caf3/json returned error: No such image: mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.47a48329-239a-4cfa-a53b-9c09b7d4caf3\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.165226147+08:00\" level=error msg=\"HTTP Error\" err=\"No such image: mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.47a48329-239a-4cfa-a53b-9c09b7d4caf3\" statusCode=404\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.201350658+08:00\" level=error msg=\"Handler for GET /v1.21/containers/mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.634c9a4a-211b-4611-a88e-7b3fa08380ee/json returned error: Unknown device b781b7840564735c35e52ffc34a9e957df5c395aef5c3e57c67ce477d1c0f640\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.201481500+08:00\" level=error msg=\"HTTP Error\" err=\"Unknown device b781b7840564735c35e52ffc34a9e957df5c395aef5c3e57c67ce477d1c0f640\" statusCode=500\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.202610084+08:00\" level=info msg=\"GET /v1.21/images/mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.634c9a4a-211b-4611-a88e-7b3fa08380ee/json\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.202936281+08:00\" level=error msg=\"Handler for GET /v1.21/images/mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.634c9a4a-211b-4611-a88e-7b3fa08380ee/json returned error: No such image: mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.634c9a4a-211b-4611-a88e-7b3fa08380ee\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.203010333+08:00\" level=error msg=\"HTTP Error\" err=\"No such image: mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.634c9a4a-211b-4611-a88e-7b3fa08380ee\" statusCode=404\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.628313028+08:00\" level=info msg=\"POST /v1.21/containers/eed5033a902578540bb63aca1c592a380645364ba0e5403374c0f6602a513aed/attach?stderr=1&stdout=1&stream=1\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.629488780+08:00\" level=info msg=\"POST /v1.21/containers/eed5033a902578540bb63aca1c592a380645364ba0e5403374c0f6602a513aed/start\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.691938104+08:00\" level=info msg=\"POST /v1.21/containers/b781b7840564735c35e52ffc34a9e957df5c395aef5c3e57c67ce477d1c0f640/attach?stderr=1&stdout=1&stream=1\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.693335453+08:00\" level=info msg=\"POST /v1.21/containers/b781b7840564735c35e52ffc34a9e957df5c395aef5c3e57c67ce477d1c0f640/start\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.811502802+08:00\" level=info msg=\"GET /v1.21/containers/mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.47a48329-239a-4cfa-a53b-9c09b7d4caf3/json\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.908797586+08:00\" level=info msg=\"GET /v1.21/containers/mesos-e60a3b0e-e3c0-4b47-8d9c-0b890b13a696-S4.634c9a4a-211b-4611-a88e-7b3fa08380ee/json\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.922388977+08:00\" level=info msg=\"No non-localhost DNS nameservers are left in resolv.conf. Using default external servers : [nameserver 8.8.8.8 nameserver 8.8.4.4]\"\r\nJul 21 11:08:53 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:53.922510859+08:00\" level=info msg=\"IPv6 enabled; Adding default IPv6 external servers : [nameserver 2001:4860:4860::8888 nameserver 2001:4860:4860::8844]\"\r\nJul 21 11:08:54 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:54.013185703+08:00\" level=info msg=\"GET /containers/json?all=0&size=0\"\r\nJul 21 11:08:54 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:54.107527531+08:00\" level=info msg=\"No non-localhost DNS nameservers are left in resolv.conf. Using default external servers : [nameserver 8.8.8.8 nameserver 8.8.4.4]\"\r\nJul 21 11:08:54 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:54.107634030+08:00\" level=info msg=\"IPv6 enabled; Adding default IPv6 external servers : [nameserver 2001:4860:4860::8888 nameserver 2001:4860:4860::8844]\"\r\nJul 21 11:08:54 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:54.198995205+08:00\" level=warning msg=\"failed to cleanup ipc mounts:\\nfailed to umount /data/hps/hps_install/data/docker/containers/eed5033a902578540bb63aca1c592a380645364ba0e5403374c0f6602a513aed/shm: no such file or directory\\nfailed to umount /data/hps/hps_install/data/docker/containers/eed5033a902578540bb63aca1c592a380645364ba0e5403374c0f6602a513aed/mqueue: no such file or directory\"\r\nJul 21 11:08:54 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:54.262301064+08:00\" level=error msg=\"Handler for POST /v1.21/containers/eed5033a902578540bb63aca1c592a380645364ba0e5403374c0f6602a513aed/start returned error: Cannot start container eed5033a902578540bb63aca1c592a380645364ba0e5403374c0f6602a513aed: could not add veth pair inside the network sandbox: could not find an appropriate master \\\"bridged563c27\\\" for \\\"veth4b72cce\\\"\"\r\nJul 21 11:08:54 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:54.262483721+08:00\" level=error msg=\"HTTP Error\" err=\"Cannot start container eed5033a902578540bb63aca1c592a380645364ba0e5403374c0f6602a513aed: could not add veth pair inside the network sandbox: could not find an appropriate master \\\"bridged563c27\\\" for \\\"veth4b72cce\\\"\" statusCode=500\r\nJul 21 11:08:54 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:54.602577178+08:00\" level=warning msg=\"failed to cleanup ipc mounts:\\nfailed to umount /data/hps/hps_install/data/docker/containers/b781b7840564735c35e52ffc34a9e957df5c395aef5c3e57c67ce477d1c0f640/shm: no such file or directory\\nfailed to umount /data/hps/hps_install/data/docker/containers/b781b7840564735c35e52ffc34a9e957df5c395aef5c3e57c67ce477d1c0f640/mqueue: no such file or directory\"\r\nJul 21 11:08:54 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:54.646335388+08:00\" level=error msg=\"Handler for POST /v1.21/containers/b781b7840564735c35e52ffc34a9e957df5c395aef5c3e57c67ce477d1c0f640/start returned error: Cannot start container b781b7840564735c35e52ffc34a9e957df5c395aef5c3e57c67ce477d1c0f640: could not add veth pair inside the network sandbox: could not find an appropriate master \\\"bridged563c27\\\" for \\\"veth2b36284\\\"\"\r\nJul 21 11:08:54 QZ-HPS-FBXT-5 docker[20630]: time=\"2016-07-21T11:08:54.646547788+08:00\" level=error msg=\"HTTP Error\" err=**\"Cannot start container b781b7840564735c35e52ffc34a9e957df5c395aef5c3e57c67ce477d1c0f640: could not add veth pair inside the network sandbox: could not find an appropriate master \\\"bridged563c27\\\" for \\\"veth2b36284\\\"\" statusCode=500**\r\n```\r\n\r\nHave anyone can help me! Thanks very much"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/235739524","html_url":"https://github.com/docker/docker/issues/25039#issuecomment-235739524","issue_url":"https://api.github.com/repos/docker/docker/issues/25039","id":235739524,"user":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","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":"2016-07-27T22:20:39Z","updated_at":"2016-07-27T22:20:39Z","body":"Could you also add the output of `docker info`? And are you still able to reproduce this on the current release (1.11.2)?"}}
{"actor":{"display_login":"thaJeztah"}}