15:30:16 #startmeeting Performance Team 15:30:17 Meeting started Tue Nov 28 15:30:16 2017 UTC and is due to finish in 60 minutes. The chair is DinaBelova. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:30:19 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:30:21 The meeting name has been set to 'performance_team' 15:30:30 hello tovin07 o/ 15:30:38 hello DinaBelova 15:30:58 sorry for being absent last time 15:31:14 it was a bit unexpected + no internet access :D 15:31:34 oh, that's sad 15:32:14 so i was unable to chair the meeting 15:32:25 okay, let's wait for a few moments 15:32:30 if someone will join 15:32:36 ilyashakhat o/ 15:33:09 msimonin1 o/ 15:33:37 hm, it looks like none is here :) 15:33:50 #topic Action Items 15:34:11 last time we did not have any action items, so i'm just skipping this section 15:34:16 #topic Current status 15:34:24 tovin07 the floor is yours :) 15:34:33 yes 15:34:40 last time 15:35:04 I had a lightning talk in Sydney 15:35:10 really short :D 15:35:33 just mirror the link here 15:35:39 how it was? 15:35:54 #link OSprofiler ft. OpenTracing https://www.openstack.org/videos/sydney-2017/openstack-osprofiler-ft-cncf-opentracing-distributed-tracing-from-cloud-through-container 15:36:08 I think it is good 15:36:21 very good :) 15:36:55 however, there were a few people attended it (because of the end of the day) 15:37:03 hi mis 15:37:15 hi msimonin 15:37:19 hi all 15:37:22 sorry I'm late 15:37:26 np 15:37:43 msimonin o/ 15:37:47 I just realize I was also one hour late last time :) 15:37:52 and, last week, I focus on filter error traces 15:38:04 tovin07 good to know 15:38:09 this week, in Vietnam, we have an OpenStack meetup 15:38:26 from my side I promise to go through osprofiler review queue 15:38:27 I am an organizer of OpenStack community in Vietnam 15:38:47 * tovin07 is preparing slide for the meetup 15:39:02 tovin07 wow, so this is big event fro you :) 15:39:25 thanks DinaBelova 15:39:46 tanks tovin07 for the update 15:39:47 OpenStack community in Vietnam is a little bit small for now 15:39:57 for the review queue 15:40:42 I saw only one new patch from Omer https://review.openstack.org/#/c/521385/ 15:41:14 that's all from my side for now 15:41:17 tovin07 yeah, it looks like you're right 15:41:20 thanks tovin07 15:41:29 msimonin the word goes to you :) 15:41:32 msimonin do you have any update? 15:41:49 yes 15:42:08 So first of all, if you got and review https://review.openstack.org/#/c/491818 15:42:17 if you could go* 15:42:33 I think it's in good shape now 15:42:38 sure, I was doing it several times already 15:42:39 :D 15:42:40 :) 15:43:01 it looked good for me even previously 15:43:02 Yes I saw it, thanks 15:43:02 lemme review it again 15:43:14 does it need 2 +2 ? 15:43:20 to get merged 15:43:51 yes, Ill review it and get mrged 15:44:00 great, thanks :) 15:44:27 So 15:44:54 Beside that we are making progresses on the implementation of this test case 15:45:15 In parallel I've checked how to enable osprofiler in oslo.messaging directly 15:45:29 msimonin you promised to give first results soon some time ago :D 15:45:36 when can we expect them? :) 15:46:02 you got me ! 15:46:12 ;) 15:46:45 There are several test_case in the review, we are implementing one after another 15:46:58 and each test case requires different communication middleware 15:47:19 And, well (hum hum) it takes more time than I expected 15:47:28 it's ok 15:47:32 thanks for the update 15:47:46 So I a mentionned osprofiler in oslo.messaging 15:47:49 okay, going back to the osprofiler in oslo.messaging 15:47:50 yeah 15:47:51 :D 15:47:54 Ok :) 15:47:57 please go ahead 15:48:17 So adding the decorator in some places in oslo.messaging seems ok so far 15:49:17 But I'm not sure how to move forward on this 15:50:04 if it something people need, we probably need to define what we expect more precisely by putting the probe in oslo library 15:50:15 well, this is what tovin07 mentioned last time - this approach seem to be temporary for some testing needs 15:50:31 we need to find some better approach for permanent solution 15:51:05 I don't get your point :) 15:51:59 well, adding decorators to oslo.messaging directly might not be an option we can support 15:52:31 but it's good for quick solution - that's all i'm saying 15:53:03 it might be a god idea to contact oslo.messaging community though 15:53:05 hm 15:53:15 i think tovin07 you did it already? 15:53:27 or am I messing this things? 15:53:35 hmm 15:53:39 hmm :) 15:54:07 I think that we should contact oslo.messaging for this idea 15:54:23 okay, so i'm just imagining things 15:54:32 :D 15:55:01 msimonin can you go further and contact oslo.messaging team and propose this to them? 15:55:02 to see their response? 15:55:09 I can do that 15:55:52 msimonin ack 15:55:52 While working on this last time 15:56:07 I raised two 'issues' with osprofiler 15:56:14 wow 15:56:22 #action msimonin contact oslo.messaging team and propose them direct osprofiler integration to the library 15:56:33 shoot 15:56:59 The first is related to the devstack/cell deployment : https://bugs.launchpad.net/osprofiler/+bug/1731856 15:56:59 Launchpad bug 1731856 in osprofiler "[devstack plugin]cells1 conductor config file isn't modified by the plugin" [Undecided,New] 15:57:45 this one is fine, but I prefer the second one :) 15:58:02 this one : https://bugs.launchpad.net/osprofiler/+bug/1731864 15:58:02 Launchpad bug 1731864 in osprofiler "class decorator isn't enabled in nova for some service" [Undecided,Confirmed] 15:58:26 looking 15:59:48 I narrow down a bit deeper the second one #1731864 16:00:00 okay, it looks like ilyashakhat has started looking to this issue 16:00:18 yes but I think our interpretation diverged a bit 16:01:01 tovin07 can you please take a look on it as well? 16:01:11 yes 16:01:12 wure 16:01:14 sure 16:01:48 #action tovin07 take a look on https://bugs.launchpad.net/osprofiler/+bug/1731864 and try to find out the root cause 16:01:48 Launchpad bug 1731864 in osprofiler "class decorator isn't enabled in nova for some service" [Undecided,Confirmed] 16:02:31 okay, thank you msimonin 16:02:43 tovin07: I can share a quick/dirty fix 16:03:05 please publish it somewhere :D 16:03:34 If I remember correctly 16:03:53 In nova the class decorator is wrapped 16:04:07 the wrapper test wheter osprofiler is enabled 16:04:18 if it's enabled it will patch the method 16:04:35 But this is done at import time which is wrong 16:04:59 to do it at runtime (when the conf is populated) we should patch the class in a lazy manner 16:05:06 yes 16:05:19 exactly 16:05:21 to do so, my feeling is that we should go with a metaclass 16:05:25 https://github.com/openstack/osprofiler/blob/d741bffc3677cfa52a911a91558a97d5451b98db/osprofiler/profiler.py#L290-L316 16:05:37 and move that above code in the __call__ method 16:05:57 so the class is patched when an instance is actually built 16:06:57 that's my intuition 16:07:05 thanks msimonin 16:07:44 (sorry for the late response) -- I agree, the current code in Nova looks strange 16:07:44 thanks msimonin for this idea 16:08:04 but I read comments to patch set and such implementation was intentional 16:08:22 hi ilyashakhat 16:08:30 cause they afraid to keep osprofiler always in the code path 16:09:16 yes I guess this was the intention, not patching the methos if osprofiler isn't enabled 16:09:23 methods* 16:10:39 yes, that's intentional 16:10:52 only patch method when osprofiler is enabled 16:10:55 sure 16:11:23 but the point is, even if osprofiler is enabled some methods won't get patched 16:11:40 yup 16:11:44 agree 16:12:10 especially some methods in modules that loaded before oslo.config read the config file 16:12:33 okay, tovin07 - please try to take a look on this as well 16:12:40 tovin07: yes everything that is evaluated before that 16:12:48 is this behavior only in Nova? 16:13:00 or, sometimes it will be a circular import if I want to work around 16:13:01 it looks like we have enough intro information 16:13:22 I think this problem may appear in other project as well 16:13:23 ilyashakhat: honnestly I didn't check 16:13:51 I just realized it because I had trace points from oslo.messaging and not from nova rpcapi 16:14:58 Some meeting ago I had a question for you ilyashakhat, regarding os-fault 16:15:24 it was on meeting that I missed 16:15:33 what was the question? 16:16:00 It was about the license of os-fault 16:16:13 it's apache2 licence 16:16:25 but import some ansible (gplv3) code 16:16:27 yes, it's tricky question cause it links directly with ansible 16:16:31 yes 16:16:32 :) 16:17:47 don't know how to deal with that... make executor module pluggable could help 16:18:54 yes probably 16:19:05 nevermind I was just curious 16:19:18 while we have a pause i'll switch to open discussions 16:19:23 #topic Open Discussion 16:19:33 anything else to cover folks? 16:19:37 tovin07 ilyashakhat msimonin ? 16:19:43 Any chance we meet in PTG ? 16:19:48 let's discuss testing 16:20:14 msimonin maybe a really small chance that I can go 16:20:36 msimonin not sure from my side, too many factors influencing 16:20:52 probably may try to request.. but need strong agenda 16:21:01 ilyashakhat shoot ;) 16:21:17 something besides Guiness :) 16:21:49 ilyashakhat: guiness not strong enough :) 16:23:12 ... and coming back to testing - would be nice to have an integration job running with osprofiler enabled 16:23:36 no objections from my side :) 16:24:08 on each project ? 16:24:29 but there're 2 questions: what driver to use (ceilometerclient will be retired soon) and do we need to patch tempest for this? 16:25:02 i fuess pure mongodb driver is a good option 16:25:05 ideally would be nice to see that we have traces from every projects 16:25:33 as for the the tempest - no idea, it might be a chance it'll be needed 16:25:34 mongo or redis would be good choice 16:25:48 DinaBelova, there was a recent email about removing mongodb from RDO... 16:26:04 so I'd vote for redis 16:26:10 ilyashakhat well, then redis (as tovin07 proposed) 16:26:14 ilyashakhat can you give the link? 16:26:52 tovin07, http://lists.openstack.org/pipermail/openstack-operators/2017-November/014608.html 16:27:04 thanks ilyashakhat 16:27:13 (if I understood it correctly) 16:28:05 ok, then I will update https://review.openstack.org/#/c/515108/ with Redis 16:28:16 functional job would be a good start 16:29:17 ilyashakhat thank you sir 16:29:25 okay, we're running out of time folks 16:29:34 thanks msimonin tovin07 ilyashakhat for participating 16:29:34 first time in history! 16:29:40 thank you :) 16:29:41 not first :D 16:29:43 but rarely 16:29:45 true 16:29:46 :D 16:29:54 thank you folks 16:29:55 #endmeeting