Hello Guru, I think OVS doesn't like me at all :) every step I am facing a issue.
this time when I tried to create a docker network on OVS (*sudo docker network create -d openvswitch --subnet=192.168.22.0/24 <http://192.168.22.0/24> ovs*) it failed and I got this error in Docker log *ERRO[2717] Handler for POST /v1.27/networks/create returned error: remote: create_network: lswitch-add Fatal error executing ['ovn-nbctl', '--timeout=5', '-vconsole:off', '--db=tcp:192.168.14.33:6642 <http://192.168.14.33:6642>', 'lswitch-add', u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55', '--', 'set', 'Logical_Switch', u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55', u'external_ids:subnet=192.168.22.0/24 <http://192.168.22.0/24>', u'external_ids:gateway_ip=192.168.22.1'] * Regards, Sandeep On Mon, Jul 23, 2018 at 5:01 PM, Guru Shetty <[email protected]> wrote: > Yes. > > On 23 July 2018 at 13:43, Sandeep Adapala <[email protected]> > wrote: > >> So you are saying just do the overlay part in this doc ? >> http://docs.openvswitch.org/en/latest/howto/docker/#the-overlay-mode >> >> On Mon, Jul 23, 2018 at 4:35 PM, Guru Shetty <[email protected]> wrote: >> >>> May I suggest that you get OVN working with containers without DPDK >>> first? Once you are confident about what needs to be done for OVN, you can >>> concentrate more on DPDK. >>> >>> On 23 July 2018 at 13:15, Sandeep Adapala <[email protected]> >>> wrote: >>> >>>> I have configured the grub as >>>> >>>> GRUB_CMDLINE_LINUX_DEFAULT="default_hugepagesz=1G hugepagesz=1G >>>> hugepages=16 hugepagesz=2M hugepages=2048 iommu=pt intel_iommu=on" >>>> >>>> >>>> I didn't isolate any cores so if I want to use core 2 or 3 what will be >>>> the dpdk-lcore-mask and pod-cpu-mask? >>>> >>>> >>>> On Mon, Jul 23, 2018 at 4:11 PM, Sandeep Adapala < >>>> [email protected]> wrote: >>>> >>>>> I have tried that already Guru but I got the same error always. Let me >>>>> ask one more question. >>>>> >>>>> What do I need to configure here? >>>>> >>>>> sudo ovs-vsctl -no-wait set Open_vSwitch . >>>>> other_config:dpdk-lcore-mask=0xfffffbffffe. >>>>> sudo ovs-vsctl -no-wait set Open_vSwitch . >>>>> other_config:dpdk-socket-mem="1024,1024" >>>>> sudo ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x800002 >>>>> >>>>> >>>>> I am very new to ovs so I am still learning things. So can you explain >>>>> me what I should configure in lcore-mask and cpu-mask >>>>> >>>>> I have a 28 core with 10G intel NIC's >>>>> >>>>> Regards >>>>> Sandeep >>>>> >>>>> On Mon, Jul 23, 2018 at 3:49 PM, Guru Shetty <[email protected]> wrote: >>>>> >>>>>> 1. Use the same IP address for both CENTRAL_IP and LOCAL_IP. And this >>>>>> should be the IP of your host. >>>>>> 2. ENCAP_TYPE="geneve". >>>>>> >>>>>> On 23 July 2018 at 12:41, Sandeep Adapala <[email protected] >>>>>> > wrote: >>>>>> >>>>>>> Hello All, >>>>>>> >>>>>>> I am trying to use this doc to setup the containers using OVS-DPDK ( >>>>>>> https://software.intel.com/en-us/articles/using-docker-conta >>>>>>> iners-with-open-vswitch-and-dpdk-on-ubuntu-1710) >>>>>>> but when I try to configure the ovs on overlay mode I am little >>>>>>> confused on >>>>>>> this configuration. I don't have a remote server I want everything >>>>>>> to be >>>>>>> installed in same server. so can you please help me out what should I >>>>>>> remove and replace in the below config >>>>>>> >>>>>>> ovs-vsctl set Open_vSwitch . \ >>>>>>> external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \ >>>>>>> external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" \ >>>>>>> external_ids:ovn-encap-ip=$LOCAL_IP \ >>>>>>> external_ids:ovn-encap-type="$ENCAP_TYPE" >>>>>>> >>>>>>> >>>>>>> like what is CENTRAL_IP? ENCAP_TYPE and all? >>>>>>> >>>>>>> Regards, >>>>>>> Sandeep >>>>>>> _______________________________________________ >>>>>>> dev mailing list >>>>>>> [email protected] >>>>>>> https://mail.openvswitch.org/mailman/listinfo/ovs-dev >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>> >> > _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
