gopher-net / docker-ovs-plugin

An Open vSwitch Plugin for Docker's Libnetwork
Apache License 2.0
76 stars 31 forks source link

"Err":"Could not find a link for the OVS bridge named ovsbr-xxxxxx" #42

Open peeyuuec opened 8 years ago

peeyuuec commented 8 years ago

I am running docker 1.9.1 build a34a1d5 on ubuntu 14.04. When i try to create a docker network with the ovs plugin ,it is giving me an error.

docker network create -d ovs ovsnet

Error response from daemon: Plugin Error: NetworkDriver.CreateNetwork, {"Err":"Could not find a link for the OVS bridge named ovsbr-dd01c"}

Is this docker version error or there is something wrong happened with the plugin because initially it was working fine with the docker version 1.9.1

peeyuuec commented 8 years ago

If somebody is also facing the same error in their setup, then the solution is to remove Open vSwitch from their host machine. I used these commands to remove it from my ubuntu 14.04 machine.

sudo apt-get remove openvswitch-common

sudo apt-get remove --auto-remove openvswitch-common

sudo apt-get purge --auto-remove openvswitch-common

Now ovs plugin is working on docker 1.9.x as well as 1.10.x