[ovs-discuss] Replace Linux Bridge with Openvswitch on Ubuntu

2017-11-13 Thread densha
Hi Forum I would like to replace the linux bridge installed with libvirt with a openvswitch bridge, so I can learn about openvswitch. I cannot get the VM to communicate with the bridge I create with openvswitch. Here is what I did on a vanilla Ubutnu 17.10 Server X86_64 installation. Installing

[ovs-discuss] Device-Port-Contention issue

2017-11-13 Thread Gerhard Muntingh
Hi everyone, We experienced an openvswitch issue on our redhat openstack infrastructure. Since it's rather exotic, and we haven't been able to reproduce it, I'm sharing it here. After some high CPU, openvswitch got into some sort of device-port-contention looking like this: 2017-11-01T02:35:03

Re: [ovs-discuss] Device-Port-Contention issue

2017-11-13 Thread Daniel Alvarez Sanchez
Hi Gerhard/all, We also saw this on RHEL 7.4 using OVS 2.7.2. It didn't stop until we restarted openvswitch service as well. Log messages showed the following: 2017-11-07T20:56:00.688Z|986468|bridge|INFO|bridge br-int: added interface ha-a1a195a9-c9 on port 12043 2017-11-07T20:56:00.735Z|986469|b

[ovs-discuss] Error communicating with sb database

2017-11-13 Thread Sverker Abrahamsson
Since an update of ovn/openvswitch the slave switches can't connect to the master database. In the ovsdb-server-sb.log I get messages like the below: 2017-11-13T09:59:35.080Z|00210|stream_ssl|WARN|SSL_accept: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol 2017-11-13T09:59:

Re: [ovs-discuss] Replace Linux Bridge with Openvswitch on Ubuntu

2017-11-13 Thread Gerhard Stenzel
On 11/13/2017 10:12 AM, den...@exemail.com.au wrote: ... > > 5: virbr0: mtu 1500 qdisc noop state DOWN group > default qlen 1000 > link/ether 26:68:17:50:25:40 brd ff:ff:ff:ff:ff:ff > inet 192.168.122.1/24 scope global virbr0 >valid_lft forever preferred_lft forever > ifconfig

Re: [ovs-discuss] ovs-dpctl problem

2017-11-13 Thread Aaron Conole
"焦利涛" <309569...@qq.com> writes: > Hi : > I have a problem that when i use the ovs-dpctl to add a flow into > datapath, it occurs "ovs-dpctl: > parsing flow key (Invalid argument)" > > example: >root@jlt:~# ovs-dpctl add-flow system@myDP "in_port(1),eth_type(0x800),ipv4 > (src=172.31

Re: [ovs-discuss] ovs-dpctl problem

2017-11-13 Thread Ben Pfaff
On Mon, Nov 13, 2017 at 11:21:38AM -0500, Aaron Conole wrote: > "焦利涛" <309569...@qq.com> writes: > > > Hi : > > I have a problem that when i use the ovs-dpctl to add a flow into > > datapath, it occurs "ovs-dpctl: > > parsing flow key (Invalid argument)" > > > > example: > >root@jlt:

Re: [ovs-discuss] Error communicating with sb database

2017-11-13 Thread Ben Pfaff
On Mon, Nov 13, 2017 at 12:38:27PM +0100, Sverker Abrahamsson wrote: > Since an update of ovn/openvswitch the slave switches can't connect to the > master database. In the ovsdb-server-sb.log I get messages like the below: > > 2017-11-13T09:59:35.080Z|00210|stream_ssl|WARN|SSL_accept: error:140760

Re: [ovs-discuss] ovs-dpctl problem

2017-11-13 Thread Aaron Conole
Ben Pfaff writes: > On Mon, Nov 13, 2017 at 11:21:38AM -0500, Aaron Conole wrote: >> "焦利涛" <309569...@qq.com> writes: >> >> > Hi : >> > I have a problem that when i use the ovs-dpctl to add a flow into >> > datapath, it occurs "ovs-dpctl: >> > parsing flow key (Invalid argument)" >> > >> >

Re: [ovs-discuss] Replace Linux Bridge with Openvswitch on Ubuntu

