thanks a lot Guru you have been great help let me try this. On Thu, Jul 26, 2018 at 2:03 PM, Guru Shetty <[email protected]> wrote:
> I have a 2 node vagrant scripts in a private repo that I use to test the > Docker integration with OVN here: https://github.com/ > shettyg/ovn-docker/tree/master/vagrant_overlay > > I tested this again today with OVS 2.9.2 and the latest docker and it > passes my sanity tests. If you have a mac and virtualbox, it should > probably be as simple as "vagrant up". Otherwise, you can look > at consul-server.sh, consul-client.sh, install-docker.sh > and install-ovn.sh on a ubuntu to reproduce the environment. > > On 26 July 2018 at 10:45, Sandeep Adapala <[email protected]> > wrote: > >> After building the ovs also I get the same error Guru. >> >> >> >> On Wed, Jul 25, 2018 at 4:15 PM, Sandeep Adapala < >> [email protected]> wrote: >> >>> After installing openvswitch-switch-dpdk I am getting this error. >>> >>> WARN[0041] Unable to locate plugin: openvswitch, retrying in 1s >>> WARN[0042] Unable to locate plugin: openvswitch, retrying in 2s >>> WARN[0044] Unable to locate plugin: openvswitch, retrying in 4s >>> WARN[0048] Unable to locate plugin: openvswitch, retrying in 8s >>> ERRO[0056] Handler for POST /v1.27/networks/create returned error: legacy >>> plugin: plugin not found >>> >>> >>> On Wed, Jul 25, 2018 at 4:13 PM, Sandeep Adapala < >>> [email protected]> wrote: >>> >>>> Hello Guru, >>>> >>>> I am using sudo apt install openvswitch-switch-dpdk as suggested by >>>> the website. So it installed 2.5.4 by default. Do you want me to build and >>>> install OVS? >>>> >>>> https://software.intel.com/en-us/articles/using-docker-conta >>>> iners-with-open-vswitch-and-dpdk-on-ubuntu-1710 >>>> >>>> Regards, >>>> Sandeep >>>> >>>> On Wed, Jul 25, 2018 at 1:28 PM, Guru Shetty <[email protected]> wrote: >>>> >>>>> We had talked about using OVS 2.9, right? Are you using that? >>>>> >>>>> On 25 July 2018 at 08:51, Sandeep Adapala <[email protected]> >>>>> wrote: >>>>> >>>>>> 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-over >>>>>>>> lay-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=0x80 >>>>>>>>>>> 0002 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> 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
