Re: [ovs-discuss] [OVN] no response to inactivity probe

2020-08-05 Thread Tony Liu
I set the connection target="ptcp:6641:10.6.20.84" for ovn-nb-db and "ptcp:6642:10.6.20.84" for ovn-sb-db. .84 is the first node of cluster. Also ovn-openflow-probe-interval=30 on compute node. It seems helping. Not that many connect/drop/reconnect in logging. That "commit failure" is also gone.

Re: [ovs-discuss] OVN Scale with RAFT: how to make raft cluster clients to balanced state again

2020-08-05 Thread Girish Moodalbail
On Wed, Aug 5, 2020 at 5:23 PM Han Zhou wrote: > > > On Wed, Aug 5, 2020 at 4:35 PM Girish Moodalbail > wrote: > >> >> >> On Wed, Aug 5, 2020 at 3:05 PM Han Zhou wrote: >> >>> >>> >>> On Wed, Aug 5, 2020 at 12:51 PM Winson Wang >>> wrote: >>> Hello OVN Experts: With large scale

Re: [ovs-discuss] ovn-k8s scale: how to make new ovn-controller process keep the previous Open Flow in br-int

2020-08-05 Thread Girish Moodalbail
On Wed, Aug 5, 2020 at 5:36 PM Han Zhou wrote: > > > On Wed, Aug 5, 2020 at 4:21 PM Girish Moodalbail > wrote: > >> >> >> On Wed, Aug 5, 2020 at 3:35 PM Han Zhou wrote: >> >>> >>> >>> On Wed, Aug 5, 2020 at 12:58 PM Winson Wang >>> wrote: >>> Hello OVN Experts, With ovn-k8s,

Re: [ovs-discuss] OVN Scale with RAFT: how to make raft cluster clients to balanced state again

2020-08-05 Thread Winson Wang
Hi Han, On Wed, Aug 5, 2020 at 3:05 PM Han Zhou wrote: > > > On Wed, Aug 5, 2020 at 12:51 PM Winson Wang > wrote: > >> Hello OVN Experts: >> >> With large scale ovn-k8s cluster, there are several conditions that >> would make ovn-controller clients connect SB central from a balanced state >>

Re: [ovs-discuss] ovn-k8s scale: how to make new ovn-controller process keep the previous Open Flow in br-int

2020-08-05 Thread Han Zhou
On Wed, Aug 5, 2020 at 4:21 PM Girish Moodalbail wrote: > > > On Wed, Aug 5, 2020 at 3:35 PM Han Zhou wrote: > >> >> >> On Wed, Aug 5, 2020 at 12:58 PM Winson Wang >> wrote: >> >>> Hello OVN Experts, >>> >>> With ovn-k8s, we need to keep the flows always on br-int which needed >>> by running

Re: [ovs-discuss] OVN Scale with RAFT: how to make raft cluster clients to balanced state again

2020-08-05 Thread Han Zhou
On Wed, Aug 5, 2020 at 3:59 PM Tony Liu wrote: > Sorry for hijacking this thread, I'd like to get some clarifications. > > How is the initial balanced state established, say 100 ovn-controllers > connecting to 3 ovn-sb-db? > > The ovn-controller by default randomly connects to any servers

Re: [ovs-discuss] OVN Scale with RAFT: how to make raft cluster clients to balanced state again

2020-08-05 Thread Han Zhou
On Wed, Aug 5, 2020 at 4:35 PM Girish Moodalbail wrote: > > > On Wed, Aug 5, 2020 at 3:05 PM Han Zhou wrote: > >> >> >> On Wed, Aug 5, 2020 at 12:51 PM Winson Wang >> wrote: >> >>> Hello OVN Experts: >>> >>> With large scale ovn-k8s cluster, there are several conditions that >>> would make

Re: [ovs-discuss] OVN Scale with RAFT: how to make raft cluster clients to balanced state again

2020-08-05 Thread Girish Moodalbail
On Wed, Aug 5, 2020 at 3:05 PM Han Zhou wrote: > > > On Wed, Aug 5, 2020 at 12:51 PM Winson Wang > wrote: > >> Hello OVN Experts: >> >> With large scale ovn-k8s cluster, there are several conditions that >> would make ovn-controller clients connect SB central from a balanced state >> to an

Re: [ovs-discuss] [OVN] no response to inactivity probe