2017-11-13 Thread Scott Lowe
> On Nov 13, 2017, at 2:12 AM, den...@exemail.com.au wrote: > > Hi Forum > > I would like to replace the linux bridge installed with libvirt with a > openvswitch bridge, so I can learn about openvswitch. > > I cannot get the VM to communicate with the bridge I create with openvswitch. > > Here

Re: [ovs-discuss] OVS queues and precedence

2017-11-13 Thread Łukasz Rząsik
2017-10-25 0:05 GMT+02:00 Ben Pfaff : > On Wed, Oct 18, 2017 at 09:17:53AM +0200, Jannis Ohms wrote: > > Hi > > > > > > I used the following command to create 4 queues > > > > ovs-vsctl -- set port s7-eth2 qos=@newqos -- --id=@newqos create qos > > type=linux-htb other-config:max-rate=1000 que

Re: [ovs-discuss] OVS queues and precedence

2017-11-13 Thread Ben Pfaff
On Mon, Nov 13, 2017 at 08:13:57PM +0100, Łukasz Rząsik wrote: > 2017-10-25 0:05 GMT+02:00 Ben Pfaff : > > > On Wed, Oct 18, 2017 at 09:17:53AM +0200, Jannis Ohms wrote: > > > Hi > > > > > > > > > I used the following command to create 4 queues > > > > > > ovs-vsctl -- set port s7-eth2 qos=@newqos

Re: [ovs-discuss] Error communicating with sb database

2017-11-13 Thread Sverker Abrahamsson
Indeed, that was the issue: [root@h2 ~]# ovn-sbctl get-connection read-write pssl:6642 [root@h2 ~]# ovn-sbctl set-connection ptcp:6642 [root@h2 ~]# ovn-sbctl get-connection read-write ptcp:6642 After changing that the connection was established. Thank you /Sverker Den 2017-11-13 kl. 17:43, skr

Re: [ovs-discuss] Regarding queue size for each queue configured on openvswitch by using SDN (RYU) controller

2017-11-13 Thread Ben Pfaff
OVS doesn't have queues of its own. If you want to control queuing for the Linux kernel datapath, and the existing Linux network queuing disciplines don't do what you want, you should create a new Linux network queuing discipline that does what you want. On Mon, Nov 13, 2017 at 11:52:02AM -0800,

Re: [ovs-discuss] Debugging ct dnat openflow action

2017-11-13 Thread Guru Shetty
On 12 November 2017 at 22:43, Hui Xiang wrote: > Does ovs linux dapath NAT work with linux kernel 4.4.70 version? > If you use the kernel module that comes with OVS repo, it will work. If you use the kernel module that comes by default with linux kernel, it won't. You can look at ovs-vswitchd.lo

[ovs-discuss] jsonrpc

2017-11-13 Thread Edison Albuquerque
Sorry if this has been asked before. There's few examples on how to use jsonrpc to insert an interface, for example. For us, newbies, examples are extremely valuable, more than a thousand words. If some kind soul has an example on how to insert a new interface (s1-eth3) in a single switch (s1) with

Re: [ovs-discuss] jsonrpc

2017-11-13 Thread Ben Pfaff
On Mon, Nov 13, 2017 at 06:47:05PM -0300, Edison Albuquerque wrote: > Sorry if this has been asked before. > There's few examples on how to use jsonrpc to insert an interface, for > example. > For us, newbies, examples are extremely valuable, more than a thousand > words. > If some kind soul has an

[ovs-discuss] OVS Connection-tracking with NAT

2017-11-13 Thread abhijit herekar
hi, I new to the OVS connection tracking, I am trying to add the following flow and get the ERROR #ovs-ofctl add-flow s1 "in_port=1, actions=ct(commit, nat(src=10.0.0.240-10.0.0.254))" #ovs-ofctl: actions are invalid with specified match (OFPBAC_MATCH_INCONSISTENT) I am not able to figure out wh

Re: [ovs-discuss] OVS Connection-tracking with NAT

2017-11-13 Thread abhijit herekar
Looks, like I was giving a wrong command, I corrected it now and did the following: #ovs-ofctl add-flow s1 "ct_state=+new,icmp,in_port=1, actions=ct(commit, zone=1, nat(src=10.0.0.240))" I get the OFPT_ERROR, which means the cmd is not supported, so I guess the OVS which I am using doesnt support

