{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/27280","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/27280/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/27280/comments","events_url":"https://api.github.com/repos/docker/docker/issues/27280/events","html_url":"https://github.com/docker/docker/issues/27280","id":182211885,"number":27280,"title":"Can't use 'bridge' default network after docker service upgrade","user":{"login":"icez","id":568485,"avatar_url":"https://avatars.githubusercontent.com/u/568485?v=3","gravatar_id":"","url":"https://api.github.com/users/icez","html_url":"https://github.com/icez","followers_url":"https://api.github.com/users/icez/followers","following_url":"https://api.github.com/users/icez/following{/other_user}","gists_url":"https://api.github.com/users/icez/gists{/gist_id}","starred_url":"https://api.github.com/users/icez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icez/subscriptions","organizations_url":"https://api.github.com/users/icez/orgs","repos_url":"https://api.github.com/users/icez/repos","events_url":"https://api.github.com/users/icez/events{/privacy}","received_events_url":"https://api.github.com/users/icez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/area/networking","name":"area/networking","color":"fbca04"},{"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":3,"created_at":"2016-10-11T09:06:40Z","updated_at":"2016-10-11T22:05:01Z","closed_at":null,"body":"Hello,\r\n\r\ntoday we're just upgraded from docker-engine-1.11.2-1.el7.centos.x86_64 to docker-engine-1.12.1-1.el7.centos.x86_64\r\n\r\nright after upgrade was done, the container using default 'bridge' network cannot start with the following error:\r\n\r\nError response from daemon: failed to create endpoint <<ctname>> on network bridge: network d82988963ee05e9d0ea8401571f52559a7507babc32c8cc2d422ce1ac6d8eb44 does not exist\r\n\r\nThe workaround is by creating a new network (called 'newbridge') and link the ct to this bridge instead.\r\n\r\nAfter 'docker network ls' I also found that there's no 'host' and 'null' network.\r\nThe network ID seems to match on the list of 'docker network ls' but it can't be used\r\n\r\nServer's running on physical server.\r\n\r\n[root@docker1 log]# docker network ls --no-trunc\r\nNETWORK ID                                                         NAME                                DRIVER              SCOPE\r\nd82988963ee05e9d0ea8401571f52559a7507babc32c8cc2d422ce1ac6d8eb44   bridge                              bridge              local\r\n7ad8ff0c449eb6894feddc746889b7ab73ba104697d061b452a671cc32149d30   newbridge                           bridge              local\r\n\r\n[root@docker1 docker]# docker network inspect d82988963ee0\r\n[\r\n    {\r\n        \"Name\": \"bridge\",\r\n        \"Id\": \"d82988963ee05e9d0ea8401571f52559a7507babc32c8cc2d422ce1ac6d8eb44\",\r\n        \"Scope\": \"local\",\r\n        \"Driver\": \"bridge\",\r\n        \"EnableIPv6\": false,\r\n        \"IPAM\": {\r\n            \"Driver\": \"default\",\r\n            \"Options\": null,\r\n            \"Config\": [\r\n                {\r\n                    \"Subnet\": \"192.168.0.0/20\",\r\n                    \"Gateway\": \"192.168.0.1\"\r\n                }\r\n            ]\r\n        },\r\n        \"Internal\": false,\r\n        \"Containers\": {},\r\n        \"Options\": {\r\n            \"com.docker.network.bridge.default_bridge\": \"true\",\r\n            \"com.docker.network.bridge.enable_icc\": \"true\",\r\n            \"com.docker.network.bridge.enable_ip_masquerade\": \"true\",\r\n            \"com.docker.network.bridge.host_binding_ipv4\": \"0.0.0.0\",\r\n            \"com.docker.network.bridge.name\": \"docker0\",\r\n            \"com.docker.network.driver.mtu\": \"1500\"\r\n        },\r\n        \"Labels\": {}\r\n    }\r\n]\r\n\r\n[root@docker1 log]# docker version\r\nClient:\r\n Version:      1.12.1\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   23cf638\r\n Built:\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.12.1\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   23cf638\r\n Built:\r\n OS/Arch:      linux/amd64\r\n\r\n\r\n[root@docker1 log]# docker info\r\nContainers: 82\r\n Running: 40\r\n Paused: 0\r\n Stopped: 42\r\nImages: 867\r\nServer Version: 1.12.1\r\nStorage Driver: devicemapper\r\n Pool Name: docker-8:2-38274796-pool\r\n Pool Blocksize: 65.54 kB\r\n Base Device Size: 10.74 GB\r\n Backing Filesystem: ext4\r\n Data file: /dev/loop0\r\n Metadata file: /dev/loop1\r\n Data Space Used: 42.85 GB\r\n Data Space Total: 107.4 GB\r\n Data Space Available: 64.52 GB\r\n Metadata Space Used: 57.56 MB\r\n Metadata Space Total: 2.147 GB\r\n Metadata Space Available: 2.09 GB\r\n Thin Pool Minimum Free Space: 10.74 GB\r\n Udev Sync Supported: true\r\n Deferred Removal Enabled: false\r\n Deferred Deletion Enabled: false\r\n Deferred Deleted Device Count: 0\r\n Data loop file: /var/lib/docker/devicemapper/devicemapper/data\r\n WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.\r\n Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata\r\n Library Version: 1.02.107-RHEL7 (2016-06-09)\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: bridge overlay\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nSecurity Options: seccomp\r\nKernel Version: 3.10.0-327.36.1.el7.x86_64\r\nOperating System: CentOS Linux 7 (Core)\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 8\r\nTotal Memory: 15.47 GiB\r\nName: docker1.********\r\nID: CFHX:W4WY:DQ4V:S6FR:LEJL:GLHE:ZNZC:NMGG:BTTQ:TPJ6:RJSD:CON3\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): true\r\n File Descriptors: 265\r\n Goroutines: 356\r\n System Time: 2016-10-11T15:55:37.803874449+07:00\r\n EventsListeners: 0\r\nUsername: ***************\r\nRegistry: https://index.docker.io/v1/\r\nWARNING: bridge-nf-call-iptables is disabled\r\nWARNING: bridge-nf-call-ip6tables is disabled\r\nInsecure Registries:\r\n 127.0.0.0/8\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/253060787","html_url":"https://github.com/docker/docker/issues/27280#issuecomment-253060787","issue_url":"https://api.github.com/repos/docker/docker/issues/27280","id":253060787,"user":{"login":"aboch","id":10080882,"avatar_url":"https://avatars.githubusercontent.com/u/10080882?v=3","gravatar_id":"","url":"https://api.github.com/users/aboch","html_url":"https://github.com/aboch","followers_url":"https://api.github.com/users/aboch/followers","following_url":"https://api.github.com/users/aboch/following{/other_user}","gists_url":"https://api.github.com/users/aboch/gists{/gist_id}","starred_url":"https://api.github.com/users/aboch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aboch/subscriptions","organizations_url":"https://api.github.com/users/aboch/orgs","repos_url":"https://api.github.com/users/aboch/repos","events_url":"https://api.github.com/users/aboch/events{/privacy}","received_events_url":"https://api.github.com/users/aboch/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T22:05:01Z","updated_at":"2016-10-11T22:05:01Z","body":"@icez Please attach your `/var/lib/docker/network/files/local-kv.db` file.\r\nIt should allow me to reproduce the issue and checkwhat is wrong.\r\nThanks"}}
{"actor":{"display_login":"aboch"}}