2020-08-05 Thread Tony Liu
Hi Han, After setting connection target="ptcp:6642:0.0.0.0" for ovn-sb-db, I see this error. 2020-08-05T23:01:26.819Z|06799|ovsdb_jsonrpc_server|ERR|ptcp:6642:0.0.0.0: listen failed: Address already in use Anything I am missing here? Thanks! Tony > -Original Message-

Re: [ovs-discuss] ovn-k8s scale: how to make new ovn-controller process keep the previous Open Flow in br-int

2020-08-05 Thread Girish Moodalbail
On Wed, Aug 5, 2020 at 3:35 PM Han Zhou wrote: > > > On Wed, Aug 5, 2020 at 12:58 PM Winson Wang > wrote: > >> Hello OVN Experts, >> >> With ovn-k8s, we need to keep the flows always on br-int which needed by >> running pods on the k8s node. >> Is there an ongoing project to address this

Re: [ovs-discuss] OVN Scale with RAFT: how to make raft cluster clients to balanced state again

2020-08-05 Thread Tony Liu
Sorry for hijacking this thread, I'd like to get some clarifications. How is the initial balanced state established, say 100 ovn-controllers connecting to 3 ovn-sb-db? The ovn-controller doesn't have to connect to the leader of ovn-sb-db, does it? In case it connects to the follower, the write

Re: [ovs-discuss] ovn-k8s scale: how to make new ovn-controller process keep the previous Open Flow in br-int

2020-08-05 Thread Han Zhou
On Wed, Aug 5, 2020 at 12:58 PM Winson Wang wrote: > Hello OVN Experts, > > With ovn-k8s, we need to keep the flows always on br-int which needed by > running pods on the k8s node. > Is there an ongoing project to address this problem? > If not, I have one proposal not sure if it is doable. >

Re: [ovs-discuss] packet drop

2020-08-05 Thread Tony Liu
The drop is caused by flow change. When packet is dropped.

Re: [ovs-discuss] OVN Scale with RAFT: how to make raft cluster clients to balanced state again

2020-08-05 Thread Han Zhou
On Wed, Aug 5, 2020 at 12:51 PM Winson Wang wrote: > Hello OVN Experts: > > With large scale ovn-k8s cluster, there are several conditions that would > make ovn-controller clients connect SB central from a balanced state to > an unbalanced state. > Is there an ongoing project to address this

[ovs-discuss] packet drop

2020-08-05 Thread Tony Liu
Hi, I am running ping from external to VM via OVN gateway. On the compute node, ICMP request packet is consistently coming into interface "ovn-gatewa-1". But there is about 10 out of 25 packet loss on tap interface. It's like the switch pauses 10s after every 15s. Has anyone experiences such

[ovs-discuss] ovn-k8s scale: how to make new ovn-controller process keep the previous Open Flow in br-int

2020-08-05 Thread Winson Wang
Hello OVN Experts, With ovn-k8s, we need to keep the flows always on br-int which needed by running pods on the k8s node. Is there an ongoing project to address this problem? If not, I have one proposal not sure if it is doable. Please share your thoughts. The issue: In large scale ovn-k8s

Re: [ovs-discuss] SB flows not being created in OVN K8 Stateful set

2020-08-05 Thread Dumitru Ceara
On 8/5/20 5:14 PM, Brendan Doyle wrote: > Folks, > > I'm stumped here, I have the k8 ovnkube-db-raft Stateful set up and > running. > But when I create a simple network, no SB flows are generated. > > ovn-nbctl show shows my network. ovn-sbctl show shows the physicals > systems in my network. >

[ovs-discuss] OVN Scale with RAFT: how to make raft cluster clients to balanced state again

2020-08-05 Thread Winson Wang
Hello OVN Experts: With large scale ovn-k8s cluster, there are several conditions that would make ovn-controller clients connect SB central from a balanced state to an unbalanced state. Is there an ongoing project to address this problem? If not, I have one proposal not sure if it is doable.

[ovs-discuss] SB flows not being created in OVN K8 Stateful set

2020-08-05 Thread Brendan Doyle
Folks, I'm stumped here, I have the k8 ovnkube-db-raft Stateful set up and running. But when I create a simple network, no SB flows are generated. ovn-nbctl show shows my network. ovn-sbctl show shows the physicals systems in my network. But I can't ping between any hosts because ovn-sbctl

[ovs-discuss] 答复: [ovs-dev] there are many error logs when processing igmp packet

2020-08-05 Thread 王培辉
Thanks for your response, ben, I found these error logs will occur with hw-offload=true, This error will disappear when I disable hardware offload. It seems there is a bug processing igmp packet when hardware offload enabled. I'm not familiar with this code, Could you provide any clue how to