Code Monkey home page Code Monkey logo

Comments (6)

shettyg avatar shettyg commented on August 23, 2024

When I type
docker network create -d openvswitch --subnet=172.19.1.0/24 ovs-br1
It shows
Error response from daemon: legacy plugin: plugin not found

I have tested till Docker 1.13. Based on the error, it looks like something has changed with v17.03.0-ce in terms of place where it looks for the plugin. I will spend some time.

from ovn-docker.

sandylss avatar sandylss commented on August 23, 2024

I have tested till Docker 1.13. Based on the error, it looks like something has changed with v17.03.0-ce in terms of place where it looks for the plugin. I will spend some time.

I've rolled back my docker to v1.12.1 and the bug is still there, so it has nothing to do with Docker version.
Since there's no error message when I type ovn-docker-overlay-driver --detach, I guess it just quits halfway. I'm trying to figure it out.
Any idea of why? for example, iptables, port, prequistion, whatever...

from ovn-docker.

shettyg avatar shettyg commented on August 23, 2024

I've rolled back my docker to v1.12.1 and the bug is still there, so it has nothing to do with Docker version.

When you run ovn-docker-overlay-driver (without --detach), does it print any errors?

from ovn-docker.

shettyg avatar shettyg commented on August 23, 2024

FYI, I ran the vagrant that comes with this repo. And I did not see any problems. It used docker 17.03.1-ce. You can quickly look at the scripts the vagrant uses to run consul, docker and ovn.

i.e look at https://github.com/shettyg/ovn-docker/blob/master/vagrant_overlay/Vagrantfile to all the scripts that it invokes and then see the individual simple scripts.

You can always come to IRC (freenode). I am there in the #openvswitch channel as "shettyg". You can ping me if you need live debugging.

from ovn-docker.

sandylss avatar sandylss commented on August 23, 2024

i.e look at https://github.com/shettyg/ovn-docker/blob/master/vagrant_overlay/Vagrantfile to all the scripts that it invokes and then see the individual simple scripts.

Thanks for the scripts. I've made a mistake when setting Consul cluster. Now everything works fine ^_^

I notice that after running creating a ovn-docker network and starting a container attached to the network, docker automatically creates docker_gwbridge network. It seems this bridge functions similarly to docker0.

Does it mean that if a container wish to communication with the outside ( e.g other servers in a LAN ), docker_gwbridge is the only gateway? Since we've created a switch when creating ovn-docker network, is it possible to make the switch function as a gateway?

Thank you for your time.

from ovn-docker.

shettyg avatar shettyg commented on August 23, 2024

Does it mean that if a container wish to communication with the outside ( e.g other servers in a LAN ), docker_gwbridge is the only gateway? Since we've created a switch when creating ovn-docker network, is it possible to make the switch function as a gateway?

OVN has multiple options to connect to outside world. If you are running on baremetal, you can connect your switch to vlans via OVN switch. You can also use OVN routers to connect. But the docker plugin does not do any of that. The kubernetes integration uses OVN router to connect to outside world - https://github.com/openvswitch/ovn-kubernetes/

from ovn-docker.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.