Re: [ovs-dev] [ovs-discuss] connect VM on OVN/OVS and BMS on L2

2023-05-19 Thread Tony Liu
for the solution supported by OVN. I will look into the reference you provided. Thanks! Tony From: Numan Siddique Sent: May 19, 2023 04:27 PM To: Tony Liu Cc: ovs-dev; ovs-discuss; Vladislav Odintsov Subject: Re: [ovs-dev] [ovs-discuss] connect VM on OVN/OVS and BMS

Re: [ovs-dev] [ovs-discuss] connect VM on OVN/OVS and BMS on L2

2023-05-18 Thread Tony Liu
is that no SG for BMS, which can be actually supported by networking device. Can the similar supported by OVN or any other overlay solution supported by OVN to connect BMS? Thanks! Tony From: Numan Siddique Sent: May 18, 2023 11:18 AM To: Tony Liu Cc: ovs-dev

Re: [ovs-dev] connect VM on OVN/OVS and BMS on L2

2023-05-18 Thread Tony Liu
! Tony From: Numan Siddique Sent: May 18, 2023 09:51 AM To: Tony Liu Cc: ovs-discuss; ovs-dev Subject: Re: [ovs-dev] connect VM on OVN/OVS and BMS on L2 On Thu, May 18, 2023 at 12:19 PM Tony Liu wrote: > > Hi, > > Could you anyone share experien

[ovs-dev] connect VM on OVN/OVS and BMS on L2

2023-05-18 Thread Tony Liu
Hi, Could you anyone share experiences or point to some reference about how to connect VM on OVN/OVS and BMS on L2? Or say, how can I connect BMS to a logical switch on OVN/OVS? Thanks! Tony ___ dev mailing list d...@openvswitch.org

Re: [ovs-dev] Scaling of Logical_Flows and MAC_Binding tables

2020-11-28 Thread Tony Liu
Hi Renat, What's this "logical datapath patches that Ilya Maximets submitted"? Could you share some links? There were couple discussions for the similar issue. [1] raised the issue and results a new option always_learn_from_arp_request to be added [2]. [3] results a patch to OVN ML2 driver [4]

Re: [ovs-dev] [ovn] no tunnel from GW to compute

2020-10-28 Thread Tony Liu
; From: Numan Siddique > Sent: Wednesday, October 28, 2020 1:56 AM > To: Tony Liu > Cc: ovs-discuss ; ovs-dev d...@openvswitch.org> > Subject: Re: [ovs-dev] [ovn] no tunnel from GW to compute > > On Wed, Oct 28, 2020 at 11:29 AM Tony Liu > wrote: > > > > Ch

Re: [ovs-dev] [ovn] no tunnel from GW to compute

2020-10-27 Thread Tony Liu
=172.16.160.1,nw_dst=10.10.0.10,nw_tos=0,nw_ecn=0,nw_ttl=124,icmp_type=8,icmp_code=0 icmp_csum:6011 == Thanks! Tony > -Original Message- > From: dev On Behalf Of Tony Liu > Sent: Tuesday, October 27, 2020 2:23 PM > To: ovs-discuss

Re: [ovs-dev] [ovn] no tunnel from GW to compute

2020-10-27 Thread Tony Liu
Saw the same problem again. Recreate network, attach to router and launch VM, problem is gone. Probably some glitch happened during the early deployment. Any hints how to look into it? Thanks! Tony > -Original Message- > From: discuss On Behalf Of Tony > Liu > Sent: Friday

[ovs-dev] [OVN] failed to connect 5K networks to 5K routers

2020-09-09 Thread Tony Liu
Hi, Here is what I did. #1 Create 5K networks, 5K routers and 1 provider/physical network. All resources are created in NB and translated to SB properly. #2 Connect 5K routers to provider network. All resources are created and updated in NB properly, but SB is not fully updated. I did 3

[ovs-dev] [OVN] Geneve encap option

2020-09-04 Thread Tony Liu
Hi, I'd like to confirm that, there is always 8-byte option in Geneve encapsulation for VM-VM and VM-GW? Is there any case where more options are used? I need to confirm this to set underlay MTU properly. Thanks! Tony ___ dev mailing list

