17:01:31 #startmeeting keystone 17:01:32 Meeting started Tue Mar 17 17:01:31 2020 UTC and is due to finish in 60 minutes. The chair is cmurphy. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:01:33 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 17:01:36 The meeting name has been set to 'keystone' 17:01:47 o/ 17:01:48 #link https://etherpad.openstack.org/p/keystone-weekly-meeting agenda 17:01:51 o/ 17:02:16 hey everyone 17:02:34 o/ 17:02:36 \o 17:02:52 * bnemec practices IRC social distancing 17:03:08 :P 17:03:12 hahaha 17:03:18 o/ 17:03:21 how's everyone doing? 17:03:53 chilling at home 17:04:04 doing fine :) today i learned how to make my own cappuccinos 17:04:32 these times are great opportunities for building new skills :) 17:05:13 BAU here. 17:06:01 i'm not used to working from home, so it's been a challenge doing it for extended periods 17:06:38 especially since i have a studio, and the smell of lunch persists until replaced by the smell of the next meal, and so on. 17:06:39 yeah same here. I too dont have wfh habit 17:07:08 knikolla: working from studio is super hard :( 17:07:09 we just got a house about a month ago, so I have a nice basement to hide in 17:07:20 gagehugo: lucky 17:08:24 let's get started 17:08:30 #topic review requests 17:08:52 knikolla: want to talk about yours first? 17:10:41 cmurphy: sure 17:11:03 https://review.opendev.org/#/c/448730/ - get 17:11:03 https://review.opendev.org/#/c/448755/ - create 17:11:03 https://review.opendev.org/#/c/448765/ - update 17:11:13 those are the reviews for federated attributes 17:11:27 they were rebased from code of richard avelar from 2-3 years ago 17:11:36 mostly clean rebases 17:11:49 seems to be complete and straightforward. 17:12:19 this is work for allowing CRUD operations of federated users the same as on normal users 17:12:35 so it's no longer required for a user to first do a login for the shadow reference to be created 17:12:41 or updated 17:12:53 these are high priority to review because feature freeze is in less than a month and we've already deferred this once 17:13:39 ping me after review and i can respond ASAP. 17:14:18 thanks knikolla 17:14:29 vishakha: want to talk about yours? 17:14:46 Yes. #link https://review.opendev.org/#/c/588211/ 17:15:01 #link https://review.opendev.org/#/c/704271/ 17:15:26 These are for added openstack_groups in SAML assertion 17:15:40 and #link https://review.opendev.org/#/c/697444/ 17:15:56 For user options added in openstackclient 17:17:24 thanks vishakha, will try to get to them today 17:17:33 any other review requests? 17:17:34 thanks :) 17:19:53 #topic l1 duty rotation 17:20:18 last week was knikolla, any cases worth a discussion here? 17:20:45 there wasn't much activity. i wasn't able to reproduce https://bugs.launchpad.net/keystone/+bug/1866817 17:20:46 Launchpad bug 1866817 in OpenStack Identity (keystone) "Invalid input for field 'roles/0/id': 'role_admin' does not match '^[a-zA-Z0-9-]+$'" [Undecided,Incomplete] 17:22:21 yeah that one is strange, i still suspect some kind of user error 17:23:56 next up is vishakha, gagehugo can you take the following week? 17:25:33 sure 17:25:46 ty 17:26:37 #topic open floor 17:27:01 knikolla: want to talk about expiring group membership? 17:27:21 yeah. i'm pretty much done with the model and driver, and am hooking it up to the API 17:28:01 and currently listing for groups of a user doesn't provide anything except the group listing 17:28:17 i was thinking of adding a column `expires` when listing for group membership of a user 17:28:28 wanted to get some feedback from the team before i do that. 17:29:42 this api call specifically https://docs.openstack.org/api-ref/identity/v3/?expanded=list-groups-to-which-a-user-belongs-detail#list-groups-to-which-a-user-belongs 17:30:58 seems like it could be useful 17:31:06 is there any other way a user can get that information? 17:31:28 there's also a `list users in group` 17:32:02 i need to check the policy for who can do these calls 17:32:02 i mean other ways a user can find out if their group memberships are about to expire 17:32:34 not currently 17:32:34 oh with policy i guess it would usually be an admin 17:34:07 knikolla: seems reasonable to me, can't think of a downside 17:34:48 the alternative is to either not expose that information through the API, or to create a new API 17:35:36 https://opendev.org/openstack/keystone/src/branch/master/keystone/common/policies/group.py#L120 17:35:50 it seems a user can already query the groups that they belong to 17:36:02 oh good 17:36:51 are there any backwards compat concers with adding a field to an existing API? 17:36:59 concerns* 17:37:33 i think since we don't have microversions we've historically kind of ignored those concerns 17:37:55 i wonder if a user is logged in and able to run that query doesn't that kind of mean their group memberships are all up to date? 17:38:16 like the act of getting a token pushes that expiry date out on its own? 17:38:41 not always 17:38:50 if they're logged in through application credentials or the like 17:38:59 they won't trigger the renewal 17:39:07 ah okay 17:39:33 i've hooked up renewal only to the mapped authentication 17:41:22 imo adding it to the existing api seems the most user-friendly 17:41:57 gagehugo: vishakha bnemec have any opinion? 17:42:01 ++, that was my feeling as well. though then everyone, regardless if they're using this or not will see the extra column through say `openstackclient` 17:42:21 it's just that not expiring groups will have `expires` = None 17:43:22 As long as it doesn't break older clients it seems fine. 17:43:35 With the big disclaimer that I know squat about REST API design. :-) 17:43:42 yeah, as long as it's non-breaking 17:44:11 ++ I think since keystone doesn't support microversions, we can add it to existing API 17:44:40 offcourse if it doesn't break anything 17:46:27 thanks for bringing it up knikolla 17:46:31 shouldn't break anyone, since we've usually added extra fields throughout the years 17:46:34 thanks for the feedback :) 17:48:19 any other topics? 17:48:54 for the record, I agree that adding a field is fine 17:49:17 mordred: yay! thank you for that feedback 17:49:28 * mordred likes to provide positive value 17:49:30 mordred: good to see you :) 17:49:34 knikolla: you too! 17:52:53 okay thanks for coming everyone, stay safe and take care of yourselves <3 17:52:57 #endmeeting