Wednesday, 2016-08-10

*** yamamot__ has joined #openstack-fwaas00:27
*** njohnston is now known as njohnston_00:32
*** yamamot__ has quit IRC00:34
*** njohnston has joined #openstack-fwaas00:37
*** njohnston has quit IRC00:48
mfranc213hello sridarK_ and njohnston.  i hope to complete the UT work for the FWaaS L3 agent extension by tonight's meeting.01:08
mfranc213(two more tests to fix :) )01:08
*** mickeys has quit IRC02:24
*** diogogmt has quit IRC02:51
*** yamamot__ has joined #openstack-fwaas03:20
*** yamamot__ has quit IRC03:20
*** yamamot__ has joined #openstack-fwaas03:22
mfranc213it will have to be tomorrow...03:33
*** yamamot__ has quit IRC03:44
*** chandanc has joined #openstack-fwaas04:00
*** padkrish has joined #openstack-fwaas04:01
*** yamamot__ has joined #openstack-fwaas04:11
*** yamamot__ has quit IRC04:36
*** padkrish has quit IRC05:00
*** yamamot__ has joined #openstack-fwaas05:16
-openstackstatus- NOTICE: zuul is being restarted to reload configuration. Jobs should be re-enqueued but if you're missing anything (and it's not on http://status.openstack.org/zuul/) please issue a recheck in 30min.05:24
*** Trident has quit IRC05:25
*** vishwanathj has quit IRC05:56
*** vishwanathj has joined #openstack-fwaas06:28
*** vishwanathj has quit IRC06:29
*** mickeys has joined #openstack-fwaas06:29
*** mickeys has quit IRC06:33
*** Trident has joined #openstack-fwaas07:52
*** Trident has quit IRC07:54
*** Trident has joined #openstack-fwaas07:55
*** Trident has quit IRC08:11
*** mickeys has joined #openstack-fwaas08:12
*** mickeys has quit IRC08:20
*** mickeys has joined #openstack-fwaas08:20
*** Trident has joined #openstack-fwaas08:23
*** mickeys has quit IRC08:24
*** yamamot__ has quit IRC09:44
*** Trident has quit IRC09:46
*** Trident has joined #openstack-fwaas09:47
*** Trident has quit IRC10:30
*** chandanc has quit IRC11:03
*** chandanc has joined #openstack-fwaas12:29
*** diogogmt has joined #openstack-fwaas13:10
*** vishwanathj has joined #openstack-fwaas13:30
*** SridarK has joined #openstack-fwaas13:32
chandancHello guys13:34
mfranc213hello chandanc :)13:35
*** SarathMekala has joined #openstack-fwaas13:35
mfranc213hello sarath :)13:35
SarathMekalahi Margaret13:35
chandancI will depend on Sridar for the webex invite :)13:35
mfranc213okay.  will the meeting participants be the 3 of us plus Sridar?13:36
chandancya13:36
mfranc213sounds good.13:37
SarathMekalahope the time is ok with you13:37
SarathMekalayou may need to get ready for office13:37
mfranc213i'm in the office! :)13:38
SarathMekala:) ok cool13:38
SarathMekaladoes nate work in the same office13:38
mfranc213it's 9:30 in the morning for me.  nate is in reston, virginia, and i am in philadelphia, pennsylvania.13:39
SarathMekalaoh ok13:39
mfranc213we communicate over a chat line.13:39
SridarKi can certainly setup up a conf call to make it easier to share screens13:39
chandancsure, that will be great13:40
SarathMekalayep13:40
mfranc213thank you.13:40
SridarKmfranc213: for some context, i had a quick sync with chandanc: & SarathMekala: to run thru the driver changes to go in as part of ur patch for the agent13:40
mfranc213excellent13:41
*** yamamoto has joined #openstack-fwaas13:41
SridarKthey were looking thru the impact - mainly to change the iptable rules to be port specific instead of qr-* (all internal ports)13:41
SridarKshall we target in 20 mins to talk ?13:42
chandancok13:42
mfranc213yes, perfect13:42
SarathMekalasure13:42
SarathMekalaam signing out.. need to take my dog for a walk13:44
SarathMekalawill be back in 20 mins13:44
*** diogogmt has quit IRC13:47
*** malos_ has joined #openstack-fwaas13:57
mfranc213https://review.openstack.org/#/c/337699/4/neutron_fwaas/services/firewall/agents/l3reference/firewall_l3_agent.py@27113:57
mfranc213perhaps that, and the analogous driver calls for update and delete, are the crus of this meeting.13:58
*** yamamoto has quit IRC13:59
chandanc ya that kind of it13:59
chandancthats*13:59
* SarathMekala joins back14:00
chandanchave a look at http://paste.openstack.org/show/553566/, kind of what we were thinking of14:01
chandanc#link http://paste.openstack.org/show/553566/14:01
mfranc213send the router for each port that is given to the driver?14:01
chandanc[(router_obj, [port_list]), ...]14:02
mfranc213yes, makes sense.14:02
chandanchaven't tested, but might just work14:03
SridarKmfranc213: yes prev we sent the router_info14:03
mfranc213would you like me to inspect and then apply the diff and ping you if i have questions?14:04
chandancjoining webex14:04
SridarKso now with this can pin the ports to the correct namespace14:04
mfranc213is there a webex link?14:04
SridarKmfranc213: sent to u14:05
mfranc213waiting for it... :)14:05
chandanchttps://cisco.webex.com/ciscosales/e.php?MTID=m31d5e6f7d018eed87a924359ede2b64214:06
mfranc213joining now14:06
SarathMekalaTo give an overview, currently when the agent calls the driver its filtering out the ports that are present on that node14:06
SarathMekalain addition to this we will need the router_id14:06
mfranc213i'm on the meeting but can't hear you...14:06
SridarKmfranc213: u need to join audio14:07
chandancSarath, joining webex ?14:10
SarathMekalaits loading @21%14:12
SarathMekalaslow connection :(14:12
SarathMekalayou carry on.. will catch up14:12
mfranc213:(14:12
chandancjump_rule = ['-o %s+ -j %s-%s' % (if_prefix, bname, chain_name)]14:19
chandanchttp://paste.openstack.org/show/553566/14:19
*** yamamoto has joined #openstack-fwaas14:24
chandancstack@devstack1:/opt/stack/neutron/neutron/agent/linux$ neutron router-port-list 966d3112-639d-448f-9858-e1cb02954c0614:24
chandanc+--------------------------------------+------+-------------------+--------------------------------------------------------------+14:24
chandanc| id                                   | name | mac_address       | fixed_ips                                                    |14:24
chandanc+--------------------------------------+------+-------------------+--------------------------------------------------------------+14:24
chandanc| 12c12d84-1bce-46f1-99d0-dafd2cb1228c |      | fa:16:3e:98:3e:38 | {"subnet_id": "b769e731-b98d-4e24-aa88-20d9aa4574da",        |14:24
chandanc|                                      |      |                   | "ip_address": "172.24.4.8"}                                  |14:24
chandanc|                                      |      |                   | {"subnet_id": "beefdfaa-2ca0-404c-bad9-bf992dc3187e",        |14:24
chandanc|                                      |      |                   | "ip_address": "2001:db8::b"}                                 |14:24
chandanc| 94faa770-d43c-4010-a982-a9e617e6ca6b |      | fa:16:3e:a0:35:50 | {"subnet_id": "21062df3-5437-4d13-bc13-a550eac07e78",        |14:24
chandanc|                                      |      |                   | "ip_address": "fd58:86d8:eed7::1"}                           |14:25
chandanc| c69406b7-eaeb-4e72-8e3b-3491ffeea5d8 |      | fa:16:3e:58:db:3b | {"subnet_id": "dc4fc466-4da0-4836-baf7-ee229445eb29",        |14:25
chandanc|                                      |      |                   | "ip_address": "10.0.0.1"}                                    |14:25
chandanc+--------------------------------------+------+-------------------+--------------------------------------------------------------+14:25
SridarKchandanc: ok perfect thx14:25
SridarKmfranc213: to ur question, this is one of the pieces that is used from the router_info:14:38
SridarK#link https://github.com/openstack/neutron-fwaas/blob/master/neutron_fwaas/services/firewall/drivers/linux/iptables_fwaas.py#L7614:39
mfranc213thank you Sridar.  this is very helpful to see (just to give me context, if nothing else).14:39
*** chandanc has quit IRC14:43
SridarKmfranc213: np at all14:48
*** yamamoto has quit IRC14:49
*** yamamoto has joined #openstack-fwaas14:50
*** yamamoto has quit IRC14:50
*** yamamoto has joined #openstack-fwaas14:50
*** yamamoto has quit IRC14:50
*** yamamoto has joined #openstack-fwaas14:51
*** yamamoto has quit IRC14:56
*** SarathMekala has quit IRC15:00
*** SarathMekala has joined #openstack-fwaas15:02
*** yamamoto has joined #openstack-fwaas15:12
*** yamamoto has quit IRC15:12
*** chandanc has joined #openstack-fwaas15:23
*** chandanc has quit IRC15:48
*** mickeys has joined #openstack-fwaas15:59
*** njohnston_ is now known as njohnston16:04
*** diogogmt has joined #openstack-fwaas16:07
*** SarathMekala has quit IRC16:11
*** yamamoto has joined #openstack-fwaas16:13
*** yamamoto has quit IRC16:19
mfranc213Sridark: ping16:27
SridarKmfranc213: hi16:27
mfranc213question for you. i know that router_info has ns_name, but this line indicates that the router does too:16:29
mfranc213https://github.com/openstack/neutron-fwaas/blob/master/neutron_fwaas/services/firewall/agents/l3reference/firewall_l3_agent.py#L11916:29
mfranc213can you unconfuse me?16:29
njohnstonFYI all, there is a bug that just came in for the tenant_id to project_id migration - https://bugs.launchpad.net/neutron/+bug/1611834 - and I just submitted a fix: https://review.openstack.org/35362916:30
openstackLaunchpad bug 1611834 in neutron "[neutron-fwaas] "Unknown column 'r.tenant_id' in 'where clause'"" [Undecided,In progress] - Assigned to Nate Johnston (nate-johnston)16:30
njohnstonPlease review so we can short-cycle it16:30
SridarKmfranc213: i think we are just indexing to pick up the ns of the specific router16:31
mfranc213thank you.16:32
SridarKnjohnston: done16:34
SridarKmfranc213: np at all16:39
*** xgerman has quit IRC16:56
*** xgerman has joined #openstack-fwaas16:56
*** SarathMekala has joined #openstack-fwaas16:56
mfranc213hello chandanc, SarathMekala, SridarK: i realize that the fwaas agent extension cannot send a dictionary to the driver, because17:11
mfranc213a dictionary cannot have dictionaries (router_info) as keys.  so i will plan to do as suggested in17:11
mfranc213http://paste.openstack.org/show/553566/ which is to say, the agent extension will send a list of17:11
mfranc213tuples like this:17:11
mfranc213[ ( ri1, [p1, p2] ), ( ri2, [p3, p4, p5] ) ]17:11
mfranc213with "ri" = router_info, and "p" = port17:11
mfranc213holler if this does not sound right17:12
SridarKmfranc213: that looks good to me17:23
mfranc213thank you SridarK17:23
SridarKthe driver will just use ri and look for associated ports to formulate the rule on the ns referred to by ri17:24
SridarKgoing offline for a bit now17:24
*** SridarK has quit IRC17:29
*** _SarathMekala_ has joined #openstack-fwaas17:40
*** SarathMekala has quit IRC17:43
*** SarathMekala_ has joined #openstack-fwaas17:47
*** _SarathMekala_ has quit IRC17:51
*** SarathMekala_ has quit IRC18:06
*** Trident has joined #openstack-fwaas18:14
*** SridarK has joined #openstack-fwaas18:15
*** mickeys has quit IRC18:25
*** Trident has quit IRC19:14
*** mickeys has joined #openstack-fwaas19:25
*** mickeys has quit IRC19:31
*** mickeys has joined #openstack-fwaas20:05
njohnstonI've been poking at this a bit, but not sure what is going on.  SridarK, have you seen this issue before?  http://logs.openstack.org/59/311159/22/check/gate-neutron-fwaas-python34/6ab5ecd/testr_results.html.gz21:00
SridarKnjohnston: looking21:03
njohnstonThanks!21:04
njohnstonSridarK: I am wondering if it's because of "WARNING [stevedore.named] Could not load neutron_fwaas.db.firewall.v2.firewall_db_v2.Firewall_db_mixin" but I can't figure out why that warning is getting thrown.21:07
SridarKnjohnston: seems like some attribute may be getting mismatched21:07
SridarKnjohnston: hmm could be21:07
SridarKnjohnston: funny, i tested this on devstack21:08
SridarKbut looks all other tests are good21:08
njohnstonWell, that's the only unit test I have implemented so far. :-)21:09
SridarKso other resources are happy21:09
SridarKoh ok21:09
SridarKcould u quickly recast the UT to check for firewall rule21:09
SridarKi am working on the policy update method21:10
SridarKonce i get that done, let me spin up the UT as well21:10
njohnstonok, sure thing21:10
SridarKi try to test first on a devstack env21:10
SridarKnjohnston: i will also debug the test failure in a bit - after i get this current thing done21:16
mfranc213ping SridarK21:34
SridarKmfranc213: hi21:35
mfranc213hello.  i hope to get your advice.21:35
SridarKmfranc213: sure pls go ahead21:35
mfranc213i have everything done and working and i could push the next ps up.  but i also found some things i could clean up, along the lines of some of21:36
mfranc213chandanc's comments on the changeset.21:36
mfranc213one sec21:37
mfranc213need to answer the door...21:37
mfranc213sorry.  back21:37
mfranc213i've made all these other changes, but the risk of them of course is higher at this later date.21:38
mfranc213do you have an opinion on  how i should move forward?  i could issue a PS now, and then a second one that we could roll back if you would like, for instance.21:38
mfranc213i hope this made sense; my daughter was knocking on the door the whole time i was writing this.21:39
SridarKmfranc213: are the changes mainly on the tuple to pass in to the driver ?21:39
mfranc213no.  they are code clean-up, primarily.21:40
mfranc213let me clarify:21:40
mfranc213the PS that i have ready to go has updated the tuple sent to the driver, in the way we discussed.  that's the first PS.21:41
mfranc213the second one (yet to be committed in my local repo) is code clean-up stuff.21:41
SridarKmfranc213: sorry work interrupt21:44
SridarKback21:44
mfranc213:)21:44
SridarKmfranc213: it was my boss :-)21:45
mfranc213gotta talk to her/him!!21:45
SridarKyes exactly :-)21:45
SridarKmfranc213: sorry lost context, yes the first PS is good21:45
SridarKmfranc213: pls go ahead with the cleanup PS too21:45
SridarKmfranc213: i am sure we will have more iterations with the UT etc21:46
mfranc213okay, thank you.  should i workflow -1 this next PS (the first one)?21:46
SridarKwe can always roll back if he hit some issues21:46
SridarKmfranc213: no need to workflow -121:47
SridarKi think u have enough things there that folks can review21:47
mfranc213okay.  thank you very much for your help.21:47
SridarKu could have TODO's where necessary21:47
mfranc213good.  makes sense.  thank you Sridar.21:48
SridarKmfranc213: thx a lot21:48
*** yamamoto has joined #openstack-fwaas22:11
*** yamamoto has quit IRC22:20
*** yamamoto has joined #openstack-fwaas22:31
*** yamamoto has quit IRC22:33
*** SridarK has quit IRC22:43
*** yamamoto has joined #openstack-fwaas22:47
*** yamamoto has quit IRC22:54

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