{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/26075","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/26075/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/26075/comments","events_url":"https://api.github.com/repos/docker/docker/issues/26075/events","html_url":"https://github.com/docker/docker/issues/26075","id":173601576,"number":26075,"title":"crash on upgrade to 1.12.1","user":{"login":"Flow86","id":656249,"avatar_url":"https://avatars.githubusercontent.com/u/656249?v=3","gravatar_id":"","url":"https://api.github.com/users/Flow86","html_url":"https://github.com/Flow86","followers_url":"https://api.github.com/users/Flow86/followers","following_url":"https://api.github.com/users/Flow86/following{/other_user}","gists_url":"https://api.github.com/users/Flow86/gists{/gist_id}","starred_url":"https://api.github.com/users/Flow86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flow86/subscriptions","organizations_url":"https://api.github.com/users/Flow86/orgs","repos_url":"https://api.github.com/users/Flow86/repos","events_url":"https://api.github.com/users/Flow86/events{/privacy}","received_events_url":"https://api.github.com/users/Flow86/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/kind/bug","name":"kind/bug","color":"FF8C94"},{"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":{"url":"https://api.github.com/repos/docker/docker/milestones/58","html_url":"https://github.com/docker/docker/milestones/1.12.2","labels_url":"https://api.github.com/repos/docker/docker/milestones/58/labels","id":1973095,"number":58,"title":"1.12.2","description":"","creator":{"login":"tiborvass","id":827131,"avatar_url":"https://avatars.githubusercontent.com/u/827131?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborvass","html_url":"https://github.com/tiborvass","followers_url":"https://api.github.com/users/tiborvass/followers","following_url":"https://api.github.com/users/tiborvass/following{/other_user}","gists_url":"https://api.github.com/users/tiborvass/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborvass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborvass/subscriptions","organizations_url":"https://api.github.com/users/tiborvass/orgs","repos_url":"https://api.github.com/users/tiborvass/repos","events_url":"https://api.github.com/users/tiborvass/events{/privacy}","received_events_url":"https://api.github.com/users/tiborvass/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":24,"state":"open","created_at":"2016-08-30T16:26:40Z","updated_at":"2016-09-15T18:08:05Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-08-27T15:38:13Z","updated_at":"2016-09-15T20:31:42Z","closed_at":null,"body":"Hi,\r\nI use \"docker-engine\" via the debian repository on a debian jessie machine (with backports kernel for overlayfs). My latest version was 1.11.2.\r\n\r\nI updated to 1.12.1-0~jessie and the docker service crashes on startup:\r\n\r\n```\r\ntime=\"2016-08-27T17:25:15.604714017+02:00\" level=debug msg=\"Listener created for HTTP on fd ()\"\r\ntime=\"2016-08-27T17:25:15.605454930+02:00\" level=info msg=\"libcontainerd: new containerd process, pid: 22949\"\r\ntime=\"2016-08-27T17:25:15.605873239+02:00\" level=debug msg=\"libcontainerd: containerd connection state change: TRANSIENT_FAILURE\"\r\ntime=\"2016-08-27T17:25:15.612449809+02:00\" level=debug msg=\"containerd: read past events\" count=0\r\ntime=\"2016-08-27T17:25:15.612549204+02:00\" level=debug msg=\"containerd: supervisor running\" cpus=8 memory=32092 runtime=docker-runc runtimeArgs=[] stateDir=\"/var/run/docker/libcontainerd/containerd\"\r\ntime=\"2016-08-27T17:25:15.612694147+02:00\" level=debug msg=\"containerd: grpc api on /var/run/docker/libcontainerd/docker-containerd.sock\"\r\ntime=\"2016-08-27T17:25:16.606722865+02:00\" level=debug msg=\"Using default logging driver journald\"\r\ntime=\"2016-08-27T17:25:16.606774356+02:00\" level=debug msg=\"Golang's threads limit set to 229590\"\r\ntime=\"2016-08-27T17:25:16.606814753+02:00\" level=debug msg=\"[graphdriver] trying provided driver \\\"overlay\\\"\"\r\ntime=\"2016-08-27T17:25:16.610430550+02:00\" level=debug msg=\"Using graph driver overlay\"\r\ntime=\"2016-08-27T17:25:16.612234994+02:00\" level=debug msg=\"Max Concurrent Downloads: 3\"\r\ntime=\"2016-08-27T17:25:16.612271133+02:00\" level=debug msg=\"Max Concurrent Uploads: 5\"\r\ntime=\"2016-08-27T17:25:16.632630752+02:00\" level=info msg=\"Graph migration to content-addressability took 0.00 seconds\"\r\ntime=\"2016-08-27T17:25:16.632865483+02:00\" level=warning msg=\"Your kernel does not support cgroup memory limit\"\r\ntime=\"2016-08-27T17:25:16.634277710+02:00\" level=debug msg=\"Loaded container xxx\"\r\ntime=\"2016-08-27T17:25:16.634803008+02:00\" level=debug msg=\"Loaded container xxx\"\r\ntime=\"2016-08-27T17:25:16.635287787+02:00\" level=debug msg=\"Loaded container xxx\"\r\ntime=\"2016-08-27T17:25:16.635424478+02:00\" level=debug msg=\"Option DefaultDriver: bridge\"\r\ntime=\"2016-08-27T17:25:16.635442947+02:00\" level=debug msg=\"Option DefaultNetwork: bridge\"\r\ntime=\"2016-08-27T17:25:16.641689586+02:00\" level=info msg=\"Firewalld running: false\"\r\ntime=\"2016-08-27T17:25:16.644035596+02:00\" level=debug msg=\"/sbin/iptables, [--wait --version]\"\r\ntime=\"2016-08-27T17:25:16.645383917+02:00\" level=debug msg=\"/sbin/iptables, [--wait -t nat -D PREROUTING -m addrtype --dst-type LOCAL -j DOCKER]\"\r\ntime=\"2016-08-27T17:25:16.646974646+02:00\" level=debug msg=\"/sbin/iptables, [--wait -t nat -D OUTPUT -m addrtype --dst-type LOCAL ! --dst 127.0.0.0/8 -j DOCKER]\"\r\ntime=\"2016-08-27T17:25:16.648517544+02:00\" level=debug msg=\"/sbin/iptables, [--wait -t nat -D OUTPUT -m addrtype --dst-type LOCAL -j DOCKER]\"\r\ntime=\"2016-08-27T17:25:16.650037107+02:00\" level=debug msg=\"/sbin/iptables, [--wait -t nat -D PREROUTING]\"\r\ntime=\"2016-08-27T17:25:16.651562001+02:00\" level=debug msg=\"/sbin/iptables, [--wait -t nat -D OUTPUT]\"\r\ntime=\"2016-08-27T17:25:16.652956863+02:00\" level=debug msg=\"/sbin/iptables, [--wait -t nat -F DOCKER]\"\r\ntime=\"2016-08-27T17:25:16.654331503+02:00\" level=debug msg=\"/sbin/iptables, [--wait -t nat -X DOCKER]\"\r\ntime=\"2016-08-27T17:25:16.655639127+02:00\" level=debug msg=\"/sbin/iptables, [--wait -t filter -F DOCKER]\"\r\ntime=\"2016-08-27T17:25:16.657315940+02:00\" level=debug msg=\"/sbin/iptables, [--wait -t filter -X DOCKER]\"\r\ntime=\"2016-08-27T17:25:16.658696226+02:00\" level=debug msg=\"/sbin/iptables, [--wait -t filter -F DOCKER-ISOLATION]\"\r\ntime=\"2016-08-27T17:25:16.660462050+02:00\" level=debug msg=\"/sbin/iptables, [--wait -t filter -X DOCKER-ISOLATION]\"\r\ntime=\"2016-08-27T17:25:16.661756831+02:00\" level=debug msg=\"/sbin/iptables, [--wait -t nat -n -L DOCKER]\"\r\ntime=\"2016-08-27T17:25:16.663072827+02:00\" level=debug msg=\"/sbin/iptables, [--wait -t nat -N DOCKER]\"\r\ntime=\"2016-08-27T17:25:16.664353544+02:00\" level=debug msg=\"/sbin/iptables, [--wait -t filter -n -L DOCKER]\"\r\ntime=\"2016-08-27T17:25:16.665610657+02:00\" level=debug msg=\"/sbin/iptables, [--wait -t filter -n -L DOCKER-ISOLATION]\"\r\ntime=\"2016-08-27T17:25:16.666958347+02:00\" level=debug msg=\"/sbin/iptables, [--wait -t filter -C DOCKER-ISOLATION -j RETURN]\"\r\ntime=\"2016-08-27T17:25:16.668245145+02:00\" level=debug msg=\"/sbin/iptables, [--wait -I DOCKER-ISOLATION -j RETURN]\"\r\npanic: runtime error: index out of range\r\ngoroutine 1 [running]:\r\npanic(0x1a521e0, 0xc82000e040)\r\n/usr/local/go/src/runtime/panic.go:481 +0x3e6\r\ngithub.com/docker/libnetwork.(*controller).reservePools(0xc820204b40)\r\n/usr/src/docker/vendor/src/github.com/docker/libnetwork/controller.go:691 +0x1453\r\ngithub.com/docker/libnetwork.New(0xc82045e280, 0x6, 0x8, 0x0, 0x0, 0x0, 0x0)\r\n/usr/src/docker/vendor/src/github.com/docker/libnetwork/controller.go:216 +0xa08\r\ngithub.com/docker/docker/daemon.(*Daemon).initNetworkController(0xc820478000, 0xc8203d8380, 0xc820194cf0, 0x0, 0x0, 0x0, 0x0)\r\n/usr/src/docker/.gopath/src/github.com/docker/docker/daemon/daemon_unix.go:640 +0xf5\r\ngithub.com/docker/docker/daemon.(*Daemon).restore(0xc820478000, 0x0, 0x0)\r\n/usr/src/docker/.gopath/src/github.com/docker/docker/daemon/daemon.go:223 +0xa70\r\ngithub.com/docker/docker/daemon.NewDaemon(0xc8203d8380, 0x7fddac496b68, 0xc820026638, 0x7fddac496588, 0xc8203caea0, 0x0, 0x0, 0x0)\r\n/usr/src/docker/.gopath/src/github.com/docker/docker/daemon/daemon.go:605 +0x34aa\r\nmain.(*DaemonCli).start(0xc8203c15c0, 0x0, 0x0)\r\n/usr/src/docker/cmd/dockerd/daemon.go:269 +0x1a0e\r\nmain.main()\r\n/usr/src/docker/cmd/dockerd/docker.go:68 +0x491\r\nAug 27 17:25:16 ma systemd[1]: docker.service: main process exited, code=exited, status=2/INVALIDARGUMENT\r\n```\r\n\r\nI currently start the docker daemon via\r\n```\r\n/usr/bin/docker daemon -H fd:// --storage-driver=overlay --cgroup-parent --ipv6=true --fixed-cidr-v6=\"2a01:1x:x:x::/64\" --log-driver=journald -D\r\n```\r\nI changed it for 1.12 to \r\n```\r\n/usr/bin/dockerd -H fd:// ...\r\n```\r\nbut same error. \r\n\r\nI also tried to start with standard service arguments (removed all my custom additions) but same error.\r\n\r\ncan somebody tell me whats going wrong?"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/247446159","html_url":"https://github.com/docker/docker/issues/26075#issuecomment-247446159","issue_url":"https://api.github.com/repos/docker/docker/issues/26075","id":247446159,"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-09-15T20:31:42Z","updated_at":"2016-09-15T20:31:42Z","body":"@Flow86  Ok, I found something funny and the reason why the flag is false.\r\n\r\nThings are fine if you start the daemon with:\r\n`sudo dockerd --ipv6=true --fixed-cidr-v6=\"2001:db8:abcd::/64\"`\r\n\r\nBut if you add the `--cgroup-parent` option, then it breaks, in the sense the \"EnableIPv6\" is false...\r\n`sudo dockerd --cgroup-parent --ipv6=true --fixed-cidr-v6=\"2001:db8:abcd::/64\"`\r\n\r\nThis is true on 1.11.2 and also on 1.12.1.\r\n\r\n"}}
{"actor":{"display_login":"aboch"}}