Re: [ovs-dev] Creation of network using ovs in Docker

2020-03-04 Thread Numan Siddique
On Mon, Mar 2, 2020 at 2:31 PM bita wrote: > > > Hi, I have the same issue, > My ovs and ovn versions are 2.10.2 > I want to connect my two docker containers using OVS-DPDK. > Dpdk version: 17.11.9 > root@ubuntu:~# docker network create -d openvswitch --subnet=192.168.88.0/24 > ovs > Error respon

Re: [ovs-dev] Creation of network using ovs in Docker

2020-03-02 Thread bita
Hi, I have the same issue, My ovs and ovn versions are 2.10.2 I want to connect my two docker containers using OVS-DPDK. Dpdk version: 17.11.9 root@ubuntu:~# docker network create -d openvswitch --subnet=192.168.88.0/24 ovs Error response from daemon: remote: create_network: ls-add Fatal error e

Re: [ovs-dev] Creation of network using ovs in Docker

2018-07-10 Thread Sandeep Adapala
You have been a great help Guru. thank you. On Tue, Jul 10, 2018 at 5:25 PM, Guru Shetty wrote: > I would suggest to create a new topic with a valid subject name to attract > the dpdk folks and post it in disc...@openvswitch.org > > On 10 July 2018 at 13:44, Sandeep Adapala > wrote: > >> Hello

Re: [ovs-dev] Creation of network using ovs in Docker

2018-07-10 Thread Guru Shetty
I would suggest to create a new topic with a valid subject name to attract the dpdk folks and post it in disc...@openvswitch.org On 10 July 2018 at 13:44, Sandeep Adapala wrote: > Hello Guru, > > Now I have installed DPDK and OVS both of them are compatible with each > other but now I got stuck

Re: [ovs-dev] Creation of network using ovs in Docker

2018-07-10 Thread Sandeep Adapala
Hello Guru, Now I have installed DPDK and OVS both of them are compatible with each other but now I got stuck at new place. I know you are not very familiar with DPDK but can you add someone who can help me out in that. I have configured the OVS to use dpdk library using ./configure --with-dpdk=

Re: [ovs-dev] Creation of network using ovs in Docker

2018-07-09 Thread Guru Shetty
I am not very familiar with DPDK. From what I understand, different OVS versions need different DPDK versions. The DPDK install documentation with OVS should have those details. On 9 July 2018 at 13:20, Sandeep Adapala wrote: > Hello Guru, > > I went one step ahead but now I got stuck here > > u

Re: [ovs-dev] Creation of network using ovs in Docker

2018-07-09 Thread Sandeep Adapala
Hello Guru, I went one step ahead but now I got stuck here ubuntu@tbserver14:~$ sudo ovs-vsctl add-port br0 vhost-user1 -- set Interface vhost-user1 type=dpdkvhostuser ovs-vsctl: Error detected while setting up 'vhost-user1'. See ovs-vswitchd log for details. 2018-07-09T20:19:13.013Z|00040|conn

Re: [ovs-dev] Creation of network using ovs in Docker

2018-07-09 Thread Sandeep Adapala
Let me try with 2.9.2 Guru. On Mon, Jul 9, 2018 at 3:25 PM, Guru Shetty wrote: > That is a different ovsdb-server (used for OVS). The ovsdb-server used for > OVN databases does not look to be running. OVS 2.5.2 is very old and I am > not sure what is causing this behavior. You can look at logs i

Re: [ovs-dev] Creation of network using ovs in Docker

2018-07-09 Thread Guru Shetty
That is a different ovsdb-server (used for OVS). The ovsdb-server used for OVN databases does not look to be running. OVS 2.5.2 is very old and I am not sure what is causing this behavior. You can look at logs in /var/log/openvswitch/ovsdb-server-*.log for hints. I suggest to move to OVS 2.9.2. On

Re: [ovs-dev] Creation of network using ovs in Docker

