Monday, 2015-07-27

*** chlong has joined #openstack-keystone00:00
*** ankita_wagh has quit IRC00:08
*** hrou has joined #openstack-keystone00:12
*** r-daneel has joined #openstack-keystone00:37
*** r-daneel has quit IRC00:44
*** dims has joined #openstack-keystone00:58
*** tellesnobrega has quit IRC01:10
*** iurygregory has quit IRC01:11
*** gabriel-bezerra has quit IRC01:11
*** samueldmq has quit IRC01:11
*** ericksonsantos has quit IRC01:11
*** Kennan has quit IRC01:13
*** htruta has quit IRC01:14
*** iurygregory has joined #openstack-keystone01:15
*** htruta has joined #openstack-keystone01:15
*** samueldmq has joined #openstack-keystone01:15
*** ericksonsantos has joined #openstack-keystone01:15
*** Kennan has joined #openstack-keystone01:16
*** tellesnobrega has joined #openstack-keystone01:16
*** gabriel-bezerra has joined #openstack-keystone01:17
*** krotsche_vaca is now known as krotscheck01:28
*** davechen has joined #openstack-keystone01:31
*** htruta_ has quit IRC01:34
bigjoolsis it possible to mix different identity services in the same domain?01:34
openstackgerritDave Chen proposed openstack/keystone: Show friendly message when request body is not provided  https://review.openstack.org/19500101:38
openstackgerritDave Chen proposed openstack/keystone: Region creation with id given also need schema validation  https://review.openstack.org/20100701:39
*** topol has joined #openstack-keystone01:39
*** ChanServ sets mode: +v topol01:39
*** chenhong has joined #openstack-keystone02:06
ayoungbigjools, no.02:16
ayoungand with that, I am going to sleep.  Ask me more tomorrow02:17
bigjoolsayoung: thanks. :)02:17
*** ayoung has quit IRC02:17
*** topol has quit IRC02:31
*** jsavak has joined #openstack-keystone02:37
openstackgerritjiaxi proposed openstack/keystone: Reject create endpoint with invalid urls  https://review.openstack.org/20051202:40
*** jsavak has quit IRC02:41
*** hakimo has joined #openstack-keystone02:52
*** hakimo_ has quit IRC02:54
*** markvoelker has joined #openstack-keystone02:58
*** snapdey has joined #openstack-keystone02:58
*** dims has quit IRC02:59
*** tsubic has quit IRC02:59
*** snapdey has quit IRC03:02
*** markvoelker has quit IRC03:02
*** topol has joined #openstack-keystone03:31
*** ChanServ sets mode: +v topol03:31
openstackgerritDave Chen proposed openstack/keystone: Merge `clean.py` into `utils.py`  https://review.openstack.org/20588603:33
*** topol has quit IRC03:36
*** dims has joined #openstack-keystone04:00
*** dims has quit IRC04:06
*** hrou has quit IRC04:08
*** btully has joined #openstack-keystone04:11
*** jecarey has joined #openstack-keystone04:12
*** Kennan2 has joined #openstack-keystone04:20
*** Kennan has quit IRC04:20
*** ankita_wagh has joined #openstack-keystone04:25
*** marzif has joined #openstack-keystone04:41
*** jecarey has quit IRC04:47
*** markvoelker has joined #openstack-keystone04:58
*** browne has joined #openstack-keystone05:02
*** markvoelker has quit IRC05:03
*** marzif has quit IRC05:11
*** pballand has joined #openstack-keystone05:18
*** jasonsb has joined #openstack-keystone05:18
*** pballand has quit IRC05:40
*** browne has quit IRC05:41
*** browne has joined #openstack-keystone05:41
*** fifieldt has joined #openstack-keystone06:00
*** dims has joined #openstack-keystone06:03
*** ParsectiX has joined #openstack-keystone06:05
*** dims has quit IRC06:09
*** lsmola has joined #openstack-keystone06:12
*** mestery has quit IRC06:31
*** btully has quit IRC06:56
*** markvoelker has joined #openstack-keystone06:59
*** markvoelker has quit IRC07:04
*** pnavarro has joined #openstack-keystone07:14
*** henrynash has joined #openstack-keystone07:15
*** ChanServ sets mode: +v henrynash07:15
*** pawel_ has quit IRC07:17
*** lsmola has quit IRC07:21
*** lsmola has joined #openstack-keystone07:21
*** miguelgrinberg has joined #openstack-keystone07:24
*** lhcheng has joined #openstack-keystone07:24
*** ChanServ sets mode: +v lhcheng07:24
*** chlong has quit IRC07:28
openstackgerritjiaxi proposed openstack/keystone: Reject create endpoint with invalid urls  https://review.openstack.org/20051207:34
*** ankita_wagh has quit IRC07:41
*** fifieldt has quit IRC07:42
*** jistr has joined #openstack-keystone07:44
*** fhubik has joined #openstack-keystone07:45
*** topol has joined #openstack-keystone07:49
*** ChanServ sets mode: +v topol07:49
*** ankita_wagh has joined #openstack-keystone07:49
*** topol has quit IRC07:53
jagterhi guys07:55
jagteris it possible to create a domain admin who is only allowed to see/create projects/users in his own domain?07:55
*** ankita_wagh has quit IRC08:13
*** fhubik is now known as fhubik_afk08:22
*** fhubik_afk is now known as fhubik08:26
*** lhcheng has quit IRC08:29
*** aix has joined #openstack-keystone08:31
*** e0ne has joined #openstack-keystone08:33
*** browne has quit IRC08:36
*** fhubik is now known as fhubik_afk08:36
*** fhubik_afk is now known as fhubik08:41
*** eandersson has joined #openstack-keystone09:00
*** markvoelker has joined #openstack-keystone09:00
*** markvoelker has quit IRC09:05
*** dims has joined #openstack-keystone09:06
*** dims has quit IRC09:11
openstackgerritMarek Denis proposed openstack/keystoneauth-saml2: Standardize federated auth token scoping  https://review.openstack.org/17722709:23
*** yottatsa has joined #openstack-keystone09:23
*** fhubik is now known as fhubik_afk09:26
*** afazekas has joined #openstack-keystone09:28
*** yottatsa has quit IRC09:40
*** yottatsa has joined #openstack-keystone09:41
*** bradjones has joined #openstack-keystone09:42
*** bradjones has quit IRC09:42
*** bradjones has joined #openstack-keystone09:42
*** fhubik_afk is now known as fhubik09:43
*** henrynash has quit IRC09:48
yottatsadavechen, pls see https://review.openstack.org/#/c/205554/09:50
*** yottatsa has quit IRC09:51
*** davechen has left #openstack-keystone09:54
*** dims has joined #openstack-keystone10:04
*** yottatsa has joined #openstack-keystone10:05
*** dims_ has joined #openstack-keystone10:06
*** dims has quit IRC10:10
*** lhcheng has joined #openstack-keystone10:18
*** ChanServ sets mode: +v lhcheng10:18
DavieyHey, given *just* a token - the only way I can determine what roles that token has is by creating a new one, using it for Auth - right?10:19
*** chenhong has quit IRC10:20
*** dobson` has quit IRC10:21
*** albertom has quit IRC10:21
*** Guest66585 has quit IRC10:21
*** mancdaz has quit IRC10:21
*** albertom has joined #openstack-keystone10:22
yottatsayep, the only way is rescope your token via Auth10:22
Davieyyottatsa: thanks10:23
*** lhcheng has quit IRC10:23
*** dan_ has joined #openstack-keystone10:23
*** dan_ is now known as Guest4714210:24
yottatsaDaviey, BTW, if you're writing the Application that receive user requests, you could check token against the API10:24
yottatsa http://developer.openstack.org/api-ref-identity-admin-v2.html#admin-validateToken http://developer.openstack.org/api-ref-identity-v3.html#validateTokens10:24
*** dobson has joined #openstack-keystone10:25
Davieyyottatsa: Yeah, that is what i want to do - but also get a list of roles, without knowing the Project or User.10:26
yottatsaAFAIK in OpenStack, if you're an app, you can only work with the scope of the token10:29
yottatsaDaviey, tell me more about your case10:30
Davieyyottatsa: Well, currently looking at https://github.com/openstack/anchor/blob/73c989342b41fbd3b370193730c651b9afb50bdd/anchor/auth/keystone.py#L2810:31
DavieyWhich is all kinds of broken10:31
Davieyyottatsa: for starters the return code is 201 on a POST10:31
yottatsacalling GET /v3/auth/tokens with your app token in X-Auth-Token and user token in X-Subject-Token will get you his roles in project the token scoped10:34
Davieyyottatsa: Perfect, thanks10:36
yottatsaalso, there is keystonemiddleware that will do all the work10:36
Davieyyottatsa: Yeah, that is what i'd like to do.. but first I wanted to do the minimal to unbreak this.10:38
DavieyI more wanted validation that I wasn't going nuts.10:39
marekdsamueldmq: so, afair all this dynamic policy is going to be optional at least for couple of first releases when it's merged10:39
openstackgerritVladimir Eremin proposed openstack/keystone: Replace 401 to 404 when token is invalid  https://review.openstack.org/20555410:40
*** pnavarro is now known as pnavarro|lunch10:40
*** mancdaz has joined #openstack-keystone10:41
jamielennoxDaviey: what the hell is that - i've not seen anyone else use that pattern10:43
Davieyjamielennox: Yeah, it doesn't work either.10:44
jamielennoxit seems to expect a token in the config file10:44
Davieyjamielennox: No, the service isn't trusted.. it has a keystone uri in the config, and just proxies the token provided by the user to the keystone service and processes the response.10:45
jamielennoxi am not a great fan of some of the oslo libraries, but anchor seems to have gone out of it's way to not actually use any of the openstack libraries10:46
jamielennoxDaviey: so... auth_token middleware?10:46
DavieyThat would make sense.10:46
Davieyjamielennox: I wanted to fix this to at least /work/, then try and do it properly.10:47
jamielennoxso keystoneclient has methods for validating an existing token10:47
jamielennoxgenerally you need to have a token to validate another token though10:48
Davieyjamielennox: Maybe i should just drop this current implementation and go straight to using middleware.10:48
jamielennoxhence why we have service users in auth_token middleware10:48
jamielennoxi guess what they are doing with just rescoping kind of works as well10:49
jamielennoxDaviey: they are already using paste10:49
jamielennoxi would look at putting auth_token middleware in there and setting the ingore_invalid flag (i can't remember what it's called010:49
jamielennoxhttps://github.com/openstack/keystonemiddleware/blob/master/keystonemiddleware/auth_token/__init__.py#L24910:50
Davieyright!10:51
Davieyjamielennox: that is useful, thanks10:51
jamielennoxnp10:52
*** ParsectiX has quit IRC10:52
jamielennoxalright - night everyone10:53
*** kiran-r has joined #openstack-keystone10:53
samueldmqmorning10:53
samueldmqmarekd: yeah it is going to have a config option, and will be turned of by default10:53
*** ParsectiX has joined #openstack-keystone10:53
samueldmqmarekd: and just to be clear, what we are talking right now is about the centralized policy distribution, there other bits that will still be addressed in future cycles, like hierarchical roles, etc10:54
samueldmqjamielennox: hey, how far we are in the v3 only jobs in devstack? I saw a couple of patches have merged10:59
*** yottatsa has quit IRC11:01
*** markvoelker has joined #openstack-keystone11:01
*** yottatsa has joined #openstack-keystone11:02
*** markvoelker has quit IRC11:05
*** pnavarro|lunch has quit IRC11:06
*** pnavarro|lunch has joined #openstack-keystone11:09
marekdsamueldmq: yeah, i figured there was not a single word about fixing 'global adminness'11:19
marekdsamueldmq: i hope you are not triking everybody and the only thing will be centralized policies management :P11:19
marekdsamueldmq: anyway, everywhere in the specs it looks like this will be default mechanism, and since it will be optional you should emphasize it.11:19
marekdthats my opinion.11:20
samueldmqmarekd: hey I did that, I made clear there will be a config option11:20
samueldmqmarekd: and per your comment in the spec last Friday, I made that still clearer by saying it will be false by default, meaning the old mechanism will be used11:21
samueldmqmarekd: see 'other deployer impact' https://review.openstack.org/#/c/134655/13/specs/backlog/dynamic-policies-fetch-cache.rst11:21
samueldmq:)11:21
*** yottatsa has quit IRC11:29
*** marzif has joined #openstack-keystone11:31
*** kiran-r has quit IRC11:38
*** yottatsa has joined #openstack-keystone11:40
*** jsavak has joined #openstack-keystone11:41
*** jsavak has quit IRC11:45
*** amakarov_away is now known as amakarov11:52
*** jiaxi has joined #openstack-keystone11:55
jiaxiHello,everyone11:56
jiaxiIs there anyone here ? adam  david ?11:56
*** jaosorior has joined #openstack-keystone12:03
*** raildo has joined #openstack-keystone12:04
*** lhcheng has joined #openstack-keystone12:07
*** ChanServ sets mode: +v lhcheng12:07
jiaxi lhcheng ,Hi12:08
*** fhubik is now known as fhubik_afk12:09
jiaxiHello,everyone.12:09
jiaxiThere is a bug that assined to me. But I don't know how to solve it. So anyone is free to take it.12:10
jiaxibug is here :  https://bugs.launchpad.net/keystone/+bug/147329212:10
openstackLaunchpad bug 1473292 in Keystone "Cannot delete or show a trust with an expired date" [High,Triaged] - Assigned to jiaxi (tjxiter)12:10
*** lhcheng has quit IRC12:11
marekddolphm: lbragstad: Read my comment at th bottom please: https://review.openstack.org/#/c/202176/12:12
jiaximarekd: hello12:13
*** gordc has joined #openstack-keystone12:26
marekdjiaxi: i am about to disappear12:26
jiaxiwhy12:26
marekdbecause i have to.12:27
*** edmondsw has joined #openstack-keystone12:30
*** chlong has joined #openstack-keystone12:30
*** lhcheng has joined #openstack-keystone12:31
*** ChanServ sets mode: +v lhcheng12:31
*** lhcheng has quit IRC12:35
*** TheIntern has joined #openstack-keystone12:36
jiaxi TheIntern, hi12:37
*** stevemar has joined #openstack-keystone12:39
*** ChanServ sets mode: +v stevemar12:39
*** stevemar has quit IRC12:39
*** jiaxi has quit IRC12:43
openstackgerritBrant Knudson proposed openstack/keystonemiddleware: Use classifier for python-memcached  https://review.openstack.org/20604412:43
*** topol has joined #openstack-keystone12:44
*** ChanServ sets mode: +v topol12:44
*** hrou has joined #openstack-keystone12:45
*** woodster_ has joined #openstack-keystone12:45
*** bknudson has quit IRC12:46
*** jiaxi has joined #openstack-keystone12:51
jiaxidstanek12:52
jiaxidstanek: hello,david12:52
*** dguerri` is now known as dguerri12:52
*** _hrou_ has joined #openstack-keystone13:00
*** fhubik_afk is now known as fhubik13:00
*** hrou has quit IRC13:01
*** stevemar has joined #openstack-keystone13:05
*** ChanServ sets mode: +v stevemar13:05
*** stevemar has quit IRC13:05
*** edmondsw has quit IRC13:08
*** fhubik is now known as fhubik_afk13:08
*** jsavak has joined #openstack-keystone13:12
*** fhubik_afk is now known as fhubik13:13
*** yottatsa has quit IRC13:14
*** bknudson has joined #openstack-keystone13:14
*** ChanServ sets mode: +v bknudson13:14
dstanekjiaxi: hi13:19
*** browne has joined #openstack-keystone13:19
dstanekjiaxi: did you see my email?13:19
*** btully has joined #openstack-keystone13:19
*** Nirupama has joined #openstack-keystone13:20
*** kiran-r has joined #openstack-keystone13:22
samueldmqdstanek: hi, I was thinking about how we decide what policy to get from a list of endpoint_ids .. in the current proposal, we iterate over the list and get the first endpoint_id which has a policy associated with it13:23
samueldmqdstanek: an alternative would be pass the list to the server, and it will decide what policy to return13:24
samueldmqdstanek: that would be better in the case we need to consider higher policies (service/region) and multiple endpoint_ids , we keep all the compelxity in the server13:24
jiaxidstanek: Yes, I have read it. I got out to buy some water.  Return just now13:24
jiaxidstanek: What you said is pretty right.13:25
*** _kiran_ has joined #openstack-keystone13:27
*** dsirrine has joined #openstack-keystone13:27
*** browne has quit IRC13:28
dstaneksamueldmq: so the current spec the middleware will pull down N policies and iterate over them to find the best match?13:28
*** Nirupama has quit IRC13:28
dstanekjiaxi: cool, if you trim down that patch to only fix the bug i think we can get it merged quickly13:29
jiaxidstanek: I have updated it. Just running tox now.13:29
samueldmqdstanek: no, actually it iterates over the list of endpoint_ids, and call the server, if the response is valid, break and use that policy13:29
*** kiran-r has quit IRC13:30
openstackgerritRodrigo Duarte proposed openstack/keystone: Add is_domain in token response  https://review.openstack.org/19733113:30
openstackgerritRodrigo Duarte proposed openstack/keystone: Bye Bye Domain Table  https://review.openstack.org/16185413:30
openstackgerritRodrigo Duarte proposed openstack/keystone: Honor domain operations in project table  https://review.openstack.org/14376313:30
openstackgerritRodrigo Duarte proposed openstack/keystone: Remove domain table references  https://review.openstack.org/16593613:30
openstackgerritRodrigo Duarte proposed openstack/keystone: WIP: Change policy to comply with is_domain in token  https://review.openstack.org/20606313:30
jiaxisamueldmq: You should have a good discuss with David, I have changed my code in direction for so many times...13:32
dstanekjiaxi: if you look back at my comments in your first few revisions you'll see that what it arrived at is what i was asking for :-)13:33
*** markvoelker has joined #openstack-keystone13:34
jiaxidstanek: Totally right. Only fix the bug. I just think about more cases above the issue.13:35
*** samueldmq has quit IRC13:35
jiaxidstanek: This is my first patch set to openstack, tt is aslo my first patch set to open source.13:36
*** samueldmq has joined #openstack-keystone13:36
dstanekjiaxi: as a group we are pretty picky about cramming lots of things into a single patch; you'll get used to it13:36
jiaxidstanek: lack experence.13:36
jiaxidstanek: Yes , I will13:37
dstaneksamueldmq: so a server hit to get a list of endpoint_ids and the 1..N server hits for each endpoint_id until you find the one you want?13:37
*** stevemar has joined #openstack-keystone13:37
*** ChanServ sets mode: +v stevemar13:37
samueldmqdstanek: basically yes, so the change would to to get 1 hit to find the appropriate policy as well13:37
dstanekjiaxi: your best bet is to keep things short and concise (since that makes a patch easier to read), but make sure that new/changed code is tested13:38
*** fhubik is now known as fhubik_afk13:38
jiaxidstanek: Okay, I will keep your words in mind.13:39
dstaneksamueldmq: since you are already going to hit the server at least twice (and possibly up the num_endpoints+1) having a single hit where the server evaluates things seems like a good idea13:39
*** _kiran_ has quit IRC13:39
*** yottatsa has joined #openstack-keystone13:39
*** yottatsa has quit IRC13:40
dstanekdolphm: lbragstad: fernet is still considered experimental right?13:40
*** yottatsa has joined #openstack-keystone13:40
samueldmqdstanek: nice, thanks13:40
samueldmqdstanek can hold multiple conversations at the same time :)13:41
*** chlong has quit IRC13:42
jiaxisamueldmq:    :) means laugh ?13:43
dstanekjiaxi: a smile13:44
samueldmqjiaxi: that means a happy face :)13:44
samueldmqdstanek: ++13:44
jiaxisamueldmq:  你们会说中文吗?  哈哈13:44
samueldmqjiaxi: lol13:44
samueldmqjiaxi: google translating that .. wait13:45
jiaxisamueldmq:  what does lol mean ?13:45
samueldmqjiaxi: 是的,我讲13:45
dstanekjiaxi: no13:45
jiaxisamueldmq: ...13:46
*** richm has joined #openstack-keystone13:46
dstanekjiaxi: 我很难有足够的时间与英语13:46
jiaxidstanek: In fact, chinese is very easy to learn.13:46
samueldmqjiaxi: by definition that means 'laughing out loud', I use that in some funny situations, like you writing something in chinese and I have no idea what you said :p13:47
samueldmqdstanek: ++13:47
samueldmqdstanek: +1 what you said (after translating ..)13:48
jiaxisamueldmq: lol,  :)  I got it.13:48
breton哈 -- this looks like some weird house13:48
jiaxibreton: it means lol13:49
dstanekjiaxi: i intended to learn French for the paris summit, but that fell through. too hard to learn without having someone to talk to in that language13:50
*** zzzeek has joined #openstack-keystone13:50
samueldmqdstanek: hmm.. tu peux le faire avec moi, je parles un petit peu de français :)13:51
*** fhubik_afk is now known as fhubik13:51
jiaxidstanek: Yes, so I learn english throught talking with you.13:51
samueldmqjiaxi: nice, most of the English I know I learned like you're doing :)13:52
*** jistr has quit IRC13:52
samueldmqjiaxi: expose yourself to the language (music, text, movies, etc) and you'll learn it13:52
*** jistr has joined #openstack-keystone13:54
jiaxisamueldmq: Good suggestion. I can sing serval english songs.13:54
*** henrynash has joined #openstack-keystone13:54
*** ChanServ sets mode: +v henrynash13:54
openstackgerritjiaxi proposed openstack/keystone: Reject create endpoint with invalid urls  https://review.openstack.org/20051213:55
samueldmqhenrynash: good morning sir, thanks for your review on the 'centralized policy fetch'13:56
samueldmqhenrynash: I am finishing a new patchset to address your concerns in a couple of minutes13:56
henrynashsamueldmq: np…currently on a call…so response will be slow13:56
samueldmqhenrynash: np, I will ping you as soon as I post it, thanks13:56
*** edmondsw has joined #openstack-keystone13:57
jiaxidstanek: Hello, David. My patch looks much much much much better now...13:58
openstackgerritOpenStack Proposal Bot proposed openstack/python-keystoneclient: Updated from global requirements  https://review.openstack.org/20608213:59
dstanekjiaxi: nice, thx14:00
*** mylu has joined #openstack-keystone14:00
*** boris-42 has joined #openstack-keystone14:02
*** sigmavirus24_awa is now known as sigmavirus2414:04
*** TheIntern has quit IRC14:06
*** ParsectiX has quit IRC14:07
jiaxiPlease have a look at my patch set https://review.openstack.org/#/c/200512/   It looks nice now.14:09
*** jecarey has joined #openstack-keystone14:15
*** TheIntern has joined #openstack-keystone14:18
*** fhubik is now known as fhubik_afk14:21
*** pnavarro|lunch has quit IRC14:22
*** fhubik_afk is now known as fhubik14:24
*** mylu has quit IRC14:27
*** ayoung has joined #openstack-keystone14:27
*** ChanServ sets mode: +v ayoung14:27
*** mylu has joined #openstack-keystone14:28
*** henrynash has quit IRC14:36
*** henrynash has joined #openstack-keystone14:37
*** ChanServ sets mode: +v henrynash14:37
*** yottatsa has quit IRC14:41
*** r-daneel has joined #openstack-keystone14:46
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystone-specs: Centralized Policies Fetch and Cache  https://review.openstack.org/13465514:58
samueldmqhenrynash: I added the details/clarifications you asked for ^, thanks14:58
*** pgbridge has joined #openstack-keystone14:58
*** mestery has joined #openstack-keystone15:00
*** jsavak has quit IRC15:00
*** dsirrine has quit IRC15:06
openstackgerritVictor Stinner proposed openstack/keystonemiddleware: Enable memcache tests on Python 3  https://review.openstack.org/20610715:09
*** yottatsa has joined #openstack-keystone15:14
*** browne has joined #openstack-keystone15:16
*** yottatsa has quit IRC15:18
*** jasonsb has quit IRC15:18
*** davi8784 has joined #openstack-keystone15:20
*** davi8784 has quit IRC15:20
*** dims_ has quit IRC15:21
*** TheIntern has quit IRC15:21
*** dims has joined #openstack-keystone15:21
*** aix has quit IRC15:22
*** dsirrine has joined #openstack-keystone15:22
*** thedodd has joined #openstack-keystone15:22
jiaxiHello, everyone.  Doen anyone have interest in hints ? Take this bug for free https://bugs.launchpad.net/keystone/+bug/147745115:23
openstackLaunchpad bug 1477451 in Keystone "Assumption that db drivers can ignore hints is false" [Medium,Triaged] - Assigned to jiaxi (tjxiter)15:23
*** diazjf has joined #openstack-keystone15:24
jiaxiOkay, Now it's unsigned   https://bugs.launchpad.net/keystone/+bug/147745115:25
openstackLaunchpad bug 1477451 in Keystone "Assumption that db drivers can ignore hints is false" [Medium,Triaged]15:25
*** kiran-r has joined #openstack-keystone15:25
*** _kiran_ has joined #openstack-keystone15:26
*** dobson has quit IRC15:29
*** jecarey has quit IRC15:30
*** kiran-r has quit IRC15:30
*** jecarey has joined #openstack-keystone15:30
*** dobson has joined #openstack-keystone15:34
dolphmdstanek: it's a major change with less than 3 milestones under it's belt - so, sure!15:34
dstanekdolphm: i was just asking because i was a thread about using it for Fuel this morning15:34
dstanekdolphm: that's what i figured15:34
dolphmdstanek: i feel like the number of issues is fairly stable, and none are particularly severe (albeit, there's a couple broken use cases) https://bugs.launchpad.net/keystone/+bugs?field.tag=fernet15:35
*** afazekas has quit IRC15:36
*** pballand has joined #openstack-keystone15:37
openstackgerritjiaxi proposed openstack/keystone: Reject create endpoint with invalid urls  https://review.openstack.org/20051215:39
dolphmdstanek: do you remember the conversation in vancouver about including project IDs in k2k SAML assertions so that they could be replicated in the consuming cloud? i believe there's a BP for it15:39
dolphmhttps://blueprints.launchpad.net/keystone/+spec/cross-cloud-project-sync15:39
*** jiaxi has quit IRC15:41
ayoungdolphm, lbragstad, I have a version of the revoke events code that does the linear search method instead of the tree.  Want to beat on it an tell me if it suits your needs?15:42
dolphmayoung: i'd be happy to benchmark it15:42
ayoungdolphm, https://review.openstack.org/#/c/205266/  thanks.15:42
dolphmayoung: should that still be WIP?15:42
dolphmmfisch: you might be interested too ^15:43
ayoungdolphm, I'm certain it is tested code; the algorithm was actually maintained in the test branch of the Tree code.  Do you want to keep it as WIP until you benchmark?15:43
dolphmayoung: your call15:44
*** lhcheng has joined #openstack-keystone15:45
*** ChanServ sets mode: +v lhcheng15:45
ayoungdolphm, I've rewired all the tests to use the new code.  I think it is OK not as WIP, since the Fernet tokens are still in experiement mode;  if you are using Fernet, we should probably see a benefit to using this.15:46
ayoungdolphm, I think this will not get merged until you and lbragstad bless it anyway.15:46
ayoungI'm not planning any more work on it.15:46
dolphmayoung: k15:48
dolphmanyone have a link to the midcycle etherpad?15:49
*** henrynash has quit IRC15:50
openstackgerritBoris Bobrov proposed openstack/keystone: Migrations squash  https://review.openstack.org/20322915:50
*** haneef has quit IRC15:51
lhchengdolphm: https://etherpad.openstack.org/p/keystone-liberty-midcycle-meetup15:51
dolphmlhcheng: thanks!15:51
*** _kiran_ has quit IRC15:52
bknudsondolphm: dstanek: if you're looking for fernet issues, see the results of running tempest using it: https://review.openstack.org/#/c/195780/15:54
dstanekbknudson: i'll take a look. i also have been working on a patch to fix the unicode issues in it so we don't keep doing the .encode().decode() pattern15:55
dolphmbknudson: last i looked, that was just an issue with the expiration microseconds being a lie?15:55
dolphmbknudson: i had a fix for that, and then lbragstad refactored a bunch of stuff and obliterated the fix15:55
bknudsondolphm: I don't know what all issues there were... the microseconds was one of them.15:55
dolphmthe microseconds thing, although the bug reports gets it backwards https://bugs.launchpad.net/keystone/+bug/146956315:55
openstackLaunchpad bug 1469563 in Keystone liberty "Fernet tokens do not maintain expires time across rescope (V2 tokens)" [High,In progress] - Assigned to Lance Bragstad (lbragstad)15:55
dolphmerr https://bugs.launchpad.net/keystone/+bug/145979015:56
openstackLaunchpad bug 1459790 in Keystone "With fernet tokens, validate token loses the ms on 'expires' value " [Low,Triaged] - Assigned to Dolph Mathews (dolph)15:56
bknudsonI think tempest catches both of those15:56
*** dtroyer_zz has quit IRC15:56
bknudsonlooks like the fix for https://bugs.launchpad.net/keystone/+bug/1459790 is already committed15:57
openstackLaunchpad bug 1459790 in Keystone "With fernet tokens, validate token loses the ms on 'expires' value " [Low,Triaged] - Assigned to Dolph Mathews (dolph)15:57
openstackgerritRodrigo Duarte proposed openstack/keystone: Add is_domain field in Project Table  https://review.openstack.org/15742715:57
openstackgerritRodrigo Duarte proposed openstack/keystone: Add is_domain in token response  https://review.openstack.org/19733115:57
openstackgerritRodrigo Duarte proposed openstack/keystone: Bye Bye Domain Table  https://review.openstack.org/16185415:57
openstackgerritRodrigo Duarte proposed openstack/keystone: Honor domain operations in project table  https://review.openstack.org/14376315:57
openstackgerritRodrigo Duarte proposed openstack/keystone: Change policy to comply with is_domain in token  https://review.openstack.org/20606315:57
openstackgerritRodrigo Duarte proposed openstack/keystone: Remove domain table references  https://review.openstack.org/16593615:57
bknudsonoh, the test is committed15:57
openstackgerritRodrigo Duarte proposed openstack/keystone: Change project name constraints  https://review.openstack.org/15837215:57
*** mgarza_ has joined #openstack-keystone16:00
*** henrynash has joined #openstack-keystone16:02
*** ChanServ sets mode: +v henrynash16:02
dolphmbknudson: that ended up merging just as a Related-Bug with tests16:03
dolphmbknudson: lbragstad has 4 in progress patches (one merged) that i need to rewrite against16:04
dolphmbknudson: basically, the issue is that the expiration time returned in the response body on token creation (which contains microseconds) doesn't match what fernet is actually encoding (which is an integer timestamp). so when you validate the token later, it returns the integer value just as fernet persisted it, rather than the microsecond value keystone originally claimed16:05
*** henrynash has quit IRC16:05
bknudsondolphm: don't we want expiration times in microseconds?16:06
dolphmbknudson: the best you can do with fernet is .0000016:06
bknudsondolphm: same for issued_at ?16:08
*** tqtran has joined #openstack-keystone16:09
dolphmbknudson: yes16:09
bknudsonwith https://review.openstack.org/#/c/205851/ we should be able to get a bunch of keystone tests working with py316:09
dolphmbknudson: issued_at is what is actually persisted in the fernet spec itself. we carry the TTL in the payload (as an int) to compute the expiration16:09
*** e0ne has quit IRC16:10
bknudsonthat's what I though16:10
bknudsonthought16:10
*** stevemar has quit IRC16:16
*** jsavak has joined #openstack-keystone16:17
openstackgerritVictor Stinner proposed openstack/keystonemiddleware: Enable memcache tests on Python 3  https://review.openstack.org/20610716:19
*** jasonsb has joined #openstack-keystone16:34
*** kiran-r has joined #openstack-keystone16:34
*** _kiran_ has joined #openstack-keystone16:35
*** afazekas has joined #openstack-keystone16:36
*** mylu has quit IRC16:37
*** _cjones_ has joined #openstack-keystone16:38
*** mylu has joined #openstack-keystone16:38
*** kiran-r has quit IRC16:39
*** jsavak has quit IRC16:40
*** snapdey has joined #openstack-keystone16:41
openstackgerritVictor Stinner proposed openstack/keystonemiddleware: Enable memcache tests on Python 3  https://review.openstack.org/20610716:42
*** jsavak has joined #openstack-keystone16:46
*** afaranha has joined #openstack-keystone16:46
*** afaranha has left #openstack-keystone16:46
*** rm_work is now known as rm_work|away16:51
*** darrenc_ has joined #openstack-keystone16:51
*** gus has quit IRC16:52
*** darrenc has quit IRC16:52
*** roxanaghe has joined #openstack-keystone16:53
bretonwhen we talked about our "functional unit" tests, we talked about those using keystone.tests.unit.core.TestClient, right?16:53
*** gus has joined #openstack-keystone16:54
*** jistr has quit IRC16:55
*** _kiran_ has quit IRC16:55
*** topol has quit IRC16:57
*** snapdey has quit IRC16:57
*** afazekas has quit IRC16:58
*** afazekas has joined #openstack-keystone17:00
*** snapdey has joined #openstack-keystone17:01
*** samleon has joined #openstack-keystone17:02
*** jsavak has quit IRC17:02
*** jsavak has joined #openstack-keystone17:03
*** tqtran has quit IRC17:04
dstanekbreton: no, functional tests will use requests17:06
dstanekwe'll be building a base of stuff outside of that and hopefully in a better way17:07
bretondstanek: they will, but what do we use now instead of normal functional tests?17:07
*** jasonsb has quit IRC17:07
*** dguerri is now known as dguerri`17:09
dstanekbreton: do you want to make new tests?17:09
dstanekwe have a couple of ways i think that we do things - based on what you are trying to test17:10
bretondstanek: we have a bunch of tests in test_versions.py for example. I'm thinking about moving them all to functional/ and replace the TestClient they use17:11
bretondstanek: http://paste.openstack.org/show/405943/ something like that, just smarter17:14
*** stevemar has joined #openstack-keystone17:17
*** ChanServ sets mode: +v stevemar17:17
*** ankita_wagh has joined #openstack-keystone17:17
*** jasonsb has joined #openstack-keystone17:21
*** stevemar has quit IRC17:21
*** diazjf has quit IRC17:22
*** afazekas has quit IRC17:22
*** e0ne has joined #openstack-keystone17:22
*** snapdey has quit IRC17:24
*** jsavak has quit IRC17:25
*** snapdey has joined #openstack-keystone17:26
*** jsavak has joined #openstack-keystone17:26
*** fhubik has quit IRC17:28
SpamapSCan somebody else look at this line and confirm what I'm seeing: you can make Keystone explode by making a .bak file in its key directory: https://git.openstack.org/cgit/openstack/keystone/tree/keystone/token/providers/fernet/utils.py#n17717:36
*** snapdey has quit IRC17:36
*** boris-42 has quit IRC17:40
*** mgarza_ has quit IRC17:44
*** stevemar has joined #openstack-keystone17:48
*** ChanServ sets mode: +v stevemar17:48
dstanekSpamapS: looks like that would be the case17:49
SpamapSdstanek: almost done writing a test :)17:49
*** afazekas has joined #openstack-keystone17:49
SpamapSdstanek: thanks for looking at it17:50
*** harlowja has joined #openstack-keystone17:52
dstanekSpamapS: np17:53
openstackgerritOpenStack Proposal Bot proposed openstack/keystone: Updated from global requirements  https://review.openstack.org/20493717:55
openstackgerritOpenStack Proposal Bot proposed openstack/keystonemiddleware: Updated from global requirements  https://review.openstack.org/19725417:55
SpamapSsame mistake in load_keys17:56
bknudsonbreton: tempest provides functional tests17:56
bretonbknudson: why do we functional tests in keystone then?17:57
bknudsonbreton: tempest doesn't want to maintain them for us17:57
edmondswbknudson, is there a spec for splitting auth out of keystoneclient? I can't seem to find it17:58
bknudsonit would be great if we could get https://review.openstack.org/#/c/206044/ or something like it merged so that we can update reqs in keystonemiddleware again17:58
*** jsavak has quit IRC18:01
*** e0ne has quit IRC18:01
*** jsavak has joined #openstack-keystone18:02
*** Guest28145 is now known as tsymanczyk_18:03
*** tsymanczyk_ is now known as Guest254418:04
* morganfainberg yawns18:05
*** Guest2544 is now known as tsymanczyk18:05
*** tsymanczyk is now known as Guest6260118:05
dstanekbknudson: do you need that now that memcache has been updated in https://review.openstack.org/#/c/197254 ?18:05
*** spandhe has joined #openstack-keystone18:07
*** jsavak has quit IRC18:07
*** mylu has quit IRC18:07
*** Guest62601 has quit IRC18:08
*** mylu has joined #openstack-keystone18:08
*** jsavak has joined #openstack-keystone18:08
*** tsymanczyk has joined #openstack-keystone18:10
*** snapdey has joined #openstack-keystone18:10
morganfainbergoh we finally got a python-memcache that works with py3?18:12
morganfainbergdon't get me wrong, i still dislike the library18:12
*** diazjf has joined #openstack-keystone18:13
dstaneklol, yes. unfortunately this may lower the motivation to replace it18:13
*** afazekas has quit IRC18:19
*** jsavak has quit IRC18:21
openstackgerritClint 'SpamapS' Byrum proposed openstack/keystone: Handle non-numeric files in key_repository  https://review.openstack.org/20617718:21
*** jsavak has joined #openstack-keystone18:21
dstanekmorganfainberg: so i wanted some practice with Python internals so over the weekend i created a new project that asserts params/returns/raises from the docstring against the function calls at test time18:24
openstackgerritSam Leong proposed openstack/keystone: Tokenless authz with X.509 SSL client certificate  https://review.openstack.org/15687018:24
morganfainbergdstanek: neat!18:24
dstaneki need to get it published today, but i've been running against Keystone as my tests18:24
dstanekhmmm...maybe i need a few real tests too18:25
openstackgerritSam Leong proposed openstack/keystone: Tokenless authz with X.509 SSL client certificate  https://review.openstack.org/15687018:26
SpamapSdstanek: ^^ that patch I just issued is the fix for the non-numeric files in key_repository btw. Your +1 would be very much appreciated. :)18:26
dstanekSpamapS: looking18:27
*** ayoung has quit IRC18:30
*** eandersson has quit IRC18:32
openstackgerritMorgan Fainberg proposed openstack/keystone-specs: Specification for alternative wsgi documents  https://review.openstack.org/20618118:35
*** snapdey has quit IRC18:36
morganfainbergdstanek: also looking forward to seeing flask impl patches go up18:36
*** rm_work|away is now known as rm_work18:37
*** morganfainberg changes topic to "Liberty-2 this week! Land Code! | MidCycle Etherpad: https://etherpad.openstack.org/p/keystone-liberty-midcycle-meetup"18:37
dstanekSpamapS: i think that looks good. just skip over the files that don't fit the pattern?18:41
dstanekmorganfainberg: ++18:41
*** boris-42 has joined #openstack-keystone18:42
*** mylu has quit IRC18:47
bknudsondstanek: we still do need the change to get rid of test-requirements-py3,.txt18:48
*** ankita_wagh has quit IRC18:50
SpamapSdstanek: yeah, I mean, they don't do any harm.18:50
dstanekbknudson: yes, i made that change locally with you as the co-author - want me to push it or did you have something ready to go?18:50
SpamapSdstanek: logging them at least alerts the admin to their presence in a place they should not be.18:50
SpamapSdstanek: though we could also just log at DEBUG and forget that too.18:51
*** ankita_wagh has joined #openstack-keystone18:51
bknudsondstanek: https://review.openstack.org/#/c/206044/ gets rid of test-requirements-py3.txt18:51
*** mylu has joined #openstack-keystone18:51
bknudsonalthough it might not work now that g-r has changed... might need to run update-requirements again18:52
*** stevemar2 has joined #openstack-keystone18:56
*** ChanServ sets mode: +v stevemar218:56
openstackgerritBrant Knudson proposed openstack/keystonemiddleware: Merge test-requirements-py3.txt to test-requirements.txt  https://review.openstack.org/20604418:57
stevemar2dolphm, hey!18:58
dolphmstevemar2: o/18:58
stevemar2dolphm, showing folks how to use irc18:58
stevemar2keep the profanity down18:58
stevemarstevemar2: stevemar2 is the fake one18:59
bknudsonstevemar2: how do you use irc?18:59
* bknudson still hasn't figured it out18:59
samueldmqmorganfainberg, dstanek I'd like to check the sanity of what I am saying in the policy spec at keystone side with you guys19:00
stevemar2bknudson, use same time instead19:00
bknudsonslack!19:01
samueldmqmorganfainberg: dstanek policy has to be the same in processes behind a proxy.. besides the regular cache control to make it possible, I am saying we need the concept of policy 'releases'19:01
samueldmqmorganfainberg: dstanek i.e, if my timeout is 5 min, I will save a copy of policy with id X at 12:00 at that is what I will deliver to service endpoints asking for policy X19:02
samueldmqmorganfainberg: dstanek and that will be valid for (12:05 - now()), where 12:05 is the next release19:02
samueldmqmorganfainberg: dstanek so that would require a table to store the 'last_released_policies'19:03
samueldmqdoes that seem to be sane ? :)19:03
*** stevemar2 is now known as not_stevemar19:06
*** _hrou_ is now known as hrou19:06
samueldmqstevemar: look at this guy >>> not_stevemar19:09
samueldmq:-)19:09
not_stevemarsamueldmq, imposter!19:10
samueldmqnot_stevemar: oh, I don't know how you have privileged modes in the channel for both nicknames .. :(19:11
*** samueldmq is now known as not_samueldmq19:11
not_samueldmqnot_stevemar: hi19:12
not_samueldmqnot_stevemar: better now :)19:12
*** jeffDeville has joined #openstack-keystone19:12
not_stevemarnot_samueldmq, i do? oh thats funny19:13
not_samueldmqnot_stevemar: yeah, you do :) send me the tutorial to put that on mine's as well19:13
not_samueldmqnot_stevemar: hehe19:13
SpamapSdolphm: OH! I see where I read the code wrong. TokenFormatter.crypto() is run on every validation!19:17
*** not_samueldmq is now known as samueldmq19:17
*** snapdey has joined #openstack-keystone19:22
openstackgerritDolph Mathews proposed openstack/keystone: Fix remaining mention of KLWT  https://review.openstack.org/20619519:23
openstackgerritDolph Mathews proposed openstack/keystone: Fix remaining mention of KLWT  https://review.openstack.org/20619519:24
*** amakarov is now known as amakarov_away19:27
not_stevemardstanek, hey!19:27
dolphmSpamapS: correct19:31
openstackgerritClint 'SpamapS' Byrum proposed openstack/keystone: Handle non-numeric files in key_repository  https://review.openstack.org/20617719:34
SpamapSdolphm: cool, that also means you definitely don't want logging in load_keys. :)19:34
dolphmSpamapS: that logging is currently serving as a reminder that we re-load keys all the friggin' time ;)19:34
*** jsavak has quit IRC19:35
dolphmSpamapS: related bug https://bugs.launchpad.net/keystone/+bug/145241819:35
openstackLaunchpad bug 1452418 in Keystone "Fernet tokens read from disk on every request" [Low,In progress] - Assigned to Dolph Mathews (dolph)19:35
*** jeffDeville has left #openstack-keystone19:35
*** topol has joined #openstack-keystone19:36
*** ChanServ sets mode: +v topol19:36
dstanekif you're not_stevemar, then who are you?19:39
SpamapSdolphm: I'm not surprised to hear that caching didn't solve much though. It's a pretty inexpensive operation to read a few text files that are already in VFS cache compared to doing crypto. :-P19:40
*** ayoung has joined #openstack-keystone19:43
*** ChanServ sets mode: +v ayoung19:43
dstanekdolphm: is that bug a won't fix since you abandoned your change? or do you still want to reduce the loggine?19:45
dstanek*logging*19:45
*** harlowja has quit IRC19:45
dolphmdstanek: i wanted to leave it open in case it came up for discussion again - i'm fine to make it Won't Fix, but yeah, logging is a little verbose19:46
*** spandhe has quit IRC19:48
*** mestery has quit IRC19:54
*** jsavak has joined #openstack-keystone19:55
*** not_stevemar has quit IRC19:56
*** stevemar has quit IRC19:56
*** stevemar has joined #openstack-keystone19:57
*** ChanServ sets mode: +v stevemar19:57
*** harlowja has joined #openstack-keystone20:01
*** stevemar has quit IRC20:01
*** jsavak has quit IRC20:02
*** jsavak has joined #openstack-keystone20:04
*** jasonsb has quit IRC20:04
*** spandhe has joined #openstack-keystone20:10
*** dramakri has joined #openstack-keystone20:11
*** snapdey has quit IRC20:14
*** snapdey_ has joined #openstack-keystone20:16
*** flwang has quit IRC20:19
*** topol has quit IRC20:20
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystone-specs: Centralized Policies Distribution Mechanism  https://review.openstack.org/19798020:20
*** spandhe has joined #openstack-keystone20:21
*** spandhe has quit IRC20:22
*** stevemar has joined #openstack-keystone20:24
*** ChanServ sets mode: +v stevemar20:24
*** TheIntern has joined #openstack-keystone20:25
dramakrimorganfainberg: ping.. can you please take a look at this patch which deals with reusing token_ref fetched in AuthContextMiddleware - https://review.openstack.org/#/c/190863/ ? ayoung and henry-nash have +2ed it and is waiting for workflow approval. Thanks!20:29
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystone-specs: Centralized Policies Fetch and Cache  https://review.openstack.org/13465520:31
*** jasonsb has joined #openstack-keystone20:32
*** ankita_w_ has joined #openstack-keystone20:32
*** flwang has joined #openstack-keystone20:32
*** ankita_wagh has quit IRC20:33
*** ankita_wagh has joined #openstack-keystone20:34
*** ankita_w_ has quit IRC20:34
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystone-specs: Centralized Policies Distribution Mechanism  https://review.openstack.org/19798020:34
*** spandhe has joined #openstack-keystone20:34
*** spandhe has quit IRC20:34
sigmavirus24dolphm: bknudson morganfainberg hate to bug you, but y'all had taken a look at https://review.openstack.org/#/c/204741/ previously, thoughts?20:37
dolphmsigmavirus24: whoa, this has certainly changed20:38
sigmavirus24bknudson: gave some really good feedback and I noticed a logic bomb myself20:38
*** pnavarro has joined #openstack-keystone20:38
ayoungdramakri, no need to bother morganfainberg with issues like that20:39
sigmavirus24Also better comments explaining what exactly is happening (I found an obscure socket programming reference that cleared up some of my confusion on the topic of how keep-alives work when configured a certain way)20:39
sigmavirus24I thought I'd use the code there as a cogent example for future readers/maintainers20:39
ayoungdramakri, the person we really want to see it is jamielennox but its a bit early for him yet20:39
dramakriayoung: sorry, didn't know that.20:40
dramakriayoung: okay, will check with him later.20:40
ayoungdramakri, not a big deal.  jamielennox is the client side guru, but it could be any of the cores.  Henrynash is just being cautious.20:40
dramakriayoung: okay, thanks!20:40
*** spandhe has joined #openstack-keystone20:41
morganfainbergsigmavirus24: ooh wow20:42
sigmavirus24morganfainberg: I also need to investigate the keystoneauth failures, but there's a patch for that20:42
morganfainbergsigmavirus24: yeah20:42
* sigmavirus24 doesn't want infra getting caught in another 131.25 timeout situation20:42
sigmavirus24*131.25 min20:42
morganfainbergsigmavirus24: the keystoneauth one is important as well since we'll be moving that way20:42
sigmavirus24morganfainberg: so I heard at the summit :)20:43
*** snapdey_ has quit IRC20:43
*** spandhe has quit IRC20:45
*** snapdey has joined #openstack-keystone20:45
*** spandhe has joined #openstack-keystone20:47
*** harlowja_ has joined #openstack-keystone20:47
openstackgerritMerged openstack/keystone: Updated from global requirements  https://review.openstack.org/20493720:49
*** harlowja has quit IRC20:51
*** stevemar has quit IRC20:55
*** raildo has quit IRC21:00
*** pballand has quit IRC21:04
openstackgerritOpenStack Proposal Bot proposed openstack/keystone: Updating sample configuration file  https://review.openstack.org/20622321:04
*** miguelgrinberg_ has joined #openstack-keystone21:06
openstackgerritRoxana Gherle proposed openstack/keystone: Include latest oslo.config in requirements.txt  https://review.openstack.org/20622421:07
openstackgerritHenrique Truta proposed openstack/keystone: Restrict inherited role assignments to subdomains  https://review.openstack.org/16418021:12
*** hrou has quit IRC21:16
*** dguerri` is now known as dguerri21:21
*** david8hu has quit IRC21:31
*** htruta_ has joined #openstack-keystone21:36
*** david8hu has joined #openstack-keystone21:36
*** mylu has quit IRC21:41
*** diazjf has left #openstack-keystone21:43
*** ankita_w_ has joined #openstack-keystone21:43
*** ankita_wagh has quit IRC21:45
*** snapdey has quit IRC21:50
*** 16WAADQEM has joined #openstack-keystone21:52
dolphmi'm talking to myself about port numbers in this review if anyone wants to hit me with a stick please https://review.openstack.org/#/c/205667/2/keystone/tests/unit/test_versions.py,unified21:52
bknudsondolphm: it is totally possible that it doesn't start up a server to listen on any port.21:54
*** dguerri is now known as dguerri`21:55
*** pballand has joined #openstack-keystone21:56
*** iurygregory has quit IRC21:56
*** dguerri` is now known as dguerri21:57
marekddolphm: Hi. Appreciated you comments or suggestions on https://review.openstack.org/#/c/202176/22:01
marekdI could give it a stab tomorrow.22:01
morganfainbergdolphm: at least your comments to yourself are entertaining22:01
*** TheIntern has quit IRC22:04
*** topol has joined #openstack-keystone22:05
*** ChanServ sets mode: +v topol22:05
marekdbknudson: morganfainberg: Your super power eyes would be also very helpful. We are running into problems with fernet federated tokens as we will need to keep either groups or roles in the scoped fernet payload: https://review.openstack.org/#/c/202176/22:07
morganfainbergmarekd: keep all the things! i mean...22:08
morganfainbergmarekd: looooooking22:08
marekdmorganfainberg: make fernet new PKI! i mean....was super kidding!22:09
*** chlong has joined #openstack-keystone22:09
marekdi am about to wake away but some sort of input on the review would speed things up :-) thanks!22:09
bknudsonwe should put the service catalog in the fernet token.22:11
morganfainbergmarekd: waking away, is that some kind of irish thing?22:11
bknudsonjust as a JSON string22:12
morganfainbergbknudson: i think we should totally put the fernet token in the fernet token so we can fernet fernet fernet fernet fernet fernet22:12
bknudsoneverybody wants dual-scoped tokens...22:12
morganfainbergbknudson: lies, I want quad scoped tokens22:12
morganfainbergi hear they're all the rage22:12
bknudsonprobably one scope per service22:13
morganfainbergcan we just remove scope all together?22:13
bknudsonI've got to admit I've never cared what my scope it.22:14
bknudsonis22:14
*** edmondsw has quit IRC22:14
bknudsonbut then I just login as admin22:14
morganfainbergbknudson: I don't use scope - http://www.raininghotcoupons.com/wp-content/uploads/2015/06/e2643f8434fcd6bb63887faf94943a00.gif - stuff is gross22:15
bknudsonyou're not supposed to swallow it22:15
marekdmorganfainberg: i think i meant 'walk away' and this is clear sign my brain needs some sleep :-)22:16
marekdbye!22:16
morganfainbergbknudson: oh.. so like fernet?22:16
bknudsonalcohol content of Scope weighs in at 18.9%22:16
*** dramakri has quit IRC22:17
bknudsonfernet's 45%22:18
*** samleon has quit IRC22:21
*** gordc has quit IRC22:21
*** harlowja_ has quit IRC22:21
*** harlowja has joined #openstack-keystone22:21
morganfainberglol22:22
*** richm has quit IRC22:28
*** miguelgrinberg_ has quit IRC22:29
*** miguelgrinberg_ has joined #openstack-keystone22:31
*** pnavarro has quit IRC22:31
bigjoolsis the22:33
bigjoolsargh22:33
bigjoolsis there any difference between ports 5000 and 35357 as far as the v3 api is concerned?22:34
dolphmbigjools: nope!22:35
dolphmbigjools: v2 behaves differently on each port, but v3 does not22:35
bigjoolsright, thanks22:35
*** jsavak has quit IRC22:38
*** dramakri has joined #openstack-keystone22:39
*** dramakri has left #openstack-keystone22:39
*** jsavak has joined #openstack-keystone22:39
*** richm has joined #openstack-keystone22:40
*** hrou has joined #openstack-keystone22:44
dolphmayoung: i'm looking to benchmark https://review.openstack.org/#/c/205266/ a bit more deeply ... what's the best way to create a large number of revocation events in the tree, preferrably in test_v3_auth ?22:48
dolphmayoung: i was thinking just creating and deleting a 1,000 unique users or something?22:49
bknudsonyou can configure your paste file to have different extensions on each port22:50
dolphmbigjools: ^22:51
dolphmbknudson: but our default paste file deploys the same pipeline on both ports22:51
bigjoolsok - can you restrict issuing admin tokens to a port?22:51
bknudsonbigjools: with custom middleware in your paste, sure.22:52
bigjoolsis that for both api versions?22:52
*** dguerri is now known as dguerri`22:52
morganfainbergbigjools: what do you mean by admin token?22:52
bknudsonit's all configurable in paste pipeline22:52
morganfainberga token with a specific role? or you mean the "admin_token" paste api entry?22:53
bigjoolsmorganfainberg: admin roles I guess22:53
morganfainbergbigjools: that really isn't something that is easily defineable22:53
bigjoolsyeah22:53
morganfainbergsince what is an "admin" token in v3?22:54
morganfainbergit oculd be any role - tied to the policy.json22:54
morganfainbergalso remember "admin" and "main" go away as a distinction in v3 as well22:54
*** bknudson has quit IRC22:54
*** miguelgrinberg_ has quit IRC22:54
bigjoolsyeah, noticed that22:55
morganfainbergideally with v3 we'll be dropping the two ports in general as well22:55
morganfainbergv3-only that is22:55
bigjoolssounds reasonable if there's no difference any more22:57
*** henrynash has joined #openstack-keystone22:58
*** ChanServ sets mode: +v henrynash22:58
*** henrynash has quit IRC22:58
bigjoolsdoes the pipeline handle token issuance?22:58
dolphmbigjools: yes22:59
bigjoolscool22:59
*** pballand has quit IRC22:59
dolphmbigjools: there are three application objects in paste that can produce x-auth-tokens, plus the middleware that produces ec2 "style" tokens22:59
dolphmbigjools: v2's admin app, v2's service app, and the v3 app23:00
*** 16WAADQEM has quit IRC23:02
*** r-daneel has quit IRC23:02
bigjoolsdolphm: great, thanks!23:02
*** snapdey has joined #openstack-keystone23:05
openstackgerritMerged openstack/python-keystoneclient: Set reasonable defaults for TCP Keep-Alive  https://review.openstack.org/20474123:06
*** arahal has joined #openstack-keystone23:06
*** zzzeek has quit IRC23:07
*** jaosorior has quit IRC23:11
*** thedodd has quit IRC23:12
*** thedodd has joined #openstack-keystone23:12
*** thedodd has quit IRC23:16
*** darrenc_ is now known as darrenc23:18
*** jsavak has quit IRC23:28
*** jecarey has quit IRC23:31
*** arahal has quit IRC23:37
*** arahal has joined #openstack-keystone23:37
*** arahal has quit IRC23:37
*** markvoelker has quit IRC23:40
*** jiaxi has joined #openstack-keystone23:55
jiaxiGood morning, everyone23:56
jiaxiayoung: are you here ?23:57
jiaxidstanek: Hello, David.23:57
jiaxijamielennox : Hi,jamielennox23:58
jamielennoxjiaxi: hello23:58
jiaxiCould you have a look at my patch set ? https://review.openstack.org/#/c/200512/23:59
jiaxiI think it's much much better now.23:59

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