18:01:09 #startmeeting networking_policy 18:01:10 Meeting started Thu Oct 20 18:01:09 2016 UTC and is due to finish in 60 minutes. The chair is SumitNaiksatam. Information about MeetBot at http://wiki.debian.org/MeetBot. 18:01:11 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 18:01:12 hi 18:01:13 SumitNaiksatam: hi! 18:01:14 The meeting name has been set to 'networking_policy' 18:01:18 hi 18:01:26 hi 18:01:35 #info agenda https://wiki.openstack.org/wiki/Meetings/GroupBasedPolicy#Oct_20th_2016 18:02:00 any critical bugs or standing items we need to discuss before we get into the NFP patches? 18:02:01 hi 18:02:28 #topic NFP Pending reviews 18:02:38 #link https://review.openstack.org/#/q/topic:bp/gbp-network-services-framework+status:open 18:03:00 so before we get to those, i wanted to check on the progress for fixing the NFP gate job 18:03:08 it still seems to be failing intermittently 18:03:16 jagadish: how are we doing on that? 18:04:03 or may be hemanthravi? 18:04:04 The gate passes on the top most change set which is https://review.openstack.org/#/c/359883/57 18:04:20 jagadish: ah okay, nice 18:04:42 jagadish: ashutosh: are all the comments from subra addressed 18:04:44 It fails on the bottom change sets because of a dependency of nfp.ini file 18:04:52 jagadish: that should be fine 18:05:05 jagadish: i have just rechecked, to see if it passes consistently 18:05:15 jagadish: hemanthravi’s question ^^^ 18:05:37 hemanth: Yes. we are in the process of addressing them. Should be done in a day 18:05:50 jagadish: okay, good 18:06:26 jagadish: so for the benefit of the rest of the team, can you please let us know what was the reason for the NFP job failures? 18:06:37 SumitNaiksatam: once jagadish and ashutosh are done addressing these subra and i'll review and +2 these 18:07:15 hemanthravi: okay, for the benefit of the team, i would like to spend a few minutes discussing here what is going into the patches 18:07:32 SumitNaiksatam: The old configuration files are unified to make a single ini. These files are deleted in the bottom change set and hence the failure. 18:08:03 jagadish: however the failure is seen on other patches which are not part of this change too 18:08:28 SumitNaiksatam: The unified ini file is added on the top most changeset 18:09:07 jagadish: yeah, but i am talking about other GBP patches which are not related to NFP or this chaing of patches which keep intermittently keep failing the NFP job 18:09:42 jagadish: so far we have been ignoring the failiure and merging the patches, however its pointless to have the job if we cannot use it 18:09:51 jagadish: a few weeks back OSM had explained it had to do with something transient in the NFP, i dont recall though 18:10:29 jagadish: for instance, check this patch #link https://review.openstack.org/#/c/384282/ 18:10:37 SumitNaiksatam: The gate failed few days back because of old patch number in local.conf.nfp file. After fixing it with latest patch number, it started working 18:10:53 jagadish: see the patch above, its not related to NFP 18:11:30 SumitNaiksatam: Right. This is not related to NFP but still fails 18:11:39 jagadish: all the exercise scripts are failing 18:12:07 SumitNaiksatam: Need to look at this to find out the reason for failure 18:12:39 jagadish: okay, this has been happening for a few weeks now, and OSM had mentioned that someone was looking into this 18:13:06 anyway, jagadish, ashutosh: lets try to this week at the earliest 18:13:27 perhaps your new patches fix this anyway, but lets confirm that 18:13:44 SumitNaiksatam: Sure. We will take a look at this. 18:13:48 jagadish: thanks 18:14:03 other than that, can you please provide a quick summary of what each patch is doing 18:14:36 most of them talk about enhancements and some patches are really very big to be able to review without a context 18:14:48 it will help if you can set some context here for the team 18:15:11 SumitNaiksatam: Ok. I will start from bottom most changeset and go towards the top one 18:15:26 jagadish: yes, perfect 18:15:35 SumitNaiksatam: https://review.openstack.org/#/c/359856/21 18:16:18 SumitNaiksatam: Configuration is read from single ini file instead of multiple files 18:16:47 jagadish: okay, this touches the initial framework which ahmed had added, right? 18:16:49 and the core is enhanced to load the modules from multiple paths 18:16:53 yes 18:17:04 SumitNaiksatam: yes 18:17:04 jagadish: okay, so this is not touching any of the queueing stuff 18:17:33 oh wait, i do see changes to the worker 18:17:50 another change is to post an event to specific module 18:18:55 ah okay, so that’s the worker change 18:19:02 This is where the events are sent by specifying the module name 18:19:32 yes 18:19:51 this change spans to worker, event and other files 18:20:13 consolidating the conf files is a very good thing in my opinion 18:20:34 okay, so next one #link https://review.openstack.org/#/c/359862 18:20:36 ok 18:21:10 The next one has all the changes related to orchestrator 18:21:36 A configuration for supported vendors has been added 18:21:42 what is the “delete path opimizations”? 18:22:33 delete path optimizations used where we are going in parallel paths to optimize delete path 18:23:00 For ex device config deletion and user config deletions are going in parallel path to optimize it 18:23:34 ashutosh: ah okay, so you are introducing optimiation in how the delete is being processed 18:23:40 i was reading it all wrong 18:24:15 jagadish: where is this “supported_vendors” config defined? 18:24:18 To add to what ashutosh mentioned, it processes the events in delete path in parallel 18:24:25 Initially we were doing it in serialized way where device deletion happening before user config deletion 18:24:33 ashutosh: uses different worker processes to do send these request concurrently to over the cloud, right? 18:24:49 yes 18:24:54 SumitNaiksatam: The supported vendors configuration is provided in the nfp.ini file 18:25:25 hmmm, but thats not part of this change 18:25:43 you would be defining the config elements in this change, no? 18:26:20 This nfp.ini is submitted in topmost change set 18:26:55 jagadish: okay, but soemwhere in your code you would need to define and “read” that config, right? 18:26:59 i am trying to look for that 18:27:04 https://review.openstack.org/#/c/359883/57/gbpservice/nfp/bin/nfp.ini 18:27:18 Corresponding config is present in orchestrator/modules/__init__.py file 18:27:40 ashutosh: got it, i wasnt looking at the init file 18:28:08 and you are using the __init__ because you want to get loaded right at the beginning? 18:28:10 SumitNaiksatam: The supported_vendors configuration parameter is there at line number 14 in https://review.openstack.org/#/c/359883/57/gbpservice/nfp/bin/nfp.ini 18:28:19 Reading is done at https://review.openstack.org/#/c/359862/22/gbpservice/nfp/orchestrator/modules/service_orchestrator.py@721 18:28:54 Yes all this are the basic parameters which nfp orchestrator component is going to use 18:29:00 jagadish: ashutosh: okay 18:29:15 the supported vendors list does not have lbaasv1? 18:29:29 of thats haproxy, i guess 18:29:52 Both lbaasv1 and v2 are with haproxy vendor 18:30:02 SumitNaiksatam: Yes 18:30:13 there seem to be a lot of magic numbers in constants.py 18:30:40 those have been derived emperically? 18:30:55 SumitNaiksatam: These are added for various timeout values 18:31:09 They are derived based on the testing done 18:31:16 jagadish: okay 18:31:33 jagadish: so none of this needs to change based on the scale of a deployment? 18:31:52 especially L116-117 18:32:09 SumitNaiksatam: These might need to be changed based on the scale of a deployment 18:32:20 So, we need to make these configurable in future 18:32:25 jagadish: so may be helpful to read from config 18:32:26 yeah 18:32:58 A REVISIT will be added for these in current patches 18:33:43 jagadish: hmmm, seems like a small enough change to make it config driven, no? 18:33:50 i will leave it to you 18:33:58 next patch #link https://review.openstack.org/#/c/359864 18:34:44 SumitNaiksatam: This change set has proxy, config orchestrator and node driver changes 18:35:09 jagadish: what is the context of the change to support fw+vpn chain? 18:35:12 Primarily has the delete path optimization changes 18:35:56 okay 18:36:48 In Fw+vpn chain, as we depends on gateway ports which plumber provides, we need to use same gateway ports for both fw, vpn 18:37:00 And there are fixes related to vpn service 18:37:21 ashutosh: jagadish: okay 18:37:42 For VPN, we eliminated some unnecessary data to be sent from under the cloud to over the cloud 18:37:49 jagadish: okay 18:38:06 so the UTs did not need to be updated to reflect these changes? 18:39:16 Some fields in the dict have been removed. So, no UT change is needed here 18:39:26 the functional arguments remain same 18:39:48 jagadish: okay 18:40:06 next patch #link https://review.openstack.org/#/c/359873 18:40:36 The next patch changes are related to controller, over the cloud 18:41:29 Primary changes are (1) fixed the issue of losing the RPC messages when controller restarts 18:41:50 and (2) Update API support for firewall and LB 18:42:13 jagadish: what is “ pika RPC library”? 18:43:00 This is a AMQP messaging library 18:43:49 okay 18:44:00 We have preferred this as the oslo library will not provide flexibility to get the messages synchronously from the RPC queues 18:44:09 okay 18:44:21 but how will this library get installed? 18:44:38 i dont see any requirements dependency mentioned 18:44:49 This is needed inside the controller VM 18:44:57 So, gets built along with it 18:45:01 ah okay 18:45:08 in this patch, where is it being used? 18:45:28 Let me get that 18:45:52 https://review.openstack.org/#/c/359873/47/gbpservice/contrib/nfp/configurator/advanced_controller/controller.py@20 18:46:10 https://review.openstack.org/#/c/359873/47/gbpservice/contrib/nfp/configurator/advanced_controller/controller.py 18:46:30 ashutosh: jagadish thanks for the pointer 18:46:59 so pardon my ignorance but how does the VM automatically get this library? 18:47:17 or for that matter any other packages that the configurator VM needs 18:47:38 When the controller VM is built, this package is installed inside the image 18:47:51 SumitNaiksatam: yes 18:48:05 This is like any other package that configurator needs 18:48:21 sorry, controller, not configurator 18:48:28 From the above devstack patch - https://review.openstack.org/#/c/359883/57/gbpservice/contrib/nfp/tools/image_builder/Dockerfile@23 18:48:31 jagadish: right, i am just trying to understand where its being captured 18:48:51 it is specified in DockerFile 18:49:00 ashutosh: aha, got it 18:49:01 ashutosh: this is part of the disk image builder scripts? 18:49:06 yes 18:49:08 SumitNaiksatam: Yes 18:49:53 ashutosh: jagadish: since the dockerfile is already present, from a code sanity perspective it would have been good to make the update to add pika in this patch itself 18:50:28 you are adding it in the last patch in the chain 18:50:59 SumitNaiksatam: Ok. We added it in top most change set as it is related to the build. 18:51:06 not a big deal in this case since no one is going to deploy until all patches are merged in this chain 18:51:08 SumitNaiksatam, Actually we grouped changes w.r.t components wise 18:51:22 but these kind of things make it easier to review 18:51:30 thanks for the clarification 18:51:36 SumitNaiksatam: Sure. We will do this from next time. 18:52:04 SumitNaiksatam, Sure, From next time, we are planning to have fetaure wise patches instead of components wise patches 18:52:05 what is HM in “Loadbalancer - HM and pool resources” 18:52:47 HM stands for Health Monitoring 18:52:49 HM stands for Health Monitor used to monitor pool members status 18:53:08 ah okay 18:53:21 hadnt seen that acronym before but should have guessed 18:53:39 next patch #link https://review.openstack.org/#/c/359876 18:53:58 so this is a monster patch 18:54:23 This one is for LBaasV2 support 18:54:54 are we duplicating octavia code here? 18:55:07 and why? 18:55:57 I think, it was reused here 18:56:30 But, need to check why this cannot be used directly from octavia repo 18:57:07 hemanthravi: had you looked at this patch? 18:57:16 SumitNaiksatam: octavia being reused but in over the cloud controller to talk to the lb vms 18:57:47 i can understand the monkey patching to the plugin, and things like that 18:58:15 but i want to be careful that we dont copy-paste entire modules 18:58:51 octavia code is not in the patch, the package is installed in over the cloud controller 18:58:53 and a lot of code in this patch seems to be like that 18:59:54 hemanthravi: seems like a lot of code under gbpservice/contrib/nfp/configurator/drivers/loadbalancer/v2/haproxy has been sourced from somewhere else 19:01:02 okay its time to end the meeting 19:01:11 jagadish: ashutosh: thanks for staying up 19:01:32 i'll check on the haproxy octavia dirver 19:01:34 please take a look at the above patch and remove any gratitous duplication 19:01:37 hemanthravi: thanks 19:01:42 SumitNaiksatam: Thanks 19:01:43 thanks all for joining 19:01:47 bye 19:01:48 SumitNaiksatam, thanks for suggestions/ques, we'll address it 19:01:52 #endmeeting