Re: [ovs-dev] [OVN] ovn-northd inactivity probe interval

2020-09-03 Thread Tony Liu
as well? Is there any option to control that interval? 20.06 is not picked up by RDO builder yet. Do you by any chance know where I can find 20.06 RPM package? Thanks! Tony > -Original Message- > From: Numan Siddique > Sent: Thursday, September 3, 2020 10:24 AM > To: Tony Li

[ovs-dev] [OVN] ovn-northd inactivity probe interval

2020-09-03 Thread Tony Liu
Hi, I tried to set northd_probe_interval="3" and northd-probe-interval="3" in NB_Global options. Still got this from ovn-northd log. 2020-09-03T17:00:16.445Z|22664|reconnect|ERR|tcp:10.6.20.25:6642: no response to inactivity probe after 5 seconds, disconnecting

Re: [ovs-dev] [PATCH ovn 2/2] ovn-controller: Disable ofctrl probe by default.

2020-08-24 Thread Tony Liu
Nice fix! Where is the PR tracked? I don't see it in GitHub issues. Where should I report issues? How can I check which release it's going to be included? Do I have to check the commit history in GitHub? Thanks! Tony > -Original Message- > From: dev On Behalf Of Han Zhou > Sent: Monday,

Re: [ovs-dev] [ovs-discuss] ovsdb-server unix socket permission

2020-08-22 Thread Tony Liu
> -Original Message- > From: Matthew Booth > Sent: Saturday, August 22, 2020 3:12 PM > To: Tony Liu > Cc: ovs-disc...@openvswitch.org; ovs-dev > Subject: Re: [ovs-discuss] ovsdb-server unix socket permission > > On Fri, 21 Aug 2020 at 20:40, Ton

[ovs-dev] ovsdb-server unix socket permission

2020-08-21 Thread Tony Liu
Hi, The ovsdb-server UNIX socket permission is 0750. It works fine for OVS services, like ovs-vswitchd and ovn-controller who run as root. When integrate with OpenStack, neutron-ovn-metadata-agent running as user "neutron" needs to connect to ovsdb-server. TCP connection works fine. But, since

Re: [ovs-dev] [PATCH v4 2/2 ovn] External IP based NAT: NORTHD changes to use applied/exempted external ip

2020-08-09 Thread Tony Liu
> -Original Message- > From: dev On Behalf Of Numan Siddique > Sent: Friday, August 7, 2020 2:38 AM > To: Ankur Sharma > Cc: ovs-dev > Subject: Re: [ovs-dev] [PATCH v4 2/2 ovn] External IP based NAT: NORTHD > changes to use applied/exempted external ip > > On Wed, Aug 5, 2020 at

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

2020-08-07 Thread Tony Liu
Good to know. Yes, I am using 20.03. Will try to upgrade. Thanks! Tony > -Original Message- > From: Han Zhou > Sent: Friday, August 7, 2020 3:39 PM > To: Tony Liu > Cc: ovs-dev ; ovs-discuss disc...@openvswitch.org> > Subject: Re: [ovs-discuss] [OVN] ovn-cont

[ovs-dev] [OVN] log file rotation and time zone

2020-08-07 Thread Tony Liu
Hi, Is log file rotation and compression supported for all OVN services? How is the time stamp time zone determined by logging? Is it /etc/localtime, hardcoded UTC, or anything else? Thanks! Tony ___ dev mailing list d...@openvswitch.org

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

2020-08-07 Thread Tony Liu
Is the changes made by Neutron liveness-check in SB properly handled by inc_proc_eng? Given my testing scale, even the frequency is lowered by that fix, ovn-controller still takes quite lot of CPU and time to compute SB. Thanks! Tony > -Original Message- > From: Tony Liu

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

2020-08-07 Thread Tony Liu
48a0-a3d1-2973c0b823cc":{"modify":{"external_ids":["map",[["neutron:liveness_check_at","2020-08-07T19:44:07.130233+00:00"]]]] Nailed it... https://bugs.launchpad.net/neutron/+bug/1883554 Tony > -Original Message- >

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

