14:00:50 #startmeeting fwaas 14:00:51 Meeting started Tue May 30 14:00:50 2017 UTC and is due to finish in 60 minutes. The chair is yushiro. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:00:53 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:56 The meeting name has been set to 'fwaas' 14:01:02 Hi All 14:01:05 #chair SridarK yushiro xgerman njohnston 14:01:06 Warning: Nick not in channel: njohnston 14:01:07 Current chairs: SridarK njohnston xgerman yushiro 14:01:10 hi all 14:01:16 o/ 14:01:24 Lets get started 14:01:37 hi 14:02:04 yushiro: i think today is my turn to run the mtg ? 14:02:17 SridarK, yes, it's your turn :) 14:02:37 #topic FWaas v2 14:02:49 Sorry i am late 14:03:02 lets review state quickly 14:03:17 chandanc: no worries , just in time 14:03:38 chandanc: pls go ahead 14:04:12 I investigated the race condition issue, and we have basically 2 solution 14:04:28 I hope you got a chance to lok at the mail 14:04:33 chandanc, Yes, thanks for your research and e-mail. 14:05:14 We can either patch the ovs agent or a quicker way to unblock may be to directly fetch the vlan tag from localvman manager 14:05:23 *localvlan 14:06:59 i think this can be done in the agent extension ? what do you think ? 14:07:13 chandanc: how do we ensure that the vlan has been configured 14:08:11 the agent extensions are called after the vlan allocation is done, i think the delay is in ovs getting configured 14:08:18 do u mean that on the agent side we are guaranteed but only w.r.t ovsdb is a problem ? 14:08:59 ya that is what i could see in the ovs agent code 14:09:18 chandanc: ok grt, in that case things could be simpler 14:09:34 ya, 1 sec let me find the code link 14:09:51 chandanc, thanks. it'll be helpful. 14:10:10 https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L1525 14:11:27 please let me know is this approach is acceptable 14:11:46 Also any comments on the driver patch will also be helpfil 14:12:09 i saw a code review -1 from paddu, i will reachout to him for discussion 14:12:36 chandanc: makes sense 14:13:02 chandanc: do u think u can pursue this week so we can get to some closure 14:13:25 we may need to do some more testing along this path as well 14:13:34 Sure, i can push for it, 14:13:52 off the top this looks reasonable to me 14:14:10 Do you have any comments on the patch, as per our discussion we are going to hold on the changes for co-existance right ? 14:14:25 chandanc: yes agreed 14:14:33 OK. 14:14:45 lets get the basic use case functioning b4 we head to co-existence 14:15:16 ok good chandanc anything else u would like to discuss ? 14:15:16 Ok then, please let me know if you need any more changes, i will start a integration test with l2 agent 14:15:27 no that should be all 14:15:36 chandanc: ok good lets move on 14:15:54 yushiro: would u like to discuss DFWG and other changes 14:16:59 SridarK, Regarding DEF FWG, I didn't change except nit fix. Ah, I'd like to give some opinion of firewall_rule. 14:17:18 yushiro: ok pls go ahead 14:17:19 #link https://review.openstack.org/#/c/425769/ 14:17:41 https://review.openstack.org/#/c/425769/17/neutron_fwaas/db/firewall/v2/firewall_db_v2.py 14:17:51 Plz check Line#345~~ 14:18:46 Now there are IPv4/IPv6 rules for ingress/egress. 14:18:54 yushiro: yes 14:19:07 Hi sorry 14:19:09 just joined in 14:19:14 yushiro: we talked abt dhcp responses 14:19:30 SridarK, Yes, exactly. 14:19:33 damn trFFIC 14:19:49 reedip_: no worries 14:20:17 reedip_ autonomous cars :-) 14:20:32 still, traffic ! :( 14:20:33 In order to pass DHCP packet in booting VM, it is enough to allow only egress? (Currently, I'm not sure and not tested..) 14:20:50 s/it is/is it 14:21:26 I want some comments with DHCP packet perspective. 14:21:34 mmh, I think you need both. Isn’t DHCP some UDP thing? 14:22:24 xgerman: indedd its UDP pkt and it need to be allowed on 67/68 port 14:22:33 yushiro: yes lets look at it - and be in alignment with Security Groups 14:22:58 also, what about ARP pkts ? 14:23:05 xgerman, SridarK, vks1 OK, thanks. I forgot SG :) hahaha 14:23:45 vks1 not sure about those. Neutron itself is not very good with arp 14:24:33 yushiro: I have one question though how this DFWG co-exist with SG. I mean how we jusify the use case 14:24:40 the ARP and DHCP 67/68 are required to be allowed 14:24:52 \me recommends this blog series for ARP in Neutron: https://ihrachyshka.com/2017/05/17/gratuitous-arp-for-openstack-neutron/ 14:25:29 thanks xgerman 14:26:04 vks1, Ex. in DVR environment, we should apply fwg into ports. 14:26:09 xgerman, +1 14:26:53 yushiro: I was asking isn't that going to be reduntant 14:27:20 vks1: yes it is but we are like a logical AND operation when we have co-existence 14:27:41 SG AND FWaaS need to permit for a permit 14:28:22 SridarK: I was just curious about the purpose it serves 14:28:36 vks1: yes u are correct 14:28:56 if we always coexist - we can possibly take a short cut 14:29:21 but since some may not enable SG - we will need this redundant behavior 14:29:38 SridarK: more than anything , can it cause confusion to operator in deployment ? 14:29:47 *operators 14:30:06 vks1: agreed but we need to message that correctly 14:30:13 +1 14:30:44 it is likely eventually we may get to a point where only one of these features will be used or exist 14:31:00 but that is a long term horizon 14:31:25 ok , I just read the logs 14:31:32 yushiro: but back to ur point - we will need to close this 14:31:43 so we are in alignment with SG 14:31:48 SridarK, ok. 14:32:09 I agree, DHCP reedip request/response and ARP req/res need to be by-passed on booting the VM with default fwg 14:32:25 chandanc, Regarding DHCP packet, can we apply ovs rule as 'default flow rule' ? 14:32:42 chandanc, not to 'firewall rule'. ( sorry, it is hard to tell ..) 14:33:00 the DHCP and ARP are part of the basic rules in ovs firewall driver 14:34:15 http://paste.openstack.org/show/606135/ line 44 14:34:17 SridarK, chandanc I'm confusing that should we prepare firewall-rule such DHCP packet or apply ovs flow rule without firewall-rule. 14:34:52 SG won’t show those rules 14:35:28 xgerman, Ok, so, I'll align with SG ? 14:35:33 s/?// 14:35:39 sure 14:35:42 yushiro: +1 14:35:56 SG wont be configured for those rules either 14:35:56 SG allows ARP and DHCP when the VM boots up 14:36:19 SG wont be configured for those rules either 14:36:25 SG allows ARP and DHCP when the VM boots up 14:36:42 reedip_, thanks. 14:36:47 yes it is under the covers and we should adopt the same model 14:36:48 SG allows ARP egress all the time 14:37:15 xgerman : ARP request egress, right ? 14:37:18 sounds good lets move on - i think we have clarity on the approach 14:37:21 SridarK: +1 14:37:22 or all ARP egress 14:37:32 So, default fwg patch is ready for merge. So, I'll add more UTs. 14:37:34 request egress 14:37:36 yushiro: anything else u want to discuss 14:37:40 yushiro: +1 14:37:42 SridarK, nothing for me. 14:37:49 ok lets move on 14:38:02 #topic Pike/neutron-lib 14:38:07 reedip_: pls go ahead 14:38:08 SridarK , yushiro: any use case for IPv6 for DFWG 14:38:08 ? 14:38:29 Well , I had to create a small hack 14:38:48 rest https://review.openstack.org/#/c/456511/ is ready now 14:38:49 reedip_: i think on ipv6 we just maintain consistency with SG for now 14:39:13 there is a bug in tempest test cases which I need to look at, but I have logged a bug and skipped it for now 14:39:21 in neutron-lib 14:39:39 ok sounds good and Jenkins is happy 14:39:42 Please review it so that we can accelerate its inclusion :) 14:39:51 reedip_: will do 14:40:01 reedip_, SridarK, sure 14:40:12 reedip_, I'll do it tomorrow 14:40:19 ok good anything else reedip_ on this topic ? 14:40:24 Rest, I will now focus on the other stuff which njohnston kept open like Fullstack Tests ( It is also working but it is creating log in wrong locations, so need to twist it a bit ) 14:40:37 ok perfect 14:40:40 SridarK : Nothing else for now 14:40:57 #topic other reviews needing attention 14:41:08 vks1: lets start with u 14:41:22 #link https://review.openstack.org/#/c/458723/ 14:41:27 SridarK: you wanted to discuss 14:41:28 i think u are done 14:41:37 yes i just had a minor nit 14:41:49 i wanted some clarification on v1 and v2 14:41:58 SridarK: please go ahead 14:42:02 i see changes in v2 plugin 14:42:13 how do we handle v1 14:42:51 i have been meaning to connect with u and thought it best to atleast bring it up b4 i forget again 14:43:34 SridarK: for v1 I don't think we have any provider_config sort of settings 14:43:53 hmm so we dont need to add it ? 14:43:53 vks1 : the config file is for both v1 and v2 right? 14:44:01 reedip_: +1 14:44:05 SridarK: but lets say if we want to use this config file with v1 , there shud not be issue 14:44:07 that was my confusion 14:44:08 if so, can you add a small nit in the the reno file? 14:44:37 reedip_: please suggest 14:44:38 vks1: yes we shd support both as parallel paths 14:44:51 vks1 : as of now I think it is being used for both v1 and v2 14:45:25 SridarK: the config file can be used for both, but corrsponding implementation should be added in plugin 14:45:30 if we had a v1 deployment how would this take effect ? 14:45:34 vks1: yes exactly 14:45:35 I do not think we are differentiating in the file 14:45:48 vks1 : this needs to be notified that this is for V2 only 14:45:51 in the release note 14:45:52 reedip_: yes that is fine 14:46:06 so that user do not use it for V1 expecting any changes 14:46:16 reedip_: hmm why do it for v2 only ? 14:46:41 SridarK: In the current implementation ... if we are going to continue with v1 and v2, then no changes in reno 14:46:43 unless we are saying that it is on its way out 14:46:56 reedip_: ok 14:47:17 SridarK : Have we dropped the mail for V1 deprecation yet? 14:47:27 SridarK: reedip_: currently this patch is agnostic of v1 or v2. Its just a placeholder now, until we go and add some code 14:47:49 vks1 : Exactly .. but we have added support for v2 in it :) 14:48:03 means the config is workable with both v1 and v2 14:48:10 and v2 plugin support exists in this patch 14:48:11 :) 14:48:16 SridarK: I introduced in PS1 quota but there were comments to not to introduce that int his patch 14:48:30 means you have 2 functionalities in the same patch if looked at the micro level :) 14:48:38 reedip_: yeah but oslo option for both v1 and v2 can't coexist 14:48:40 https://review.openstack.org/#/c/458723/12/neutron_fwaas/services/firewall/fwaas_plugin_v2.py 14:48:58 L#37 14:49:14 do we need this in the v1 plugin as well ? 14:49:26 SridarK: v2 imports v1 and it cause duplication of oslo config and it breaks 14:49:28 so whichever is enabled (v1 or v2) 14:49:38 vks1: ouch 14:49:48 hmm i wonder abt that 14:49:49 SridarK: the moment you enablev2 v1 also gets imported 14:50:04 ok now i see ur issue - let me go look at why we do that 14:50:09 vks1 :really , then we should modify it :) 14:50:17 that seems blasphemy to me :-) 14:50:24 i see ur issue now 14:50:30 SridarK : not the exact way of OOP :) 14:50:55 ok good let me go do some digging too - this might be an oversight from some early development to get us to move fwd 14:50:56 Sorry , it is exactly OOP :) 14:51:17 i thought it more like "oops" !! 14:51:27 hehehehe 14:51:32 :-) 14:51:44 vks1: ok let me dig some more 14:51:57 vks1 : maybe you can put a bug for the same ( where v2 imports v1 ) 14:52:00 and see the quickest way fwd so we dont delya ur patch 14:52:06 So, what is about my curious question ? 14:52:19 hoangcx : shoot :) 14:52:35 reedip_: i commented on the patch :-p 14:52:53 "Just a curious question: Do we need to decouple fwaas_agent.ini as lbaas, vpnaas... also?" 14:53:04 hoangcx : lemme check , I forgot :) 14:53:59 vks1 just supported decoupling .conf but .ini 14:54:42 hoangcx: it would be gud , so this ini file will be with l3agent 14:54:57 vks1: right 14:55:57 SridarK: reedip_: https://github.com/openstack/neutron-fwaas/blob/master/neutron_fwaas/extensions/firewall_v2.py#L28 14:56:28 vks1 : but thats the fwaas extension 14:56:37 we can change that 14:56:40 vks1: ok i think the line above may explain this 14:56:41 SridarK: reedip_: please look into this. yeah 14:56:47 vks1: yes will do 14:57:00 SridarK: no blasphemy :) 14:57:04 SridarK : just a minor patch, wont hurt much 14:57:05 we should not have import incest in this manner 14:57:08 :-) 14:57:20 but a good catch vks1 ... I saw it but missed it 14:57:23 vks1: good this brought this out 14:57:29 ok lets move on 14:57:33 with time 14:57:38 and this can be integrated in the neutron-lib patch itself where the whole code is being reworked 14:57:44 #topic Open Discussion 14:57:50 reedip_: grt 14:57:54 reedip_: +1 14:58:07 ok , will do ... 14:58:15 hoangcx: you were telling something 14:58:27 sorry hoangcx go ahead 14:58:32 vks1: No, I'm OK with that :-) 14:58:38 or u and vks1 can discuss on gerrit 14:59:16 chandanc, if you reach out to paddu, could you add CC to me? 14:59:29 sure will do yushiro 14:59:35 I also need to sync up with him about l2-agent patch 14:59:48 ok we are at time 14:59:50 yushiro : you pinged me last week , sorry I missed it 14:59:57 thx for joining 14:59:57 reedip_, NP!!! 15:00:00 bye all 15:00:03 #endmeeting