16:00:22 #startmeeting keystone 16:00:23 Meeting started Tue Jun 18 16:00:22 2019 UTC and is due to finish in 60 minutes. The chair is cmurphy. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:00:24 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:00:27 The meeting name has been set to 'keystone' 16:00:29 o/ 16:00:33 #link https://etherpad.openstack.org/p/keystone-weekly-meeting agenda 16:00:42 o/ 16:00:57 o/ 16:01:19 o/ 16:02:57 #topic unified limits update 16:03:04 lbragstad: it's all you 16:03:18 ok - so you might have picked up on some spam about oslo.limit recently 16:03:41 i decided to get that rolling after the retrospective last week 16:04:00 this is really just an update on all that stuff and a summary of the discussion we had last week 16:04:00 \o/ 16:04:16 first off... the existing documentation we have is really stale 16:04:28 it's missing the strict-two-level enforcement model 16:04:40 and the descriptions of the enforcement models in general is pretty vague 16:05:02 o/ 16:05:09 fortunately, we have a bunch of good documentation in the specs 16:05:24 (the general unified limit spec, the flat enforcement spec, the strict two level spec) 16:05:35 i want to port the useful bits over to formal docs 16:05:40 o/ 16:05:53 feels weird to pass people links to specs as formal documentation 16:06:00 #link https://docs.openstack.org/keystone/latest/admin/unified-limits.html 16:06:10 #link https://review.opendev.org/#/c/664933/ is the update 16:06:36 ok - moving on to oslo.limit 16:06:47 i had a discussion with john garbutt 16:06:56 which was carry over from the PTG 16:07:12 and the idea is to make oslo.limit's enforcement strategy really simple 16:07:20 we're trying to do that in a couple of ways 16:07:33 1.) oslo.limit isn't going to do verification for race conditions, initially 16:08:04 2.) we'll drop the idea of abstracting everything into a context manager, initially (we can add this later and right now it complicates some of the usage without a need for verification) 16:08:18 this should hopefully make it even easier for people to pick up the oslo.limit work and start consuming it 16:08:59 but - this kinda lines up with what we talked about at the PTG, specifically just getting something out the door that people can use 16:09:13 that said - i started ripping apart oslo.limit last week 16:09:19 #link https://review.opendev.org/#/c/665708/ (starting here) 16:09:36 ^ that chain gets us back to the basics 16:09:55 next i'm going to start incorporating the interface john worked on in his fork #link https://github.com/JohnGarbutt/oslo.limit/commits/interface-v2 16:10:00 #link https://github.com/JohnGarbutt/oslo.limit/commits/interface-v2 16:10:20 i'll also be re-proposing some of the stuff wxy-xiyuan did with ksa and openstacksdk 16:10:37 i'd like to have all that ready for review by the EOW 16:11:12 if anyone's interested in helping out with that, just let me know 16:11:32 or if you just want to be a part of the interface planning bits, we can use tmate and hop on a call to work through stuff 16:11:51 for context 16:12:15 here is the discussion i had with john where we walked through the basic requirements we need to hit before nova can start using this 16:12:15 #link http://eavesdrop.openstack.org/irclogs/%23openstack-keystone/%23openstack-keystone.2019-06-13.log.html#t2019-06-13T16:31:15 16:12:45 and i also had an interesting discussion with another openstack developer about toggling oslo.limit to not query keystone for unified limit information and instead go into a local mode 16:12:45 #link http://eavesdrop.openstack.org/irclogs/%23openstack-oslo/%23openstack-oslo.2019-06-14.log.html#t2019-06-14T00:41:01 16:13:22 i'm not sure how all that would work, yet... but i wanted to advertise it to the group in case anyone found that interesting 16:13:45 that's about all i have, does anyone have comments, questions, or concerns about the unified limit/oslo.limit work? 16:13:46 the point of having it in keystone is that's where the projects are, if you don't have keystone then you don't have projects 16:14:05 That gets us back to the problem of the service owning the database definition, but oslo.limit needing to interact with it directly. 16:14:17 cmurphy bnemec 16:14:18 right 16:14:34 is it safe to say we're not going to support that? 16:14:53 and that oslo.limit will be tailored to "unified limits" 16:15:08 i just think there can't be a concept of a project-based quota if there's no keystone involved 16:15:34 that's fair 16:15:46 i'm not sure if there was another aspect of non-project based enforcement i missed in that discussion 16:16:10 lbragstad: I'm inclined to say yes. We couldn't find a sane way to do this without unified limits in the past, so I don't think we should try to support that case. 16:16:11 but it feels like doing that would go against openstack's concept of tenancy 16:16:29 * lbragstad nods 16:16:56 I suppose it's possible we could support non-keystone backends at some point, but that's waaaaay down my priority list at the moment. 16:17:06 sure 16:17:45 * lbragstad appreciates the sanity check 16:18:02 any other comments, questions, or concerns? 16:18:05 * bnemec hopes this isn't an insane echo chamber ;-) 16:20:04 I've got nothing else. Thanks for pushing on this. 16:20:22 thanks for the update lbragstad 16:20:32 yep! 16:20:37 #topic 16:20:41 er 16:20:53 #topic Remove [signing] config 16:21:03 #link https://review.opendev.org/#/c/659434 16:21:04 * bnemec notes that there is a #undo 16:21:14 too late now 16:21:17 Since all the options of [signing] are deprecated, and those options are used in os_simple_cert API. 16:21:17 So I was wondering how to remove the options but not removing the API. 16:23:10 I wasnt able to find the solution for that 16:23:46 vishakha i just left a comment 16:24:15 but you might be able to remove the implementations 16:24:17 #link https://review.opendev.org/#/c/659434/9/keystone/api/os_simple_cert.py 16:24:26 and just return empty response objects 16:24:34 (don't use the CONF object at all) 16:25:35 the API would still exist but it would always return the same thing and we could remove the configuration 16:25:56 (i think we took a similar approach with the revocation list API?) 16:26:10 yep i think so 16:26:14 vishakha: does that make sense? 16:26:21 lbragstad: Wont it create a problem when user will use this API https://developer.openstack.org/api-ref/identity/v3/#list-revoked-tokens 16:26:40 users will still be able to call the API, but it will always return the same thing 16:26:53 * lbragstad digs up an example 16:28:50 was it https://opendev.org/openstack/keystone/src/branch/master/keystone/api/auth.py#L262-L268 ? 16:28:54 #link https://opendev.org/openstack/keystone/src/branch/master/keystone/api/auth.py#L262-L268 16:29:11 there we're actually raising a 403, you can ignore that part i think 16:29:36 maybe kmalloc remembers ^ 16:30:38 lbragstad: ohh yes. Ok thanks 16:31:06 okay great 16:31:12 Skipping that part is a good option 16:31:38 hmmm. 16:32:02 like this 16:32:04 #link https://pasted.tech/pastes/5e06b00e9e7a050b973700f32c24a8668277b1d1.raw 16:32:34 just make it an empty request 16:32:39 lbragstad: thanks I will update it 16:32:48 yeah a 403 was chosen there because it required signing certs 16:33:12 you can totally just make it respond with an empty json doc (the api in question) instead, as if no certs were defined. 16:33:39 kmalloc: ok thanks 16:34:09 cool 16:34:16 #topic open reviews 16:34:26 anyone have reviews they would like to call out? 16:34:35 #link https://review.opendev.org/#/c/665231/ closes a couple of bugs 16:34:53 nice 16:35:07 i have some spec cleanups that have been open for a while 16:35:16 #link https://review.opendev.org/658893 16:35:19 i saw one of those passing zuul now 16:35:23 i can take a look today 16:35:27 #link https://review.opendev.org/658894 16:35:33 https://review.opendev.org/#/c/665313/ just a url update 16:35:38 #link https://review.opendev.org/659159 16:36:06 #link https://review.opendev.org/662106 mission statement update 16:36:16 vishakha what's the story behind updating https://review.opendev.org/#/c/665313/1 ? 16:39:45 That's the recommended url for u-c now. 16:39:57 oh - sweet 16:40:09 Let me see if I can find the thread about it. 16:40:28 so it was on the mailing list 16:41:46 #link http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006647.html 16:42:48 Or maybe http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html 16:42:56 Which is linked from the first one. 16:43:44 thanks 16:44:06 lbragstad: That was a long mail chain on which I read about it. I will summarize and will share it to you after meeting 16:44:41 it makes sense - i was just thinking it would be useful to link to that in the commit message 16:44:47 ++ 16:45:05 lbragstad cmurphy Sure I will add it to commit message 16:45:12 great 16:45:15 #topic open discussion 16:45:22 no office hours after this 16:45:28 any other business to cover? 16:48:17 alright we'll close the meeting and get a few minutes back 16:48:20 thanks everyone 16:48:24 #endmeeting