2020-08-07 Thread Tony Liu
total: 1196 cmap_expand0.0/sec 0.000/sec0./sec total: 3 82 events never hit Thanks! Tony > -Original Message- > From: Han Zhou > Sent: Friday, August 7, 2020 1:09 PM > To: Tony Liu > Cc: ovs-discuss ; ovs-dev d...@

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

2020-08-07 Thread Tony Liu
-controller on gateway node is taking 100% cpu. It's probably related to the ports on the external network? Any specific messages I need to check? Any hint to look into it is appreciated! Thanks! Tony > -Original Message- > From: Han Zhou > Sent: Friday, August 7, 2020 12:39 PM >

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

2020-08-07 Thread Tony Liu
Good to know, thanks! Tony > -Original Message- > From: Han Zhou > Sent: Friday, August 7, 2020 12:36 PM > To: Tony Liu > Cc: Han Zhou ; Numan Siddique ; ovs-dev > ; ovs-discuss > Subject: Re: [ovs-discuss] [OVN] no response to inactivity probe > > The ra

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

2020-08-07 Thread Tony Liu
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...@openvswitch.org> > Subject: Re: [ovs-discuss] [OVN] ovn-controller takes 100% cpu while no > changes in sb-db

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

2020-08-07 Thread Tony Liu
:15:27.771Z|02743|reconnect|INFO|tcp:10.6.20.84:6644: connected Which configuration is for that probe interval? Thanks! Tony > -Original Message- > From: dev On Behalf Of Tony Liu > Sent: Thursday, August 6, 2020 7:45 PM > To: Han Zhou ; Numan Siddique > Cc

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

2020-08-07 Thread Tony Liu
Could that stuck loop be the cause of high cpu usage? What is it polling in? Why is it stuck, waiting for message from sb-db? Isn't it supposed to release the cpu while waiting? Thanks! Tony > -Original Message- > From: Han Zhou > Sent: Friday, August 7, 2020 10:32 AM > To:

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

2020-08-07 Thread Tony Liu
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? 2020-08-07T16:38:04.021Z|29251|timeval|WARN|context switches: 0

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

2020-08-06 Thread Tony Liu
ting... 2020-08-07T03:55:40.771Z|04003|reconnect|INFO|tcp:127.0.0.1:6640: connected Thanks! Tony > -Original Message- > From: discuss On Behalf Of Tony > Liu > Sent: Thursday, August 6, 2020 8:23 PM > To: Han Zhou ; Numan Siddique > Cc: ovs-dev ; ovs-d

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

2020-08-06 Thread Tony Liu
ponse to inactivity probe after 8.74 seconds, disconnecting That tcp:127.0.0.1:6640 is the connection between ovn-controller and local ovsdb-server. Any settings I missed? Thanks! Tony > -Original Message- > From: dev On Behalf Of Tony Liu > Sent: Thursday, August 6, 2020 7:45

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

2020-08-06 Thread Tony Liu
Thanks! Tony > -Original Message- > From: Han Zhou > Sent: Thursday, August 6, 2020 12:42 PM > To: Tony Liu > Cc: Han Zhou ; Numan Siddique ; ovs-dev > ; ovs-discuss > Subject: Re: [ovs-discuss] [OVN] no response to inactivity probe > > > > On Thu, Au

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

2020-08-06 Thread Tony Liu
I think I have everything clarified here. I will make necessary tunes and rerun the test. Thanks! Tony > -Original Message- > From: Han Zhou > Sent: Thursday, August 6, 2020 12:42 PM > To: Tony Liu > Cc: Han Zhou ; Numan Siddique ; ovs-dev > ; ovs-discuss > Subj

Re: [ovs-dev] [ovs-discuss] packet drop

2020-08-06 Thread Tony Liu
Inline... Thanks! Tony > -Original Message- > From: Numan Siddique > Sent: Thursday, August 6, 2020 11:49 AM > To: Tony Liu > Cc: ovs-dev@openvswitch.org; ovs-disc...@openvswitch.org > Subject: Re: [ovs-discuss] [ovs-dev] packet drop > > On Fri, Aug 7, 2020 at

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

