15:59:42 #startmeeting oslo 15:59:42 courtesy ping for GheRivero, amotoki, amrith, bknudson, bnemec, dansmith, dhellmann, dougwig, e0ne, flaper87, garyk, harlowja, haypo, 15:59:42 Meeting started Mon Dec 14 15:59:42 2015 UTC and is due to finish in 60 minutes. The chair is dims. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:59:43 courtesy ping for ihrachyshka, jd__, jecarey, johnsom, jungleboyj, kgiusti, kragniz, lifeless, lintan, ozamiatin, redrobot, rpodolyaka, spamaps 15:59:43 courtesy ping for sergmelikyan, sreshetnyak, sileht, sreshetnyak, stevemar, therve, thinrichs, toabctl, viktors, zhiyan, zzzeek, gcb 15:59:44 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:59:47 The meeting name has been set to 'oslo' 15:59:49 ohai 15:59:51 hi 15:59:56 o/ 15:59:57 o/ 16:00:00 o/ 16:00:01 o/ 16:00:04 o/ 16:00:21 hello oslo 16:00:26 o/ 16:00:32 good morning/afternoon/evening/night - johnsom lxsli bknudson gcb sileht rbradfor kgiusti haypo ozamiatin 16:00:38 maybe we can say hoslo for hello 16:00:47 haha 16:00:57 ha 16:01:09 #topic Red flags for/from liaisons 16:01:19 none for keystone 16:01:29 None from LBaaS land 16:01:55 the grenade job for kilo->liberty should be green now. had to fix oslo.middleware to put back oslo namespace stuff 16:02:02 thanks bknudson johnsom 16:02:16 hi 16:02:25 bknudson : did any of the other projects adopt the way keystone does tests for deprecated stuff yet? 16:02:28 hi bogdando 16:02:43 dims: I haven't seen anything 16:03:00 FYI i'm the assigned liaison for nova, but i'm not working on nova anymore 16:03:07 maybe nova needs a new liaison? 16:03:15 haypo : ack, can you please tell Nova PTL? 16:03:25 dims: right, will do 16:03:35 haypo : thanks for the heads up 16:03:37 #topic Releases for Mitaka 16:03:45 Does anyone need releases today? please file reviews in openstack/releases repo. 16:04:29 dims: i will need a release of oslo.service for liberty 16:04:44 dims: is it possible to get it for next week? the required change is not merged yet :-D 16:05:06 haypo : y just file a review when ready 16:05:13 #topic New Spec Review 16:05:28 bogdando : can you please introduce this 16:05:30 #link https://review.openstack.org/256342 (Add a spec for a work queue messaging pattern) 16:05:48 sileht : around? 16:05:59 dims: a review for the releases repo, right? (FYI the fix is https://review.openstack.org/#/c/256443/ a regression in signal handler, a race condition) 16:06:00 this spec is logical continuation of numerous openstack-dev ML topics 16:06:11 dims, yes 16:06:35 sileht : bogdando : sounds like a new parallel API to me, right? 16:06:59 it is not clear what and how we already have implemented for worq-queue pattern in Oslo messaging 16:07:16 bogdando : right all we know is that we can't break anyone :) 16:07:26 yes, this is supposed to became so. But alternatives assume to figure out and rework the current state 16:07:53 sileht : prefer a fresh start here, right? 16:08:09 given the troubles we had enforcing the current API 16:08:19 (sequence of calls) 16:08:42 main points are clearly defined claims and failure modes 16:08:59 and hopefully new API docs... 16:09:01 It's still unclear for me what we will add to oslo.messaging (I haven't yet read the latest patchset of this afternoon) 16:09:26 WorkQueue API 16:10:05 and I added new alt, "use celery and touch nothing please" 16:10:13 lol 16:10:22 haha 16:10:41 * dims googles for "work queue api" 16:11:06 ok let's continue discussion on the spec itself. thanks bogdando 16:11:11 #link https://review.openstack.org/#/c/256431/ (Support RBAC with LDAP in oslo.policy) 16:11:26 is anyone here for this spec? 16:11:50 bknudson, stevemar : wanted to catch your eye ^^ 16:12:03 not sure how it lines up with the dynamic policy work 16:12:15 there is no dynamic policy work. 16:12:33 what do you think about putting this in keystone-specs ? 16:12:45 bknudson : deep sixed 16:13:15 bknudson : what happened to the work? 16:13:25 "dynamic policy work"? 16:13:35 dims: dynamic policy was abandoned 16:13:51 we don't have any bps in m for dynamic policy. 16:14:01 bknudson : interesting thanks. please leave a note on that review to move to keystone-specs 16:14:08 bknudson: what are the "operations" managed in LDAP? 16:14:27 haypo: I don't know what operations means? 16:14:32 bknudson: who is responsible to handle these permissions on these operations? oslo.policy or keystone? 16:14:37 dims: bknudson is it really related to dynamic policy? 16:14:49 the work is in oslo.policy. 16:14:55 bknudson: https://review.openstack.org/#/c/256431/7/specs/mitaka/ldap-rbac.rst : "Permission is which ROLE can do OPERATION with OBJECT" 16:14:58 I don't think oslo.policy should be an oslo project and belongs in keystone 16:15:15 the operation is like "list users" "boot instance" 16:15:23 stevemar : bknudson the source of the information in policy.json picked up "dynamically" from another source? 16:15:28 not policy.json 16:15:36 dims: gotcha 16:15:52 bknudson: i'm replying to "what do you think about putting this in keystone-specs ?" 16:16:05 bknudson : +2A to move it 16:16:35 dims: but like bknudson said, we abandoned it. not enough of a need from operators to have the work done 16:17:05 bknudson: you want to move the spec, or the whole oslo.policy, inside keystone? i don't understand :-/ 16:17:07 stevemar : so this seems like a light-weight alternative 16:17:26 haypo : let's stick to the spec for now :) 16:17:26 haypo: I want to move the whole oslo.policy to keystone 16:17:54 bknudson: oh ok. so yes, it makes sense to move the spec 16:17:56 bknudson : do you envision a rename? 16:18:10 dims: i hope not :P 16:18:12 I don't think renaming the library is worth it 16:18:13 maybe we need another to move oslo.policy inside keystone? :) 16:18:26 another spec* 16:19:07 bknudson : +1 to get the ball rolling on a ML thread 16:19:20 then we can do a governance patch 16:19:37 haypo : don't think we need another spec :) 16:20:05 #action bknudson to send note to -dev list to request move oslo.policy to keystone 16:20:15 k. now that spec is off the table for us :) 16:20:24 #topic OpenStack Spec Review 16:20:24 #link https://review.openstack.org/#/c/226157/ (Backwards compat for libraries and clients.) 16:20:39 need some +1's on ^^ per request from TC 16:21:02 +1 from me 16:21:08 net, net. we can't break any active release...all active releases may use newest oslo libs 16:21:16 s/release/releases/ 16:21:37 we already broke that since we dropped 2.6 support 16:21:40 we have to figure out the test matrices to help us figure out 16:21:50 bknudson : that spec is not in effect yet :) 16:22:09 we should make sure to drop support for stuff before the spec gets merged 16:22:22 bknudson : LOL as long you don't break CI jobs 16:22:38 then folks would spot it :) 16:23:08 #topic Open discussion 16:23:41 I'd like to discuss https://review.openstack.org/#/c/253125 16:23:42 I will not be at these meetings until the 4th 16:23:59 johnsom ack thanks for the heads up 16:24:01 ./ 16:24:09 harlowja left a comment, I've requested a couple of times in channel to discuss it but not been able to raise anyone 16:24:17 I'd asked a questions some days agon on the channel, I'd like to ask here 16:24:24 dims was out when I asked ... 16:24:32 about strutils.mask_password() 16:24:43 dims, ok to ask now? 16:25:04 harlowja : TZ issues i think, will review it 16:25:16 dims: thanks! 16:25:19 amrith : shoot 16:25:22 thx 16:25:29 the issue is with mask_password() 16:25:36 currently it is setup to mask a string 16:25:43 I'd like to extend the same capability to a dictionary 16:25:54 where the keys are in the 'list' that mask_password() uses 16:26:03 the list of keys is the same. 16:26:13 and I'm wondering whether I can add it to mask_password() 16:26:29 amrith: accept dict as input type? why not using a dict comprehension for example? 16:26:34 or whether it is not a 'strutils' thing. 16:26:45 yes, I want to mask passwords in a dictionary 16:26:59 amrith: i don't think that it's worth to make the function more complex 16:27:03 such as { "password": "u812hhx", ... } 16:27:09 amrith: you should write your own helper in your application 16:27:11 I would like to add mask_dict_password() 16:27:18 and put it in strutils 16:27:24 i prefer to keep oslo.utils simple 16:27:53 one second, I have a request for a plan (b) 16:28:20 amrith : if we see more projects doing that then may be we can consider it. haypo's point seems valid to me 16:28:28 ack 16:28:50 may I change _SANITIZE_KEYS to SANITIZE_KEYS 16:29:00 making it explicit that other modules may use it 16:29:05 and add a comment there. 16:29:08 amrith: dhellmann was opposed to that 16:29:12 then I'll write my helper routine. 16:29:22 haypo, sorry didn't see dhellmann's reply 16:29:24 apologies 16:29:33 then what do y'all suggest? 16:29:34 amrith: dict((mask_password(key), value) for key, value in dict.iteritems()) doesn't fit your use case? 16:29:40 amrith: it's just one line, no? 16:30:11 "then what do y'all suggest?" again, develop such helper in your application 16:30:37 haypo, I'm trying to understand how this would work 16:30:54 I'll think about your suggestion (1 line) and get back to you 16:31:03 thx 16:31:05 haypo : guessing you need to mask the value and not the key 16:31:06 dims, good for now 16:31:08 amrith: i'm not sure that i understood your use case 16:31:15 dims: ah 16:31:19 dims, yes 16:31:31 in this case, you cannot use mask_password() in its current shape 16:31:34 if the dictionary is as I said earlier { "password": "u812hhx", ... } 16:31:40 amrith: open a review for that and explain your use case 16:31:43 I want to mask the "u812hhx", 16:31:52 with "****" 16:32:01 I don't think the 1 line proposed would work 16:32:22 haypo, that's the use-case 16:32:24 1 line above 16:32:33 given a dict like { "password": "u812hhx", ... } 16:32:45 mask the "u812hhx" and replace with "***" 16:32:50 amrith: dhellmann was opposed to allow applications to pass new keys to hide to mask_password() 16:32:55 where "password" is any one of the values in _SANITIZE_KEYS 16:32:59 amrith: it's different from getting the list of keys 16:33:07 I don't want to pass new keys to mask_password() 16:33:15 I want to write a helper function that uses _SANITIZE_KEYS 16:33:17 amrith: but maybe it's worth to add a new function 16:33:23 and the leading "_" implies private 16:33:33 I would be fine changing _SANITIZE_KEYS to SANITIZE_KEYS 16:33:38 and importing it in my helper 16:33:44 and implementing the logic for dictionaries 16:33:53 all I want is the change to the variable name 16:33:55 in strutils.py 16:33:57 don't use _SANITIZE_KEYS outside strutils.py 16:34:01 from _SANITIZE_KEYS to SANITIZE_KEYS 16:34:04 haypo, you don't 16:34:10 my helper function would. 16:34:17 amrith : which review #? 16:34:22 amrith: i changed my mind. propose a change to add a new function to strutils 16:34:24 dims, don't have one yet. 16:34:33 haypo, I will do that and submit a review 16:34:39 that may make it more concrete 16:34:46 as an example of the intended use-case. 16:34:48 amrith: ok. add me (victor stinner) in the reviewers 16:34:50 k lets start with a new function for dict with a concrete test 16:34:59 haypo, dims understood. 16:35:00 thanks 16:35:02 I will do that 16:35:17 thanks 16:35:21 johnsom lxsli bknudson gcb sileht rbradfor kgiusti haypo ozamiatin - anything else? 16:35:22 lxsli: sorry i'm not a big fan of oslo.config, so i'm not really excited by extended it (so i didn't review your change) 16:35:31 dims: nope 16:35:33 nope 16:35:35 In last meeting , we talked how to clean up bugs with wrong status, I created an etherpad: https://etherpad.openstack.org/p/oslo_bug_track 16:35:35 nothing for me 16:35:57 i'd like comments on the approach in https://review.openstack.org/#/c/256584/, if anyone can give me some direction. if it looks like the right way to tackle the issue, i've got some paperwork to do before it can be merged 16:36:25 haypo: that's OK, it's harlowja torpedoing it and running away I mind :) 16:36:36 stpierre : ack will add it to review queue 16:36:38 what's wrong with the current timestamps? 16:36:40 tyvm 16:37:04 lxsli : LOL, poor guy, does so much and you are accusing him :) 16:37:44 Nothing here 16:37:52 dims: haha not sharpening my daggers just yet :) 16:37:52 thanks everyone 16:38:26 special bye from Kharkiv, talk to you all from Boston next week 16:38:42 #endmeeting