*** mickeys has quit IRC | 00:04 | |
*** mickeys has joined #openstack-neutron-ovn | 00:20 | |
*** s3wong has quit IRC | 01:25 | |
*** jerrygb_ has joined #openstack-neutron-ovn | 01:30 | |
*** jerrygb has quit IRC | 01:31 | |
*** jerrygb has joined #openstack-neutron-ovn | 01:45 | |
*** jerrygb_ has quit IRC | 01:45 | |
*** jerrygb has quit IRC | 01:59 | |
*** jerrygb has joined #openstack-neutron-ovn | 01:59 | |
*** fzdarsky_ has joined #openstack-neutron-ovn | 02:15 | |
*** jerrygb has quit IRC | 02:17 | |
*** jerrygb has joined #openstack-neutron-ovn | 02:18 | |
*** fzdarsky has quit IRC | 02:18 | |
*** jerrygb has quit IRC | 02:22 | |
*** armax has quit IRC | 02:22 | |
*** armax has joined #openstack-neutron-ovn | 02:55 | |
*** jerrygb has joined #openstack-neutron-ovn | 02:59 | |
*** gongysh has joined #openstack-neutron-ovn | 02:59 | |
*** ezobn has joined #openstack-neutron-ovn | 03:06 | |
*** armax has quit IRC | 03:07 | |
*** ezobn has quit IRC | 03:10 | |
*** armax has joined #openstack-neutron-ovn | 03:35 | |
*** armax has quit IRC | 03:49 | |
*** jerrygb has quit IRC | 03:59 | |
*** jerrygb has joined #openstack-neutron-ovn | 04:01 | |
*** jerrygb_ has joined #openstack-neutron-ovn | 04:28 | |
*** jerrygb has quit IRC | 04:29 | |
*** jerrygb has joined #openstack-neutron-ovn | 04:44 | |
*** jerrygb_ has quit IRC | 04:45 | |
*** jerrygb_ has joined #openstack-neutron-ovn | 04:59 | |
*** jerrygb has quit IRC | 04:59 | |
*** jerrygb_ has quit IRC | 05:15 | |
*** jerrygb has joined #openstack-neutron-ovn | 05:15 | |
*** jerrygb has quit IRC | 05:33 | |
*** jerrygb has joined #openstack-neutron-ovn | 05:33 | |
*** jerrygb has quit IRC | 05:33 | |
*** openstackgerrit has quit IRC | 05:48 | |
*** openstackgerrit has joined #openstack-neutron-ovn | 05:48 | |
*** numans has joined #openstack-neutron-ovn | 05:56 | |
*** irenab has joined #openstack-neutron-ovn | 06:46 | |
*** zefferno has joined #openstack-neutron-ovn | 06:53 | |
*** zefferno has quit IRC | 06:58 | |
*** irenab has quit IRC | 07:02 | |
*** zefferno has joined #openstack-neutron-ovn | 07:02 | |
*** irenab has joined #openstack-neutron-ovn | 07:04 | |
*** jerrygb has joined #openstack-neutron-ovn | 07:34 | |
*** jerrygb has quit IRC | 07:39 | |
*** openstackgerrit has quit IRC | 07:48 | |
*** openstackgerrit has joined #openstack-neutron-ovn | 07:48 | |
*** roeyc has joined #openstack-neutron-ovn | 08:23 | |
*** irenab has quit IRC | 08:27 | |
*** trinaths has joined #openstack-neutron-ovn | 08:28 | |
*** mickeys has quit IRC | 09:15 | |
*** irenab has joined #openstack-neutron-ovn | 09:17 | |
*** portdirect_away is now known as portdirect | 09:19 | |
*** jerrygb has joined #openstack-neutron-ovn | 09:35 | |
*** trinaths has quit IRC | 09:38 | |
*** jerrygb has quit IRC | 09:41 | |
*** jerrygb has joined #openstack-neutron-ovn | 09:58 | |
*** jerrygb has quit IRC | 10:03 | |
*** mickeys has joined #openstack-neutron-ovn | 10:16 | |
*** mickeys has quit IRC | 10:20 | |
*** rtheis has joined #openstack-neutron-ovn | 10:22 | |
*** roeyc has quit IRC | 10:25 | |
openstackgerrit | Babu Shanmugam proposed openstack/networking-ovn: WIP: DSCP Marking https://review.openstack.org/393228 | 10:35 |
---|---|---|
*** gongysh has quit IRC | 10:57 | |
openstackgerrit | Merged openstack/networking-ovn: Updated from global requirements https://review.openstack.org/392747 | 11:03 |
*** jerrygb has joined #openstack-neutron-ovn | 11:26 | |
*** roeyc has joined #openstack-neutron-ovn | 11:32 | |
*** ezobn has joined #openstack-neutron-ovn | 12:12 | |
*** jerrygb has quit IRC | 12:30 | |
*** zkassab has joined #openstack-neutron-ovn | 13:03 | |
*** jerrygb has joined #openstack-neutron-ovn | 13:10 | |
*** jerrygb_ has joined #openstack-neutron-ovn | 13:21 | |
*** jerrygb has quit IRC | 13:22 | |
*** jckasper has joined #openstack-neutron-ovn | 13:50 | |
*** pcaruana has joined #openstack-neutron-ovn | 13:53 | |
*** jerrygb has joined #openstack-neutron-ovn | 13:57 | |
*** mlavalle has joined #openstack-neutron-ovn | 13:59 | |
*** jckasper has quit IRC | 14:00 | |
*** jckasper has joined #openstack-neutron-ovn | 14:00 | |
*** jerrygb_ has quit IRC | 14:00 | |
*** numans has quit IRC | 14:03 | |
*** irenab has quit IRC | 14:14 | |
*** shettyg has joined #openstack-neutron-ovn | 14:18 | |
*** mlavalle has quit IRC | 14:38 | |
*** mlavalle has joined #openstack-neutron-ovn | 14:44 | |
*** mickeys has joined #openstack-neutron-ovn | 15:03 | |
*** jerrygb_ has joined #openstack-neutron-ovn | 15:12 | |
*** jerrygb has quit IRC | 15:13 | |
*** jckasper has quit IRC | 15:48 | |
*** jckasper has joined #openstack-neutron-ovn | 15:51 | |
*** jckasper has quit IRC | 15:51 | |
*** roeyc has quit IRC | 15:53 | |
*** jckasper has joined #openstack-neutron-ovn | 16:00 | |
*** jckasper has quit IRC | 16:05 | |
*** armax has joined #openstack-neutron-ovn | 16:12 | |
*** jckasper has joined #openstack-neutron-ovn | 16:12 | |
*** jckasper has quit IRC | 16:17 | |
*** pcaruana has quit IRC | 16:20 | |
*** jckasper has joined #openstack-neutron-ovn | 16:34 | |
*** zefferno has quit IRC | 16:56 | |
*** doonhammer has joined #openstack-neutron-ovn | 16:58 | |
*** doonhamm_ has joined #openstack-neutron-ovn | 17:50 | |
*** doonhammer has quit IRC | 17:53 | |
*** s3wong has joined #openstack-neutron-ovn | 17:55 | |
*** ezobn has quit IRC | 17:56 | |
russellb | networking-ovn meeting in a few minutes in #openstack-meeting | 17:56 |
*** chandrav has joined #openstack-neutron-ovn | 18:01 | |
*** portdirect is now known as portdirect_away | 18:02 | |
Sam-I-Am | russellb: hello old buddy | 18:06 |
*** dasanind_ has joined #openstack-neutron-ovn | 18:17 | |
dasanind_ | russellb: ping? | 18:18 |
russellb | dasanind_: hi | 18:18 |
russellb | Sam-I-Am: and hi | 18:18 |
dasanind_ | russellb: in the networking-ovn meeting you were talking about this bug https://bugs.launchpad.net/networking-ovn/+bug/1629076 | 18:19 |
openstack | Launchpad bug 1629076 in networking-ovn "Add sync tool support for NAT" [Undecided,Confirmed] - Assigned to Chandra Sekhar Vejendla (csvejend) | 18:19 |
dasanind_ | russellb: I want to help with that but I am new to networking-ovn if you can give me some information about it that will be helpful | 18:20 |
russellb | dasanind_: great, i appreciate the help | 18:20 |
russellb | dasanind_: can you give me about 5 minutes? | 18:20 |
russellb | and then we can talk in detail | 18:20 |
dasanind_ | russellb: sure | 18:20 |
russellb | back. | 18:26 |
russellb | dasanind_: first, some context ... | 18:26 |
russellb | similar to many other neutron backends other than the "reference implementation", there are 2 databases in play with Neutron and OVN | 18:26 |
russellb | we have Neutron's own database, and the one that networking-ovn programs, OVN's northbound database | 18:26 |
russellb | in a perfect world, these two databases are in sync. sadly, the world is far from perfect. | 18:27 |
russellb | the sync utility referred to in this bug is our tool that gets the 2 databases back in sync if needed | 18:27 |
russellb | as features get added to networking-ovn, we often also have to update this sync utility with knowledge about new types of resources | 18:28 |
russellb | this patch is adding some significant new L3 features | 18:28 |
russellb | but we need the corresponding sync support too | 18:28 |
russellb | networking_ovn/cmd/neutron_ovn_db_sync_util.py | 18:28 |
russellb | is where it starts | 18:29 |
dasanind_ | russellb: so these L3 features are adding some new tables to the northbound database? | 18:29 |
russellb | not new tables, but new entries into existing tables | 18:29 |
russellb | we didn't create the gateway routers before, or this transit network | 18:30 |
dasanind_ | these are the new features | 18:30 |
russellb | yes | 18:31 |
dasanind_ | so when we create gateway routers there is a new entry in the northbound database which the sync utility should sync with the neutron database right? | 18:32 |
russellb | the sync goes from neutron db ---> OVN db | 18:32 |
russellb | so if a sync were required, we would not be creating all of the expected entries in the OVN db | 18:33 |
russellb | ^^^ is the effect of the bug | 18:33 |
dasanind_ | I will just repeat what I am understanding from this so that I am not making any assumptions. | 18:34 |
russellb | ok :) | 18:34 |
dasanind_ | My high level understanding --> I have an environment with networking-ovn. In this environment I create gateway routers. If this creation is successful new entries are there in the neutron database. These entries also should be available in the northbound database if the sync utility was working correctly. Currently the sync utility is not aware of these new | 18:37 |
dasanind_ | resource so it not picking up the new entries and northbound db is not getting updated. | 18:37 |
dasanind_ | Does that sound correct? | 18:37 |
russellb | almost :) | 18:37 |
dasanind_ | :) what did I miss? | 18:38 |
russellb | You have an environment with networking-ovn. You create a gateway router (a neutron router that's doing NAT results in OVN creating this special type of router). If everything is good, entries are in both databases. | 18:38 |
russellb | If you were to erase the OVN northbound database and recreate it as empty | 18:39 |
russellb | you should be able to then run the sync util to re-populate the OVN northbound database based on the current state of neutron | 18:39 |
dasanind_ | makes sense | 18:39 |
russellb | this ehterpad talks a little bit about what's happening in OVN in this scenario -- https://etherpad.openstack.org/p/Integration_with_OVN_L3_Gateway | 18:40 |
russellb | when you create a neutron router that does NAT, networking-ovn actually creates *2* OVN routers | 18:40 |
russellb | the first is the normal type, which is fully distributed | 18:40 |
russellb | and the second is a centralized one bound to a chasiss (node) | 18:40 |
russellb | and we create a "transit network" in between them that's not visible through the neutron API | 18:40 |
russellb | in this setup, routing is distributed where possible, but the SNAT traffic goes through the gateway router that is bound to a single host | 18:41 |
dasanind_ | Does "transit network" help to communicate between the 2 OVN routers? | 18:43 |
russellb | yes | 18:43 |
dasanind_ | makes sense... | 18:43 |
dasanind_ | I didn't get this part "but the SNAT traffic goes through the gateway router that is bound to a single host" | 18:43 |
russellb | in the ascii diagram on that etherpad, there are 2 routers | 18:45 |
russellb | those 2 routers are the OVN implementation of a Neutron router that's doing SNAT off to a provider network | 18:45 |
russellb | the only traffic that actually hits the "GW", or the gateway router, is the traffic going to/from the provider network | 18:46 |
russellb | if the traffic is between NET 1 and NET 2, it wouldn't go through the GW router | 18:47 |
russellb | just the fully distributed router (DR in this diagram) | 18:47 |
dasanind_ | makes sense | 18:49 |
russellb | that's good :) | 18:49 |
russellb | it took me a bit to get it | 18:49 |
russellb | having to explain it to someone else is always a good test of understanding! | 18:49 |
dasanind_ | :) | 18:50 |
dasanind_ | so to reproduce this bug I will need to set up an environment with networking-ovn | 18:52 |
russellb | dasanind_: yes | 18:52 |
russellb | devstack is fine | 18:52 |
russellb | you'll need to apply this patch: https://review.openstack.org/#/c/346646/19 | 18:52 |
dasanind_ | ok | 18:52 |
russellb | or wait until it has merged | 18:52 |
dasanind_ | is there any special configuration that i need to use for devstack | 18:53 |
russellb | dasanind_: http://docs.openstack.org/developer/networking-ovn/testing.html | 18:53 |
dasanind_ | russellb: thanks will set this up... do i need a multinode environment? | 18:55 |
russellb | no | 18:55 |
russellb | single-node should be fine for this | 18:55 |
dasanind_ | so I will create a all-in-one node | 18:56 |
russellb | yes | 18:56 |
dasanind_ | how do I create the transit network between the 2 ovn routers? | 18:56 |
russellb | dasanind_: it's done automatically | 18:57 |
russellb | that's what https://review.openstack.org/#/c/346646/ does | 18:57 |
russellb | the sync util just needs to run much of the same code | 18:58 |
russellb | when creating certain neutron routers | 18:58 |
dasanind_ | ok...and to create the ovn routers I use same cli that neutron uses | 18:58 |
russellb | yes | 18:58 |
dasanind_ | cool....will try this...will ping you if I have more questions :) | 18:59 |
dasanind_ | thank you for explaining this :) | 19:00 |
russellb | np, thanks for helping! | 19:00 |
dasanind_ | It's ok if I assign the bug to myself | 19:07 |
*** fandi__ has joined #openstack-neutron-ovn | 19:14 | |
*** fandi has quit IRC | 19:16 | |
russellb | dasanind_: yes | 19:24 |
russellb | dasanind_: in fact, a better bug to start with would be https://bugs.launchpad.net/networking-ovn/+bug/1638898 | 19:24 |
openstack | Launchpad bug 1638898 in networking-ovn "neutron-ovn-db-sync-util fails with NoSuchOptError" [Undecided,Confirmed] | 19:24 |
russellb | dasanind_: that will have to be fixed first anyway, and it should be a *much* easier starting point | 19:24 |
*** jckasper has quit IRC | 19:30 | |
*** jckasper has joined #openstack-neutron-ovn | 19:36 | |
*** jckasper has quit IRC | 19:40 | |
*** jerrygb has joined #openstack-neutron-ovn | 19:51 | |
*** jerrygb_ has quit IRC | 19:54 | |
*** fandi__ has quit IRC | 19:56 | |
*** fandi__ has joined #openstack-neutron-ovn | 19:56 | |
*** ezobn has joined #openstack-neutron-ovn | 20:07 | |
*** ezobn has joined #openstack-neutron-ovn | 20:08 | |
*** rtheis has quit IRC | 20:12 | |
*** doonhamm_ has quit IRC | 20:29 | |
dasanind_ | russellb: sure will start with this one then | 20:31 |
*** chandrav has quit IRC | 20:39 | |
*** ezobn has quit IRC | 20:44 | |
*** zkassab has quit IRC | 20:49 | |
*** chandrav has joined #openstack-neutron-ovn | 21:12 | |
*** ezobn has joined #openstack-neutron-ovn | 21:28 | |
*** ezobn has quit IRC | 21:34 | |
*** shettyg has quit IRC | 21:47 | |
*** jerrygb_ has joined #openstack-neutron-ovn | 22:29 | |
*** ezobn has joined #openstack-neutron-ovn | 22:30 | |
*** jerrygb has quit IRC | 22:32 | |
*** mickeys has quit IRC | 22:42 | |
*** mickeys has joined #openstack-neutron-ovn | 22:43 | |
*** ezobn has quit IRC | 22:50 | |
*** rpb has joined #openstack-neutron-ovn | 23:14 | |
*** chandrav has quit IRC | 23:17 | |
*** ezobn has joined #openstack-neutron-ovn | 23:46 | |
*** ezobn has quit IRC | 23:51 | |
*** mlavalle has quit IRC | 23:55 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!