Thursday, 2016-11-03

*** mickeys has quit IRC00:04
*** mickeys has joined #openstack-neutron-ovn00:20
*** s3wong has quit IRC01:25
*** jerrygb_ has joined #openstack-neutron-ovn01:30
*** jerrygb has quit IRC01:31
*** jerrygb has joined #openstack-neutron-ovn01:45
*** jerrygb_ has quit IRC01:45
*** jerrygb has quit IRC01:59
*** jerrygb has joined #openstack-neutron-ovn01:59
*** fzdarsky_ has joined #openstack-neutron-ovn02:15
*** jerrygb has quit IRC02:17
*** jerrygb has joined #openstack-neutron-ovn02:18
*** fzdarsky has quit IRC02:18
*** jerrygb has quit IRC02:22
*** armax has quit IRC02:22
*** armax has joined #openstack-neutron-ovn02:55
*** jerrygb has joined #openstack-neutron-ovn02:59
*** gongysh has joined #openstack-neutron-ovn02:59
*** ezobn has joined #openstack-neutron-ovn03:06
*** armax has quit IRC03:07
*** ezobn has quit IRC03:10
*** armax has joined #openstack-neutron-ovn03:35
*** armax has quit IRC03:49
*** jerrygb has quit IRC03:59
*** jerrygb has joined #openstack-neutron-ovn04:01
*** jerrygb_ has joined #openstack-neutron-ovn04:28
*** jerrygb has quit IRC04:29
*** jerrygb has joined #openstack-neutron-ovn04:44
*** jerrygb_ has quit IRC04:45
*** jerrygb_ has joined #openstack-neutron-ovn04:59
*** jerrygb has quit IRC04:59
*** jerrygb_ has quit IRC05:15
*** jerrygb has joined #openstack-neutron-ovn05:15
*** jerrygb has quit IRC05:33
*** jerrygb has joined #openstack-neutron-ovn05:33
*** jerrygb has quit IRC05:33
*** openstackgerrit has quit IRC05:48
*** openstackgerrit has joined #openstack-neutron-ovn05:48
*** numans has joined #openstack-neutron-ovn05:56
*** irenab has joined #openstack-neutron-ovn06:46
*** zefferno has joined #openstack-neutron-ovn06:53
*** zefferno has quit IRC06:58
*** irenab has quit IRC07:02
*** zefferno has joined #openstack-neutron-ovn07:02
*** irenab has joined #openstack-neutron-ovn07:04
*** jerrygb has joined #openstack-neutron-ovn07:34
*** jerrygb has quit IRC07:39
*** openstackgerrit has quit IRC07:48
*** openstackgerrit has joined #openstack-neutron-ovn07:48
*** roeyc has joined #openstack-neutron-ovn08:23
*** irenab has quit IRC08:27
*** trinaths has joined #openstack-neutron-ovn08:28
*** mickeys has quit IRC09:15
*** irenab has joined #openstack-neutron-ovn09:17
*** portdirect_away is now known as portdirect09:19
*** jerrygb has joined #openstack-neutron-ovn09:35
*** trinaths has quit IRC09:38
*** jerrygb has quit IRC09:41
*** jerrygb has joined #openstack-neutron-ovn09:58
*** jerrygb has quit IRC10:03
*** mickeys has joined #openstack-neutron-ovn10:16
*** mickeys has quit IRC10:20
*** rtheis has joined #openstack-neutron-ovn10:22
*** roeyc has quit IRC10:25
openstackgerritBabu Shanmugam proposed openstack/networking-ovn: WIP: DSCP Marking  https://review.openstack.org/39322810:35
*** gongysh has quit IRC10:57
openstackgerritMerged openstack/networking-ovn: Updated from global requirements  https://review.openstack.org/39274711:03
*** jerrygb has joined #openstack-neutron-ovn11:26
*** roeyc has joined #openstack-neutron-ovn11:32
*** ezobn has joined #openstack-neutron-ovn12:12
*** jerrygb has quit IRC12:30
*** zkassab has joined #openstack-neutron-ovn13:03
*** jerrygb has joined #openstack-neutron-ovn13:10
*** jerrygb_ has joined #openstack-neutron-ovn13:21
*** jerrygb has quit IRC13:22
*** jckasper has joined #openstack-neutron-ovn13:50
*** pcaruana has joined #openstack-neutron-ovn13:53
*** jerrygb has joined #openstack-neutron-ovn13:57
*** mlavalle has joined #openstack-neutron-ovn13:59
*** jckasper has quit IRC14:00
*** jckasper has joined #openstack-neutron-ovn14:00
*** jerrygb_ has quit IRC14:00
*** numans has quit IRC14:03
*** irenab has quit IRC14:14
*** shettyg has joined #openstack-neutron-ovn14:18
*** mlavalle has quit IRC14:38
*** mlavalle has joined #openstack-neutron-ovn14:44
*** mickeys has joined #openstack-neutron-ovn15:03
*** jerrygb_ has joined #openstack-neutron-ovn15:12
*** jerrygb has quit IRC15:13
*** jckasper has quit IRC15:48
*** jckasper has joined #openstack-neutron-ovn15:51
*** jckasper has quit IRC15:51
*** roeyc has quit IRC15:53
*** jckasper has joined #openstack-neutron-ovn16:00
*** jckasper has quit IRC16:05
*** armax has joined #openstack-neutron-ovn16:12
*** jckasper has joined #openstack-neutron-ovn16:12
*** jckasper has quit IRC16:17
*** pcaruana has quit IRC16:20
*** jckasper has joined #openstack-neutron-ovn16:34
*** zefferno has quit IRC16:56
*** doonhammer has joined #openstack-neutron-ovn16:58
*** doonhamm_ has joined #openstack-neutron-ovn17:50
*** doonhammer has quit IRC17:53
*** s3wong has joined #openstack-neutron-ovn17:55
*** ezobn has quit IRC17:56
russellbnetworking-ovn meeting in a few minutes in #openstack-meeting17:56
*** chandrav has joined #openstack-neutron-ovn18:01
*** portdirect is now known as portdirect_away18:02
Sam-I-Amrussellb: hello old buddy18:06
*** dasanind_ has joined #openstack-neutron-ovn18:17
dasanind_russellb: ping?18:18
russellbdasanind_: hi18:18
russellbSam-I-Am: and hi18:18
dasanind_russellb: in the networking-ovn meeting you were talking about this bug https://bugs.launchpad.net/networking-ovn/+bug/162907618:19
openstackLaunchpad 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 helpful18:20
russellbdasanind_: great, i appreciate the help18:20
russellbdasanind_: can you give me about 5 minutes?18:20
russellband then we can talk in detail18:20
dasanind_russellb: sure18:20
russellbback.18:26
russellbdasanind_: first, some context ...18:26
russellbsimilar to many other neutron backends other than the "reference implementation", there are 2 databases in play with Neutron and OVN18:26
russellbwe have Neutron's own database, and the one that networking-ovn programs, OVN's northbound database18:26
russellbin a perfect world, these two databases are in sync.  sadly, the world is far from perfect.18:27
russellbthe sync utility referred to in this bug is our tool that gets the 2 databases back in sync if needed18:27
russellbas features get added to networking-ovn, we often also have to update this sync utility with knowledge about new types of resources18:28
russellbthis patch is adding some significant new L3 features18:28
russellbbut we need the corresponding sync support too18:28
russellbnetworking_ovn/cmd/neutron_ovn_db_sync_util.py18:28
russellbis where it starts18:29
dasanind_russellb: so these L3 features are adding some new tables to the northbound database?18:29
russellbnot new tables, but new entries into existing tables18:29
russellbwe didn't create the gateway routers before, or this transit network18:30
dasanind_these are the new features18:30
russellbyes18: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
russellbthe sync goes from neutron  db ---> OVN db18:32
russellbso if a sync were required, we would not be creating all of the expected entries in the OVN db18:33
russellb^^^ is the effect of the bug18:33
dasanind_I will just repeat what I am understanding from this so that I am not making any  assumptions.18:34
russellbok :)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 new18: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
russellbalmost :)18:37
dasanind_:) what did I miss?18:38
russellbYou 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
russellbIf you were to erase the OVN northbound database and recreate it as empty18:39
russellbyou should be able to then run the sync util to re-populate the OVN northbound database based on the current state of neutron18:39
dasanind_makes sense18:39
russellbthis ehterpad talks a little bit about what's happening in OVN in this scenario -- https://etherpad.openstack.org/p/Integration_with_OVN_L3_Gateway18:40
russellbwhen you create a neutron router that does NAT, networking-ovn actually creates *2* OVN routers18:40
russellbthe first is the normal type, which is fully distributed18:40
russellband the second is a centralized one bound to a chasiss (node)18:40
russellband we create a "transit network" in between them that's not visible through the neutron API18:40
russellbin this setup, routing is distributed where possible, but the SNAT traffic goes through the gateway router that is bound to a single host18:41
dasanind_Does "transit network" help to communicate between the 2 OVN routers?18:43
russellbyes18: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
russellbin the ascii diagram on that etherpad, there are 2 routers18:45
russellbthose 2 routers are the OVN implementation of a Neutron router that's doing SNAT off to a provider network18:45
russellbthe only traffic that actually hits the "GW", or the gateway router, is the traffic going to/from the provider network18:46
russellbif the traffic is between NET 1 and NET 2, it wouldn't go through the GW router18:47
russellbjust the fully distributed router (DR in this diagram)18:47
dasanind_makes sense18:49
russellbthat's good :)18:49
russellbit took me a bit to get it18:49
russellbhaving 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-ovn18:52
russellbdasanind_: yes18:52
russellbdevstack is fine18:52
russellbyou'll need to apply this patch: https://review.openstack.org/#/c/346646/1918:52
dasanind_ok18:52
russellbor wait until it has merged18:52
dasanind_is there any special configuration that i need to use for devstack18:53
russellbdasanind_: http://docs.openstack.org/developer/networking-ovn/testing.html18:53
dasanind_russellb: thanks will set this up... do i need a multinode environment?18:55
russellbno18:55
russellbsingle-node should be fine for this18:55
dasanind_so I will create a  all-in-one node18:56
russellbyes18:56
dasanind_how do I create the transit network between the 2 ovn routers?18:56
russellbdasanind_: it's done automatically18:57
russellbthat's what https://review.openstack.org/#/c/346646/ does18:57
russellbthe sync util just needs to run much of the same code18:58
russellbwhen creating certain neutron routers18:58
dasanind_ok...and to create the ovn routers I use same cli that neutron uses18:58
russellbyes18:58
dasanind_cool....will try this...will ping you if I have more questions :)18:59
dasanind_thank you for explaining this :)19:00
russellbnp, thanks for helping!19:00
dasanind_It's ok if I assign the bug to myself19:07
*** fandi__ has joined #openstack-neutron-ovn19:14
*** fandi has quit IRC19:16
russellbdasanind_: yes19:24
russellbdasanind_: in fact, a better bug to start with would be https://bugs.launchpad.net/networking-ovn/+bug/163889819:24
openstackLaunchpad bug 1638898 in networking-ovn "neutron-ovn-db-sync-util fails with NoSuchOptError" [Undecided,Confirmed]19:24
russellbdasanind_: that will have to be fixed first anyway, and it should be a *much* easier starting point19:24
*** jckasper has quit IRC19:30
*** jckasper has joined #openstack-neutron-ovn19:36
*** jckasper has quit IRC19:40
*** jerrygb has joined #openstack-neutron-ovn19:51
*** jerrygb_ has quit IRC19:54
*** fandi__ has quit IRC19:56
*** fandi__ has joined #openstack-neutron-ovn19:56
*** ezobn has joined #openstack-neutron-ovn20:07
*** ezobn has joined #openstack-neutron-ovn20:08
*** rtheis has quit IRC20:12
*** doonhamm_ has quit IRC20:29
dasanind_russellb: sure will start with this one then20:31
*** chandrav has quit IRC20:39
*** ezobn has quit IRC20:44
*** zkassab has quit IRC20:49
*** chandrav has joined #openstack-neutron-ovn21:12
*** ezobn has joined #openstack-neutron-ovn21:28
*** ezobn has quit IRC21:34
*** shettyg has quit IRC21:47
*** jerrygb_ has joined #openstack-neutron-ovn22:29
*** ezobn has joined #openstack-neutron-ovn22:30
*** jerrygb has quit IRC22:32
*** mickeys has quit IRC22:42
*** mickeys has joined #openstack-neutron-ovn22:43
*** ezobn has quit IRC22:50
*** rpb has joined #openstack-neutron-ovn23:14
*** chandrav has quit IRC23:17
*** ezobn has joined #openstack-neutron-ovn23:46
*** ezobn has quit IRC23:51
*** mlavalle has quit IRC23:55

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!