18:30:56 #startmeeting Networking FWaaS 18:30:57 Meeting started Wed Apr 8 18:30:56 2015 UTC and is due to finish in 60 minutes. The chair is SumitNaiksatam. Information about MeetBot at http://wiki.debian.org/MeetBot. 18:30:58 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 18:31:00 The meeting name has been set to 'networking_fwaas' 18:31:01 badveli: yamahata: yushiro: hi 18:31:09 hello sridark 18:31:13 #topic Bugs 18:32:09 this is a doc bug: #link https://bugs.launchpad.net/openstack-manuals/+bug/1440864 18:32:10 Launchpad bug 1440864 in openstack-manuals "Firewall-as-a-Service (FWaaS) overview in OpenStack Cloud Administrator Guide - current" [Undecided,New] 18:32:19 we need someone to look at it 18:33:00 yushiro: regarding #link https://bugs.launchpad.net/neutron/+bug/1439383 18:33:02 Launchpad bug 1439383 in neutron "FWaaS - the action of firewall-policy "insert_rule" and "remove_rule" not exist in policy.json" [Undecided,New] - Assigned to Yushiro FURUKAWA (y-furukawa-2) 18:33:18 pc_m: hi 18:33:22 hi! 18:33:27 yushiro: are you planning to post a patch? 18:33:34 pc_m, hi 18:33:54 yushiro: Hi 18:33:56 SumitNaiksatam, yes. I'll post the patch. 18:34:15 yushiro: thanks! 18:34:39 SumitNaiksatam: i will look into 1440864 18:34:42 the following is another relatively minor bug: #link https://review.openstack.org/#/c/169239/ 18:34:48 SridarK: thanks much 18:35:07 i thought the change was good, not sure why the gate keeps failing on that, i havent investigated 18:35:43 we have this high priority doc bug: #link https://bugs.launchpad.net/openstack-api-site/+bug/1425658 18:35:44 Launchpad bug 1425658 in openstack-api-site "FWaaS needs WADL doc to be available in the API reference" [High,In progress] - Assigned to Sumit Naiksatam (snaiksat) 18:35:49 i posted a patch for that 18:35:57 still little more work to do 18:36:05 i also volunteered co-authors ;-P 18:36:29 so first priority is to bring it in sync with the older documentation 18:36:38 and then add the router insertion specific details 18:36:41 SumitNaiksatam: I am trying to add some stuff into the common.ent file 18:36:43 SumitNaiksatam: Gates on 169239 is because of Neutron UT changes. 18:37:07 pc_m: ah ok, the recent changes 18:37:12 pc_m: thanks 18:37:28 SumitNaiksatam: Should be fixed by my commit https://review.openstack.org/171602. Just rebase. 18:37:30 SumitNaiksatam: +1 to pc_m 18:37:55 pc_m: was just going to say, not sure why he didnt try a rebase 18:38:06 perhaps we can post a comment with the suggestion 18:38:20 SumitNaiksatam: Will do. 18:38:28 should not the Rebase Change button work from the patch link 18:39:28 vishwanathj: Might, but might not, as there may be conflict in test file. 18:39:33 nevermind, When I do that, I get the error "The Change could not be rebased due to a patch conflict during merge" 18:39:47 vishwanathj: :) 18:40:08 test_db_firewall.py shd have conflicts 18:40:12 SumitNaiksatam: What;s the patch number for the doc change? 18:40:34 the day that button works always we will all be redundant :-) 18:40:46 :) 18:41:16 LoL 18:41:18 pc_m: which one? 18:41:43 You mentioned the WADL, you have a patch? Or is it not up for review yet? 18:41:59 #link https://review.openstack.org/#/c/170733/ 18:42:02 pc_m: ^^^ 18:42:11 thanks 18:42:48 pc_m: u had filled in the common.ent file manually for vpn ? 18:43:02 i recall u saying something to that effect 18:43:18 SridarK: yeah I did everything manually. 18:43:30 pc_m: i will ping u offline for some pointers on that 18:43:30 * pc_m manual = cut and paste :) 18:43:42 pc_m: :-) 18:43:44 pc_m: boy that file makes my head spin :-) 18:43:54 pc_m: i took that advice to heart ;-) 18:44:16 SridarK: Sure we can chat. It makes sense once you play with it for a while. 18:44:28 pc_m: ok thx 18:44:51 any other interesting bugs we missed today? 18:45:05 I need to respond to Yushiro's patch set..... 18:45:10 SumitNaiksatam: nothing else i believe 18:45:21 SridarK: okay 18:45:24 vishwanathj: link? 18:45:46 https://review.openstack.org/#/c/147396/ 18:46:01 vishwanathj, thank you! 18:46:13 for some reason, I am still able to reproduce the issue after I apply the patch 18:46:52 yushiro, you may need to upload another patchset as Jenkins as failed with error "Patch in merge conflict" 18:47:22 vishwanathj: ah, yeah noticed your comment earlier, thanks for trying it out 18:47:50 #topic Functional/Integration tests in the gate 18:48:03 badveli: you said wanted to give this a shot? 18:48:13 yes thanks for your pointers 18:48:33 vishwanathj, I see. I will upload the patch. current my patch status is 'Merge Conflict'. I don't know why.. 18:48:39 i went through the test that you had mentioned 18:48:45 for the basic test i was proposing last week, i was thinking something along the lines of what this is doing: #link https://github.com/openstack/neutron/blob/master/neutron/tests/functional/agent/linux/test_iptables_firewall.py 18:49:06 badveli: okay great 18:49:23 badveli: you want to discuss here your findings? 18:50:09 looks to me we can do some thing similar as you had mentioned set up firewall and do some functional test like allow or deny case 18:50:22 SumitNaiksatam: badveli: is this for Scenario tests ? 18:50:24 sent some traffic and check 18:51:15 SridarK_: this is for functional tests 18:51:29 SumitNaiksatam: so API or beyond ? 18:51:38 SridarK_: in the last week we discussed with pc_m as to how we can get some functional tests going 18:51:59 with functional tests the idea is to not require the entire opesntack stack to be running 18:52:22 SumitNaiksatam: ok got it - sorry - will catch up on logs 18:52:31 Do you have any idea on how to create packet? 18:52:33 sridark to check the functionality of the firewall in affect 18:52:42 but perhaps just exercise the fwaas code such that it triggers the configuration iptables rules 18:53:04 yamahata: do we need to create a packet? 18:53:18 yamahata: i was not thinking in terms of testing the datapath 18:53:30 it depends on what firewall rule to be tested. 18:53:31 Okay 18:53:33 yamahata: but testing that the expected iptables rules are applied 18:53:43 ok makes sense - we can actually just check the iptables to see if the rule manifests in iptables 18:53:51 SridarK_: yeah 18:54:10 since we can rely that iptables is independently tested for the data path 18:54:29 SumitNaiksatam: yes and easier and more light weight makes total sense 18:54:37 of course we need to ensure that we are validating against the right critieria (in terms of what we expect the rules to be applied) 18:54:51 sumit in the tests that you had mentioned they check ping traffic 18:55:00 badveli: ah okay 18:55:07 so they do test the datapath 18:55:08 they use some helper 18:55:28 badveli: good to know 18:55:50 pc_m: i guess any tests that we now land will go into liberty, right? 18:56:16 yeah 18:57:12 badveli: let us know how your investigation goes 18:57:21 thanks to pc_m for reorganizing the unit test case 18:57:27 badveli: and once you have some plan around this, lets share with the rest of the team 18:57:41 badveli: that way we can split the work and get more people involved 18:57:46 yes, also one more question will the functional test fall in different path 18:57:49 Sure, np. I had to do VPN and had a script to help, so I used it on FW. 18:58:01 yamahata: i believe you have some experience in this as well 18:58:16 Sure, willing to get involved/help 18:58:17 yamahata: so please chime in with your suggestions 18:58:28 yamahata: awesome!! 18:58:32 yes sumit, i started looking at that test and will update 18:58:54 badveli: great, thanks! 18:59:18 badveli please keep yamahata in close loop, he has good experience with this 18:59:42 badveli: please Yalei too 18:59:43 the functional tests will be under which a seperate directory structure 18:59:51 badveli is also local (with reference to your location), so you can bug him ;-P 18:59:56 ok, thanks yamahata 19:00:10 ok, thanks yamahata and sumit 19:00:47 badveli: we have made a start in terms of the directory structure #link https://github.com/openstack/neutron-fwaas/tree/master/neutron_fwaas/tests/functional 19:00:57 sorry i saw we have a directory structure 19:01:06 SridarK_: you mentioned that Nikolay was working on the tempest tests (scenario tests?) 19:01:07 yes thanks sumit 19:01:21 SridarK_: that will be a different effort from this 19:01:22 SumitNaiksatam: yes he will be doing that 19:01:29 just to make sure we are all on the same page 19:01:29 SumitNaiksatam: got it 19:01:53 SridarK_: and it would be good to track that effort here as well 19:02:02 SridarK_: i believe this is a bad time fo Nikolay 19:02:21 so may be you can proxy him (i believe pc_m is in close discussion with him as well) 19:02:22 #link https://review.openstack.org/#/c/165859 19:02:36 patch from him for insertion mode 19:02:41 SridarK_: bam!! sweet!! 19:02:45 but will probab go to L 19:02:59 SumitNaiksatam: yes i will proxy for Nikolay 19:03:10 seems like an ultra lite patch though ;-) 19:03:32 SumitNaiksatam: yes wanted to get a patch out - but working with him to improve coverage 19:03:51 looking at the most recent comment, i agree as well, perhaps need a separate test case 19:03:56 SumitNaiksatam: FYI, Nikolay is in Russia. 19:04:33 SumitNaiksatam: yes and more work is needed 19:04:33 pc_m: thanks, yes, good for everyone to know 19:05:15 SridarK_: its great that Nikolay is on this, i dont mean to belittle the work in any way 19:05:21 sorry if i sounded like that 19:05:39 SumitNaiksatam: no totally understand did not take it that way at all just wanted to clarify 19:06:05 its take a lot of time and effort to just get the environment setup to be able start writing and tests like these 19:06:15 so its fantastic that he is at this point 19:06:32 because if you get one test going, then i think its relatively easier to add more 19:06:38 SumitNaiksatam: he is working with pc_m for vpnaas as well 19:06:59 pc_m: on that, you mentioned there were some issues that other neutron cores had raised 19:07:16 pc_m: has that been sorted out, and the feedback conveyed to Nikolay? 19:08:00 SumitNaiksatam: Yeah, main issue was that tests were using tempest repo imports. Nikolay has been working on doing the test w/o tempest. 19:08:11 pc_m: ah okay 19:08:23 SumitNaiksatam: He just posting something today, but I haven't looked at it yet. 19:09:06 SumitNaiksatam: I mentioned to him that in Neutron they now have "fixtures" (see Fake* classes), and that maybe that would help as well 19:09:15 pc_m: okay 19:09:34 SumitNaiksatam: I haven't looked into the Fixtures much, but seems like they have things for ports, routers, networks, etc. 19:10:08 pc_m: okay, thanks for relaying that information 19:10:15 SumitNaiksatam: In short, there's a bunch to be done for the scenario test, but we've got time, as it'll land in Liberty. 19:10:26 pc_m: true 19:11:04 the first test will take time, after that it will be much easier to scale this out to more people 19:11:50 anything more to discuss today on the topic of functional/integration tests? 19:12:20 ok moving on 19:12:25 #topic Open Discussion 19:12:55 as regards the design summit 19:13:05 #link https://etherpad.openstack.org/p/liberty-neutron-summit-topics 19:13:06 Do any of the vendor have to refactor their code as a result of https://review.openstack.org/#/c/169239/ getting merged? 19:14:02 vishwanathj: i doubt it 19:14:10 looks like the Vyatta Firewall agent code might have to respin? I am investigating the impact and code changes 19:14:36 SumitNaiksatam, Ok 19:15:07 vishwanathj: okay 19:15:09 vishwanathj: i would have thought this should not have any impact 19:15:25 there seems to be a comment in the etherpad: “The future of FWaaS: What do we do with it, how it relates to security groups, etc.” 19:15:41 line item 43 19:16:45 SumitNaiksatam: interesting :-) 19:16:53 you can go through the time line and see who added that 19:17:00 i am guessing its not someone from this team 19:17:10 i cant tell clearly who it is 19:17:15 SumitNaiksatam: should the answer be "Bright" :-) 19:17:21 the future that is :-) 19:17:28 SridarK_: :-) 19:17:42 SumitNaiksatam, SridarK_, vyattaFirewallAgent implements the method process_router() method, refer https://review.openstack.org/#/c/169239/.... 19:18:24 vishwanathj: okay 19:18:48 so if you have any firewall related topics that you need to add, please add them to etherpad 19:19:10 wrong link, refer https://github.com/openstack/neutron-fwaas/blob/master/neutron_fwaas/services/firewall/agents/vyatta/fwaas_agent.py 19:19:36 the patchset https://review.openstack.org/#/c/163222/6/neutron/agent/l3/agent.py removes the call to process_router() 19:20:05 vishwanathj: ok - i was getting really confused as that was a one line change 19:21:09 SridarK_, I need to investigate what the corresponding change should be ....was wondering if the other vendor codes had already looked into it and assessed the impacts.... 19:21:35 vishwanathj: we have our own agent so this should not impact us 19:21:43 looks like you guys may not be impacted and the Vyatta code might be....will approach you guys for guidance if needed 19:21:45 but other vendors may have a similar situation 19:22:25 pc_m, was the VPN code impacted? 19:23:33 vishwanathj: I don't think so. 19:23:50 pc_m, Thanks 19:24:25 Tests pass, so it must work :) 19:24:31 :) 19:24:37 pc_m: :-) 19:24:50 okay anything else for today? 19:25:32 viswanathj i am looking at the agent patch, will update if we need to change in the mean time let me know how are you handling the removed process_router 19:25:57 badveli, I need to investigate, will keep you posted on what I find out 19:26:16 ok, thanks 19:26:19 became aware of this only this morning 19:26:46 vishwanathj: VPN just listens for the events, which happen in _process_added_router() and _process_updated_router(). 19:27:06 vishwanathj: FW could do the same thing, and decouple from the agent, if desired. 19:27:56 pc_m, thanks, let me spend some time trying to grasp this...will probably ping you on IRC if I have questions 19:27:59 thanks pc_m for the pointers 19:28:07 IOW, VPN "subscribes" for notifications of various events from agent, and then has handlers for those events. FW can do the same thing, if action needed on the events. 19:28:14 vishwanathj: sure 19:29:02 pc_m: yes 19:29:22 pc_m: thanks much for jumping in and fixing the UT failures 19:29:42 pc_m: by the time i woke up and noticed that there was an issue, you had it fixed ;-) 19:29:46 Sure np. I did a fix for the check bash script thing too, but it'll have to wait for liberty 19:29:56 pc_m: ok 19:30:02 yeah earlt bird gets the worm :) 19:30:12 early 19:30:39 pc_m: :-) 19:30:44 thanks eveyrone 19:30:47 bye! 19:30:50 bye 19:30:52 bye 19:30:55 Bye bye 19:30:56 bye 19:30:57 #endmeeting