Wednesday, 2017-08-16

*** edmondsw has quit IRC00:00
*** lwanderley has joined #openstack-keystone00:06
*** lwanderley has quit IRC00:06
*** catintheroof has joined #openstack-keystone00:23
*** lucasxu has joined #openstack-keystone00:24
*** markvoelker has quit IRC00:30
*** dave-mccowan has quit IRC00:38
*** thorst has joined #openstack-keystone00:42
*** aojea has quit IRC00:49
lbragstadmjax: good to hear!00:52
*** lucasxu has quit IRC00:54
*** zhurong has joined #openstack-keystone00:58
openstackgerritzhiguo.li proposed openstack/keystone master: Add the step to create a domain  https://review.openstack.org/49372901:03
openstackgerritMerged openstack/keystone master: Remove deprecation of domain_config_upload  https://review.openstack.org/49269401:06
lbragstadyep01:09
* lbragstad goes back to the proper window01:10
*** lucasxu has joined #openstack-keystone01:11
*** lucasxu has quit IRC01:13
*** aselius has quit IRC01:22
*** dave-mccowan has joined #openstack-keystone01:28
openstackgerritLance Bragstad proposed openstack/keystone master: Remove duplicate roles from federated auth  https://review.openstack.org/49404901:31
openstackgerritLance Bragstad proposed openstack/keystone master: Add test the exposes duplicate roles in token  https://review.openstack.org/48964701:32
openstackgerritLance Bragstad proposed openstack/keystone master: Remove duplicate roles from federated auth  https://review.openstack.org/49404901:34
lbragstadcloses another bug we can include for rc2 ^01:34
*** dave-mcc_ has joined #openstack-keystone01:37
*** dave-mccowan has quit IRC01:39
*** lbragstad has quit IRC01:44
*** edmondsw has joined #openstack-keystone01:44
*** catintheroof has quit IRC01:47
*** edmondsw has quit IRC01:48
*** thorst has quit IRC01:59
*** gongysh has joined #openstack-keystone02:07
*** r-daneel has joined #openstack-keystone02:09
*** mjax has quit IRC02:21
*** mjax has joined #openstack-keystone02:23
*** mjax has quit IRC02:24
*** mjax has joined #openstack-keystone02:24
*** mjax has quit IRC02:26
*** markvoelker has joined #openstack-keystone02:31
*** mjax has joined #openstack-keystone02:38
*** mjax has quit IRC02:39
*** gongysh has quit IRC02:47
*** catintheroof has joined #openstack-keystone02:50
*** gongysh has joined #openstack-keystone02:53
*** catintheroof has quit IRC03:03
*** markvoelker has quit IRC03:04
*** Shunli has joined #openstack-keystone03:05
*** dklyle has quit IRC03:12
*** dave-mcc_ has quit IRC03:21
*** sbezverk has joined #openstack-keystone03:24
*** david-lyle has joined #openstack-keystone03:31
*** edmondsw has joined #openstack-keystone03:32
*** edmondsw has quit IRC03:37
*** links has joined #openstack-keystone03:47
*** mvk_ has joined #openstack-keystone04:01
*** markvoelker has joined #openstack-keystone04:01
*** david-lyle has quit IRC04:06
*** david-lyle has joined #openstack-keystone04:08
*** nicolasbock has joined #openstack-keystone04:13
*** dklyle has joined #openstack-keystone04:15
*** david-lyle has quit IRC04:18
openstackgerritMerged openstack/keystone master: Add int storage of datetime for password created/expires  https://review.openstack.org/49325904:30
*** markvoelker has quit IRC04:34
*** r-daneel has quit IRC04:50
*** r-daneel has joined #openstack-keystone04:54
*** gyee has quit IRC05:17
*** edmondsw has joined #openstack-keystone05:20
*** mvpnitesh has joined #openstack-keystone05:21
*** knikolla has quit IRC05:22
*** edmondsw has quit IRC05:24
*** rajalokan has joined #openstack-keystone05:31
*** tobberydberg has joined #openstack-keystone05:31
*** markvoelker has joined #openstack-keystone05:32
openstackgerritTin Lam proposed openstack/keystone master: Add database migration for project tags  https://review.openstack.org/48445605:39
openstackgerritTin Lam proposed openstack/keystone master: Add policy for project tags  https://review.openstack.org/48675705:39
*** zsli_ has joined #openstack-keystone05:43
*** pcaruana has joined #openstack-keystone05:45
*** Shunli has quit IRC05:45
*** zsli__ has joined #openstack-keystone05:49
*** zsli_ has quit IRC05:52
*** zxy has quit IRC05:55
*** zxy has joined #openstack-keystone05:55
*** markvoelker has quit IRC06:05
*** namnh has joined #openstack-keystone06:05
*** hoonetorg has quit IRC06:08
*** zxy has quit IRC06:11
*** zxy has joined #openstack-keystone06:11
*** zhurong has quit IRC06:19
*** hoonetorg has joined #openstack-keystone06:21
*** zhurong has joined #openstack-keystone06:22
openstackgerritTin Lam proposed openstack/keystone master: Add database migration for project tags  https://review.openstack.org/48445606:51
*** zhurong has quit IRC06:53
*** rcernin has joined #openstack-keystone06:57
*** markvoelker has joined #openstack-keystone07:02
*** edmondsw has joined #openstack-keystone07:08
*** edmondsw has quit IRC07:13
*** masuberu has joined #openstack-keystone07:14
*** rcernin has quit IRC07:16
*** masber has quit IRC07:16
*** masuberu has quit IRC07:18
*** rcernin has joined #openstack-keystone07:19
*** masuberu has joined #openstack-keystone07:28
*** masuberu has quit IRC07:31
*** markvoelker has quit IRC07:36
*** mjax has joined #openstack-keystone07:37
*** mjax has quit IRC07:38
*** zsli_ has joined #openstack-keystone07:43
*** zsli__ has quit IRC07:46
*** guoshan has joined #openstack-keystone07:47
*** guoshan_ has joined #openstack-keystone07:50
*** guoshan has quit IRC07:53
*** iogg has joined #openstack-keystone07:59
*** ducttap__ has quit IRC08:00
*** thorst has joined #openstack-keystone08:04
*** andymccr_ is now known as andymccr08:08
*** josecastroleon has quit IRC08:08
*** thorst has quit IRC08:09
*** ducttape_ has joined #openstack-keystone08:14
*** zxy has quit IRC08:16
*** zxy has joined #openstack-keystone08:17
*** markvoelker has joined #openstack-keystone08:33
*** aojea has joined #openstack-keystone08:37
*** aojea has quit IRC08:42
openstackgerritzhengliuyang proposed openstack/keystone master: Confusing log messages in project hierarchy checking  https://review.openstack.org/48096708:43
*** mvpnitesh has quit IRC08:47
*** mvpnitesh has joined #openstack-keystone08:48
*** edmondsw has joined #openstack-keystone08:57
*** aojea has joined #openstack-keystone08:57
*** sapd has quit IRC08:57
openstackgerritzhengliuyang proposed openstack/keystone master: Add explain of mapping group attribute  https://review.openstack.org/49376508:58
*** edmondsw has quit IRC09:01
*** aojea has quit IRC09:01
*** sapd has joined #openstack-keystone09:04
*** thorst has joined #openstack-keystone09:05
*** markvoelker has quit IRC09:06
*** hoonetorg has quit IRC09:07
*** thorst has quit IRC09:09
*** hoonetorg has joined #openstack-keystone09:10
*** kukacz has joined #openstack-keystone09:14
*** rajalokan has quit IRC09:30
*** zsli_ has quit IRC09:33
*** kukacz_ has joined #openstack-keystone09:44
*** kukacz has quit IRC09:48
*** zxy has quit IRC09:55
samueldmqmorning keystone!10:03
*** kukacz_ is now known as kukacz10:03
*** markvoelker has joined #openstack-keystone10:03
*** namnh has quit IRC10:04
*** thorst has joined #openstack-keystone10:05
cmurphymorning samueldmq10:06
samueldmqcmurphy: o/10:08
*** kukacz_ has joined #openstack-keystone10:09
*** thorst has quit IRC10:11
*** kukacz has quit IRC10:12
*** markvoelker has quit IRC10:38
*** guoshan_ has quit IRC10:40
*** edmondsw has joined #openstack-keystone10:45
*** mkrcmari__ has joined #openstack-keystone10:47
*** rajalokan has joined #openstack-keystone10:48
*** edmondsw has quit IRC10:49
*** mvk_ has quit IRC10:50
*** rajalokan has quit IRC11:03
*** thorst has joined #openstack-keystone11:04
*** kukacz_ is now known as kukacz11:14
*** szaher has joined #openstack-keystone11:15
*** markvoelker has joined #openstack-keystone11:35
*** raildo has joined #openstack-keystone11:54
*** edmondsw has joined #openstack-keystone11:57
*** markvoelker has quit IRC12:08
*** jmlowe has quit IRC12:20
*** kbaegis has joined #openstack-keystone12:21
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystone master: Add the step to create a domain  https://review.openstack.org/49372912:40
*** lwanderley has joined #openstack-keystone12:45
*** catintheroof has joined #openstack-keystone12:49
*** spzala has quit IRC12:51
*** kbaegis has quit IRC12:56
*** mvpnitesh has quit IRC12:57
*** markvoelker has joined #openstack-keystone12:59
*** gongysh has quit IRC13:00
*** gongysh has joined #openstack-keystone13:00
*** gongysh has quit IRC13:00
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Add method to get the api version  https://review.openstack.org/49419313:01
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Update discovery url normalization with catalog info  https://review.openstack.org/49419413:01
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Allow kwargs to be passed to adapter.get_endpoint_data  https://review.openstack.org/49419513:01
cmurphymorning mordred13:03
mordredmorning cmurphy !13:04
mordredcmurphy, samueldmq: ^^ there's the patches I was talking about yesterday13:04
* cmurphy looking13:05
*** spzala has joined #openstack-keystone13:12
*** spzala has quit IRC13:12
*** spzala has joined #openstack-keystone13:12
*** prashkre has joined #openstack-keystone13:13
*** knikolla has joined #openstack-keystone13:23
knikollao/13:23
knikollaafter one too many bouncer troubles trying out irccloud13:23
cmurphy\o13:25
*** jmlowe has joined #openstack-keystone13:28
*** dave-mccowan has joined #openstack-keystone13:31
*** chlong_ has joined #openstack-keystone13:31
*** aojea has joined #openstack-keystone13:32
*** kbaegis has joined #openstack-keystone13:59
*** chlong_ has quit IRC13:59
mordredcmurphy: responded to your question about https://review.openstack.org/494194 about the test14:04
*** lbragstad has joined #openstack-keystone14:13
*** ChanServ sets mode: +o lbragstad14:13
openstackgerritLance Bragstad proposed openstack/keystone master: Remove duplicate roles from federated auth  https://review.openstack.org/49404914:23
*** lucasxu has joined #openstack-keystone14:25
knikollalbragstad: ^^ feeling better about having a transiently failing test together with the code that fixes it rather than separately.14:31
*** links has quit IRC14:32
lbragstadknikolla: yeah - writing the test first to keep it isolated and create the issue (by running it over and over) was nice - but since both are in review it makes sense to collapse them14:37
lbragstadkmalloc: curious if you have feedback here - https://review.openstack.org/#/c/492529/14:51
cmurphymordred: https://review.openstack.org/#/c/494195 confuses me14:54
mordredcmurphy: t probably confuses me too14:55
cmurphyoh good14:56
mordredcmurphy: SO - theres two parts to that patch, and one of them can totally get dropped14:57
mordredcmurphy: https://review.openstack.org/#/c/493582/5/shade/_adapter.py is the motivation for the part you asked about ... if you add discover_versions to endpoint_filter on request, the **kwargs gets passed along internally to the request call when it goes to call get_endpoint14:58
mordredcmurphy: alternately we could have the request code that calls get_endpoint strip discover_versions before calling it14:58
*** davechen has quit IRC14:59
*** davechen has joined #openstack-keystone15:00
*** aselius has joined #openstack-keystone15:00
*** spzala has quit IRC15:01
*** spzala has joined #openstack-keystone15:01
*** gyee has joined #openstack-keystone15:02
cmurphymordred: that was my thinking too (while i was wrapping my head around how they were connected)15:03
cmurphyi think adding a useless parameter is not really great15:03
*** lwanderley has quit IRC15:03
* lbragstad sets https://review.openstack.org/#/c/494049/ next to cmurphy15:06
lbragstadwhenever you have time15:07
lbragstadi collapsed the tests and fix into the same patch and added a reno15:07
*** rcernin has quit IRC15:07
cmurphyoh okay15:07
* cmurphy having lots of deja vu today15:07
lbragstadcmurphy: i think that means you need more coffee :)15:08
lbragstadbackport available for review, too15:09
lbragstadhttps://review.openstack.org/#/c/494238/15:09
lbragstadknikolla: kmalloc ^15:09
kmalloclbragstad: only feedback on the krb stuff was FFE/lib release related15:12
*** tobberyd_ has joined #openstack-keystone15:14
*** lwanderley has joined #openstack-keystone15:14
openstackgerritLance Bragstad proposed openstack/keystone master: Remove duplicate roles from federated auth  https://review.openstack.org/49404915:14
lbragstadcmurphy: knikolla sorry - just fixed a spelling mistake15:14
cmurphylbragstad: heh i wasn't going to point it out15:15
knikolladidn't feel like requiring another rerun for that15:15
lbragstadit's like having popcorn stuck in your teeth15:16
*** lwanderley has quit IRC15:16
*** otleimat has joined #openstack-keystone15:16
knikollalbragstad: approved.15:17
*** tobberydberg has quit IRC15:17
knikollaspeaking of popcorn in your teeth, proposed this for pike https://review.openstack.org/#/c/494229/15:17
lbragstadoh - good call15:17
*** tobberyd_ has quit IRC15:19
knikollalbragstad: i guess i shouldn't also point out the spelling mistake in the commit message? :P15:19
cmurphy>.<15:20
lbragstadbah!15:20
kmalloclbragstad: so {'id': 1, 'foo': 'bar'} and {'foo': 'bar', 'id': 1} should always be the same within a given process15:20
openstackgerritLance Bragstad proposed openstack/keystone master: Remove duplicate roles from federated auth  https://review.openstack.org/49404915:21
kmallocbecause it's based upon the dict hashseed15:21
kmalloci don't think the transient errors are related to dicts being un-ordered15:21
lbragstadi can run the test in isolate repeatedly and recreate it15:21
kmalloci think that is related to something else then15:22
kmallocunless the hashseed is changing15:22
kmallocyou could also avoid tupling the items.15:23
kmalloclbragstad: are we just trying to eliminate duplicate role names?15:24
kmallocbecause it's way way easier to do that.15:24
lbragstadwell - it's a list of role references15:26
lbragstadso a list of dictionaries15:26
lbragstadhttp://paste.openstack.org/show/618544/15:29
knikollaalso http://paste.openstack.org/show/618545/15:30
kmalloclbragstad: likey: roles = {r['id']: r for r in roles}.values() would de-dedup, since ids are unique15:31
kmallocif you wanted to avoid extra if x in unique_roles15:32
kmallocactually: roles = list({r['id']: r for r in roles}.values())15:33
kmallocsince .values() is an iter in py315:33
*** links has joined #openstack-keystone15:33
kmallocso roughly O(2N) vs O(N^N). but the optimisation is miniamal unless people have a billion roles15:34
knikollakmalloc: oh, i see. the comprehension would reassign it. so no dup15:34
kmalloclbragstad: there is nothing wrong with your current code15:35
kmalloclbragstad: +A15:37
kmallocd the create_time_int for pike15:37
lbragstadwouldn't that only give you a list ofrole ids?15:38
lbragstadwe'd need to iterate the list again and populate it with the reference15:39
knikollalbragstad: it stores the dict value by id.15:40
knikollaand then gets all the dict values.15:40
kmallocknikolla: ++15:40
kmallocit's just using the ID to de-dup15:40
kmallocsince id is dict key15:40
kmallocbut the value is still role15:40
lbragstadoh - testing that quikc15:43
knikollalike doing `unique = {}; for d in domains: unique[d['id']]=d; unique = list(unique.values())`15:44
knikollakmalloc: oh wow, irc cloud formatted that in a code block. i'm sold on this for replacing my bouncer.15:45
*** dave-mcc_ has joined #openstack-keystone15:45
*** dave-mccowan has quit IRC15:47
*** links has quit IRC15:49
*** tobberydberg has joined #openstack-keystone15:49
*** dave-mccowan has joined #openstack-keystone15:51
*** spzala has quit IRC15:51
*** spzala has joined #openstack-keystone15:51
*** prashkre has quit IRC15:51
*** dave-mcc_ has quit IRC15:52
kmallocknikolla: my recommendation - don't use a bouncer15:53
kmalloci'm trying to do that.15:54
*** spzala has quit IRC15:55
*** tobberydberg has quit IRC15:56
*** pcaruana has quit IRC15:57
*** prashkre has joined #openstack-keystone16:00
*** tobberydberg has joined #openstack-keystone16:02
*** iogg has quit IRC16:09
*** tobberydberg has quit IRC16:10
*** aojea has quit IRC16:13
*** iogg has joined #openstack-keystone16:21
*** itlinux has quit IRC16:22
*** tobberydberg has joined #openstack-keystone16:23
*** aojea has joined #openstack-keystone16:25
*** iogg has quit IRC16:26
*** tobberydberg has quit IRC16:27
*** sjain has joined #openstack-keystone16:35
openstackgerritMerged openstack/keystone master: Add the step to create a domain  https://review.openstack.org/49372916:35
*** tobberydberg has joined #openstack-keystone16:47
*** rcernin has joined #openstack-keystone16:49
kmallocfolks, i chtted w/ jamielennox and he's ok with the removal of positional16:50
kmallocchatted* a couple days ago16:50
kmallocwe should push those changes through16:50
*** tobberydberg has quit IRC16:52
*** spzala has joined #openstack-keystone16:52
*** tobberydberg has joined #openstack-keystone16:58
*** tobberydberg has quit IRC17:02
*** mjax has joined #openstack-keystone17:11
*** rajalokan has joined #openstack-keystone17:13
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Add method to get the api major version  https://review.openstack.org/49419317:16
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Update discovery url normalization with catalog info  https://review.openstack.org/49419417:16
*** aojea has quit IRC17:19
*** tobberydberg has joined #openstack-keystone17:29
*** aojea has joined #openstack-keystone17:29
otleimatAny feedback on the proposed changes here https://review.openstack.org/#/c/408304/?17:31
*** tobberydberg has quit IRC17:33
*** spzala has quit IRC17:34
*** spzala has joined #openstack-keystone17:35
samueldmqkmalloc: kk all the @positional changes are on the gate now17:38
*** spzala has quit IRC17:39
kmallocsamueldmq: except oslo.context17:39
kmallocbut that aside...17:39
*** itlinux has joined #openstack-keystone17:40
samueldmqkmalloc: true, I +1ed that one, not much I can do there :-)17:40
*** sjain has quit IRC17:40
mjaxanyone have some time help me with setting up domain specific identity drivers?17:46
lbragstadknikolla: kmalloc https://gist.github.com/lbragstad/a81776e2c679f728c19cad7f3a35703f17:48
kmalloclbragstad: are we going to land https://review.openstack.org/#/c/493621/ for pike?17:53
kmallocwant to make sure we have that done if we are. I'm not pushing +A w/o your go-ahead17:53
*** mvk_ has joined #openstack-keystone17:54
lbragstadkmalloc: yeah - i +2'd it, i know cmurphy and samueldmq had comments, if they +1 it then i think we're good17:56
*** mvk has joined #openstack-keystone17:57
*** mkrcmari__ has quit IRC17:57
ayoungI can look at that lbragstad17:59
*** mvk_ has quit IRC17:59
lbragstadayoung: thanks17:59
* lbragstad grabs lunch quick17:59
ayoungkmalloc, done18:00
*** lwanderley has joined #openstack-keystone18:02
*** spzala has joined #openstack-keystone18:03
*** lwanderley has quit IRC18:04
edmondswkmalloc don't we need to get lbragstad added to https://review.openstack.org/#/admin/groups/538,members ?18:05
edmondswthat list is really thin on people that are around these days... and missing the PTL?18:05
*** dave-mccowan has quit IRC18:05
edmondswstevemar ^18:07
ayoungknikolla, https://review.openstack.org/#/c/494049/5  want to re +A that18:07
ayoungedmondsw, yep18:08
prashkrekmalloc: Hi morgan. could you please take a look at https://review.openstack.org/#/c/490138/.18:09
*** pcaruana has joined #openstack-keystone18:09
*** dave-mcc_ has joined #openstack-keystone18:09
ayounglbragstad, kmalloc https://review.openstack.org/#/c/462670/  when you get a chance...want to clean out some old tech debt18:12
ayoungprashkre, looking18:16
ayoungprashkre, you do any real world testing on that?18:17
*** tobberydberg has joined #openstack-keystone18:18
ayoungah...yeah, you need kmalloc as he's the only one with +2 left on stable.18:18
ayoungstevemar, ^^ you should force merge that one, and get lbragstad on as stable...18:18
*** tobberydberg has quit IRC18:19
*** tobberydberg has joined #openstack-keystone18:20
kmallocayoung: both +2/+A18:20
kmalloclbragstad: still need your "hey are we RCing this" for resource being SQL-only :)18:21
kmallocayoung: looks like we get to drop positional decorator18:21
kmallocyay18:21
kmallocalmost removed from everything in openstack18:21
*** tobberydberg has quit IRC18:22
*** tobberydberg has joined #openstack-keystone18:22
prashkreayoung: yes, we have tested with the patch in https://review.openstack.org/#/c/490138/.18:26
*** tobberydberg has quit IRC18:26
prashkrekmalloc: thank you!18:27
*** rajalokan1 has joined #openstack-keystone18:27
*** rajalokan has quit IRC18:28
*** rajalokan1 is now known as rajalokan18:28
*** mvk has quit IRC18:30
*** lwanderley has joined #openstack-keystone18:33
*** rajalokan has quit IRC18:35
*** tobberydberg has joined #openstack-keystone18:46
*** tobberydberg has quit IRC18:51
*** nicolasbock has quit IRC18:55
openstackgerritMerged openstack/python-keystoneclient master: Remove use of positional decorator  https://review.openstack.org/49159218:56
openstackgerritMorgan Fainberg proposed openstack/keystoneauth master: Add method to get the api major version  https://review.openstack.org/49419318:57
*** jmlowe has quit IRC18:57
openstackgerritMorgan Fainberg proposed openstack/keystoneauth master: Add method to get the api major version  https://review.openstack.org/49419318:58
openstackgerritMerged openstack/keystoneauth master: Remove use of positional decorator  https://review.openstack.org/49163218:59
openstackgerritMerged openstack/keystonemiddleware master: Remove use of positional decorator  https://review.openstack.org/49159619:06
lbragstadkmalloc: ayoung https://review.openstack.org/#/c/462670/15/keystone/tests/unit/test_v3_protection.py,unified breaks constraints listed in http://specs.openstack.org/openstack/api-wg/guidelines/api_interoperability.html#evaluating-api-changes19:06
kmalloclbragstad: it does?19:07
lbragstadkmalloc: line 104319:07
lbragstad403 -> 20119:07
ayoungnothing in there about config options, just api IIUC19:07
lbragstadif i'm reading it correctly19:07
kmalloclet me 2x check it19:07
kmalloctoss a -2 on it to block19:07
kmallocor a WIP19:07
ayoungI don't think that is what it means19:07
kmalloci'll circle back post lunch19:07
ayounglbragstad, if, say for a missing object, we changed from 404 to 403, that would "mean" something different19:08
ayounghere for a value, we are changing the significance....19:08
ayounglet me see if I can say that better19:08
ayoungwe had a bug, and as a result of that bug, we did something wrong, and as a result of doing that thing wrong, we returned an error19:09
ayoungwe have not changes what is meant by the request, just that something that used to fail now succeeds, and that, of course, changes the error19:09
ayoungif it had returned a 500 before, you would not think twice about it, and that is roughly comparable to wht we are doing here19:10
ayoungassume, for a moment, that there was another implementation of Keystone that always had the new behavior.  Implemented in, say, Rust!19:11
ayoungWe would not say that they are running different API versions, just because the behavior on this was different19:11
knikollaback, sorry, was taking the road test for the driving license.19:13
lbragstadayoung: so - domain-id would break in the decorator, which masked the error as a 403?19:13
*** aojea has quit IRC19:15
knikollaapproved https://review.openstack.org/#/c/49404919:16
ayoungyep19:19
ayounglbragstad, yes19:19
lbragstadthat stinks19:19
lbragstadayoung: can we call that out in the comment message or unit test?19:20
lbragstads/or unit test//19:20
lbragstadcommit*19:20
ayoungAh...yeah, sure19:21
ayoungone sec....19:21
lbragstadall i see is the http status code change and red lights start flashing but it's not completely clear why we're going from a 403 -> 20119:22
openstackgerritayoung proposed openstack/keystone master: Shift to check_policy for resource creation  https://review.openstack.org/46267019:22
*** kbaegis1 has joined #openstack-keystone19:22
ayounglbragstad, I used the comment message in the commit message. Is that OK?19:22
*** kbaegis has quit IRC19:23
lbragstadayoung: sure - mind if i amend it with a statement about 500s/19:23
ayounglbragstad, go ahead, please19:23
lbragstadalso - throughts on https://review.openstack.org/#/c/462670/15/keystone/identity/controllers.py ?19:23
ayounglbragstad, vague memory that this needed to be this far down...I didn't do that arbitrarily19:24
ayoungI think it was the same kind of issue, if a user only submitted domain name, we needed the domain Id to policy check? lbragstad something like that?19:25
lbragstadhmm19:26
lbragstadtesting it locally quick to see what happens19:26
ayoungthe prep info uses the ref from the normalize19:26
*** ducttap__ has joined #openstack-keystone19:26
ayounglbragstad, cool...thanks for taking interest.  Are you driving on with Global Roles?19:27
lbragstadayoung: working on a PoC with hrybacki and knikolla19:28
ayoungcuz you'll need this fix for enforcing on Global roles, too19:28
ayoungvery good19:28
*** ducttape_ has quit IRC19:29
lbragstadayoung: hm19:30
lbragstadhttp://paste.openstack.org/show/618572/19:30
lbragstadpasses `tox -e py27 -- keystone.tests.unit.test_v3_protection` locally, running the whole suite19:30
openstackgerritMorgan Fainberg proposed openstack/keystoneauth master: Add method to get the api major version  https://review.openstack.org/49419319:35
*** ducttape_ has joined #openstack-keystone19:36
*** prashkre has quit IRC19:38
*** prashkre has joined #openstack-keystone19:38
*** nicolasbock has joined #openstack-keystone19:39
*** ducttap__ has quit IRC19:40
openstackgerritLance Bragstad proposed openstack/keystone master: Shift to check_policy for resource creation  https://review.openstack.org/46267019:44
*** rmascena has joined #openstack-keystone19:48
*** iogg has joined #openstack-keystone19:49
*** nicolasbock has quit IRC19:49
*** raildo has quit IRC19:51
*** rcernin has quit IRC19:55
openstackgerritMerged openstack/keystone master: Resource backend is SQL only now  https://review.openstack.org/49362119:55
lbragstadayoung:  i think it's because of this - https://github.com/openstack/oslo.policy/blob/master/oslo_policy/policy.py#L746-L75019:59
lbragstadwhich isn't a 500... but..19:59
lbragstadwe set do_raise explicitly19:59
lbragstadin keystone19:59
lbragstadand the domain-id bit doesn't seem to be recognized by oslo.policy19:59
lbragstadeither way - the result is None20:00
*** aojea has joined #openstack-keystone20:05
lbragstadayoung: kmalloc we explicitly tell oslo.policy to raise a 40320:09
lbragstadhttps://github.com/openstack/keystone/blob/master/keystone/common/policy.py#L60-L6120:09
*** aojea has quit IRC20:10
lbragstadhttps://github.com/openstack/oslo.policy/blob/master/oslo_policy/policy.py#L746-L74820:10
kmallocthen we need to raise a 403.20:10
lbragstadi was thinking a 500 of some sort was being masked as a 403 because the policy enforcement didn't know how to handle domain-id20:10
lbragstadinstead - oslo.policy doesn't render a result with domain-id - and without a result it raises an exception20:12
*** prashkre has quit IRC20:12
*** prashkre has joined #openstack-keystone20:12
lbragstadfwiw - i'm trying to determine how this specific case fits into the api change guidelines20:14
stevemarayoung: i would have added lbragstad months ago, but i don't control the stable-maint-keystone group20:15
openstackgerritLance Bragstad proposed openstack/keystone master: Shift to check_policy for resource creation  https://review.openstack.org/46267020:22
lbragstadkmalloc: ayoung updated and fix ^20:24
lbragstadfixed* mainly the commit message describing why the status code is changing20:24
kmallocstatus code change is likely a api contract/behavior break20:27
kmallocand worthy of a -2.20:27
kmallocfyi20:27
*** rmascena has quit IRC20:29
lbragstadkmalloc: wanna review a backport? https://review.openstack.org/#/c/494238/320:29
mordredkmalloc: thanks for those updates - fwiw, the allow={} was a copy-pasta from one of the other pre-existing methods :20:32
mordred:(20:32
*** aojea has joined #openstack-keystone20:32
mordredso a) sorry I didn't notice but b) ... should we maybe fix that on the other ones too? (and how have I actually never noticed that???)20:32
mordredcmurphy: also - that third patch you were asking about? turns out we actually don't need it yay!20:34
kmallocmordred: yeah we should20:35
kmalloclbragstad: uh20:36
kmallocthat backport?20:36
kmallocdoesn't land in master?20:36
kmalloci'm a bit confused20:36
lbragstadkmalloc: to include anything in rc2 we have to merge it in master and backport it to stable/pike20:36
kmallocbut uh...20:37
kmallocthe master is -1?20:37
kmallocoh wait20:37
lbragstadhttps://review.openstack.org/#/c/494049/20:37
lbragstad^20:37
kmallocthe topic was the same not the same change id20:37
lbragstadhttps://review.openstack.org/#/q/058a23c0873723d5a4ffa8e99121f7b3b4485db5,n,z should be the ones you need20:38
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Update discovery url normalization with catalog info  https://review.openstack.org/49419420:38
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Don't use mutable defaults in allow arguments  https://review.openstack.org/49432020:38
kmalloclbragstad: waitingf on master.20:38
lbragstadkmalloc: thanks20:39
lbragstadhttps://review.openstack.org/#/c/493622/ and https://review.openstack.org/#/c/494238/ should be the only patches left until we cut rc2!20:40
*** pcaruana has quit IRC20:41
*** lwanderley has quit IRC20:42
*** lwanderley has joined #openstack-keystone20:42
cmurphymordred: well i was okay with part of the patch, actually i don't understand how get_endpoint_data on the adapter is useful without it20:45
*** vegarl has joined #openstack-keystone20:49
*** prashkre_ has joined #openstack-keystone20:51
*** prashkre has quit IRC20:51
mjaxis there anything special I need to do if I want to have 2 domains using the same sql database, but with different drivers? Right now I have set up domain specific config for the two domains, one of them using sql.py and the other one using an exact copy of sql.py, but any operation results in an unexpected error preventing the server from fulfilli20:53
mjaxng the request20:53
gagehugolbragstad ayoung sorry was pulled away most of today, it seems like we are relaxing the use of '-' vs '_' for the same value, so it's not really adding a new value, but the API guidelines don't seem clear on this specific issue imo20:55
*** prashkre__ has joined #openstack-keystone20:57
*** prashkre_ has quit IRC20:57
*** lucasxu has quit IRC20:57
*** spzala has quit IRC20:58
mordredcmurphy: yah - turns out it was an earlier stab at fixing the problem which was obviated by fixing some other things21:00
mordredcmurphy: so - yay - and thanks for the question :)21:00
*** spzala has joined #openstack-keystone21:00
cmurphyyay21:01
*** aojea has quit IRC21:03
openstackgerritMerged openstack/keystone master: Remove duplicate roles from federated auth  https://review.openstack.org/49404921:04
*** spzala has quit IRC21:05
*** prashkre__ has quit IRC21:16
*** thorst has quit IRC21:19
*** catintheroof has quit IRC21:21
*** itlinux has quit IRC21:21
*** aojea has joined #openstack-keystone21:22
*** edmondsw has quit IRC21:32
*** kukacz_ has joined #openstack-keystone21:41
*** kbaegis has joined #openstack-keystone21:44
*** kukacz has quit IRC21:44
*** kukacz_ has quit IRC21:45
*** aojea has quit IRC21:46
*** kbaegis1 has quit IRC21:47
*** thorst has joined #openstack-keystone21:53
*** thorst has quit IRC21:53
*** iogg has quit IRC21:55
*** aojea has joined #openstack-keystone21:56
openstackgerritOctave Orgeron proposed openstack/keystone master: Enables MySQL Cluster support for Keystone  https://review.openstack.org/43122922:05
*** strawberry has joined #openstack-keystone22:10
strawberrytrying to create a custom identity backend and make it to be used only with a specific domain22:11
strawberrymade the changes as per the documentation and facing the following error22:12
strawberryThere is either no auth token in the request or the certificate issuer is not trusted. No auth context will be set. fill_context /opt/stack/keystone/keystone/middleware/auth.py:188 2017-08-16 21:19:53.120 4020 INFO keystone.common.wsgi [req-392d9116-d501-458b-bbb6-94ec535c71e9 - - - - -] POST http://10.90.114.122/identity_admin/v3/auth/tokens 2017-08-16 21:19:53.130 4020 ERROR keystone.common.wsgi [req-392d9116-d501-4522:13
*** kbaegis1 has joined #openstack-keystone22:18
knikollastrawberry: can you paste on paste.openstack.org ?22:19
*** kbaegis has quit IRC22:21
*** thorst has joined #openstack-keystone22:24
strawberryyeah one sec22:24
*** strawberry has quit IRC22:24
*** thorst has quit IRC22:29
*** aojea has quit IRC22:39
*** aojea has joined #openstack-keystone22:40
*** edmondsw has joined #openstack-keystone22:49
*** ducttap__ has joined #openstack-keystone22:52
*** edmondsw has quit IRC22:54
openstackgerritLance Bragstad proposed openstack/keystone master: Call methods with kwargs instead of positionals  https://review.openstack.org/49433722:55
openstackgerritLance Bragstad proposed openstack/keystone master: WIP: Implement backend logic for global roles  https://review.openstack.org/49433822:55
*** ducttape_ has quit IRC22:55
openstackgerritJaewoo Park proposed openstack/keystone master: WIP: Extend comparator support for project list by tags  https://review.openstack.org/49433922:55
openstackgerritLance Bragstad proposed openstack/keystone master: Call methods with kwargs instead of positionals  https://review.openstack.org/49433722:57
*** lwanderley has quit IRC23:00
*** thorst has joined #openstack-keystone23:11
*** thorst has quit IRC23:13
*** spzala has joined #openstack-keystone23:34
*** spzala has quit IRC23:38
*** aojea has quit IRC23:40
*** lwanderley has joined #openstack-keystone23:45
knikollalbragstad: any preference on shibboleth-idp vs keycloak for the federation tests?23:45
knikollai want to experiment a bit with keycloak as i think i'm gonna have to deploy that in our cloud.23:46
knikollakmalloc: cc23:52
kmallocAs long as it works23:54
kmallocAnd tests federation.23:54
*** lwanderley has quit IRC23:56

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