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

Numan Siddique numans at ovn.org
Thu Mar 5 06:12:01 UTC 2020


On Mon, Mar 2, 2020 at 2:31 PM bita <fatemibita at gmail.com> 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 at ubuntu:~# docker network create -d openvswitch --subnet=192.168.88.0/24 ovs
> Error response from daemon: remote: create_network: ls-add Fatal error executing ['ovn-nbctl', '--timeout=5', '-vconsole:off', '--db=tcp::6641', 'ls-add', u'405196be7ffe4150cdc5215729c4f9efeed3d796406800f953fdfa9205569e13', '--', 'set', 'Logical_Switch', u'405196be7ffe4150cdc5215729c4f9efeed3d796406800f953fdfa9205569e13', u'external_ids:subnet=192.168.88.0/24', u'external_ids:gateway_ip=192.168.88.1']

I'm not sure how docker network works, but clearly  there's an error
here -  '--db=tcp::6641'.
It should be '--db=tcp:<IP_WHERE_OVN_DBS_ARE_RUNNING>6641'

Thanks
Numan

> Sent from Mail for Windows 10
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>


More information about the dev mailing list