2020-08-06 Thread Tony Liu
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 > ; ovs-discuss > Subject: Re: [ovs-discuss] [OVN] no response to inactivity probe > > > >

Re: [ovs-dev] packet drop

2020-08-06 Thread Tony Liu
Inline... Thanks! Tony > -Original Message- > From: Numan Siddique > Sent: Thursday, August 6, 2020 10:03 AM > To: Tony Liu > Cc: ovs-disc...@openvswitch.org; ovs-dev@openvswitch.org > Subject: Re: [ovs-dev] packet drop > > > > On Thu, A

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

2020-08-06 Thread Tony Liu
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 Zhou ; Numan Siddique ; ovs-dev > ; ovs-discuss > Subject: Re: [ovs-discuss] [OVN] no respons

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

2020-08-05 Thread Tony Liu
robe ovn-controller? Thanks! Tony > -----Original Message- > From: discuss On Behalf Of Tony > Liu > Sent: Wednesday, August 5, 2020 4:29 PM > To: Han Zhou > Cc: ovs-dev ; ovs-discuss disc...@openvswitch.org> > Subject: Re: [ovs-discuss] [OVN] no response to i

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

2020-08-05 Thread Tony Liu
ginal Message- > From: Han Zhou > Sent: Tuesday, August 4, 2020 4:44 PM > To: Tony Liu > Cc: Numan Siddique ; Han Zhou ; ovs- > discuss ; ovs-dev > Subject: Re: [ovs-discuss] [OVN] no response to inactivity probe > > > > On Tue, Aug 4, 2020 at 2:50 PM Tony Li

Re: [ovs-dev] packet drop

2020-08-05 Thread Tony Liu
by ovn-controller via ovs-vswitchd? Thanks! Tony > -Original Message- > From: discuss On Behalf Of Tony > Liu > Sent: Wednesday, August 5, 2020 2:48 PM > To: ovs-disc...@openvswitch.org; ovs-dev@openvswitch.org > Subject: [ovs-discuss] packet drop > > Hi, >

[ovs-dev] 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

Re: [ovs-dev] [ovs-discuss] OVN scale

2020-08-04 Thread Tony Liu
55' with network name 'physnet1' First of all, this kind of scale should work fine, right? Any advices how to look into it? Thanks! Tony > -Original Message- > From: dev On Behalf Of Tony Liu > Sent: Monday, July 27, 2020 10:16 AM > To: Han Zhou > Cc: ov

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

2020-08-04 Thread Tony Liu
In that case, I can use set-connection to set one row. Thanks! Tony > -Original Message- > From: Han Zhou > Sent: Tuesday, August 4, 2020 4:44 PM > To: Tony Liu > Cc: Numan Siddique ; Han Zhou ; ovs- > discuss ; ovs-dev > Subject: Re: [ovs-discuss] [OVN] no r

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

2020-08-04 Thread Tony Liu
: Tuesday, August 4, 2020 4:02 PM > To: Tony Liu > Cc: Han Zhou ; Numan Siddique ; Ben Pfaff > ; Leonid Ryzhyk ; ovs-dev d...@openvswitch.org>; ovs-discuss > Subject: Re: [ovs-discuss] [OVN] ovn-northd takes much CPU when no > configuration update > > Hi Tony, > > I

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

2020-08-04 Thread Tony Liu
; -Original Message- > From: Numan Siddique > Sent: Tuesday, August 4, 2020 12:36 AM > To: Tony Liu > Cc: ovs-discuss ; ovs-dev d...@openvswitch.org> > Subject: Re: [ovs-discuss] [OVN] no response to inactivity probe > > > > On Tue, Aug 4, 2020 at 9:12

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

2020-08-04 Thread Tony Liu
m: Han Zhou > Sent: Tuesday, August 4, 2020 12:34 PM > To: Tony Liu > Cc: Han Zhou ; Numan Siddique ; Ben Pfaff > ; Leonid Ryzhyk ; ovs-dev d...@openvswitch.org>; ovs-discuss > Subject: Re: [ovs-discuss] [OVN] ovn-northd takes much CPU when no > configuration update > >

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

