22:14:58 #startmeeting neutron_drivers 22:14:59 Meeting started Thu Aug 11 22:14:58 2016 UTC and is due to finish in 60 minutes. The chair is armax. Information about MeetBot at http://wiki.debian.org/MeetBot. 22:15:00 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 22:15:02 The meeting name has been set to 'neutron_drivers' 22:15:13 \o/ 22:17:55 HenryG, kevinbenton: so where do we go from here 22:17:55 ? 22:18:30 HenryG, armax: I think it will get done a lot quicker if we use the context managers 22:18:46 I hope so, let's try that 22:18:47 using the decorators means the whole function has to be 'PRECOMMIT' so-to-speak 22:18:51 kevinbenton: it depends if that’s what zzzeek was proposing? 22:18:56 which means every one requires a refactor 22:19:24 armax: well the difference between the context manager and the decorator is just syntax 22:19:27 kevinbenton: yes, that’s something I questioned 22:19:33 they both use the new reader/writer thingy 22:19:44 so we still get the advantages of that 22:20:14 I don't know if zzzeek new how many of our methods do things after commiting before they return 22:20:21 *knew 22:20:35 yeah, or did things before teh transaction started 22:20:41 right 22:20:55 HenryG: I suppose this was investigation required before starting this endeavor 22:21:35 but really the difference between the decorator vs the context manager is just syntactic sugar 22:21:44 armax: Yeah, my bad 22:21:47 the important thing is switching to the new facade 22:22:13 I'll also check with Ann how much time she has to work on the BP. We may need to assign additional people. 22:22:25 I see two chunks of work here 22:22:40 switching to the facade, and revising the DB interactions throught the codebase, if required 22:22:45 have we done the former? 22:22:49 yes 22:22:58 ok, great 22:23:05 no though we must leverage it 22:23:09 fully 22:23:10 correct? 22:23:13 right 22:23:16 sweet 22:23:42 as for the way we leverage it we can either go with what kevinbenton is suggesting 22:23:43 There was a bump due to incorporating osprofiler 22:23:45 which seems less invasive 22:24:02 or go with what zzeeek was suggesting, which is more invasive? 22:24:40 it requires refactoring, yes 22:24:45 can we come up with a plan in time for the mid-cycle so that we can pull this off by the end of next week? Is it achievable? 22:24:48 there is almost no benefit to using the decorator instead of the manager. the only thing i can see is that it makes it a little easier to reason about a function being entirely enclosed in a transaction 22:25:26 so even if we could do the decorator really quickly, i would be against it this late in the cycle due to all of the code churn it will cause 22:25:54 the "plan" would be 'search and replace' using the context manager 22:25:59 kevinbenton: we can’t simply apply the decorator blindly though, can we? 22:26:00 HenryG: +1 22:26:06 armax: that's my point 22:26:16 armax: decorator we can't apply without thinking and refactoring 22:26:21 kevinbenton: right, that goes back to the refactoring need, which is a mess 22:26:23 armax: context manager we pretty much can 22:26:28 ack 22:26:42 do we lose any benefit if we used the context manager based approver over decorators? 22:26:52 then we can still make a mandate that new junk uses the decorator 22:26:57 can the two co-exist? 22:27:02 no different 22:27:11 they are just different entry points into the same class 22:27:14 i looked into it 22:27:16 Using the decorator forces a cleaner transaction design IMO 22:27:37 right, so if it’s cleaner/more readable to use the decorator then we can suggest using it during code review 22:27:45 and apply it where it’s easier to do so 22:27:51 agreed 22:27:56 it's two different efforts 22:28:04 ie. the whole method is easily wrappable 22:28:33 that becomes difficult when we want to emit PRECOMMIT and AFTER events 22:28:47 kevinbenton: understood 22:28:48 just have to break things down into more functions i suppose 22:28:54 correct 22:29:02 ack 22:29:05 we can apply this ad hoc 22:29:23 and going forward we can keep an eye on suggesting to use the decorator-based approach where it makes sense 22:29:41 for now, we should switch to the new facade everywhere where it’s needed 22:29:43 and be done with it 22:29:52 I think we agree 22:29:57 going forward we can go piecemeal 22:30:17 between a little review attention and janitorial duties in cleaning up the code slowly 22:30:25 as low-hanging-fruit type of an effort 22:30:32 aye aye? 22:30:39 yes sir! 22:31:08 ++ 22:31:18 HenryG: please capture this on the blueprint/bug, I am going to have you take a written test next week 22:31:29 see if you can get an A 22:31:34 :) 22:31:37 :) 22:31:58 ok, let’s continue drilling/interrogating HenryG 22:32:14 blueprint keystone-v3 22:32:51 where’s our API compat layer shim patch? 22:32:55 show me the money! 22:33:27 We have tenant_id rename cleanups to do, and API update. 22:33:47 I have started on the former, and dasm is preparing the latter. 22:34:25 dasm: any update on the progress? 22:34:43 i talked to blogan about ideas how to implement api change. 22:35:02 although it's not baked yet 22:35:13 ok 22:35:30 i have couple ideas and will prepare it asap 22:35:41 dasm: ack 22:35:48 can you give us an ETA? 22:36:12 is it something we can look at next week you reckon? 22:36:20 i hope 22:36:44 will try to do this till EOD Tuesday 22:37:09 dasm: ok, if there’s anything we can do, a shoulder to cry on…or anything else give us a shout 22:37:15 :) 22:37:26 armax: shoulder is nice :) will remember, thanks 22:37:38 dasm: I can bring candies too 22:37:45 dasm: sugar helps 22:38:00 :) let's leave it for midcycle 22:38:06 deal 22:38:11 dasm: whatever you have, we can accelerate on it in person in Cork 22:38:24 linux bridge job is busted!?!? stop the press! 22:38:38 kevinbenton: fix is in the works 22:38:49 kevinbenton: YES 22:38:57 it’s a nova issue 22:39:08 os-vif actually 22:39:20 https://review.openstack.org/#/c/354402/ 22:39:28 sorry for meeting hijack :) 22:39:29 https://review.openstack.org/#/c/354143/ 22:39:35 HenryG: you stand corrected :) 22:39:56 but yeah I can lean towards your statement ;) 22:40:06 ok let’s move on 22:40:33 HenryG: you can relax now 22:40:53 I was never unrelaxed :) 22:41:18 I thought my inquisitive tone was scary 22:41:22 I should practice more 22:41:38 (so we're waiting on os-vif release?) 22:42:08 kevinbenton: stop! 22:42:16 kevinbenton: actually I summon you now 22:42:21 blueprint push-notifications 22:42:56 ihar and the ovo folks are trying to get the bare minimum objects required for this work so i can at least send OVO's over the wire 22:43:08 ihar mentioned some ovo patches in preparation of some RPC work required 22:43:32 gonna sync up with him at the midcycle to make sure i have everything i need 22:43:35 you mean ports, networks, and the likes? 22:43:39 yep 22:43:55 without that you’re dead in the water? 22:44:17 how far off are we? 22:44:18 well either that or we have to send unversioned dicts over the wire 22:44:28 and figure out a backward compatibility plan 22:44:41 which may be, send the API representation 22:44:50 but that's plan B 22:44:53 ok 22:45:02 sounds like the plan going forward will be finalized in the mid cycle anyway 22:45:05 yep 22:45:06 how close are get you unblocked? 22:45:16 need to review the latest stuff before i can tell 22:45:21 ok 22:45:36 kevinbenton: can I kindly and humbly ask you to update the whiteboard when you do? 22:45:49 armax: sure 22:45:56 armax: you can certainly ask 22:46:01 that doesn’t sound convincing 22:46:05 um 22:46:28 kevinbenton: you also promised me something to review as far as l3-flavors goes 22:46:58 kevinbenton: because of you I am spending most of my days looking at en empty gerrit queue, I have nothing to review! 22:47:17 armax: it's because i spend so much time re-reviewing these vlan-aware-vm patches from you :) 22:47:42 kevinbenton: cheap shot 22:47:59 kevinbenton: truth is, you spend too much time fixing the bugs you introduce with your bug fixes 22:48:05 kevinbenton: there! 22:48:08 top that! 22:48:12 *shots fired* 22:48:16 :) 22:48:28 where is dougwig? 22:48:38 Getting hot on here. 22:48:42 he’s on PTO somewhere in the world 22:49:28 kevinbenton: ok, I’ll harass you offline 22:49:29 armax: i have no l3-flavors for you today 22:49:47 armax: i stepped on a landmine in the quota code that salv left for us :) 22:49:49 He is in glacier park... 22:50:06 i'll be in glacier the week after the mid-cycle! 22:50:10 we should have coordinated 22:50:33 kevinbenton: ok, let me understand the blast radius and we’ll come up with a remedy plan 22:51:02 armax: only a very unlikely unit test failure. nothing bad 22:51:28 kevinbenton: when do you learn that my heart is weak and you should measure the words you use? 22:51:48 armax: i didn't say it was the hindenburg! 22:52:06 armax: next topic! derailed 22:52:12 ok 22:52:18 amuller: you’re summoned 22:52:34 blueprint troubleshooting 22:52:43 I talked to Hynek today 22:52:45 I owe you an answer on the spec, I’ll get it to you 22:52:54 there's some sticking points on the spec he didn't really know how to answer 22:53:15 I think some of the discussions there are kind of abstract, so I suggested he will retort with concrete examples so the discussion can be more fruitful 22:53:21 do you have time tomorrow to go over them together? 22:53:35 yes 22:53:45 amuller: I appreciate this is a tough nut to crack 22:53:53 yeah it's surprisingly complicated 22:54:02 I'd appreciate it if other folks could chime in on the spec also 22:54:14 it's largely been the Armando show 22:54:30 I can read it tonight. 22:54:50 #link https://review.openstack.org/#/c/308973/ 22:54:56 my general concern is that the level of sophistication he’s aiming for is too high 22:54:56 Did I do it wrong? :) 22:55:06 amuller: you did splendily 22:55:10 splendidly 22:56:23 ok, amuller hit me tomorrow 22:56:27 armax: ack 22:56:28 figuratively speaking 22:56:53 heeh 22:57:01 ok, let’s get 4 minutes back 22:57:04 3 now 22:57:14 Bye 22:57:32 thanks everyone who helped us painting a fresh picture of how messy our sausage making process is 22:57:38 #endmeeting