Docker Community Forums

Share and learn in the Docker community.

Overlay network creation error with docker network create


(Doug Toppin) #1

Looking for what is causing the following error regarding creating the overlay network (with consul discovery). Please pass along any tidbits that you have on this.

$ docker network create -d overlay --subnet 10.10.10.0/24 multinet

Error response from daemon: error getting pools config from store during init: could not get pools config from store: Unexpected response code: 500

syslog showing this:
Mar 21 15:57:44 54 docker[2333]: time=“2016-03-21T15:57:44.105959387Z” level=error msg="discovery error: Unexpected watch error"
Mar 21 15:57:44 54 docker[2333]: time=“2016-03-21T15:57:44.172076413Z” level=error msg=“Registering as “x.x.x.x:2375” in discovery failed: cannot set or renew session for ttl, unable to operate on sessions”

Configuration:

/lib/systemd/system/docker.service includes:
ExecStart=/usr/bin/docker daemon -H fd:// -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock --cluster-store=consul://x.x.x.x:8500/network --cluster-advertise=eth0:2375

docker@x.x.x.x ~: lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid

docker@x.x.x.x ~: docker version
Client:
Version: 1.9.1
API version: 1.21
Go version: go1.4.2
Git commit: a34a1d5
Built: Fri Nov 20 13:16:54 UTC 2015
OS/Arch: linux/amd64

Server:
Version: 1.9.1
API version: 1.21
Go version: go1.4.2
Git commit: a34a1d5
Built: Fri Nov 20 13:16:54 UTC 2015
OS/Arch: linux/amd64


(Ralph Kincade) #2

Having the exact same issue with docker 1.11

Error response from daemon: error getting pools config from store during init: could not get pools config from store: Unexpected response code: 500


(Dvohra) #3

Refer