I want to make a overlay network environment using OVN with docker.
So, I followed a document (
https://github.com/openvswitch/ovs/blob/master/INSTALL.Docker.md) step by
step.
However I faced some problem about Docker daemon and creation a logical
switch using the command "NID=`docker network create -d openvswitch
--subnet=192.168.1.0/24 foo`"

I have a two physical host machine.One in the machines is running docker
daemon.
I typed below command, using my host public ip address and 127.0.0.1

docker daemon --cluster-store=consul://127.0.0.1:8500 \
--cluster-advertise=203.237.53.121:0

As a result, docker daemon is running. But I saw following error messages.

root@ubuntu:~/docker/install# docker daemon --cluster-store=consul://
127.0.0.1:8500 --cluster-advertise=203.237.53.121:0
INFO[0000] New containerd process, pid: 21176

WARN[0000] containerd: low RLIMIT_NOFILE changing to max  current=1024
max=4096
INFO[0001] [graphdriver] using prior storage driver "aufs"
INFO[0001] Graph migration to content-addressability took 0.00 seconds
INFO[0001] Initializing discovery without TLS
ERRO[0001] discovery error: Get
http://127.0.0.1:8500/v1/kv/docker/nodes?consistent=: dial tcp
127.0.0.1:8500: getsockopt: connection refused
ERRO[0001] discovery error: Put http://127.0.0.1:8500/v1/kv/docker/nodes:
dial tcp 127.0.0.1:8500: getsockopt: connection refused
ERRO[0001] discovery error: Unexpected watch error
INFO[0001] Firewalld running: false
INFO[0001] Default bridge (docker0) is assigned with an IP address
172.17.0.0/16. Daemon option --bip can be used to set a preferred IP
address
WARN[0001] Your kernel does not support swap memory limit.
WARN[0001] mountpoint for pids not found
INFO[0001] Loading containers: start.
.
INFO[0001] Loading containers: done.
INFO[0001] Daemon has completed initialization
INFO[0001] Docker daemon                                 commit=b9f10c9
graphdriver=aufs version=1.11.2
INFO[0001] API listen on /var/run/docker.sock
ERRO[0021] discovery error: Get
http://127.0.0.1:8500/v1/kv/docker/nodes?consistent=: dial tcp
127.0.0.1:8500: getsockopt: connection refused
ERRO[0021] discovery error: Put http://127.0.0.1:8500/v1/kv/docker/nodes:
dial tcp 127.0.0.1:8500: getsockopt: connection refused
ERRO[0021] discovery error: Unexpected watch error



Next, at another host, I type below command and then I saw following error
message.

NID=`docker network create -d openvswitch --subnet=192.168.1.0/24 foo`

root@ubuntu:~/docker/install# NID=`docker network create -d openvswitch
--subnet=192.168.1.0/24 foo`
Error response from daemon: error getting pools config from store: store
for address space GlobalDefault not found





How can I solve this situation?


Best regards.
Taekho Nam.






PS.
I think that this documentation(INSTALL.Docker.md) need to be revised.
Some commands are required for the command "PYTHONPATH=$OVS_PYTHON_LIBS_PATH
ovn-docker-overlay-driver --detach"

sudo apt-get install python-openswitch
sudo apt-get install python-flask
sudo apt-get install jsonbot
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to