Re: [ovs-discuss] jsonrpc

2017-11-13 Thread Ben Pfaff
For the unsuccessful case, did you check the database log? It may contain a log message pointing to the mistake. On Mon, Nov 13, 2017 at 07:26:48PM -0300, Edison Albuquerque wrote: > Thank you Ben. > There's a lot of information. > I'll have to dissect it. > I tried this before: > > " > #!/usr/b

Re: [ovs-discuss] OVS Connection-tracking with NAT

2017-11-13 Thread Yi-Hung Wei
>From ovs-ofctl(8), in the session of ct(nat). "nat was introduced in Open vSwitch 2.6. The first datapath that implements ct nat support is the one that ships with Linux 4.6." I think you might want to install openvswitch-datapath-dkms package after ovs 2.6, or use upstream openvswitch kernel mo

[ovs-discuss] ovs-2.8 Cannot open /dev/uio0

2017-11-13 Thread 王嵘
hi, I'm using ovs2.8 with dpdk-17052, and the 'NetXtreme II BCM57810 10 Gigabit Ethernet 168e'. There comes the error, while I try to bind the NIC using igb_uio. 2017-11-14T02:25:18.400Z|00362|dpdk|INFO|EAL: probe driver: 14e4:168e net_bnx2x 2017-11-14T02:25:18.400Z|00363|dpdk|ERR|EAL: Cannot

Re: [ovs-discuss] Debugging ct dnat openflow action

2017-11-13 Thread Hui Xiang
Thanks Guru. Yes, I have replaced the upstream kernel with OVS kernel module repo 2.8.1, I mean from [1] which add openvswitch: nat support in linux datapath seems also including below changes and those doesn't included in the OVS kernel module, so I am concerning is it enough for just replace ker

[ovs-discuss] OVN Logical Router Port ARP response

2017-11-13 Thread Hui Xiang
Hi folks, I am a bit confused of the OVN logical router port arp flow process if arping it from external side. When I am tracing the logical router port arp, it always seems there would be no response from the flow procedure, however, I do can get the arp response and reach it. My trace inport is

Re: [ovs-discuss] pmd-cpu-mask/distribution of rx queues not working on windows

2017-11-13 Thread aserdean
> Subject: Re: [ovs-discuss] pmd-cpu-mask/distribution of rx queues not > working on windows > > On 10/19/2017 05:45 PM, Alin Gabriel Serdean wrote: > > Hi, > > > > > > > > Currently the test “pmd-cpu-mask/distribution of rx queues” is failing > > on Windows. I’m trying to figure out what we are m

Re: [ovs-discuss] pmd-cpu-mask/distribution of rx queues not working on windows

2017-11-13 Thread Kevin Traynor
On 11/14/2017 02:16 AM, aserd...@ovn.org wrote: >> Subject: Re: [ovs-discuss] pmd-cpu-mask/distribution of rx queues not >> working on windows >> >> On 10/19/2017 05:45 PM, Alin Gabriel Serdean wrote: >>> Hi, >>> >>> >>> >>> Currently the test “pmd-cpu-mask/distribution of rx queues” is failing >>>

Re: [ovs-discuss] ovs-2.8 Cannot open /dev/uio0

2017-11-13 Thread Shivaram Mysore
Is there a specific reason as to why you would want to use this version of DPDK? I have never had to check permission. Also, igb is mainly for Intel NICs. You are using a Broadcom NIC - http://dpdk.org/doc/guides/nics/bnxt.html for driver info. I think what you have is a misconfiguration. You

Re: [ovs-discuss] ovs-2.8 Cannot open /dev/uio0

2017-11-13 Thread 王嵘
I just want to use ovs-2.8 for userspace connection-track, and I choose the latest LST DPDK 1705. But, you mean theres is something like broadcom-uio.ko when using broadcom NIC? I just have changed the config/common_base: CONFIG_RTE_LIBRTE_BNX2X_PMD=y CONFIG_RTE_LIBRTE_BNX2X_DEBUG=y CONFIG_RT