2018-07-09 Thread Sandeep Adapala
Looks like it is running ubuntu@tbserver14:~$ ps -ef | grep ovsdb-server root 4696 1 0 10:58 ?00:00:00 ovsdb-server: monitoring pid 4697 (healthy) root 4697 4696 0 10:58 ?00:00:00 ovsdb-server /etc/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info --remot

Re: [ovs-dev] Creation of network using ovs in Docker

2018-07-09 Thread Guru Shetty
What does "ps -ef | grep ovsdb-server" say? On 9 July 2018 at 11:23, Sandeep Adapala wrote: > Same output > > ubuntu@tbserver14:~$ sudo /usr/share/openvswitch/scripts/ovn-ctl > restart_northd > * Exiting ovn-northd (5052) > * Removing OVN_Northbound from ovsdb-server > * Removing OVN_Southbo

Re: [ovs-dev] Creation of network using ovs in Docker

2018-07-09 Thread Sandeep Adapala
Same output ubuntu@tbserver14:~$ sudo /usr/share/openvswitch/scripts/ovn-ctl restart_northd * Exiting ovn-northd (5052) * Removing OVN_Northbound from ovsdb-server * Removing OVN_Southbound from ovsdb-server * Adding /etc/openvswitch/ovnnb.db to ovsdb-server * Adding /etc/openvswitch/ovnsb.db

Re: [ovs-dev] Creation of network using ovs in Docker

2018-07-09 Thread Guru Shetty
Run "/usr/share/openvswitch/scripts/ovn-ctl restart_northd" and see if that helps. On 9 July 2018 at 11:19, Sandeep Adapala wrote: > I think I am doing something wrong Guru. > > I got this after running the command > > ubuntu@tbserver14:~$ sudo ovn-nbctl --timeout=5 --db=tcp:192.168.14.33:6642

Re: [ovs-dev] Creation of network using ovs in Docker

2018-07-09 Thread Sandeep Adapala
I think I am doing something wrong Guru. I got this after running the command ubuntu@tbserver14:~$ sudo ovn-nbctl --timeout=5 --db=tcp:192.168.14.33:6642 lswitch-add 6caabc22601b17134a4c54cc33be18 ovn-nbctl: tcp:192.168.14.33:6642: database connection failed (Connection refused) ubuntu@tbserver14

Re: [ovs-dev] Creation of network using ovs in Docker

2018-07-09 Thread Guru Shetty
What happens when you run the following command on that box: ovn-nbctl --timeout=5 --db=tcp:192.168.14.33:6642 ls-add 6caabc22601b17134a4c54cc33be18 On 9 July 2018 at 11:08, Sandeep Adapala wrote: > Hello Guru, > > below are the versions > > ubuntu@tbserver14:~$ ovs-vsctl --version; ovn-nbc

Re: [ovs-dev] Creation of network using ovs in Docker

2018-07-09 Thread Sandeep Adapala
Hello Guru, below are the versions ubuntu@tbserver14:~$ ovs-vsctl --version; ovn-nbctl --version ovs-vsctl (Open vSwitch) 2.5.4 Compiled Oct 30 2017 10:38:01 DB Schema 7.12.1 ovn-nbctl (Open vSwitch) 2.5.4 Compiled Oct 30 2017 10:38:01 DB Schema 2.0.1 OVN plugin is also the same version. Regar

Re: [ovs-dev] Creation of network using ovs in Docker

2018-07-09 Thread Guru Shetty
On 9 July 2018 at 09:33, Sandeep Adapala wrote: > Hello All, > > I am planning to have 2 containers talk to each other using ovs-dpdk > interface on a same host. this is how I started installing OVN on Docker. > > http://docs.openvswitch.org/en/latest/howto/docker/#the-overlay-mode > > I was tryi

[ovs-dev] Creation of network using ovs in Docker

2018-07-09 Thread Sandeep Adapala
Hello All, I am planning to have 2 containers talk to each other using ovs-dpdk interface on a same host. this is how I started installing OVN on Docker. http://docs.openvswitch.org/en/latest/howto/docker/#the-overlay-mode I was trying to create a network using docker but I get the same error ev