2020-08-04 Thread Tony Liu
Inline... Thanks! Tony > -Original Message- > From: Han Zhou > Sent: Tuesday, August 4, 2020 11:01 AM > To: Numan Siddique ; Ben Pfaff ; Leonid > Ryzhyk > Cc: Tony Liu ; Han Zhou ; ovs- > dev ; ovs-discuss > Subject: Re: [ovs-discuss] [OVN] ovn-no

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

2020-08-04 Thread Tony Liu
restoring to a fresh cluster be better? Is it necessary to stop or restart ovn-northd during DB restore? 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> > Subjec

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

2020-08-04 Thread Tony Liu
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 10s. * Restore DB to ovn-nb-db by ovsdb-client. * Start all

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

2020-08-04 Thread Tony Liu
: Tuesday, August 4, 2020 12:38 AM > To: Tony Liu > Cc: Han Zhou ; ovs-dev ; ovs- > discuss > Subject: Re: [ovs-discuss] [OVN] ovn-northd takes much CPU when no > configuration update > > > > On Tue, Aug 4, 2020 at 9:02 AM Tony Liu <mailto:tonyliu0...@hotmail.com&g

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

2020-08-03 Thread Tony Liu
doesn't respond the probe, if it's bi-directional? I don't see any activities from logging, other than connect/drop and reconnect... BTW, please let me know if this is not the right place to discuss Neutron OVN ML2 driver. Thanks! Tony > -Original Message- > From: dev On Behalf O

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

2020-08-03 Thread Tony Liu
age- > From: Han Zhou > Sent: Monday, August 3, 2020 8:22 PM > To: Tony Liu > Cc: Han Zhou ; ovs-discuss ; > ovs-dev > Subject: Re: [ovs-discuss] [OVN] ovn-northd takes much CPU when no > configuration update > > Sorry that I didn't make it clear enough. The OVS

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

2020-08-03 Thread Tony Liu
event library? Thanks! Tony > -Original Message- > From: Han Zhou > Sent: Saturday, August 1, 2020 9:11 PM > To: Tony Liu > Cc: ovs-discuss ; ovs-dev d...@openvswitch.org> > Subject: Re: [ovs-discuss] [OVN] ovn-northd takes much CPU when no > configuration

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

2020-08-01 Thread Tony Liu
does that sb-db leader switch affect such sync? Thanks! Tony > -Original Message- > From: dev On Behalf Of Tony Liu > Sent: Saturday, August 1, 2020 5:26 PM > To: ovs-discuss ; ovs-dev d...@openvswitch.org> > Subject: [ovs-dev] [OVN] ovn-northd HA > > Hi, >

[ovs-dev] [OVN] ovn-northd HA

2020-08-01 Thread Tony Liu
Hi, I have a few questions about ovn-northd HA. Does the lock for active ovn-northd have to be acquired from the leader of sb-db? If ovn-northd didn't acquire the lock, it becomes standby. Does it keep trying to acquire the lock, or wait for notification, or monitor the active ovn-northd? If

[ovs-dev] [OVN] ovn-northd takes much CPU when no configuration update

2020-07-31 Thread Tony Liu
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? 2020-07-31T23:08:09.511Z|04267|poll_loop|DBG|wakeup due to [POLLIN] on fd 8

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

2020-07-31 Thread Tony Liu
Thanks Han! It's clear! Tony > -Original Message- > From: Han Zhou > Sent: Friday, July 31, 2020 10:11 AM > To: Tony Liu > Cc: Han Zhou ; Numan Siddique ; ovs- > dev ; ovs-discuss > Subject: Re: [ovs-discuss] [OVN] DB backup and restore > > > > On T

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

2020-07-31 Thread Tony Liu
and restore. http://www.openvswitch.org/support/dist-docs/ovsdb-client.1.txt Thanks! Tony > -Original Message- > From: Han Zhou > Sent: Thursday, July 30, 2020 7:19 PM > To: Tony Liu > Cc: Numan Siddique ; Han Zhou ; ovs- > dev ; ovs-discuss > Subject: Re: [ovs-dis

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

