Tuesday, 2018-03-20

*** germs has joined #openstack-keystone00:01
*** germs has quit IRC00:01
*** germs has joined #openstack-keystone00:01
*** germs has quit IRC00:05
*** itlinux has joined #openstack-keystone00:23
*** Dinesh_Bhor has joined #openstack-keystone00:37
*** lifeless_ has joined #openstack-keystone00:46
*** lifeless has quit IRC00:46
*** itlinux has quit IRC00:51
*** Dinesh_Bhor has quit IRC00:57
*** Dinesh_Bhor has joined #openstack-keystone00:57
*** odyssey4me has quit IRC00:59
*** odyssey4me has joined #openstack-keystone00:59
*** Dinesh_Bhor has quit IRC00:59
openstackgerritAdrian Turjak proposed openstack/keystone-specs master: Add spec for MFA auth receipts  https://review.openstack.org/55367000:59
adriantkmalloc, cmurphy: hopefully that spec rewrite addresses your problems in a way we can move forward :)00:59
kmalloclet me see01:00
* adriant would like to point out that the core of what it does hasn't changed, just the terms01:00
kmalloci am sure we can move forward if you hit the key bits that caused the -2 :)01:00
kmallocnotably the issuance of a "partial token" and highlighting it remains a 40101:00
adriantwell, I didn't originally define the response code, I had no issues with a 401 :P01:01
adriantbut now that's explicit as a 401, and all mention of token's is gone as to what the thing we return is01:02
*** Dinesh_Bhor has joined #openstack-keystone01:02
adrianttokens*01:02
adriantbah! I've found typos in the spec, always with the typos!01:04
lbragstadadriant: awesome - i'll review that tomorrow morning01:04
adriantlbragstad: if kmalloc is happy and removes his -2 ;)01:04
kmalloci'm reviewing now, you're going to have a chunk of work still01:05
kmallocbut it is looking like the -2 can be dropped to -101:05
adriantworks for me01:06
adriantI never expected this spec to be merged quickly :P01:06
adriantthis is too complicated and potentially odd change and we need to be happy with it, and how it will work so we don't hate ourselves until v401:07
adriantwell, potentially not complicated. We'll see.01:08
*** wxy has joined #openstack-keystone01:10
*** oikiki has joined #openstack-keystone01:25
kmallocreviewed01:27
kmallocit is now a -101:27
kmallocbut, there are a lot of changes you need.01:27
adriantkmalloc: saw, am changing, although some stuff I'm not entirely sure of so will make changes as make sense, and leave questions for you01:39
kmallocyep01:39
kmalloci figured it'd be a discussion01:39
adriantalthough since you're about, what do you mean by another repo for fernet receipt?01:40
adriantis the fernet provider in keystone coming from another library? I haven't read through that code before, I assumed we used cryptography and did all the fernet token logic in the keystone codebase itself01:41
adriantOh, key repository01:43
adriantcan't we share the same one as tokens? Share most of the same logic too, that was what I was trying to say at the start of that section. Otherwise it is a deployer impact, and since this is token-like and ultimately it is using similar encryption models, why split it?01:44
kmallocyes, for the keys01:45
adriantthe only worry I can thing of is that partial auth will still return a receipt that is fernet encrypted and if you request it enough times (like a token) you could potentially guess the key. But I don't see how this would make that any worse.01:45
adriantthink of*01:46
kmallocthe fernet code to make a token only makes a token01:46
kmallocyou'd need to use cryptography and encode your own fernet with it's own payload01:46
kmallocyou can't lean on the token provider01:46
kmallocit's AES128 and HMAC'd, so, key rotation is recommended overtime.01:46
adriantcan we break out some of the token logic to make it generic and share elements?01:47
adriantand keys?01:47
kmallocnot really.01:47
kmallocdo not share keys01:47
kmallocthe fernet work in the token provider is really only layering in it's own fernet code. you might be able pull out some utils01:47
kmallocbut it wont be much01:47
kmalloclayering the token specific stuff*01:47
kmallocthere really wont be a ton of reusable stuff between the token core and the receipt bits01:48
adriantyeah I'm looking at the token code now01:48
adriantOk, nvm, that's fine, the annoying bit will be needing an extra key repo01:48
*** Dinesh_Bhor has quit IRC01:49
kmallocyeah, there is a good reason for that, but i wouldn't hold up if you shared the repo (bug lbragstad about that one)01:49
kmallocthe main reason is isolating concerns.01:49
adriantand then a question of do we want to make the receipt provider also configureable so we can also JWT, if jwt even makes sense for receipts01:50
kmalloclong term, yes.01:50
kmallocfor the same reasons we want an alternative to fernet01:50
adriantok, so it's basically a off-brand tokens :P01:50
kmallocbut i wouldn't make it a hard-requirement to be pluggable to start01:50
adriantalright, I can work with that01:50
kmallocthat is up to you01:50
adriantshouldn't be too much extra effort to make it pluggable. I'd rather do it right than rush it.01:51
adriantand if we can share the same key repo at least at first, or potentially make that a configurable thing... that would make it easier to consume01:52
*** Dinesh_Bhor has joined #openstack-keystone01:52
adriantplus we likely want the token and receipt providers to be in sync. not fernet and jwt respectively. Alway fernet or jwt for both.01:52
*** Dinesh_Bhor has quit IRC01:52
kmallocmaybe01:53
kmallocbut that isn't anywhere as a hard requierment in my head01:53
adriantyeah, I think you're right01:53
adriantand we may go down a route with tokens that magically will one day be drastically different to what we want with auth receipts.01:53
kmallocright01:54
adriantkmalloc: cool, thanks for the review, I'll update and lbragstad can review in the morning.01:54
*** annp has joined #openstack-keystone01:56
*** Dinesh_Bhor has joined #openstack-keystone02:01
*** dikonoor has joined #openstack-keystone02:02
*** Dinesh_Bhor has quit IRC02:02
*** germs has joined #openstack-keystone02:02
*** germs has quit IRC02:06
*** Dinesh_Bhor has joined #openstack-keystone02:08
openstackgerritDai Hanada proposed openstack/keystone master: Fix keystone-manage mapping_purge with --type option  https://review.openstack.org/55439702:10
*** dikonoor has quit IRC02:11
*** wes_dillingham has quit IRC02:19
openstackgerritMasaki Hatada proposed openstack/keystone master: Fix keystone-manage mapping_purge with --type option  https://review.openstack.org/55439702:25
*** gongysh has joined #openstack-keystone02:25
*** dave-mccowan has quit IRC02:31
*** r-daneel has joined #openstack-keystone02:32
*** r-daneel_ has joined #openstack-keystone02:34
*** r-daneel has quit IRC02:36
*** r-daneel_ is now known as r-daneel02:36
*** links has joined #openstack-keystone02:40
*** itlinux has joined #openstack-keystone02:42
*** oikiki has quit IRC03:12
*** gongysh has quit IRC03:42
*** itlinux has quit IRC03:49
*** germs has joined #openstack-keystone04:03
*** germs has quit IRC04:03
*** germs has joined #openstack-keystone04:03
*** germs has quit IRC04:07
openstackgerritAdrian Turjak proposed openstack/keystone-specs master: Add spec for MFA auth receipts  https://review.openstack.org/55367004:17
adriantkmalloc: alright, that... should be closer to what we want.04:18
adriantlbragstad, all yours for when you're awake!04:19
*** Dinesh__Bhor has joined #openstack-keystone04:58
*** Dinesh_Bhor has quit IRC04:58
*** jmlowe has quit IRC05:18
*** jmlowe has joined #openstack-keystone05:37
*** oikiki has joined #openstack-keystone05:38
*** deepak_ has joined #openstack-keystone05:40
*** jmlowe has quit IRC05:42
*** germs has joined #openstack-keystone06:04
*** dineshbhor__ has joined #openstack-keystone06:07
*** germs has quit IRC06:08
*** Dinesh__Bhor has quit IRC06:09
*** masber has quit IRC06:12
*** Jack_Iv has joined #openstack-keystone06:22
*** Jack_Iv has quit IRC06:26
openstackgerritDai Hanada proposed openstack/keystone master: Fix keystone-manage mapping_purge with --type option  https://review.openstack.org/55439706:32
*** wxy_ has quit IRC06:34
*** wxy_ has joined #openstack-keystone06:36
*** wxy_ has quit IRC06:42
*** wxy_ has joined #openstack-keystone06:43
*** oikiki has quit IRC06:44
*** masber has joined #openstack-keystone06:44
*** masber has quit IRC06:47
*** masber has joined #openstack-keystone06:47
*** dineshbhor__ has quit IRC07:00
*** Supun has joined #openstack-keystone07:08
*** d0ugal has joined #openstack-keystone07:12
*** d0ugal has quit IRC07:12
*** d0ugal has joined #openstack-keystone07:12
*** d0ugal has quit IRC07:21
*** rcernin has quit IRC07:23
*** rcernin has joined #openstack-keystone07:24
*** rcernin has quit IRC07:24
*** Dinesh_Bhor has joined #openstack-keystone07:32
Dinesh_Bhorcmurphy: Hi, you there?07:34
*** pcaruana has joined #openstack-keystone07:34
*** martinus__ has joined #openstack-keystone07:37
*** pcichy has joined #openstack-keystone07:38
cmurphyDinesh_Bhor: I am, but in the future you could also just ask your question here or on the review instead of waiting for me to show up07:44
*** Supun has quit IRC07:45
Dinesh_Bhorcmurphy: yes, about this: https://review.openstack.org/#/c/329913/10/keystoneclient/base.py07:45
Dinesh_Bhorcmurphy: We can not move the client initialization to Manage class since we the "_prepare_return_value"  method is using self.client.07:46
Dinesh_BhorS/Manage/Manager07:46
cmurphyDinesh_Bhor: when _prepare_return_value is called self.client will have been initialized by Manager07:47
*** d0ugal has joined #openstack-keystone07:48
Dinesh_Bhorcmurphy: let me check and get back to you07:52
Dinesh_Bhorcmurphy: thank you07:52
cmurphyDinesh_Bhor: no problem07:53
*** tesseract has joined #openstack-keystone08:00
*** namnh has joined #openstack-keystone08:01
*** AlexeyAbashkin has joined #openstack-keystone08:04
*** germs has joined #openstack-keystone08:05
*** germs has quit IRC08:05
*** germs has joined #openstack-keystone08:05
*** Supun has joined #openstack-keystone08:05
*** germs has quit IRC08:08
*** dangtrinhnt has quit IRC08:23
openstackgerritwangxiyuan proposed openstack/keystone master: The migration script to add description for limit  https://review.openstack.org/55313108:29
openstackgerritwangxiyuan proposed openstack/keystone master: Limit description support  https://review.openstack.org/55313208:30
Dinesh_Bhorcmurphy:  you are right. I have fixed your comment08:31
Dinesh_BhorFor the other comment: https://review.openstack.org/#/c/329913/10/keystoneclient/tests/unit/test_base.py  I am getting error as ManagerWithFind is an abstract class with abstract methods defined so we can not initialize it.08:32
openstackgerritDinesh Bhor proposed openstack/python-keystoneclient master: Add Response class to return request-id to caller  https://review.openstack.org/32991308:33
openstackgerritDinesh Bhor proposed openstack/python-keystoneclient master: Add return-request-id-to-caller function(v3)  https://review.openstack.org/26745608:33
cmurphyDinesh_Bhor: ah okay08:35
*** pcichy has quit IRC08:50
cmurphyDinesh_Bhor: sorry, should have caught this before but AccessInfo and everything to do with tokens has moved to keystoneauth, so most of https://review.openstack.org/#/c/267456 is misplaced08:52
cmurphyand keystoneauth already has a mechanism for logging request IDs so I don't think changes are needed there08:53
Dinesh_Bhorcmurphy: ohh08:54
Dinesh_Bhorcmurphy: that is for logging. In these patches we are returning request-id.08:55
*** Dinesh_Bhor has quit IRC09:01
*** d0ugal has quit IRC09:02
*** oikiki has joined #openstack-keystone09:03
*** baffle has quit IRC09:13
*** vegarl has quit IRC09:14
*** baffle has joined #openstack-keystone09:14
*** vegarl has joined #openstack-keystone09:14
*** pcichy has joined #openstack-keystone09:17
*** oikiki has quit IRC09:19
*** Supun has quit IRC09:44
*** Supun has joined #openstack-keystone09:45
*** josecastroleon has quit IRC09:49
*** josecastroleon has joined #openstack-keystone09:50
*** wxy_ has quit IRC09:58
*** wxy_ has joined #openstack-keystone09:58
*** Supun has quit IRC09:59
*** germs has joined #openstack-keystone10:05
*** germs has quit IRC10:05
*** germs has joined #openstack-keystone10:05
*** germs has quit IRC10:10
*** namnh has quit IRC10:10
*** mvk has quit IRC10:31
*** masber has quit IRC10:43
*** mvk has joined #openstack-keystone10:46
*** wxy_ has quit IRC10:51
*** wxy_ has joined #openstack-keystone10:51
*** rcernin has joined #openstack-keystone11:02
*** Supun has joined #openstack-keystone11:04
*** josecastroleon has quit IRC11:06
*** rcernin has quit IRC11:06
*** masber has joined #openstack-keystone11:08
*** masuberu has joined #openstack-keystone11:12
*** masber has quit IRC11:14
*** annp has quit IRC11:15
*** Supun has quit IRC11:18
*** Supun has joined #openstack-keystone11:21
*** pcaruana has quit IRC11:23
*** pcichy has quit IRC11:29
*** Supun has quit IRC11:53
*** pcaruana has joined #openstack-keystone11:55
*** dangtrinhnt has joined #openstack-keystone12:04
*** germs has joined #openstack-keystone12:06
*** germs has quit IRC12:06
*** germs has joined #openstack-keystone12:06
*** raildo has joined #openstack-keystone12:08
*** jaosorior has quit IRC12:09
*** josecastroleon has joined #openstack-keystone12:09
*** germs has quit IRC12:10
*** odyssey4me has quit IRC12:11
*** odyssey4me has joined #openstack-keystone12:11
*** wes_dillingham has joined #openstack-keystone12:14
*** Supun has joined #openstack-keystone12:16
*** edmondsw has joined #openstack-keystone12:17
*** jaosorior has joined #openstack-keystone12:23
*** wxy_ has quit IRC12:25
*** wxy_ has joined #openstack-keystone12:26
*** openstackgerrit has quit IRC12:33
*** r-daneel has quit IRC12:41
*** d0ugal has joined #openstack-keystone12:41
*** d0ugal has quit IRC12:41
*** d0ugal has joined #openstack-keystone12:41
*** panbalag has joined #openstack-keystone12:43
*** panbalag has left #openstack-keystone12:45
*** AlexeyAbashkin has quit IRC12:48
*** Supun has quit IRC13:06
*** dangtrinhnt has quit IRC13:06
*** AlexeyAbashkin has joined #openstack-keystone13:10
*** Supun has joined #openstack-keystone13:18
*** r-daneel has joined #openstack-keystone13:32
*** r-daneel has quit IRC13:36
*** voelzmo has joined #openstack-keystone13:40
*** voelzmo has quit IRC13:41
*** voelzmo has joined #openstack-keystone13:42
*** wxy_ has quit IRC13:49
*** wxy_ has joined #openstack-keystone13:50
*** links has quit IRC13:51
*** SamYaple has quit IRC13:52
*** dmellado has quit IRC13:55
*** jmlowe has joined #openstack-keystone13:58
*** voelzmo has quit IRC14:01
*** openstackgerrit has joined #openstack-keystone14:04
openstackgerritJens Harbott (frickler) proposed openstack/keystoneauth master: Be more verbose when version discovery fails  https://review.openstack.org/55404414:04
*** voelzmo has joined #openstack-keystone14:04
*** germs has joined #openstack-keystone14:07
*** germs has quit IRC14:07
*** germs has joined #openstack-keystone14:07
*** spilla has joined #openstack-keystone14:07
*** voelzmo has quit IRC14:08
*** SamYaple has joined #openstack-keystone14:11
*** germs has quit IRC14:11
*** pcaruana has quit IRC14:21
*** felipemonteiro has joined #openstack-keystone14:27
*** pcaruana has joined #openstack-keystone14:28
*** felipemonteiro_ has joined #openstack-keystone14:29
*** voelzmo has joined #openstack-keystone14:32
*** felipemonteiro has quit IRC14:32
*** voelzmo has quit IRC14:37
*** d0ugal has quit IRC14:38
*** voelzmo has joined #openstack-keystone14:47
*** itlinux has joined #openstack-keystone14:50
*** wxy| has joined #openstack-keystone14:54
*** dmellado has joined #openstack-keystone14:54
*** r-daneel has joined #openstack-keystone14:55
*** dmellado has quit IRC14:56
*** dmellado has joined #openstack-keystone15:01
*** jistr is now known as jistr|mtg15:01
*** voelzmo has quit IRC15:02
*** voelzmo has joined #openstack-keystone15:03
*** dmellado has quit IRC15:04
openstackgerritLance Bragstad proposed openstack/keystone master: Remove references to UUID from token documentation  https://review.openstack.org/55458115:04
*** dmellado has joined #openstack-keystone15:05
*** d0ugal has joined #openstack-keystone15:09
*** Supun has quit IRC15:14
*** dmellado has quit IRC15:16
*** dave-mccowan has joined #openstack-keystone15:29
*** knasim-wrs has quit IRC15:33
*** jistr|mtg is now known as jistr15:36
*** Supun has joined #openstack-keystone15:37
*** ayoung has joined #openstack-keystone15:37
lbragstadreminder that the keystone meeting will be taking place in 13 minutes in #openstack-meeting-alt15:47
*** felipemonteiro_ has quit IRC15:48
*** felipemonteiro_ has joined #openstack-keystone15:49
openstackgerritJohannes Grassler proposed openstack/keystone-specs master: Add whitelist-extension-for-app-creds  https://review.openstack.org/39633116:00
openstackgerritJens Harbott (frickler) proposed openstack/keystoneauth master: Be more verbose when version discovery fails  https://review.openstack.org/55404416:01
*** jamielennox has quit IRC16:01
*** felipemonteiro_ has quit IRC16:06
*** pcichy has joined #openstack-keystone16:10
*** Supun has quit IRC16:11
*** Supun has joined #openstack-keystone16:12
*** voelzmo has quit IRC16:17
*** masuberu has quit IRC16:18
*** wxy|_ has joined #openstack-keystone16:22
*** wxy| has quit IRC16:22
openstackgerritMerged openstack/keystone-specs master: Change keystone-specs webpage from oslosphinx to openstackdocstheme  https://review.openstack.org/55197416:26
*** gyee has joined #openstack-keystone16:26
*** jamielennox has joined #openstack-keystone16:38
*** Supun has quit IRC16:44
*** mvk has quit IRC16:49
*** AlexeyAbashkin has quit IRC16:53
*** felipemonteiro has joined #openstack-keystone16:55
*** masuberu has joined #openstack-keystone16:59
lbragstad#startmeeting keystone-office-hours17:01
openstackMeeting started Tue Mar 20 17:01:05 2018 UTC and is due to finish in 60 minutes.  The chair is lbragstad. Information about MeetBot at http://wiki.debian.org/MeetBot.17:01
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.17:01
*** openstack changes topic to " (Meeting topic: keystone-office-hours)"17:01
*** ChanServ changes topic to "Queens release schedule: https://releases.openstack.org/queens/schedule.html | Meeting agenda: https://etherpad.openstack.org/p/keystone-weekly-meeting | Bugs that need triaging: http://bit.ly/2iJuN1h | Trello: https://trello.com/b/wmyzbFq5/keystone-rocky-roadmap"17:01
openstackThe meeting name has been set to 'keystone_office_hours'17:01
lbragstad#link https://bluejeans.com/855901362317:01
gagehugogoing out for lunch, will be back in an hour or so17:03
*** mvk has joined #openstack-keystone17:03
*** felipemonteiro_ has joined #openstack-keystone17:04
*** felipemonteiro has quit IRC17:08
*** felipemonteiro has joined #openstack-keystone17:08
openstackgerritJohannes Grassler proposed openstack/keystone-specs master: Add whitelist-extension-for-app-creds  https://review.openstack.org/39633117:11
*** felipemonteiro_ has quit IRC17:11
*** Supun has joined #openstack-keystone17:11
*** wxy|_ has quit IRC17:12
cmurphyo/17:14
lbragstadreviewing https://review.openstack.org/#/c/396331/ since jgr won't be around all of office hours17:20
lbragstadin case you missed it - https://bluejeans.com/8559013623/17:30
cmurphyoh we're bluejeansing?17:30
lbragstadyep - we actually have questions for you cmurphy17:31
cmurphybah okay17:31
cmurphyone sec17:31
*** masuberu has quit IRC17:33
lbragstadkmalloc: i'm not sure if it's just me, but it sounds like your mic is clipping17:36
adriantkmalloc: added some comments, and will fix up most of that in a patch after lbragstad, or cmurphy get a chance to also comment.17:37
cmurphyadriant: want to join the bluejeans session ^17:41
lbragstadmoving on to https://review.openstack.org/#/c/553670/17:42
adriantcmurphy: might jump on in a sec :)17:43
*** Supun has quit IRC17:53
*** Supun has joined #openstack-keystone17:54
hrybackilbragstad: ping, default roles chat?18:04
*** oikiki has joined #openstack-keystone18:06
cmurphykmalloc: your puppy left :'(18:09
*** jessegler_ has joined #openstack-keystone18:09
*** AlexeyAbashkin has joined #openstack-keystone18:14
*** AlexeyAbashkin has quit IRC18:14
*** AlexeyAbashkin has joined #openstack-keystone18:15
gagehugoo/ back18:22
*** harlowja has joined #openstack-keystone18:23
*** gyee has quit IRC18:30
*** dave-mccowan has quit IRC18:32
*** AlexeyAbashkin has quit IRC18:44
*** dave-mccowan has joined #openstack-keystone18:45
*** panbalag has joined #openstack-keystone18:52
hrybackigagehugo: we just dropped bridge fyi18:52
gagehugohrybacki ok I was listening in18:53
hrybackiack -- didn't want you to feel as if we abandoned you gagehugo18:53
gagehugoheh18:53
gagehugonah I caught the tail end of system scope18:53
hrybacki++18:53
hrybackirelocating now o/18:54
*** jessegler_ has quit IRC18:54
gagehugolbragstad https://review.openstack.org/#/c/554327/ fixes the same bug as https://review.openstack.org/#/c/553108/ but it refactors the sql backend logic for tags, which I'm not sure about18:56
gagehugoit uses nova's approach which looks like using inner joins, but we had some concerns about if that would be worse performance18:57
*** pcichy has quit IRC19:00
*** dave-mccowan has quit IRC19:03
*** AlexeyAbashkin has joined #openstack-keystone19:03
lbragstadgagehugo: revieing19:09
lbragstadreviewing*19:09
gagehugoI need to be revived on this tue19:09
gagehugo:)19:09
lbragstadgagehugo: is https://review.openstack.org/#/c/553108/3 the perferred way to close the bug?19:26
*** Supun has quit IRC19:27
lbragstadi'm spinning up an environment to test it quick19:27
gagehugolbragstad I think it's a much simpler fix than Nic's19:28
gagehugoI'm sure the logic could be refactored to be better19:28
gagehugoand it may require refactoring if we add starts/ends with & contains19:29
kmalloclbragstad: extensive comments on app-cred whitelist19:31
kmallocit should cover all the things we talked about19:31
lbragstadperfect19:31
kmallocit's a pretty big re-work, but it should simplify and clarify what we allow19:31
*** dave-mccowan has joined #openstack-keystone19:36
*** d34dh0r53 has quit IRC19:37
*** d34dh0r53 has joined #openstack-keystone19:37
*** wes_dillingham has quit IRC19:46
hrybackilbragstad: I think we need to find a good way of de-coupling default roles from scope types19:48
hrybackiat least in documentation. e.g. Here are default roles X, Y, and Z. This is generically what their purpose should be. Have you heard of scope types A and B? Here is generically what their purposes <link to spec/doc/whatever>. Here is how we envision default roles being applied in the following scoped operations.19:49
hrybackithoughts? I think it gets v confusing when we introduce both the default roles and how they are used with scope at the same time19:50
*** AlexeyAbashkin has quit IRC19:51
lbragstadright19:51
lbragstadit's almost like a support matrix19:51
gagehugoyeah roles & scope like to confuse people19:52
gagehugomore clarification would be great19:52
lbragstadwould an abstracted support matrix with "scopes" being one axis and "default roles" being the other help?19:53
hrybackilbragstad: I'm not sure I follow precisely19:53
hrybackiso maybe XD19:53
lbragstadtrying to find an example19:54
hrybackiack19:55
*** tesseract has quit IRC19:56
*** masber has joined #openstack-keystone20:02
*** dave-mccowan has quit IRC20:03
gagehugolbragstad you tested tags with ksc right?20:04
*** dave-mccowan has joined #openstack-keystone20:04
lbragstadgagehugo: yeah20:06
lbragstadhrybacki: gagehugo - https://imgur.com/a/XGMnW20:06
lbragstadi apologize for the chicken scratch20:06
gagehugooh man engineering paper20:07
hrybackihah, no you are fine20:07
hrybackilbragstad: do we have any documentation specific to system, domain, and project scope atm?20:07
hrybackiI'm thinking 1) intro the default roles and their generic purpose 2) brief review of scope levels (system, domain, project) and link to more info for the curious 3) present something akin to your diagram demoing how they 'should' overlap20:08
gagehugolbragstad http://paste.openstack.org/show/706590/20:09
gagehugoit works for curl20:09
gagehugowonder if ksc is borked as well20:09
hrybackiand maybe in reverse order of how we have e.g. reader, write, and admin roles -> project, domain, and system scopes20:09
*** germs has joined #openstack-keystone20:10
*** germs has quit IRC20:10
*** germs has joined #openstack-keystone20:10
lbragstadhrybacki: that was kind of my thinking behind https://bugs.launchpad.net/keystone/+bug/175715120:10
openstackLaunchpad bug 1757151 in OpenStack Identity (keystone) "Token and scope documentation needs an update" [Medium,In progress] - Assigned to Lance Bragstad (lbragstad)20:10
gagehugoI can add a testcase though20:10
lbragstadhuh - interesting20:10
lbragstadi can retest with curl20:10
hrybackilbragstad: okay. I'll work on this draft in an abstract way and then we can fill in the specifics together this week?20:11
lbragstadyeah - i'll start working on the scope docs20:12
hrybacki++20:12
lbragstadalso - i was wondering if it would be useful to break the scope doc up depending on the audience20:12
lbragstadhaving a document that explains scope types for users and operators20:12
lbragstadand a separate document that explains scope types for developers writing other services20:13
*** germs has quit IRC20:13
hrybackilbragstad: would it be too much to have them separate but in the same doc? Not sure how different they would be20:14
lbragstadhrybacki: we'll - we have a section for user guides and then we have this - https://docs.openstack.org/keystone/latest/contributor/services.html20:17
lbragstadwhich is in a separate document20:17
lbragstadbut then we have https://docs.openstack.org/keystone/latest/admin/identity-tokens.html#authorization-scopes which is in the admin-guide20:18
hrybackiI feel like I need to read all of our docs. I haven't the slighest clue as to how they are structured rn20:20
lbragstadthe last major restructuring we did was in PIke20:20
lbragstadwe moved all the openstack manuals content into keystone20:20
lbragstadand per the specification, we broke it into several guides20:21
lbragstad(admin guide, install guide, configuration guide, user guide, API references, etc...)20:21
hrybackiack, that does ring a bell20:22
openstackgerritLance Bragstad proposed openstack/keystone master: Remove references to UUID from token documentation  https://review.openstack.org/55458120:24
lbragstadbut yeah, we have things that are applicable to multiple guides,20:25
lbragstadscope and roles feel like one of them20:25
*** dave-mccowan has quit IRC20:31
*** masber has quit IRC20:32
*** openstackgerrit has quit IRC20:33
gagehugo++ multiple guides20:39
*** openstackgerrit has joined #openstack-keystone20:40
openstackgerritLance Bragstad proposed openstack/keystone master: Remove references to UUID from token documentation  https://review.openstack.org/55458120:40
openstackgerritLance Bragstad proposed openstack/keystone master: Remove references to v2.0 from external developer doc  https://review.openstack.org/55469020:40
hrybackialright lbragstad -- I made a bunch of changes and shared the doc with you. Adding comments on the side to allow for easy communication without muddling up the already murky doc20:49
lbragstadchecking20:50
hrybackiI have to drop for the night at 5PM (meetings outside of work-work) but will pick this up based on your comments lbragstad20:50
*** edmondsw has quit IRC20:51
*** felipemonteiro_ has joined #openstack-keystone20:51
*** felipemonteiro has quit IRC20:54
*** dmellado has joined #openstack-keystone20:56
gagehugoI think the stable/queens neutron-grenade job is bork20:57
gagehugohttps://review.openstack.org/#/c/548788/20:57
cmurphyanyone have thoughts on https://review.openstack.org/#/c/549723 ? the problem i think is that we're not mapping to the extra column but i don't know if we want to encourage that20:58
*** dmellado has quit IRC20:58
*** dave-mccowan has joined #openstack-keystone21:00
gagehugoyeah it should come from extras21:01
gagehugoI would assume?21:01
*** dmellado has joined #openstack-keystone21:02
* gagehugo takes a look21:02
cmurphyyeah it should be an extra but i guess for federated users we're not passing arbitrary attributes in to the shadow user21:03
cmurphywhich sort of seems fine to me but it makes our example here wrong https://docs.openstack.org/keystone/latest/advanced-topics/federation/federated_identity.html#mappings-examples21:04
gagehugoah21:04
gagehugoyeah it should use arbitrary attributes then I guess21:05
*** raildo has quit IRC21:06
openstackgerritMerged openstack/keystone master: Fix api-ref for project tag create  https://review.openstack.org/55342221:07
*** jmlowe has quit IRC21:08
*** dmellado has quit IRC21:08
*** jmlowe has joined #openstack-keystone21:11
*** dmellado has joined #openstack-keystone21:12
*** dmellado has quit IRC21:13
*** dmellado has joined #openstack-keystone21:15
*** AlexeyAbashkin has joined #openstack-keystone21:19
lbragstadhrybacki: responded inline21:20
*** wes_dillingham has joined #openstack-keystone21:22
adriantlbragstad, cmurphy: What's the response code when attempting auth with an expired token? Or trying to use an expired token?21:23
lbragstad401 i believe21:23
*** AlexeyAbashkin has quit IRC21:23
lbragstador 404... i need to double check..21:23
cmurphyyeah i think still 40121:23
adriantI'm just trying to decide and add to the spec what we return when a receipt expires21:24
adriantbecause knowing the failure was expiry would be useful21:24
adriantbut if we can add that to the 401 error message that works21:24
lbragstadyeah - 401, just tested it21:25
adriantI'm imagining horizon flow: username+password > totp screen > wait 6 mins > hit enter > error redirect to login again21:25
adriantin that case should the user be made away the failure was expiry21:25
adriantand if so, then we need to convey that in the response :/21:26
hrybackimmm should Horizon handle a timeout like that?21:26
hrybackithink of when your bank kicks you off a login screen without you making any prompt at all21:27
hrybacki(maybe that's just my bank)21:27
adriantoh, so have the js do it?21:27
adriantActually...21:27
hrybackiaye21:27
adriantyes, we'd return the expiry time in the receipt21:27
adrianthorizon would know when it expires and could pass to the js that time21:28
adriantthen redirect back to login before even hitting the failure21:28
kmallocyeah, i'd have horizon handle that case if possible21:28
adriantyeah, that works21:28
*** itlinux has quit IRC21:31
*** dmellado has quit IRC21:32
adriantkmalloc: as a middle ground, you ok with 10mins for expiry and having it configurable should a cloud want it short/longer?21:36
kmalloci'd rather it not be configurable, not my followup comment, don't worry about timing.21:36
kmallocpick a timeout, go with it.21:37
adriantalright, I'll put 10 then since it's a little safer than 15, and not quite as short as 521:37
kmallochonestly i don't think it'll matter21:37
kmallocremember this is only every supposed to be used from initial password -> followup21:37
kmallocwhat usecase are you solving with 10 or 15m timeout21:38
kmallocmy opinion is start very low and increase21:38
kmallocvs the inverse21:38
* adriant nods21:38
adriantdone, 5m it is21:38
kmallocbut answer what you're solving with the longer timeout before selecting above 5 :)21:38
kmallocand then i'm on the same page as you for the reasoning.21:38
adriantkmalloc: I don't have a good reason, more just that I expect people to be silly and take too long for stuff that shouldn't and then complain :P21:39
* adriant is quite cynical when it comes to users21:39
kmalloci'd rather they complain and we increase it in code ;)21:39
kmallocbecause then we can ask "why does it take you 10m to get your auth process done?" ;)21:40
hrybackiack, thanks lbragstad21:43
lbragstadno problem21:43
*** josecastroleon has quit IRC21:47
*** spilla has quit IRC21:55
lbragstad#endmeeting22:04
*** openstack changes topic to "Queens release schedule: https://releases.openstack.org/queens/schedule.html | Meeting agenda: https://etherpad.openstack.org/p/keystone-weekly-meeting | Bugs that need triaging: http://bit.ly/2iJuN1h | Trello: https://trello.com/b/wmyzbFq5/keystone-rocky-roadmap"22:04
openstackMeeting ended Tue Mar 20 22:04:06 2018 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)22:04
openstackMinutes:        http://eavesdrop.openstack.org/meetings/keystone_office_hours/2018/keystone_office_hours.2018-03-20-17.01.html22:04
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/keystone_office_hours/2018/keystone_office_hours.2018-03-20-17.01.txt22:04
openstackLog:            http://eavesdrop.openstack.org/meetings/keystone_office_hours/2018/keystone_office_hours.2018-03-20-17.01.log.html22:04
*** dmellado has joined #openstack-keystone22:04
*** germs has joined #openstack-keystone22:10
*** germs has quit IRC22:10
*** germs has joined #openstack-keystone22:10
*** martinus__ has quit IRC22:11
*** rcernin has joined #openstack-keystone22:13
openstackgerritGage Hugo proposed openstack/keystone master: Refactor list_users and related functions  https://review.openstack.org/55388022:13
gagehugowxy: added your test change for ^22:13
*** germs has quit IRC22:14
*** dave-mccowan has quit IRC22:17
*** felipemonteiro_ has quit IRC22:18
*** AlexeyAbashkin has joined #openstack-keystone22:19
*** AlexeyAbashkin has quit IRC22:23
*** dave-mccowan has joined #openstack-keystone22:29
*** oikiki has quit IRC22:43
*** oikiki has joined #openstack-keystone22:50
openstackgerritLance Bragstad proposed openstack/keystone master: Add scope documentation for service developers  https://review.openstack.org/55472722:54
lbragstadhrybacki: kmalloc cmurphy ^22:54
*** harlowja has quit IRC22:57
*** masber has joined #openstack-keystone23:03
*** masuberu has joined #openstack-keystone23:04
openstackgerritAdrian Turjak proposed openstack/keystone-specs master: Add spec for MFA auth receipts  https://review.openstack.org/55367023:06
*** oikiki has quit IRC23:06
*** masber has quit IRC23:08
*** AlexeyAbashkin has joined #openstack-keystone23:19
*** AlexeyAbashkin has quit IRC23:23
openstackgerritAdrian Turjak proposed openstack/keystone-specs master: Add spec for MFA auth receipts  https://review.openstack.org/55367023:24
*** Anticime1 is now known as Anticimex23:29
adriantkmalloc, cmurphy: added a comment about scope23:32
adriantand hopefully now we've got most of the things that need addressing, addressed!23:32
*** harlowja has joined #openstack-keystone23:49

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!