Re: [ovs-discuss] NorthD inc-engine Handlers; OVN 24.03

2024-05-15 Thread Han Zhou via discuss
> >> > > My guess is that your installation is frequently creating , deleting or > > modifying logical switches or routers. > > > > > >>- > >>- Do you think there is a reason in implementing that handler? ( > >>*SB_datapath_bi

Re: [ovs-discuss] [ovs-dev] [ANN] Primary OVS branch renamed as main development branch as main.

2024-04-10 Thread Han Zhou via discuss
On Wed, Apr 10, 2024 at 6:52 AM Simon Horman wrote: > > Hi, > > I would like to announce that the primary development branch for OvS > has been renamed main. > > The rename occurred a little earlier today. > > OVS is currently hosted on GitHub. We can expect the following behaviour > after the

Re: [ovs-discuss] OVN SB DB from RAFT cluster to Relay DB

2024-03-19 Thread Han Zhou via discuss
On Thu, Mar 7, 2024 at 12:29 PM Sri kor via discuss < ovs-discuss@openvswitch.org> wrote: > > Is there a way to configure, ovn-controller subscribing to only specific SB DB updates? > I Hi Sri, As mentioned by Felix, ovn-controller by default subscribes to only SB DB updates that it considers

Re: [ovs-discuss] OVN: scaling L2 networks beyond 10k chassis - proposals

2023-10-01 Thread Han Zhou via discuss
On Sun, Oct 1, 2023 at 12:34 PM Robin Jarry wrote: > > Hi Han, > > Please see my comments/questions inline. > > Han Zhou, Sep 30, 2023 at 21:59: > > > Distributed mac learning > > > > > > > > > Use one OVS bri

Re: [ovs-discuss] OVN: scaling L2 networks beyond 10k chassis - issues

2023-10-01 Thread Han Zhou via discuss
On Sun, Oct 1, 2023 at 9:06 AM Robin Jarry wrote: > > Hi Han, > > thanks a lot for your detailed answer. > > Han Zhou, Sep 30, 2023 at 01:03: > > > I think ovn-controller only consumes the logical flows. The chassis and > > > port bindings tables are used by n

Re: [ovs-discuss] OVN: scaling L2 networks beyond 10k chassis - proposals

2023-09-30 Thread Han Zhou via discuss
output packet to “ls2” OVS bridge for mac > >>> learning between logical routers (should we have here OF flow with > >>> learn action?), then send packet again to OVS, calculate “lr2” > >>> OpenFlow pipeline and finally reach destination OVS bridge “ls3” to > >>>

Re: [ovs-discuss] OVN: scaling L2 networks beyond 10k chassis - proposals

2023-09-30 Thread Han Zhou via discuss
On Thu, Sep 28, 2023 at 9:28 AM Robin Jarry wrote: > > Hello OVN community, > > This is a follow up on the message I have sent today [1]. That second > part focuses on some ideas I have to remove the limitations that were > mentioned in the previous email. > > [1]

Re: [ovs-discuss] OVN: scaling L2 networks beyond 10k chassis - issues

2023-09-29 Thread Han Zhou via discuss
On Fri, Sep 29, 2023 at 7:26 AM Robin Jarry wrote: > > Hi Felix, > > Thanks a lot for your message. > > Felix Huettner, Sep 29, 2023 at 14:35: > > I can get that when running 10k ovn-controllers the benefits of > > optimizing cpu and memory load are quite significant. However i am > > unsure

Re: [ovs-discuss] Scaling OVN/Southbound

2023-07-07 Thread Han Zhou via discuss
On Fri, Jul 7, 2023 at 1:21 PM Han Zhou wrote: > > > > On Thu, Jul 6, 2023 at 1:28 AM Terry Wilson wrote: > > > > On Wed, Jul 5, 2023 at 9:59 AM Terry Wilson wrote: > > > > > > On Fri, Jun 30, 2023 at 7:09 PM Han Zhou via discuss > > > wr

Re: [ovs-discuss] Scaling OVN/Southbound

2023-07-07 Thread Han Zhou via discuss
On Thu, Jul 6, 2023 at 12:00 AM Felix Huettner wrote: > > Hi Han, > > On Fri, Jun 30, 2023 at 05:08:36PM -0700, Han Zhou wrote: > > On Wed, May 24, 2023 at 12:26 AM Felix Huettner via discuss < > > ovs-discuss@openvswitch.org> wrote: > > > > > >

Re: [ovs-discuss] Scaling OVN/Southbound

2023-07-06 Thread Han Zhou via discuss
On Thu, Jul 6, 2023 at 1:28 AM Terry Wilson wrote: > > On Wed, Jul 5, 2023 at 9:59 AM Terry Wilson wrote: > > > > On Fri, Jun 30, 2023 at 7:09 PM Han Zhou via discuss > > wrote: > > > > > > > > > > > > On Wed, May 24, 2023 at 12:26

Re: [ovs-discuss] Scaling OVN/Southbound

2023-06-30 Thread Han Zhou via discuss
On Wed, May 24, 2023 at 12:26 AM Felix Huettner via discuss < ovs-discuss@openvswitch.org> wrote: > > Hi Ilya, > > thank you for the detailed reply > > On Tue, May 23, 2023 at 05:25:49PM +0200, Ilya Maximets wrote: > > On 5/23/23 15:59, Felix Hüttner via discuss wrote: > > > Hi everyone, > > > >

Re: [ovs-discuss] MAC binding aging refresh mechanism

2023-05-25 Thread Han Zhou via discuss
On Thu, May 25, 2023 at 9:19 AM Ilya Maximets wrote: > > On 5/25/23 14:08, Ales Musil via discuss wrote: > > Hi, > > > > to improve the MAC binding aging mechanism we need a way to ensure that rows which are still in use are preserved. This doesn't happen with current implementation. > > > > I

Re: [ovs-discuss] OVN interconnection and NAT

2023-03-15 Thread Han Zhou via discuss
On Wed, Mar 15, 2023 at 1:00 PM Tiago Pires wrote: > > Hi Vladislav, > > It seems the gateway_port option was added on 22.09 according with this commit: https://github.com/ovn-org/ovn/commit/4f93381d7d38aa21f56fb3ff4ec00490fca12614 . > It is what I need in order to make my use case to work, let

Re: [ovs-discuss] ovsdb: schema conversion for clustered db blocks preventing processing of raft election and inactivity probes

2023-01-10 Thread Han Zhou via discuss
On Mon, Jan 9, 2023 at 3:34 AM Ilya Maximets wrote: > > On 1/8/23 04:51, Han Zhou wrote: > > > > > > On Tue, Jan 3, 2023 at 6:07 AM Ilya Maximets via discuss < ovs-discuss@openvswitch.org <mailto:ovs-discuss@openvswitch.org>> wrote: > >> > >&

Re: [ovs-discuss] ovsdb: schema conversion for clustered db blocks preventing processing of raft election and inactivity probes

2023-01-07 Thread Han Zhou via discuss
On Tue, Jan 3, 2023 at 6:07 AM Ilya Maximets via discuss < ovs-discuss@openvswitch.org> wrote: > > On 12/14/22 08:28, Frode Nordahl via discuss wrote: > > Hello, > > > > When performing an online schema conversion for a clustered DB the > > `ovsdb-client` connects to the current leader of the

Re: [ovs-discuss] [OVN] ovn-interconnect multiple routers in same AZ and transit switch

2022-09-23 Thread Han Zhou
LS to communicate within the AZ. For the actual problem you are facing, I may need to reproduce it locally and debug. BTW, what's your OVN version? Did you try branch-22.09? I remembered some minor fixes for admission control flows related to GW chassis. Thanks, Han > > _

Re: [ovs-discuss] [OVN] ovn-interconnect multiple routers in same AZ and transit switch

2022-09-23 Thread Han Zhou
On Fri, Sep 23, 2022 at 8:10 AM Baranin, Alexander via discuss < ovs-discuss@openvswitch.org> wrote: > > Hello! > > Is the following configuration supported? > > > > AZ1: > > > Port1 - LSwitch1 - LRouter1 - TransitSwitch1 - LRouter2 - LSwitch2 - Port2 > > > Gateway ports of LRouter1 and LRouter2

Re: [ovs-discuss] How to count the upcall times on every datapath interface ?

2022-08-24 Thread Han Zhou
On Sun, Aug 21, 2022 at 6:50 PM wangchuanlei wrote: > > Hi, > In datapath, we can see the all count of missed packets via cmd > "ovs-dpctl show", but we can not see the count of missed on every > interface. On my enviroment, i always encounter too many upcall > packets, which leads very high

Re: [ovs-discuss] UDP stateful ACL not working when pkt passing through two switches ?

2022-07-29 Thread Han Zhou
On Thu, Jul 28, 2022 at 11:53 AM Brendan Doyle wrote: > > UDP stateful ACL not working? The logical representation of My network is shown bellow > ('ovn-nbctl show' shown towards the end). I have a Port Group (pg_vcn3_net1_sl3) that has > two ports in it, the VM port on switch(ls_vcn3_net1) and

Re: [ovs-discuss] ovn-controller stranger behaviour

2022-06-24 Thread Han Zhou
Hi Tiago, Thanks for reporting the problem. It seems you can easily reproduce the problem, right? If so, could you enable debug log for ovn-controller before triggering the recompute, and then we can see what flows are added during recompute from the logs of the ofctrl module? Thanks, Han On

Re: [ovs-discuss] reside-on-redirect-chassis and redirect-type

2022-02-20 Thread Han Zhou
On Thu, Feb 17, 2022 at 3:23 AM Brendan Doyle wrote: > > Hi, > > So I have a Distributed Gateway Port (DGP) on a Gateway through which > VMs in the overlay can access > underlay networks. If the VM is not on the chassis where the DGP is > scheduled then the traffic takes > the extra tunneled hop

Re: [ovs-discuss] Remodel OVN Logical_Switch_Port addresses

2022-02-16 Thread Han Zhou
On Wed, Feb 16, 2022 at 3:27 AM Frode Nordahl wrote: > > Hello all, > > Having just spent several days chasing an unpredictable flow output > issue caused by duplicate IP addresses on LSPs in the same LS (see [0] > for details), I wanted to gauge the interest for remodeling this part > of the OVN

Re: [ovs-discuss] [External] : allow-related and allow-stateless not working when used together - should have the union of the rules.

2022-01-25 Thread Han Zhou
On Mon, Jan 24, 2022 at 4:31 AM Brendan Doyle wrote: > > > On 24/01/2022 12:05, Odintsov Vladislav wrote: > > Hi, > > allow-stateless rules are fully implemented with ovs, while allow-related > involve conntrack. Conntrack > adds some additional logic, which most likely lead to drops. > > I

Re: [ovs-discuss] OVN at scale in production

2021-10-14 Thread Han Zhou
t; Yes, I set that value before to 6 but it didn't help! > > On Sun, Oct 10, 2021 at 10:34 PM Han Zhou wrote: > >> >> >> On Sat, Oct 9, 2021 at 12:02 PM Seena Fallah >> wrote: >> > >> > Also I get many logs like this in ovn: >> > &g

Re: [ovs-discuss] OVN at scale in production

2021-10-10 Thread Han Zhou
On Sat, Oct 9, 2021 at 12:02 PM Seena Fallah wrote: > > Also I get many logs like this in ovn: > > 2021-10-09T18:54:45.263Z|01151|jsonrpc|WARN|Dropped 6 log messages in last 8 seconds (most recently, 3 seconds ago) due to excessive rate >

Re: [ovs-discuss] [ovs-dev] [OVN] branch name renamed from 'master' to 'main'

2021-10-07 Thread Han Zhou
On Tue, Oct 5, 2021 at 10:40 AM Numan Siddique wrote: > > Hello everyone, > > The default branch of OVN has been renamed from 'master' to 'main'. I > had brought this up > for discussion in our weekly upstream OVN meeting a couple of weeks > ago and the attendees were supportive of it. > > I

Re: [ovs-discuss] [ovn] OVN asymmetric routing with conntrack

2021-08-24 Thread Han Zhou
On Tue, Aug 24, 2021 at 3:02 PM Vladislav Odintsov wrote: > > > Regards, > Vladislav Odintsov > > On 25 Aug 2021, at 00:47, Numan Siddique wrote: > > On Mon, Aug 23, 2021 at 11:22 AM Vladislav Odintsov > wrote: > > > Hi, > > we’ve faced an issue where asymmetric-routed traffic is used. Please

Re: [ovs-discuss] [question] need help to understand raft leadership transfer reason

2021-08-16 Thread Han Zhou
On Sun, Aug 15, 2021 at 5:37 AM Vladislav Odintsov wrote: > > Han, thanks for the answer. > My comments inline. > > Regards, > Vladislav Odintsov > > On 12 Aug 2021, at 19:15, Han Zhou wrote: > > > > On Thu, Aug 12, 2021 at 4:54 AM Vladislav Odintsov wrote: &

Re: [ovs-discuss] OVN: Any objections for making logical router and logical switches tables indexed by name?

2021-08-12 Thread Han Zhou
On Tue, Aug 10, 2021 at 9:32 AM Flavio Fernandes wrote: > > [cc: Ben + Dmitry] > > Hi folks, > > I'm looking at some conversion code in ovn-org/ovn-kubernetes where we replace the ovn-nbctl wrapper with the libovsdb library ( ovn-org/libovsdb ). Since we are mostly doing this to make it faster

Re: [ovs-discuss] [question] need help to understand raft leadership transfer reason

2021-08-12 Thread Han Zhou
On Thu, Aug 12, 2021 at 4:54 AM Vladislav Odintsov wrote: > > Hi, > > I’ve got a 3-node RAFT cluster, serving ovn northbound DB and trying to understand what triggered ovsdb-server leadership change. > Can somebody help explain that? > > This cluster runs ovs 2.13.4 and has ~25 active clients: 3

Re: [ovs-discuss] OVN /OVS openvswitch: ovs-system: deferred action limit reached, drop recirc action

2021-08-04 Thread Han Zhou
t; > loop in lflow-list ? > > > >> > > > > >> > Ammad > > > >> > > > > >> > On Tue, Aug 3, 2021 at 2:14 AM Krzysztof Klimonda > > > >> > wrote: > > > >> > > Hi, > > > >&

Re: [ovs-discuss] OVN /OVS openvswitch: ovs-system: deferred action limit reached, drop recirc action

2021-08-02 Thread Han Zhou
On Mon, Aug 2, 2021 at 5:07 AM Ammad Syed wrote: > > Hello, > > I am using openstack with OVN 20.12 and OVS 2.15.0 on ubuntu 20.04. I am using geneve tenant network and vlan provider network. > > I am continuously getting below messages in my dmesg logs continuously on compute node 1 only the

Re: [ovs-discuss] [External] : Re: Almost half OVN unit tests are skipped (ovn.at:xxx) - OVN_FOR_EACH_NORTHD

2021-05-26 Thread Han Zhou
On Wed, May 26, 2021 at 2:31 AM Brendan Doyle wrote: > > > > On 25/05/2021 18:36, Han Zhou wrote: > > > > > > > ## - ## > > ## Test results. ## > > ## - ## > > > > 2 tests were successful. > > 2 tests were

Re: [ovs-discuss] Almost half OVN unit tests are skipped (ovn.at:xxx) - OVN_FOR_EACH_NORTHD

2021-05-25 Thread Han Zhou
On Tue, May 25, 2021 at 10:25 AM Brendan Doyle wrote: > > Folks, > > Perhaps I'm missing something, but in a recent pull of the OVN src, > having boot > strapped and built the code and executed unit tests as per instructions: > Documentation/topics/testing.rst > > I see that almost half of the

Re: [ovs-discuss] Question on distributing snat traffic with OVN

2021-05-04 Thread Han Zhou
On Tue, May 4, 2021 at 11:40 AM Francois wrote: > > On Tue, 4 May 2021 at 19:24, Han Zhou wrote: > > > > > > This is interesting. One question here. Not sure if I understand the proposal correctly, but if you want to use the chassis's IP for snat, then how would the retur

Re: [ovs-discuss] Question on distributing snat traffic with OVN

2021-05-04 Thread Han Zhou
On Tue, May 4, 2021 at 9:25 AM Francois wrote: > > On Tue, 4 May 2021 at 17:03, Numan Siddique wrote: > > > > On Sat, May 1, 2021 at 6:32 AM Francois wrote: > > > > > > Hi Open vSwitch > > > I am running an OVN stack with a dozen chassis, all of them able to > > > act as gateways. > > > I have

Re: [ovs-discuss] ovn cpu high load problem

2020-12-04 Thread Han Zhou
On Thu, Dec 3, 2020 at 11:47 AM jre l wrote: > > Dear everyone: > > Please help me。 > > My ovn network running into trouble,this is a 250 client openstack+ovn network,every time I make any change on network ,such as creating a instance,the ovs-dbserver cpu went to 100%,and traffic grows to 1Gb/s,

Re: [ovs-discuss] [ovn] does not match prerequisite

2020-10-20 Thread Han Zhou
On Tue, Oct 20, 2020 at 11:55 AM Tony Liu wrote: > > Hi, > > From ovnsb log, I see many of the following messages. > What does it mean? Is that a concern? > > 2020-10-20T18:52:50.483Z|00093|raft|INFO|current entry eid 2ab3eff8-87e1-4e19-9a1f-d359ad56a9ad does not match prerequisite

[ovs-discuss] ACL tcp reject action problem when stateful ACL exists

2020-09-27 Thread Han Zhou
In test case acl-reject, there are no stateful ACLs and the test case works well. However, adding a stateful ACL even with a low priority (which shouldn't change the expected behavior of the test case) resulted in the test case failing. Below is the change for the test case. - 8><

Re: [ovs-discuss] [OVN]: IP address representing external destinations

2020-09-23 Thread Han Zhou
r to tell OVN this information is through the route policies (which means you don't really need that extra metadata to achieve this). I think it is the way how k8s-ovn is using OVN that causes this many routes required. If the IP allocation can be better managed so that a big range of IP is for

Re: [ovs-discuss] [OVN]: IP address representing external destinations

2020-09-16 Thread Han Zhou
uth-to-north traffic really has this IP as destination (I guess that's not the case). > In policies/ACL you will need to make sure the priorities are set >> properly to achieve the default-route behavior. >> > > Yes, so this is currently done, as described above. &

Re: [ovs-discuss] [OVN]: IP address representing external destinations

2020-09-16 Thread Han Zhou
On Wed, Sep 16, 2020 at 5:42 AM Alexander Constantinescu < acons...@redhat.com> wrote: > > Hi > > I was wondering if anybody is aware of an IP address signifying "external IP destinations"? > > Currently in OVN we can use the IP address 0.0.0.0/0 for match expressions in logical routing policies /

Re: [ovs-discuss] How to restart raft cluster after a complete shutdown?

2020-08-25 Thread Han Zhou
On Tue, Aug 25, 2020 at 7:08 AM Matthew Booth wrote: > > I'm deploying ovsdb-server (and only ovsdb-server) in K8S as a StatefulSet: > > https://github.com/openstack-k8s-operators/dev-tools/blob/master/ansible/files/ocp/ovn/ovsdb.yaml > > I'm going to replace this with an operator in due course,

[ovs-discuss] Inquiry for DDlog status for ovn-northd

2020-08-24 Thread Han Zhou
Hi Ben and Leonid, As I remember you were working on the new ovn-northd that utilizes DDlog for incremental processing. Could you share the current status? Now that some more improvements have been made in ovn-controller and OVSDB, the ovn-northd becomes the more obvious bottleneck for OVN use

Re: [ovs-discuss] the raft_is_connected state of a raft server stays as false and cannot recover

2020-08-16 Thread Han Zhou
On Thu, Aug 13, 2020 at 5:26 PM Yun Zhou wrote: > Hi, > > Need expert's view to address a problem we are seeing now and then: A > ovsdb-server node in a 3-nodes raft cluster keeps printing out the > "raft_is_connected: false" message, and its "connected" state in its > _Server DB stays as

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

2020-08-07 Thread Han Zhou
On Fri, Aug 7, 2020 at 1:56 PM Venugopal Iyer wrote: > Hi, Han: > > > > An additional comment; > > > > *From:* ovn-kuberne...@googlegroups.com *On > Behalf Of *Venugopal Iyer > *Sent:* Friday, August 7, 2020 1:51 PM > *To:* Han Zhou ; Numan Siddiqu

Re: [ovs-discuss] [OVN] ovn-controller takes 100% cpu while no changes in sb-db

2020-08-07 Thread Han Zhou
Thanks! > > Tony > > -Original Message- > > From: Han Zhou > > Sent: Friday, August 7, 2020 12:39 PM > > To: Tony Liu > > Cc: ovs-discuss ; ovs-dev > d...@openvswitch.org> > > Subject: Re: [ovs-discuss] [OVN] ovn-controller takes 100%

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

2020-08-07 Thread Han Zhou
On Fri, Aug 7, 2020 at 12:35 PM Numan Siddique wrote: > > > On Sat, Aug 8, 2020 at 12:16 AM Han Zhou wrote: > >> >> >> On Thu, Aug 6, 2020 at 10:22 AM Han Zhou wrote: >> >>> >>> >>> On Thu, Aug 6, 2020 at 9:15 AM Numan Sid

Re: [ovs-discuss] [OVN] ovn-controller takes 100% cpu while no changes in sb-db

2020-08-07 Thread Han Zhou
On Fri, Aug 7, 2020 at 12:35 PM Tony Liu wrote: > Inline... > > Thanks! > > Tony > > -Original Message----- > > From: Han Zhou > > Sent: Friday, August 7, 2020 12:29 PM > > To: Tony Liu > > Cc: ovs-discuss ; ovs-dev > d...@openvswit

Re: [ovs-discuss] [OVN] ovn-controller takes 100% cpu while no changes in sb-db

2020-08-07 Thread Han Zhou
e are messages received from 10.6.20.86:6642 (the SB DB). Is there SB change? The CPU is spent on handling the SB change. Some type of SB changes are not handled incrementally. > Thanks! > > Tony > > > -Original Message- > > From: Han Zhou > > Sent: Friday, August 7

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

2020-08-07 Thread Han Zhou
On Thu, Aug 6, 2020 at 10:22 AM Han Zhou wrote: > > > On Thu, Aug 6, 2020 at 9:15 AM Numan Siddique wrote: > >> >> >> On Thu, Aug 6, 2020 at 9:25 PM Venugopal Iyer >> wrote: >> >>> Hi, Han: >>> >>> >>>

Re: [ovs-discuss] [OVN] ovn-controller takes 100% cpu while no changes in sb-db

2020-08-07 Thread Han Zhou
On Fri, Aug 7, 2020 at 10:05 AM Tony Liu wrote: > Hi, > > Here are some logging snippets from ovn-controller. > > 2020-08-07T16:38:04.020Z|29250|timeval|WARN|Unreasonably long 8954ms poll > interval (8895ms user, 0ms system) > > What's that mean? Is it harmless? > > >

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

2020-08-06 Thread Han Zhou
On Thu, Aug 6, 2020 at 10:13 AM Han Zhou wrote: > > > On Thu, Aug 6, 2020 at 8:54 AM Venugopal Iyer > wrote: > >> Hi, Han: >> >> >> >> A comment inline: >> >> >> >> *From:* ovn-kuberne...@googlegroups.com >> *On Behal

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

2020-08-06 Thread Han Zhou
On Thu, Aug 6, 2020 at 12:07 PM Tony Liu wrote: > > Inline... > > Thanks! > > Tony > > -Original Message- > > From: Han Zhou > > Sent: Thursday, August 6, 2020 11:37 AM > > To: Tony Liu > > Cc: Han Zhou ; Numan Siddique ; ovs-dev > &

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

2020-08-06 Thread Han Zhou
On Thu, Aug 6, 2020 at 11:11 AM Tony Liu wrote: > > Inline... (please read with monospaced font:)) > > Thanks! > > Tony > > -Original Message- > > From: Han Zhou > > Sent: Wednesday, August 5, 2020 11:48 PM > > To: Tony Liu > > Cc: Han Z

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

2020-08-06 Thread Han Zhou
On Thu, Aug 6, 2020 at 9:15 AM Numan Siddique wrote: > > > On Thu, Aug 6, 2020 at 9:25 PM Venugopal Iyer > wrote: > >> Hi, Han: >> >> >> >> A comment inline: >> >> >> >> *From:* ovn-kuberne...@googlegroups.com &g

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

2020-08-06 Thread Han Zhou
On Thu, Aug 6, 2020 at 8:54 AM Venugopal Iyer wrote: > Hi, Han: > > > > A comment inline: > > > > *From:* ovn-kuberne...@googlegroups.com *On > Behalf Of *Han Zhou > *Sent:* Wednesday, August 5, 2020 3:36 PM > *To:* Winson Wang > *Cc:* o

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

2020-08-06 Thread Han Zhou
emented with incremental-processing, even if there are probes from openflow or local ovsdb, it doesn't matter. If there is no configuration change, ovn-controller simply replies the probe and there is no extra cost. > 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 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, w

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

2020-08-05 Thread Han Zhou
elected. If you use a clustered DB, it's better to set the connect method to all servers (or you can use a LB VIP that points to all servers), instead of only specifying a single server, which doesn't provide desired HA. > > Thanks! > > Tony > > > > -Original Message

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 sca

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] 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

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

2020-08-04 Thread Han Zhou
On Tue, Aug 4, 2020 at 2:50 PM Tony Liu wrote: > Hi, > > Since I have 3 OVN DB nodes, should I add 3 rows in connection table > for the inactivity_probe? Or put 3 addresses into one row? > > "set-connection" set one row only, and there is no "add-connection". > How should I add 3 rows into the

Re: [ovs-discuss] [OVN] ovn-northd takes much CPU when no configuration update

2020-08-04 Thread Han Zhou
On Tue, Aug 4, 2020 at 11:40 AM Tony Liu wrote: > Inline... > > Thanks! > > Tony > > -Original Message----- > > From: Han Zhou > > Sent: Tuesday, August 4, 2020 11:01 AM > > To: Numan Siddique ; Ben Pfaff ; Leonid > > Ryzhyk > > C

Re: [ovs-discuss] [ovs-dev] [OVN] stale data complained by ovn-controller after db restore

2020-08-04 Thread Han Zhou
op or restart ovn-northd during DB restore? > > No. > > Thanks! > > Tony > > > -Original Message- > > From: Han Zhou > > Sent: Tuesday, August 4, 2020 11:13 AM > > To: Tony Liu > > Cc: ovs-discuss ; ovs-dev > d...@openvswitch.org> > > Subject

Re: [ovs-discuss] [ovs-dev] [OVN] stale data complained by ovn-controller after db restore

2020-08-04 Thread Han Zhou
On Tue, Aug 4, 2020 at 10:30 AM Tony Liu wrote: > Hi, > > Here is how I restore OVN DB. > * Stop all ovn-nb-db, ovn-sb-db and ovn-northd services. > * Clean up all DB files. > * Start all DB services. Fresh ovn-nb-db and ovn-sb-db clusters are up and > running. > * Set DB election timer to

Re: [ovs-discuss] [OVN] ovn-northd takes much CPU when no configuration update

2020-08-03 Thread Han Zhou
. > > Could you point me to the coding for such health check? > Is it single thread? Does it use any event library? > > > Thanks! > > Tony > > > -Original Message- > > From: Han Zhou > > Sent: Saturday, August 1, 2020 9:11 PM > > To: Tony Liu

Re: [ovs-discuss] [ovs-dev] [OVN] ovn-northd HA

2020-08-01 Thread Han Zhou
Hi Tony, Please find my answers inlined. On Sat, Aug 1, 2020 at 5:55 PM Tony Liu wrote: > When I restore 4096 LS, 4354 LSP, 256 LR and 256 LRP, (I clean up > all DBs before restore.) it takes a few seconds to restore the nb-db. > But onv-northd takes forever to update sb-db. > > I changed

Re: [ovs-discuss] [OVN] ovn-northd takes much CPU when no configuration update

2020-08-01 Thread Han Zhou
On Fri, Jul 31, 2020 at 4:14 PM Tony Liu wrote: > Hi, > > I see the active ovn-northd takes much CPU (30% - 100%) when there is no > configuration from OpenStack, nothing happening on all chassis nodes > either. > > Is this expected? What is it busy with? > > Yes, this is expected. It is due to

Re: [ovs-discuss] [OVN] DB backup and restore

2020-07-31 Thread Han Zhou
) also made it clear that this is the right way to backup/restore clustered DB. Did this clarify? > Thanks! > > Tony > > -Original Message- > > From: Han Zhou > > Sent: Thursday, July 30, 2020 7:19 PM > > To: Tony Liu > > Cc: Numan Sidd

Re: [ovs-discuss] [ovs-dev] OVN: Two datapath-bindings are created for the same logical-switch

2020-07-30 Thread Han Zhou
resend as plain text, since I got "The message's content type was not explicitly allowed" reply from ovs-dev-owner. On Thu, Jul 30, 2020 at 7:30 PM Han Zhou wrote: > > > > On Thu, Jul 30, 2020 at 7:24 PM Tony Liu wrote: >> >> Hi Han, >> >> >

Re: [ovs-discuss] [ovs-dev] OVN: Two datapath-bindings are created for the same logical-switch

2020-07-30 Thread Han Zhou
> referenced. Is that right? If yes, should we fix it or it's the intention? > > > Yes, good point! It is definitely a bug and we should fix it. I think the best fix is to change the schema and add "logical_datapath" as a index, but we'll need to make it backward compatible to av

Re: [ovs-discuss] [OVN] DB backup and restore

2020-07-30 Thread Han Zhou
> Maybe your command was wrong. Could you share your command line, and the version used? > To Numan, it would great if you could share the details to use > > Neutron-ovn-sync-util. > > > > > > Thanks! > > > > Tony > > > > *From: *Tony Liu &g

Re: [ovs-discuss] [OVN] DB backup and restore

2020-07-30 Thread Han Zhou
ck. Dropping connection > >is not a good option. Any thoughts here? > > > The server doesn't make this kind of decisions. It could be simply overloaded and disconnected from the cluster, or even worse, a node could crash after commiting the transaction. Thanks, Han > > Th

Re: [ovs-discuss] [OVN] DB backup and restore

2020-07-30 Thread Han Zhou
On Wed, Jul 29, 2020 at 10:58 PM Tony Liu wrote: > > Hi, > > > > There is any guidance to backup and restore OVN nb-db and sb-db? > > > > Is /var/lib/openvswitch/ovn-[ns]b/ovn[ns]b.db the only database file? > > > > For 3-node DB cluster, is replication 3 (the data is replicated onto > > All 3

Re: [ovs-discuss] [ovs-dev] OVN: resync nb-db to sb-db

2020-07-28 Thread Han Zhou
On Tue, Jul 28, 2020 at 2:09 PM Tony Liu wrote: > > Hi, > > When I run a script to create bunch of networks and routers from OpenStack, for whatever reason, > nb-db is fully updated, but sb-db is only partially updated. For example, there are 500 logical routers > in nb-db, but only 218 datapath

Re: [ovs-discuss] [ovs-dev] OVN nb-db and sb-db election timer

2020-07-28 Thread Han Zhou
On Mon, Jul 27, 2020 at 1:40 PM Tony Liu wrote: > > Hi, > > During scaling test, when sb-db is busy, followers believe the leader is dead and started election > request. Some inconsistency happens during such leader switch. Two datapath bindings are created > for the same logical switch. To avoid

Re: [ovs-discuss] OVN scale

2020-07-28 Thread Han Zhou
On Mon, Jul 27, 2020 at 10:16 AM Tony Liu wrote: > Hi Han, > > Just some updates here. > > I tried with 4K networks on single router. Configuration was done without > any issues. I checked both > nb-db and sb-db, they all look good. It's just that router configuration > is huge (in Neutron DB,

Re: [ovs-discuss] [ovs-dev] OVN: Two datapath-bindings are created for the same logical-switch

2020-07-23 Thread Han Zhou
On Thu, Jul 23, 2020 at 10:33 AM Tony Liu wrote: > > Changed the title for this specific problem. > I looked into logs and have more findings. > The problem was happening when sb-db leader switched. Hi Tony, Thanks for this detailed information. Could you confirm which version of OVS is used

Re: [ovs-discuss] [ovs-dev] OVN Controller Incremental Processing

2020-07-23 Thread Han Zhou
error logs. > > Thanks! > > Tony > > > From: Han Zhou > Sent: July 23, 2020 04:19 PM > To: Tony Liu > Cc: Han Zhou ; ovs-dev ; ovs-discuss > Subject: Re: [ovs-dev] OVN Controller Incremental Processing > > > > On Thu

Re: [ovs-discuss] OVN: ovn-sbctl backoff

2020-07-23 Thread Han Zhou
it heavily writes. The manpage does provide more details, and yes RAFT paper has even more. > > Thanks! > > Tony > > On Jul 23, 2020 4:26 PM, Han Zhou wrote: > > > > On Thu, Jul 23, 2020 at 4:07 PM wrote: > > > > Thanks Han for the prompt responses! &

Re: [ovs-discuss] OVN: ovn-sbctl backoff

2020-07-23 Thread Han Zhou
B clustering in manpage ovsdb(7). Thanks, Han > Thanks again! > > Tony > > On Jul 23, 2020 3:57 PM, Han Zhou wrote: > > > > On Thu, Jul 23, 2020 at 3:43 PM Tony Liu wrote: > > > > Hi, > > > > In case of ovsdb cluster, when I run ovn-sbctl, it

Re: [ovs-discuss] [ovs-dev] OVN Controller Incremental Processing

2020-07-23 Thread Han Zhou
data from NB to SB DB, and it is not incremental yet with incremental processing, so it is expected to see 100% CPU. There is currently a work ongoing for ovn-northd incremental processing, with DDlog, by Ben and Leonid. > Tony > > On Jul 23, 2020 4:02 PM, Han Zhou wrote: > > >

Re: [ovs-discuss] [ovs-dev] OVN Controller Incremental Processing

2020-07-23 Thread Han Zhou
On Thu, Jul 23, 2020 at 11:17 AM Tony Liu wrote: > > Hi, > > Is this implemented and released? > https://www.slideshare.net/hanzhou1978/ovn-controller-incremental-processing > Could anyone share an update on this? > > > Thanks! > > Tony > Yes, it was released initially in OVS/OVN 2.12 (if I

Re: [ovs-discuss] OVN: ovn-sbctl backoff

2020-07-23 Thread Han Zhou
On Thu, Jul 23, 2020 at 3:43 PM Tony Liu wrote: > > Hi, > > In case of ovsdb cluster, when I run ovn-sbctl, it connects to the unix socket of local sb-db. > If local sb-db is not the leader, ovn-sbctl tries another server to look for the leader. > How does ovn-sbctl connect to another server? By

Re: [ovs-discuss] [OVN] flow explosion in lr_in_arp_resolve table

2020-07-14 Thread Han Zhou
ction=(next;) >>> table=12(lr_in_arp_resolve ), priority=0, match=(ip4), >>> action=(get_arp(outport, reg0); next;) >>> table=12(lr_in_arp_resolve ), priority=0, match=(ip6), >>> action=(get_nd(outport, xxreg0); next;) >>> >>> Before,

Re: [ovs-discuss] [OVN] running bfd on ecmp routes?

2020-06-17 Thread Han Zhou
On Wed, Jun 17, 2020 at 3:43 AM Numan Siddique wrote: > > > On Wed, Jun 17, 2020 at 12:50 AM Han Zhou wrote: > >> >> >> On Tue, Jun 16, 2020 at 11:32 AM Tim Rozet wrote: >> >>> Thanks Han. See inline. >>> Tim Rozet >>> Red Hat CTO

Re: [ovs-discuss] [OVN] running bfd on ecmp routes?

2020-06-16 Thread Han Zhou
On Tue, Jun 16, 2020 at 11:32 AM Tim Rozet wrote: > Thanks Han. See inline. > Tim Rozet > Red Hat CTO Networking Team > > > On Tue, Jun 16, 2020 at 1:45 PM Han Zhou wrote: > >> >> >> On Mon, Jun 15, 2020 at 7:22 AM Tim Rozet wrote: >> >>

Re: [ovs-discuss] [OVN] running bfd on ecmp routes?

2020-06-16 Thread Han Zhou
On Mon, Jun 15, 2020 at 7:22 AM Tim Rozet wrote: > Hi All, > While looking into using ecmp routes for an OVN router I noticed there is > no support for BFD on these routes. Would it be possible to add this > capability? I would like the next hop to be removed from the openflow group > if BFD

Re: [ovs-discuss] [OVN] logical flow explosion in lr_in_ip_input table for dnat_and_snat IPs

2020-06-15 Thread Han Zhou
Sorry Girish, I can't promise for now. I will see if I have time in the next couple of weeks, but welcome anyone to volunteer on this if it is urgent. On Mon, Jun 15, 2020 at 10:56 AM Girish Moodalbail wrote: > Hello Han, > > On Wed, Jun 3, 2020 at 9:39 PM Han Zhou wrote: > >

Re: [ovs-discuss] options for OVN mailing lists, with a survey

2020-06-10 Thread Han Zhou
On Wed, Jun 10, 2020 at 10:01 AM Ben Pfaff wrote: > > Hi! > > TL;DR: please answer the simple question at the end of the email. > > Since Open vSwitch and OVN are now separate projects, it would be a good > idea to separate their mailing lists as well. This is easier said than > done for at

Re: [ovs-discuss] [OVN] flow explosion in lr_in_arp_resolve table

2020-06-10 Thread Han Zhou
On Wed, Jun 10, 2020 at 12:03 PM Han Zhou wrote: > Hi Girish, Venu, > > I sent a RFC patch series for the solution discussed. Could you give it a > try when you get the chance? > Oops, I forgot the link: https://patchwork.ozlabs.org/project/openvswitch/list/?series=182602 &g

Re: [ovs-discuss] [OVN] flow explosion in lr_in_arp_resolve table

2020-06-10 Thread Han Zhou
Hi Girish, Venu, I sent a RFC patch series for the solution discussed. Could you give it a try when you get the chance? Thanks, Han On Tue, Jun 9, 2020 at 10:04 AM Han Zhou wrote: > > > On Tue, Jun 9, 2020 at 9:06 AM Venugopal Iyer > wrote: > >> Sorry for the delay,

Re: [ovs-discuss] [OVN] flow explosion in lr_in_arp_resolve table

2020-06-09 Thread Han Zhou
On Tue, Jun 9, 2020 at 9:06 AM Venugopal Iyer wrote: > Sorry for the delay, Han, a quick question below: > > > > *From:* ovn-kuberne...@googlegroups.com *On > Behalf Of *Han Zhou > *Sent:* Wednesday, June 3, 2020 4:27 PM > *To:* Girish Moodalbail > *Cc:* Tim Rozet

Re: [ovs-discuss] [OVN] logical flow explosion in lr_in_ip_input table for dnat_and_snat IPs

2020-06-03 Thread Han Zhou
On Wed, Jun 3, 2020 at 7:16 PM Girish Moodalbail wrote: > Hello all, > > While working on an extension, see the diagram below, to the existing OVN > logical topology for the ovn-kubernetes project, I am seeing an explosion > of the "Reply to ARP requests" logical flows in the `lr_in_ip_input`

Re: [ovs-discuss] [OVN] flow explosion in lr_in_arp_resolve table

2020-06-03 Thread Han Zhou
the next hop >>> using the FIP-IP and FIP-MAC. This will be broadcasted to all routers >>> connected to the public LS and will trigger them to learn the >>> FIP-IP:FIP-MAC binding. >> >> >> Yeah we shouldn't be learning on regular ARP requests. >>

Re: [ovs-discuss] [OVN] flow explosion in lr_in_arp_resolve table

2020-05-28 Thread Han Zhou
On Wed, May 27, 2020 at 1:10 AM Dumitru Ceara wrote: > > Hi Girish, Han, > > On 5/26/20 11:51 PM, Han Zhou wrote: > > > > > > On Tue, May 26, 2020 at 1:07 PM Girish Moodalbail > <mailto:gmoodalb...@gmail.com>> wrote: > >> > >> > &g

Re: [ovs-discuss] [OVN] flow explosion in lr_in_arp_resolve table

2020-05-26 Thread Han Zhou
On Tue, May 26, 2020 at 1:07 PM Girish Moodalbail wrote: > > > > On Tue, May 26, 2020 at 12:42 PM Han Zhou wrote: >> >> Hi Girish, >> >> Thanks for the summary. I agree with you that GARP request v.s. reply is irrelavent to the problem here. >> Please

  1   2   3   >