2020-07-30 Thread Tony Liu
Mmm... nb-db rolled back, but sb-db is not re-synced, ovn-northd complaints "clustered database server has stale data; trying another server". Any way to workaround it or I need to snapshot and rollback sb-db as well? Thanks! Tony From: Tony Liu<mailto:tonyliu0...@hotmail.com>

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

2020-07-30 Thread Tony Liu
such issue? To Numan, it would great if you could share the details to use Neutron-ovn-sync-util. Thanks! Tony From: Tony Liu<mailto:tonyliu0...@hotmail.com> Sent: Thursday, July 30, 2020 4:51 PM To: Numan Siddique<mailto:nusid...@redhat.com>; Han Zhou<mailto:hz...@ovn.org> Cc: H

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

2020-07-30 Thread Tony Liu
? Thanks! Tony From: Tony Liu<mailto:tonyliu0...@hotmail.com> Sent: Thursday, July 30, 2020 4:38 PM To: Han Zhou<mailto:hz...@ovn.org> Cc: Han Zhou<mailto:hz...@ovn.org>; ovs-dev<mailto:ovs-dev@openvswitch.org>; ovs-discuss<mailto:ovs-disc...@openvswitch.org> Subje

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

2020-07-30 Thread Tony Liu
. ovsdb-client: ovsdb error: /dev/stdin: cannot identify file type The file was created by "backup" command. Thanks! Tony From: Tony Liu<mailto:tonyliu0...@hotmail.com> Sent: Thursday, July 30, 2020 3:41 PM To: Han Zhou<mailto:hz...@ovn.org> Cc: Han Zhou<mailto:hz...@ovn

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

2020-07-30 Thread Tony Liu
there is no configuration update from OpenStack side while running such snapshot and restore process. Thanks! Tony From: Han Zhou<mailto:hz...@ovn.org> Sent: Thursday, July 30, 2020 12:23 PM To: Tony Liu<mailto:tonyliu0...@hotmail.com> Cc: Han Zhou<mailto:hz...@ovn.org>; ovs-discu

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

2020-07-30 Thread Tony Liu
ughts here? Thanks! Tony From: Han Zhou<mailto:hz...@ovn.org> Sent: Wednesday, July 29, 2020 11:38 PM To: Tony Liu<mailto:tonyliu0...@hotmail.com> Cc: ovs-discuss<mailto:ovs-disc...@openvswitch.org>; ovs-dev<mailto:ovs-dev@openvswitch.org> Subject: Re: [ovs-discuss] [OV

[ovs-dev] [OVN] DB backup and restore

2020-07-29 Thread Tony Liu
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 nodes)? Are DB files on 3 nodes identical? If I stop a DB follower and empty

Re: [ovs-dev] [ovs-discuss] OVN: configuration in Neutron DB?

2020-07-29 Thread Tony Liu
Alvares Gomes<mailto:lucasago...@gmail.com> Sent: Wednesday, July 29, 2020 2:22 AM To: Numan Siddique<mailto:num...@ovn.org> Cc: Tony Liu<mailto:tonyliu0...@hotmail.com>; ovs-dev@openvswitch.org<mailto:ovs-dev@openvswitch.org>; Lucas Alvares Gomes Martins<mailto:lmart...@

Re: [ovs-dev] [ovs-discuss] OVN: configuration in Neutron DB?

2020-07-29 Thread Tony Liu
Thanks Numan! Tony From: Numan Siddique Sent: July 28, 2020 11:41 PM To: Tony Liu Cc: ovs-disc...@openvswitch.org ; ovs-dev@openvswitch.org ; Daniel Alvarez Sanchez ; Lucas Alvares Gomes Martins Subject: Re: [ovs-discuss] OVN: configuration in Neutron DB

Re: [ovs-dev] OVN: configuration in Neutron DB?

2020-07-29 Thread Tony Liu
response of creation request. Is this expected? Thanks! Tony From: dev on behalf of Tony Liu Sent: July 28, 2020 10:37 PM To: ovs-disc...@openvswitch.org ; ovs-dev@openvswitch.org Subject: [ovs-dev] OVN: configuration in Neutron DB? Hi, In case

[ovs-dev] OVN: configuration in Neutron DB?

2020-07-29 Thread Tony Liu
Hi, In case of integration with OpenStack, for example, when a client requests to create a network, is this network configuration saved in both Neutron DB and OVN DB, or OVN DB only? Also, when a client gets a network from Neutron API, is the configuration read from Neutron DB or OVN DB?

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

2020-07-28 Thread Tony Liu
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 bindings in sb-db. In this case, is there any way to

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

2020-07-27 Thread Tony Liu
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 such case, I was recommended to increase election timer

Re: [ovs-dev] [ovs-discuss] OVN scale

2020-07-27 Thread Tony Liu
one for each network), 50 routers (one for 80 networks), 1 router (for all 4K networks)... All networks are isolated by ACL on the logical router. Which option should work better? Any comment is appreciated. Thanks! Tony From: discuss on behalf of Tony Liu

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

2020-07-23 Thread Tony Liu
. Thanks again! Tony From: Han Zhou Sent: July 23, 2020 06:53 PM To: Tony Liu ; Ben Pfaff Cc: Numan Siddique ; ovs-dev ; ovs-disc...@openvswitch.org Subject: Re: [ovs-dev] OVN: Two datapath-bindings are created for the same logical-switch On Thu, Jul 23, 2020

Re: [ovs-dev] OVN Controller Incremental Processing

2020-07-23 Thread Tony Liu
. How can I trigger ovn-northd to finish the translation for all the rest logical switches? 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

Re: [ovs-dev] [ovs-discuss] OVN nb-db and sb-db out of sync

2020-07-23 Thread Tony Liu
de, that "stale data" is caused by some index mismatch. Any clues? Thanks! Tony From: Numan Siddique Sent: July 23, 2020 11:54 AM To: Tony Liu Cc: ovs-dev ; ovs-disc...@openvswitch.org Subject: Re: [ovs-discuss] OVN nb-db and sb-db out of sync On Thu,

[ovs-dev] OVN Controller Incremental Processing

2020-07-23 Thread Tony Liu
Hi, Is this implemented and released? https://www.slideshare.net/hanzhou1978/ovn-controller-incremental-processing Could anyone share an update on this? Thanks! Tony ___ dev mailing list d...@openvswitch.org

Re: [ovs-dev] [ovs-discuss] OVN nb-db and sb-db out of sync

2020-07-23 Thread Tony Liu
t;ovn-sbctl destroy" to remove the record, but onv-sbctl is stuck there forever. Thanks! Tony From: Numan Siddique Sent: July 23, 2020 03:15 AM To: Tony Liu Cc: ovs-dev ; ovs-disc...@openvswitch.org Subject: Re: [ovs-discuss] OVN nb-db and sb-db o

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

2020-07-23 Thread Tony Liu
eader; trying another server Thanks! Tony From: Numan Siddique Sent: July 23, 2020 03:15 AM To: Tony Liu Cc: ovs-dev ; ovs-disc...@openvswitch.org Subject: Re: [ovs-discuss] OVN nb-db and sb-db out of sync On Thu, Jul 23, 2020 at 8:22 AM Tony Liu mailto:to

Re: [ovs-dev] OVN nb-db and sb-db out of sync

2020-07-22 Thread Tony Liu
it? Thanks! Tony From: dev on behalf of Tony Liu Sent: July 22, 2020 11:33 AM To: ovs-dev Subject: [ovs-dev] OVN nb-db and sb-db out of sync Hi, During a scaling test where 4000 networks are created from OpenStack, I see that nb-db and sb-db are out of sync. All 4

[ovs-dev] OVN nb-db and sb-db out of sync

2020-07-22 Thread Tony Liu
Hi, During a scaling test where 4000 networks are created from OpenStack, I see that nb-db and sb-db are out of sync. All 4000 logical switches and 8000 LS ports (GW port and service port of each network) are created in nb-db. In sb-db, only 1567 port-bindings, 4000 is expected. [root@ovn-db-2