Wednesday, 2016-01-13

*** spzala has quit IRC00:00
*** jmccrory has quit IRC00:04
*** dims has joined #openstack-keystone00:09
*** henrynash has quit IRC00:10
*** henrynash has joined #openstack-keystone00:12
*** ChanServ sets mode: +v henrynash00:12
*** aginwala has quit IRC00:13
openstackgerrithenry-nash proposed openstack/keystone: Update v3policysample tests to use admin_project not special domain_id  https://review.openstack.org/26661700:15
*** thetrav has joined #openstack-keystone00:16
henrynashlbragstad: see patch above00:17
*** aginwala has joined #openstack-keystone00:18
*** sigmavirus24 is now known as sigmavirus24_awa00:21
*** spzala has joined #openstack-keystone00:24
*** jsavak has quit IRC00:24
*** shoutm_ has joined #openstack-keystone00:28
*** spzala has quit IRC00:28
*** shoutm has quit IRC00:30
*** Ephur has quit IRC00:31
jamielennoxnotmorgan: memorycache is dead!00:42
notmorganjamielennox: huzzah00:42
jamielennoxi'm sure there was something i wanted to do after that but i can't remember what it was00:43
jamielennoxstevemar: are you planning releases for ksm?00:45
stevemarjamielennox: yeah, just waiting on the PKI by pass fixes to go in00:45
jamielennoxoh, release notes are merging00:45
stevemarjamielennox: that's fine, we can release for mitaka00:46
jamielennoxstevemar: no rush, i just saw that you were planning them from the other day00:46
stevemarliberty and kilo fixes for it are here: https://review.openstack.org/#/q/topic:bug/149080400:46
stevemarjamielennox: if you could review these: https://review.openstack.org/#/q/topic:bug/1490804+status:open that would help me out so much00:49
stevemarthat would get me setup for a kilo and liberty release of both ksm and keystone00:50
*** Ephur has joined #openstack-keystone00:51
*** Ephur has quit IRC00:56
*** aginwala has quit IRC01:00
openstackgerritSteve Martinelli proposed openstack/keystone: Fix incorrect signature in federation legacy V8 wrapper  https://review.openstack.org/26655901:01
jamielennoxstevemar: i've only got +1 on stable01:01
jamielennoxstevemar: both look good01:03
stevemarhow the hell do you only have +1 on stable01:04
stevemarhmm, i can't even add you easily, i need to bug mriedem about that01:05
*** aginwala has joined #openstack-keystone01:05
stevemarjamielennox: can you review the middleware patches too? https://review.openstack.org/#/q/topic:bug/1490804+status:open :)01:05
stevemari think those were more complex01:06
*** ankita_wagh has quit IRC01:07
jamielennoxi think that's normal it's a different group or something01:09
*** shaleh has quit IRC01:09
*** itlinux has quit IRC01:10
*** ekarlso has quit IRC01:10
openstackgerritMerged openstack/keystonemiddleware: create release notes for ksm 4.1.0  https://review.openstack.org/26647401:14
*** doug-fish has quit IRC01:18
*** _zouyee has joined #openstack-keystone01:18
*** doug-fish has joined #openstack-keystone01:19
jamielennoxstevemar: is there a reason we don't test audit_ids on cached tokens?01:19
jamielennoxstevemar: do we only care about audit ids for PKI01:20
openstackgerrithenry-nash proposed openstack/keystone: Update v3policysample tests to use admin_project not special domain_id  https://review.openstack.org/26661701:20
*** ankita_wagh has joined #openstack-keystone01:21
*** aginwala has quit IRC01:23
*** ankita_wagh has quit IRC01:24
*** aginwala has joined #openstack-keystone01:25
*** _cjones_ has quit IRC01:27
*** lhcheng has quit IRC01:28
*** EinstCrazy has joined #openstack-keystone01:30
*** doug-fish has quit IRC01:33
*** dims has quit IRC01:38
*** davechen has joined #openstack-keystone01:39
*** spzala has joined #openstack-keystone01:40
stevemarjamielennox: not sure :|01:40
*** KarthikB_ has joined #openstack-keystone01:42
*** KarthikB_ has quit IRC01:44
*** KarthikB_ has joined #openstack-keystone01:45
*** KarthikB_ has quit IRC01:50
*** KarthikB_ has joined #openstack-keystone01:50
*** chlong is now known as chlong-afk01:53
stevemarjamielennox: can i bug you for some investimagative work?02:03
jamielennoxstevemar: hmm02:03
stevemarjamielennox: i think this patch https://review.openstack.org/#/c/257220/2 needs extra massaging, but i can't tell where02:03
stevemarlooks like it uses filter_factory and AuthProtocol from auth_token02:04
stevemarthose should be easily hot swapped right?02:04
*** aginwala has quit IRC02:10
*** aginwala has joined #openstack-keystone02:17
*** aginwala has quit IRC02:19
*** thetrav has quit IRC02:29
*** dave-mccowan has joined #openstack-keystone02:30
jamielennoxstevemar: what is blazar?02:31
stevemarjamielennox: heck if i know02:32
*** EinstCrazy has quit IRC02:32
*** EinstCrazy has joined #openstack-keystone02:32
jamielennoxstevemar: so i'm not sure you need https://review.openstack.org/#/c/257220/2/climate/api/v2/app.py02:33
jamielennoxthey're registering opts to a global CONF so that should be one for them02:33
jamielennoxoh - nvm, it's a pecan thing02:34
jamielennoxergh02:34
jamielennoxstevemar: so there's no reason i think to pass conf=keystone_config or do any of that dict handling02:35
jamielennoxjust do AuthProtocol(app) and it will read the options from the global config option02:35
jamielennoxwhether they are doing the right thing in their tests for that to work is another thing altogether02:35
davechenhenrynash: when you online, could you pls help to take a look at this one again? - https://review.openstack.org/#/c/215041/02:36
davechenhenrynash: does my change for driver interface is correct?02:36
jamielennoxi'l try it02:37
*** slberger has left #openstack-keystone02:40
*** KarthikB_ has quit IRC02:44
*** KarthikB_ has joined #openstack-keystone02:45
*** __zouyee has joined #openstack-keystone02:49
*** shoutm_ has quit IRC02:49
*** KarthikB_ has quit IRC02:49
*** aginwala has joined #openstack-keystone02:50
henrynashdavechen: will look in a short while02:50
*** aginwala has quit IRC02:50
*** aginwala has joined #openstack-keystone02:51
openstackgerritMerged openstack/keystone: Create V9 version of resource driver interface  https://review.openstack.org/26208202:52
*** aginwala has quit IRC02:53
*** aginwala has joined #openstack-keystone02:53
davechenhenrynash: thanks you sir!02:55
*** shoutm has joined #openstack-keystone02:55
*** aginwala_ has joined #openstack-keystone02:59
*** aginwala has quit IRC03:00
*** spandhe has quit IRC03:00
henrynashdavchen: looks good…see one comment (about a comment...)03:01
*** sigmavirus24_awa is now known as sigmavirus2403:02
*** spzala has quit IRC03:04
*** spzala has joined #openstack-keystone03:04
*** spzala has quit IRC03:09
*** gildub has joined #openstack-keystone03:10
*** sudorandom has quit IRC03:14
*** shoutm_ has joined #openstack-keystone03:14
*** sudorandom has joined #openstack-keystone03:16
*** shoutm has quit IRC03:16
*** dims has joined #openstack-keystone03:17
*** henrynash has quit IRC03:18
*** ekarlso has joined #openstack-keystone03:19
davechenhenrynash: true! I will add a comment there.03:19
*** links has joined #openstack-keystone03:23
*** edmondsw has quit IRC03:27
jamielennoxstevemar: https://review.openstack.org/257220 - i also stole authorship03:28
*** sigmavirus24 is now known as sigmavirus24_awa03:32
*** dims has quit IRC03:33
*** gyee has quit IRC03:34
openstackgerritDave Chen proposed openstack/keystone: Enable `id`, `enabled` attributes filtering for list IdP API  https://review.openstack.org/21504103:34
*** vivekd has joined #openstack-keystone03:36
davechenhenrynash: done. :)03:36
*** woodster_ has quit IRC03:36
*** hideme has joined #openstack-keystone03:41
openstackgerritJamie Lennox proposed openstack/keystonemiddleware: Add project_name to the auth_token fixture  https://review.openstack.org/26666403:48
stevemarjamielennox: by all means, steal away03:55
stevemarwould have taken me 10x longer to figure that mess out03:55
jamielennoxstevemar: yea, the fixture is notmorgan's and has proved really useful03:55
jamielennoxbut it hasn't been publicised much03:55
* notmorgan perks up looks around, then goes and hides under a rock again03:56
jamielennoxnotmorgan: https://review.openstack.org/26666403:59
jamielennoxand stevemar ^03:59
jamielennoxreally simple, can get it in release03:59
stevemarjamielennox: already +2'ed :)03:59
notmorganoh project name?03:59
jamielennoxstevemar: ah, damn that's quick03:59
notmorganthats what is being added there?04:00
stevemarjamielennox: it was really easy04:00
jamielennoxnotmorgan: yea, it was just missed04:00
stevemarnotmorgan: adding project_name to the keystonemiddleware fixture04:00
notmorganwould have been easier to read the diff if user_id wasn't moved to the next line04:00
notmorganbtw04:00
jamielennoxnotmorgan: i just rearranged the vars a little bit so the _id and _name were on the same line04:00
jamielennox:) so it's easier to correlate04:00
notmorganeh04:01
* notmorgan shrugs04:01
notmorganuhm.04:01
notmorganjamielennox: can't do that04:01
notmorganthat doesn';t use @positional04:01
notmorganso you can't add a new kwarg in the middle.04:01
notmorganthis has already been released04:01
notmorganunless add_token_data is private?04:02
jamielennoxnotmorgan: gah, i just thought if we didn't invoke brant we'd just pass it, there's no way you're using args at that depth04:02
notmorgani'm sorry04:02
jamielennoxi really thought this one had @positional on it04:02
notmorganso did i...04:02
jamielennoxoriginally04:02
notmorgandid it get dropped?04:02
notmorgancause someone dropped it then04:02
*** itlinux has joined #openstack-keystone04:03
jamielennoxI7b22d72f24ced08ee064f1e1ffb280e783a55ef704:03
stevemarhttps://github.com/openstack/keystonemiddleware/commit/96f6668a27c34c7fd49c8a0df160c0789b0aa6ba04:03
notmorganugh04:03
jamielennoxgrrr04:04
stevemarwe haven't released since that commit, so...04:04
notmorganjamielennox: so.. need to revert that04:04
stevemarwe could revert04:04
jamielennoxstill 14 days ago, not in a release04:04
notmorganor move positional into ksm04:04
notmorganor ksa... or something04:04
stevemarehh04:04
jamielennoxi don't disagree that keystoneclient.utils should be private but debtcollector didn't want it and i don't know where else to put it04:04
jamielennoxand i didn't want debtcollector in ksa04:04
notmorganput it in ksa.04:04
jamielennoxi think it is04:05
notmorgansince the dep. graph is fine that way04:05
notmorganoh wait it was private in ksa too...04:05
notmorganugh04:05
jamielennoxbut it's properly private there04:05
stevemarwe could revert and figure it out later?04:05
jamielennoxstevemar: ++04:05
notmorganyeah04:05
notmorganmaybe we need keystone_utils04:05
stevemarjamielennox: wanna propose revert and rebase your dude on it?04:05
jamielennoxthere needs to be an easier way to get to the review page from having a commit id04:05
stevemarnotmorgan: noooooo04:06
stevemarno more libs04:06
notmorganand have stupid things that are common there04:06
notmorganstevemar: seriously we have common things we've been copying around04:06
notmorganor we can unpositonal this jamielennox04:06
notmorganand roll with it as is in this release04:06
stevemartrue04:07
notmorganjamielennox: i would rather have @positional on it04:07
*** jasonsb has joined #openstack-keystone04:07
notmorganbut..04:07
notmorganif it's not doable, screw it.04:07
notmorganjamielennox, stevemar: your call04:07
*** shoutm has joined #openstack-keystone04:08
jamielennoxnotmorgan: reverting because it's quick and you're both here to approve, if it really becomes an issue we can do it with **kwargs in future.04:09
notmorganjamielennox: or like i said, we can roll it w/o positional now04:09
notmorgansince it's safe to remove @positional04:09
* jamielennox hates the way python handles positional args04:09
notmorganbut going forward we can't change arg order04:09
stevemarlets revert it, and push it through04:10
openstackgerritJamie Lennox proposed openstack/keystonemiddleware: Add project_name to the auth_token fixture  https://review.openstack.org/26666404:10
openstackgerritJamie Lennox proposed openstack/keystonemiddleware: Revert "Stop using private keystoneclient functions"  https://review.openstack.org/26666904:10
notmorganok so i +2'd the project_name one04:10
stevemarwe can figure out a story for positional later on04:10
*** shoutm_ has quit IRC04:11
notmorgan+2 on both04:11
stevemardonezo04:12
notmorganoh crud. i can't make it to the store i needed to get to for my errand today04:12
notmorganugh. ok so tomorrow.04:12
jamielennoxanyone else seen https://github.com/openstack/heat/blob/master/bin/heat-keystone-setup-domain ?04:13
*** shoutm has quit IRC04:13
jamielennoxhow....04:14
jamielennoxi mean there's domain in the name and they still haven't figured out v304:14
notmorgani... what?04:14
notmorganwhat ... i....ss....04:14
*** shoutm has joined #openstack-keystone04:14
notmorganwow04:17
openstackgerritayoung proposed openstack/keystone: Implied Roles API  https://review.openstack.org/24261404:18
openstackgerritayoung proposed openstack/keystone: Implied Roles API  https://review.openstack.org/24261404:18
*** richm has quit IRC04:19
*** vivekd_ has joined #openstack-keystone04:25
jamielennoxnotmorgan, stevemar: maybe i could just turn it into: https://pypi.python.org/pypi/positional04:25
openstackgerritSteve Martinelli proposed openstack/keystone: document the bootstrapping process  https://review.openstack.org/25973004:25
notmorganjamielennox: hehe04:25
stevemarnotmorgan: ^04:25
jamielennox(that's a 404 for those lazy enough)04:26
*** vivekd has quit IRC04:27
jamielennoxactually i might just do that anyway04:27
*** vivekd_ is now known as vivekd04:27
jamielennoxmoar libraries!04:27
stevemarjamielennox: don't you dare04:27
jamielennoxstevemar: it wouldn't fall under your problem04:28
stevemaryay04:28
jamielennoxprobably wouldn't even bother submitting it into gerrit, just github it04:28
*** spandhe has joined #openstack-keystone04:29
*** spandhe_ has joined #openstack-keystone04:32
*** spandhe has quit IRC04:33
*** spandhe_ is now known as spandhe04:33
*** EinstCra_ has joined #openstack-keystone04:39
*** EinstCrazy has quit IRC04:39
*** vivekd_ has joined #openstack-keystone04:39
*** vivekd has quit IRC04:41
*** dave-mccowan has quit IRC04:41
*** vivekd_ is now known as vivekd04:41
stevemarjamielennox: i have no idea what you're talking about04:43
*** sudorandom has quit IRC04:45
*** sudorandom has joined #openstack-keystone04:45
jamielennoxstevemar: if i do it i'll show you04:45
stevemarjamielennox: sometimes you scare me04:46
*** dave-mccowan has joined #openstack-keystone04:47
*** EinstCra_ has quit IRC04:51
*** EinstCrazy has joined #openstack-keystone04:51
notmorganjamielennox: maybe i'll do it before you can *shiftyeyes*04:53
*** sudorandom has quit IRC04:56
*** KarthikB_ has joined #openstack-keystone04:57
*** sudorandom has joined #openstack-keystone05:00
*** GB21 has joined #openstack-keystone05:01
*** EinstCrazy has quit IRC05:01
*** EinstCrazy has joined #openstack-keystone05:02
*** boris-42 has quit IRC05:03
*** EinstCrazy has quit IRC05:05
*** EinstCrazy has joined #openstack-keystone05:05
notmorganjamielennox: https://github.com/morganfainberg/positional05:05
jamielennoxnotmorgan: awww, i'm still stuck trying to get something other than pbr to run05:06
*** EinstCrazy has quit IRC05:06
notmorganjamielennox: :P05:06
*** jbell8 has joined #openstack-keystone05:06
notmorganjamielennox: PBR is great05:06
*** EinstCrazy has joined #openstack-keystone05:06
jamielennoxnot pbr, testr05:06
jamielennoxtrying to figure out how python setup.py test works with pbr05:07
jamielennoxalso you've missed the tests and everything05:07
notmorganjamielennox: you're jamielennox1 on github?05:07
notmorganthat was going to be the next commit05:07
jamielennoxnotmorgan: no, jamielennox05:07
notmorganadded you as a collaborator there too. was going to get tests in place and then push to pypi05:08
jamielennoxbah, so quicker because you cheated05:08
*** GB21 has quit IRC05:08
notmorgannever said i play fair05:08
jamielennoxnotmorgan: alright, you can add the tests and i'll clean up after that05:09
jamielennoxi did notice doing that though that there are no tests in ksa for positional05:10
jamielennoxgotta get them from ksc05:10
notmorganfeel free to add to readme.rst05:12
notmorganor anything else05:12
notmorgani'm adding tests to positional/tests/05:12
*** EinstCra_ has joined #openstack-keystone05:15
*** EinstCrazy has quit IRC05:15
*** EinstCra_ has quit IRC05:16
*** EinstCrazy has joined #openstack-keystone05:17
*** KarthikB_ has quit IRC05:18
*** EinstCra_ has joined #openstack-keystone05:26
*** EinstCrazy has quit IRC05:26
*** EinstCra_ has quit IRC05:27
*** EinstCrazy has joined #openstack-keystone05:28
*** EinstCrazy has quit IRC05:31
*** EinstCrazy has joined #openstack-keystone05:32
*** aginwala_ has quit IRC05:36
*** dave-mccowan has quit IRC05:36
notmorganjamielennox: tests added05:37
notmorganand setup to run under travis.ci05:37
*** EinstCrazy has quit IRC05:37
*** EinstCra_ has joined #openstack-keystone05:37
*** lhcheng has joined #openstack-keystone05:37
*** ChanServ sets mode: +v lhcheng05:37
*** GB21 has joined #openstack-keystone05:37
*** henrynash has joined #openstack-keystone05:38
*** ChanServ sets mode: +v henrynash05:38
*** henrynash has quit IRC05:39
*** jaosorior has joined #openstack-keystone05:41
*** EinstCra_ has quit IRC05:41
notmorganjamielennox: and it's running travis-ci properly now.05:41
notmorganand reports status in the README05:41
*** EinstCra_ has joined #openstack-keystone05:43
*** Nirupama has joined #openstack-keystone05:48
*** ankita_wagh has joined #openstack-keystone05:57
*** GB21 has quit IRC06:05
*** shoutm has quit IRC06:06
*** shoutm has joined #openstack-keystone06:08
notmorganjamielennox: so i think we need docs and fix to the README and it's ready unless there is other cleanup you want06:12
*** vgridnev has joined #openstack-keystone06:13
openstackgerritXiaoyang Zhang proposed openstack/keystone: Modify comment  https://review.openstack.org/26670706:13
*** aginwala has joined #openstack-keystone06:19
*** aginwala_ has joined #openstack-keystone06:20
*** vivekd has quit IRC06:23
*** aginwala has quit IRC06:24
*** GB21 has joined #openstack-keystone06:24
*** ankita_wagh has quit IRC06:24
*** aginwala has joined #openstack-keystone06:27
*** markvoelker has quit IRC06:27
*** aginwala_ has quit IRC06:29
*** amit213 has quit IRC06:35
*** amit213 has joined #openstack-keystone06:36
*** EinstCra_ has quit IRC06:40
*** vivekd has joined #openstack-keystone06:40
*** EinstCrazy has joined #openstack-keystone06:40
*** jaosorior has quit IRC06:57
*** josecastroleon has joined #openstack-keystone07:02
*** med_ has quit IRC07:12
*** med_ has joined #openstack-keystone07:14
*** med_ is now known as Guest7712107:14
*** vivekd has quit IRC07:15
*** gildub has quit IRC07:19
*** henrynash has joined #openstack-keystone07:24
*** ChanServ sets mode: +v henrynash07:24
*** aginwala has quit IRC07:25
openstackgerritXiaoyang Zhang proposed openstack/keystone: update  https://review.openstack.org/26673707:25
*** markvoelker has joined #openstack-keystone07:28
*** markvoelker has quit IRC07:33
*** gwei3 has joined #openstack-keystone07:35
openstackgerritXiaoyang Zhang proposed openstack/keystone: Update  https://review.openstack.org/26673707:35
openstackgerritMerged openstack/keystonemiddleware: Revert "Stop using private keystoneclient functions"  https://review.openstack.org/26666907:37
*** e0ne has joined #openstack-keystone07:41
*** vgridnev has quit IRC07:42
*** pnavarro has quit IRC07:48
openstackgerritting wang proposed openstack/keystone: Python3: replace dumps with dump_as_bytes  https://review.openstack.org/26631507:58
*** shoutm_ has joined #openstack-keystone08:00
*** shoutm has quit IRC08:03
*** henrynash has quit IRC08:04
*** vgridnev has joined #openstack-keystone08:04
*** jistr has joined #openstack-keystone08:07
*** jistr is now known as jistr|doc08:07
*** jimbaker has quit IRC08:08
openstackgerritMerged openstack/keystonemiddleware: Add project_name to the auth_token fixture  https://review.openstack.org/26666408:09
*** e0ne has quit IRC08:18
*** vgridnev has quit IRC08:25
*** shoutm has joined #openstack-keystone08:26
*** shoutm_ has quit IRC08:27
*** GB21 has quit IRC08:30
openstackgerritMerged openstack/keystone: Adds an explicit utils import in test_v3_protection.py  https://review.openstack.org/26657008:33
*** shoutm has quit IRC08:33
*** shoutm has joined #openstack-keystone08:36
*** daemontool has joined #openstack-keystone08:40
*** fhubik has joined #openstack-keystone08:41
*** fhubik has left #openstack-keystone08:41
*** pnavarro has joined #openstack-keystone08:41
openstackgerritMerged openstack/keystone: Tidy up release notes for V9 drivers  https://review.openstack.org/26658108:41
*** daemontool_ has joined #openstack-keystone08:43
*** daemontool has quit IRC08:43
*** daemontool_ is now known as daemontool08:44
*** pnavarro has quit IRC08:53
*** markvoelker has joined #openstack-keystone08:54
openstackgerritWang Bo proposed openstack/python-keystoneclient: Replaced filter() with a list comprehension  https://review.openstack.org/26678708:54
*** markvoelker has quit IRC08:59
openstackgerritDave Chen proposed openstack/keystone: Add schema for OAuth1 consumer API  https://review.openstack.org/26679109:04
*** pnavarro has joined #openstack-keystone09:05
*** shoutm has quit IRC09:05
openstackgerritDave Chen proposed openstack/keystone: Add schema for OAuth1 consumer API  https://review.openstack.org/26679109:09
*** vivekd has joined #openstack-keystone09:15
*** jaosorior has joined #openstack-keystone09:18
openstackgerritMarek Denis proposed openstack/keystone: Add asserts for service providers  https://review.openstack.org/26580909:22
*** GB21 has joined #openstack-keystone09:25
*** mhickey has joined #openstack-keystone09:29
*** vgridnev has joined #openstack-keystone09:29
openstackgerritDave Chen proposed openstack/keystone: Add schema for OAuth1 consumer API  https://review.openstack.org/26679109:30
*** e0ne has joined #openstack-keystone09:33
openstackgerritMarek Denis proposed openstack/keystone: Service Providers and Projects associations  https://review.openstack.org/26485409:40
*** lhcheng has quit IRC09:40
*** oomichi is now known as oomichi_away09:47
*** gwei3 has quit IRC09:50
*** davechen has left #openstack-keystone09:56
*** EinstCrazy has quit IRC10:06
*** jistr|doc is now known as jistr10:19
*** vivekd_ has joined #openstack-keystone10:22
*** vivekd has quit IRC10:23
*** vivekd_ is now known as vivekd10:23
*** jistr has quit IRC10:26
*** gildub has joined #openstack-keystone10:30
*** vivekd has quit IRC10:33
*** vivekd_ has joined #openstack-keystone10:33
*** vivekd_ is now known as vivekd10:33
*** rletrocquer has joined #openstack-keystone10:36
rletrocquerhello i'm facing of an issue with fernet (in ldap+domain configuration). I have an response "HTTP401 Unauthorized" when i try to communicate with nova :"openstack flavor list"(no problem with cinder,glance... and no problem with nova if i remove fernet configuration).10:41
*** zqfan has joined #openstack-keystone10:48
*** jistr has joined #openstack-keystone10:51
*** markvoelker has joined #openstack-keystone10:55
*** markvoelker has quit IRC11:00
*** daemontool_ has joined #openstack-keystone11:01
*** daemontool has quit IRC11:05
*** jaosorior has quit IRC11:05
*** jaosorior has joined #openstack-keystone11:05
*** Nirupama has quit IRC11:05
*** jaosorior has quit IRC11:06
*** jaosorior has joined #openstack-keystone11:07
*** pnavarro has quit IRC11:10
*** hughsaunders has quit IRC11:10
openstackgerritting wang proposed openstack/keystone: Python3: replace dumps with dump_as_bytes  https://review.openstack.org/26631511:10
*** hughsaunders has joined #openstack-keystone11:12
*** pnavarro has joined #openstack-keystone11:13
*** gildub has quit IRC11:15
*** aix has joined #openstack-keystone11:28
*** pnavarro has quit IRC11:37
*** pnavarro has joined #openstack-keystone11:37
*** aix has quit IRC11:43
*** ktychkova has quit IRC11:44
*** ktychkova has joined #openstack-keystone11:45
*** flwang1 has quit IRC11:48
*** flwang1 has joined #openstack-keystone11:49
*** shoutm has joined #openstack-keystone11:54
*** daemontool_ has quit IRC11:54
*** markvoelker has joined #openstack-keystone11:56
*** EinstCrazy has joined #openstack-keystone11:57
*** vgridnev has quit IRC11:57
*** daemontool has joined #openstack-keystone11:57
*** jbell8 has quit IRC11:58
*** peter-hamilton has joined #openstack-keystone11:58
*** vgridnev has joined #openstack-keystone11:59
*** markvoelker has quit IRC12:00
*** aix has joined #openstack-keystone12:01
*** doug-fish has joined #openstack-keystone12:01
*** wasmum- has quit IRC12:03
*** vgridnev has quit IRC12:03
*** vgridnev has joined #openstack-keystone12:18
*** pauloewerton has joined #openstack-keystone12:20
*** davechen has joined #openstack-keystone12:25
*** GB21 has quit IRC12:27
*** vivekd has quit IRC12:28
*** dims has joined #openstack-keystone12:28
*** gordc has joined #openstack-keystone12:30
*** vivekd has joined #openstack-keystone12:32
*** EinstCrazy has quit IRC12:52
*** EinstCrazy has joined #openstack-keystone12:52
*** raildo-afk is now known as raildo12:55
*** markvoelker has joined #openstack-keystone12:57
*** markvoelker has quit IRC13:02
*** vgridnev has quit IRC13:02
*** links has quit IRC13:04
*** vivekd has quit IRC13:05
*** browne has joined #openstack-keystone13:07
*** rcernin has joined #openstack-keystone13:09
*** browne has quit IRC13:16
*** jsavak has joined #openstack-keystone13:18
*** vivekd has joined #openstack-keystone13:23
*** dims has quit IRC13:25
*** dims has joined #openstack-keystone13:26
*** dslev has joined #openstack-keystone13:27
*** vgridnev has joined #openstack-keystone13:29
*** markvoelker has joined #openstack-keystone13:31
*** browne has joined #openstack-keystone13:31
*** _zouyee has quit IRC13:37
*** __zouyee has quit IRC13:37
*** edmondsw has joined #openstack-keystone13:39
openstackgerritDavid Stanek proposed openstack/keystone: Use an in memory database for tests  https://review.openstack.org/26691413:41
dolphmrletrocquer: o/ I think we just had a similar bug report a week or so ago13:47
*** jistr has quit IRC13:48
*** jistr has joined #openstack-keystone13:49
davechendolphm: could you pls take a look at this one - https://review.openstack.org/#/c/262768/?13:49
davechendolphm: anything else i missed?13:49
dolphmrletrocquer: are you running code more recent than december? i believe the cause was a regression introduced somewhere at that point13:49
dolphmdavechen: i'll add it to my queue13:49
davechendolphm: okay, thanks sir!13:49
*** browne has quit IRC13:50
dolphmrletrocquer: i'm struggling to find a relevant bug report, but lbragstad might know more when he gets in (next hour or two)13:50
rletrocquerdolphm : thanks for your answer. No i thinks the code is older than december, i'am pretty sure.13:51
dolphmrletrocquer: stable/liberty?13:52
marekddavechen: why is the line removed here: https://review.openstack.org/#/c/262768/5/tox.ini ?13:52
dolphmmarekd: he deleted the entire file in the same patch13:53
*** vivekd has quit IRC13:53
dolphmmarekd: thanks for your email the other day, btw!13:53
rletrocquerdolphm : no, kilo (packaged by fuel/mirantis).13:54
marekddolphm: hey, no problem. I am not sure it actually answered your question, though.13:55
dolphmrletrocquer: oh! i didn't know they were using fernet in kilo -- do you have a SHA of keystone?13:55
*** dslev has quit IRC13:55
davechenmarekd: the whole file is removed :)13:55
davechendolphm: today, i googled for jsonschema and found this blog from you - http://dolphm.com/how-to-disallow-an-attribute-in-json-schema-draft-3/13:57
dolphmdavechen: lol13:57
davechendolphm: it's helpful, and another way and more latest usage is using 'not'13:57
davechendolphm: https://github.com/json-schema/json-schema/wiki/anyOf,-allOf,-oneOf,-not13:57
davechenjust fyi.13:57
*** jbell8 has joined #openstack-keystone13:59
davechenmarekd: thank you!13:59
rletrocquerdolphm : in fact, we have realized a post-configuration to using fernet. it's not provided by fuel/mirantis.14:00
dolphmmarekd: it's far more information / context than i had though! if i have follow up questions, do you mind if i reply to both you and Hannah?14:04
*** links has joined #openstack-keystone14:04
dolphmrletrocquer: back in june/july we had a couple patches to fernet specifically intended to fix some issues with user IDs coming out of LDAP. any chance you're running a really old kilo deploy?14:06
dolphmrletrocquer: that's why i was asking for the SHA14:06
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/keystone: Add backend support for deleting a projects list  https://review.openstack.org/24591614:06
dolphmrletrocquer: the latest stable/kilo has code like this to handle LDAP & federation: https://github.com/openstack/keystone/blob/stable/kilo/keystone/token/providers/fernet/token_formatters.py#L292-L29314:07
*** davechen has left #openstack-keystone14:08
*** links has quit IRC14:09
rletrocquerdolphm : Ok, this is what i know about keystone package : http://paste.openstack.org/show/483771/14:09
*** links has joined #openstack-keystone14:09
openstackgerritMerged openstack/keystone: Delete checks for default domain delete  https://review.openstack.org/26434214:09
dolphmrletrocquer: 2015.1.0 would not include the fixes i'm referring to. update keystone!14:09
*** dslev has joined #openstack-keystone14:10
dolphmrletrocquer: 2015.1.2 is available14:10
marekddolphm: go ahead, she is responsible for all this political/agreement stuff when it comes to CERN federation.14:10
dolphmrletrocquer: and contains LOTS of patches to Fernet14:10
dolphmrletrocquer: i would NOT recommend touching Fernet is 2015.1.0 at all14:11
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/keystone: API support for project cascade delete  https://review.openstack.org/24424814:11
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/keystone: Manager support for project cascade delete  https://review.openstack.org/24414914:11
dolphmmarekd: cool, good people to know!14:11
*** GB21 has joined #openstack-keystone14:12
*** GB21 has quit IRC14:12
*** richm has joined #openstack-keystone14:13
marekddolphm: :)14:13
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/keystone: Add backend support for deleting a projects list  https://review.openstack.org/24591614:15
lbragstaddolphm rletrocquer what's up?14:16
*** __zouyee has joined #openstack-keystone14:17
*** _zouyee has joined #openstack-keystone14:17
*** pai15 has joined #openstack-keystone14:17
rletrocquerdolphm : ok thanks, we will try to update keystone14:18
*** ayoung has joined #openstack-keystone14:25
*** ChanServ sets mode: +v ayoung14:25
*** links has quit IRC14:25
*** links has joined #openstack-keystone14:25
*** Ephur has joined #openstack-keystone14:26
*** dslev has quit IRC14:29
*** links has quit IRC14:29
*** links has joined #openstack-keystone14:30
dolphmlbragstad: rletrocquer was running 2015.1.0 and ran into a fernet+ldap bug that we fixed in 2015.1.1 or .214:31
lbragstaddolphm ah - so you guys figured it all out?14:32
dolphmlbragstad: i think so14:32
lbragstadgood deal14:33
dolphmlbragstad: rletrocquer: it likely either https://bugs.launchpad.net/keystone/+bug/1459382 or https://bugs.launchpad.net/keystone/+bug/149746114:33
openstackLaunchpad bug 1459382 in OpenStack Identity (keystone) kilo "Fernet tokens can fail with LDAP identity backends" [High,Fix released] - Assigned to Dolph Mathews (dolph)14:33
openstackLaunchpad bug 1497461 in OpenStack Identity (keystone) liberty "Fernet tokens fail for some users with LDAP identity backend" [High,Fix committed] - Assigned to Eric Brown (ericwb)14:33
*** browne has joined #openstack-keystone14:34
dolphmlbragstad: taco(s)? i owe you.14:35
lbragstadsure14:35
lbragstadi'm running tests anyway14:35
rletrocquerdolphm : lbragstad : what is strange is that everything works except nova command (neutron, glance, cinder works fine)14:36
*** ninag has joined #openstack-keystone14:36
raildolbragstad: ping, do you think that we can close this bug, or we need more work on it? https://bugs.launchpad.net/keystone/+bug/150665314:39
openstackLaunchpad bug 1506653 in OpenStack Identity (keystone) "Retrieving either a project's parents or subtree as_list does not work" [Medium,Confirmed] - Assigned to Lance Bragstad (lbragstad)14:39
openstackgerritLiuNanke proposed openstack/keystoneauth: Replace deprecated library function os.popen() with subprocess  https://review.openstack.org/26695014:41
openstackgerritLiuNanke proposed openstack/keystoneauth: Replace deprecated library function os.popen() with subprocess  https://review.openstack.org/26695014:45
*** EinstCrazy has quit IRC14:45
openstackgerritLiuNanke proposed openstack/keystonemiddleware: Replace deprecated library function os.popen() with subprocess  https://review.openstack.org/26695314:47
*** spzala has joined #openstack-keystone14:52
*** itlinux has quit IRC14:56
*** petertr7_away is now known as petertr714:56
*** alextricity_h has joined #openstack-keystone15:03
*** links has quit IRC15:07
lbragstadraildo sure - i'm fine with closing it as long as people are happy with the provided documentation15:09
*** dave-mccowan has joined #openstack-keystone15:09
dstanekwow. our catalog driver interface doubled in size since the last time i looked at it15:09
lbragstaddstanek feature!15:10
mfischdo you guys know why services have a /tmp/keystone-signing- folder? what's that used for?15:10
mfischglance, cinder, nova, neutron all have one15:10
dstaneklbragstad: more like a dozen features15:10
mfischI can't find any docs on it15:10
dstanekmfisch: i thought that was a tmp folder when generating keys. wouldn't expect it all over the place15:10
mfischwhy is nova/neutron/cinder/glance generating keys?15:11
*** dave-mccowan has quit IRC15:13
dstanekmfisch: actually i don't see that in the code at all. maybe lbragstad knows15:16
dstanekmfisch: what's in the directory?15:16
mfischnothing15:16
lbragstaddstanek mfisch I don't think there should be fernet keys in there at all15:16
mfischno keyst15:16
mfischthis is on a non-keystone node15:17
mfischfolders owned by cinder, glance, nova, etc15:17
lbragstadthat's good15:17
lbragstadI wonder if it's something pki related?15:17
mfischhttps://gist.github.com/matthewfischer/7590c9dd97789b94346f15:17
lbragstadwhat else does keystone use keys for?15:17
lbragstadmfisch dstanek I think this is what you're looking for - https://github.com/openstack/keystonemiddleware/blob/master/keystonemiddleware/auth_token/_signing_dir.py15:18
lbragstadwhich is owned by keystonemiddleware15:19
*** breitz has quit IRC15:19
lbragstadwhich would make sense if its on other non-keystone nodes in the deployment15:19
dstaneklbragstad: yeah, looks like maybe CMS?15:19
mfischis that just for PKI?15:19
*** boris-42 has joined #openstack-keystone15:20
lbragstadmfisch not sure - but it looks like it's setup in auth_token - https://github.com/openstack/keystonemiddleware/blob/5ba3d06b2063e10cf30dafd3bd6886f8fc24244d/keystonemiddleware/auth_token/__init__.py#L68515:20
dstanekmfisch: maybe revocations too15:20
mfischwhy would services store revocations?15:21
mfischthey're in the db15:21
dstanekmfisch: nope, not it. was looking at the wrong file15:21
dstanekmfisch: i don't think that directory is intended for storage, just a (secure?) place to sign15:22
openstackgerritLance Bragstad proposed openstack/keystone: Make fernet default token provider  https://review.openstack.org/25865015:22
dstaneklbragstad: so we make it all of the time it appears15:22
lbragstadinteresting15:22
mfischso we had a control node that hadn't been rebooted in a long time15:23
mfischand these thousands of folders contributed to the reboot taking forever15:23
*** pnavarro has quit IRC15:24
*** chris_19 has joined #openstack-keystone15:26
mfischdstanek: so these are only for PKI?15:26
*** kbringard has joined #openstack-keystone15:27
*** chris_19 has left #openstack-keystone15:27
*** timcline has joined #openstack-keystone15:28
dstanekmfisch: it looks like pki and revocations afaict15:28
mfischPKI and PKI revocations15:29
mfischso I can kill the folders15:29
dstanekmfisch: i'm pretty sure you can kill the old ones. i looks like every time the middle in instantiated it'll create a new one15:30
dstanekmfisch: it's used to CMS verify the revocation list15:31
mfischCMS?15:31
mfischsorry Im not sure what CMS means other than drupal15:33
mfisch[PROD] root@chrcnc01-control-002:/tmp# ls -al | grep keystone-sign | wc -l15:33
mfisch14420015:33
*** tonytan4ever has joined #openstack-keystone15:34
bknudson_typically you would set the signing directory for each service so it's not creating a new one every time the service restarts15:35
mfisch144k is crazy15:35
mfischwe can discuss it here too: https://bugs.launchpad.net/keystone/+bug/153372415:35
openstackLaunchpad bug 1533724 in OpenStack Identity (keystone) "keystone-signing folders fill /tmp and seriously slow down reboots" [Undecided,New]15:35
mfischI have to do night mainentance again tonight now :(15:36
*** pai15 has quit IRC15:36
*** phalmos has joined #openstack-keystone15:36
*** pai15 has joined #openstack-keystone15:36
dstanekmfisch: cryptographic message syntax - we use openssl for it15:38
*** pai15 has quit IRC15:39
*** pai15 has joined #openstack-keystone15:40
*** fawadkhaliq has joined #openstack-keystone15:40
mfischdstanek: thanks for clairfiying15:42
lbragstaddstanek sidenote - i think there is an outstanding bug to switch all of that from popen calls to using the actual openssl python library15:43
*** jimbaker has joined #openstack-keystone15:46
dstaneklbragstad: yeah, i'm looking at the review right now15:49
dstaneklbragstad: i got part way through hacking together a notifications thing. just have to finish it up15:50
* dstanek is not happy that lunch time will involve snow shoveling15:53
marekddstanek: think of it as a physical excercise15:54
marekdand a reason to get up from the chair15:54
*** alextricty25 has joined #openstack-keystone15:54
*** KarthikB_ has joined #openstack-keystone15:55
*** alextricty25 has quit IRC15:56
*** alextricity_h has joined #openstack-keystone15:57
*** __zouyee has quit IRC16:03
*** _zouyee has quit IRC16:03
*** jsavak has quit IRC16:03
*** jsavak has joined #openstack-keystone16:04
*** sigmavirus24_awa is now known as sigmavirus2416:07
*** slberger has joined #openstack-keystone16:09
*** spandhe has quit IRC16:10
*** roxanagh_ has joined #openstack-keystone16:13
lbragstaddstanek awesome - thank you16:16
*** dims_ has joined #openstack-keystone16:18
*** dims has quit IRC16:21
lbragstadayoung down to 106 failures - https://review.openstack.org/#/c/258650/16:21
lbragstadayoung seeing quite a few weird inconsistencies with test_auth.py though16:22
ayounglbragstad, like?16:22
lbragstadayoung like this assertion failing because metadata doesn't contain any roles - https://github.com/openstack/keystone/blob/master/keystone/tests/unit/test_auth.py#L28516:23
ayounglbragstad, that is a scoped token fetched from an unscoped.  It should have a role16:24
ayoungbody_dict = _build_user_auth(16:24
ayoung            token=unscoped_token["access"]["token"],16:24
ayoung            tenant_name="BAR")16:24
*** tonytan4ever has quit IRC16:24
lbragstadayoung yep - it has a role in the token reference, but not in the metadata16:24
ayounguse should have the role  self.role_member['id'] on BAR16:24
ayounglbragstad, so the conversion is whacked16:25
raildolbragstad: sorry, I was at lunch time... so how we know if the people are happy with the provided documentation? just ask for other cores here?16:25
ayoungprobably v3 to v2 type code16:25
lbragstadraildo yeah - that wouldn't be a bad idea16:25
raildolbragstad: ok :)16:25
lbragstadayoung yeah - that's kinda what I was thinking... still looking into it16:25
raildodolphm: I'd rather see you talk about next-review on the summit :) https://etherpad.openstack.org/p/austin-upstream-dev-track-ideas16:26
openstackgerritLance Bragstad proposed openstack/keystone: Make fernet default token provider  https://review.openstack.org/25865016:30
openstackgerritMerged openstack/keystone: Remove redundant check after enforcing schema validation  https://review.openstack.org/26276816:31
lbragstadayoung test_auth_unscoped_token_project() with fernet - http://cdn.pasteraw.com/nni8xtbgjsl3934vlwv7j5ktry2fl7316:32
lbragstadtest_auth_unscoped_token_project() with uuid - http://cdn.pasteraw.com/risvg2ggcueuaobl7echlefanezuto016:32
ayounglbragstad, different code paths to create the token?16:33
*** mc_nair has joined #openstack-keystone16:34
ayounglbragstad, I think this is driving home the fact that we need to make the way that Fernet composes tokens called by all of the token providers16:34
lbragstadayoung yeah - https://github.com/openstack/keystone/blob/master/keystone/token/providers/fernet/core.py#L3916:34
lbragstadayoung I actually have a patch for that16:34
lbragstadayoung - https://review.openstack.org/#/q/status:open+project:openstack/keystone+branch:master+topic:consolidate-fernet-provider16:35
ayounglbragstad, I wonder if we should rebase on top of that.16:35
*** petertr7 is now known as petertr7_away16:35
*** pai15 has quit IRC16:36
lbragstadayoung yeah - maybe we should make the consolidation merges a requirement before flipping the default?16:36
ayounglbragstad, let's see if it fixes the test failures.16:37
ayoungIf not, then it probably is not completely done.  I think this is the real flush out effort Fernet needs16:38
lbragstadayoung yeah16:38
*** pai15 has joined #openstack-keystone16:39
*** roxanagh_ has quit IRC16:41
*** spandhe has joined #openstack-keystone16:41
lbragstadayoung alright - working on fixing all the consolidation patches; i'll try rebasing after that16:42
lbragstadrebasing your patch16:42
*** spandhe has quit IRC16:46
ayoungI have an idea for the developers track "How to get your code to pass pep8"  can deal with thing like long lines and automating whitespace cleanup16:46
*** spandhe has joined #openstack-keystone16:49
*** bradjones has quit IRC16:49
*** bradjones has joined #openstack-keystone16:50
*** bradjones has quit IRC16:50
*** bradjones has joined #openstack-keystone16:50
*** vgridnev has quit IRC16:50
htrutahey  guys, I'm having a problem with versioned backend drivers. The legacy backend tests are failing because it is using the manager layer cache16:51
htrutaand the cache is only valid to the new driver16:51
*** rcernin has quit IRC16:51
stevemardolphm: around today?16:52
dolphmstevemar: for the morning16:52
stevemarso another hour :P16:52
*** spzala has quit IRC16:52
*** spzala has joined #openstack-keystone16:53
stevemari wanted eyes on stable, so i could release a liberty release: https://review.openstack.org/#/q/project:openstack/keystone+branch:stable/liberty+status:open16:53
openstackgerritayoung proposed openstack/keystone: implied roles driver and manager  https://review.openstack.org/26426016:53
stevemardolphm: and there are only two here: https://review.openstack.org/#/q/project:openstack/keystone+branch:stable/kilo+status:open16:53
stevemardolphm: and lastly: https://review.openstack.org/#/q/topic:bug/1490804+status:open16:54
openstackgerritayoung proposed openstack/keystone: Implied Roles API  https://review.openstack.org/24261416:54
*** petertr7_away is now known as petertr716:55
dolphmstevemar: will do!16:55
stevemardolphm: yay!16:55
stevemardolphm: the keystonemiddleware ones may be tricky, save them for last :P16:55
stevemarthe liberty ones are super easy16:55
*** vgridnev has joined #openstack-keystone16:56
*** spzala has quit IRC16:56
*** vgridnev has quit IRC16:56
*** spzala has joined #openstack-keystone16:57
*** roxanagh_ has joined #openstack-keystone16:57
*** zqfan has quit IRC17:01
*** _cjones_ has joined #openstack-keystone17:07
*** _cjones_ has quit IRC17:07
*** _cjones_ has joined #openstack-keystone17:07
*** jistr has quit IRC17:08
bretonhttp://paste.openstack.org/show/483790/17:09
*** KarthikB_ has quit IRC17:09
bretongot this failure on unrelated change17:09
*** lhcheng has joined #openstack-keystone17:10
*** ChanServ sets mode: +v lhcheng17:10
*** Ephur has quit IRC17:13
*** KarthikB_ has joined #openstack-keystone17:16
*** spzala has quit IRC17:17
*** spzala has joined #openstack-keystone17:17
openstackgerritBrant Knudson proposed openstack/keystone: Update bandit.yaml  https://review.openstack.org/26704417:18
stevemarbreton: what did you do :O17:18
bretonstevemar: tox -e py27 while testing ldap changes17:19
bretonon the second run everything was fine17:19
stevemarbreton: weirdness17:22
*** spzala has quit IRC17:22
*** henrynash has joined #openstack-keystone17:27
*** ChanServ sets mode: +v henrynash17:27
openstackgerritBrant Knudson proposed openstack/keystone: Enable bandit tests  https://review.openstack.org/26705117:27
*** ayoung has quit IRC17:28
*** fesp has joined #openstack-keystone17:32
*** fesp has quit IRC17:34
bknudson_KarthikB https://pypi.python.org/pypi/bandit/17:39
samueldmqbknudson_: ping - about this patch for bandit tests ^17:40
samueldmqbknudson_: how does it detect hardcoded_password_* ?17:40
samueldmqbknudson_: is it necessary to have any annotation on a field that is expected to be a passwd?17:41
bknudson_samueldmq: good question, let me find the code.17:42
*** jasonsb has quit IRC17:42
*** ankita_wagh has joined #openstack-keystone17:42
bknudson_samueldmq: it's a hardcoded list, see http://git.openstack.org/cgit/openstack/bandit/tree/bandit/plugins/general_hardcoded_password.py#n6717:44
*** vgridnev has joined #openstack-keystone17:46
openstackgerritBrant Knudson proposed openstack/keystonemiddleware: Bandit profile updates  https://review.openstack.org/26706517:48
samueldmqbknudson_: nice thanks17:48
*** pai15 has quit IRC17:48
*** KarthikB has quit IRC17:49
stevemarbknudson_: thats a lot of changes17:49
bknudson_stevemar: y, bandit devs can't stop messing with the profile17:50
bknudson_actually the next version of bandit is going to have no profile with the extra config stuff17:51
bknudson_I wanted to bring the current version up to date so that it's easier to switch17:51
samueldmqnice, make sense17:53
*** pai15 has joined #openstack-keystone17:54
*** petertr7 is now known as petertr7_away17:56
*** raildo is now known as raildo-afk17:57
*** e0ne has quit IRC18:04
*** peter-hamilton has quit IRC18:04
openstackgerritHenrique Truta proposed openstack/keystone: Add is_domain parameter to get_project_by_name  https://review.openstack.org/21060018:04
*** raildo-afk is now known as raildo18:06
*** boris-42 has quit IRC18:08
*** jed56 has quit IRC18:08
*** briancurtin has quit IRC18:08
*** ramishra_ has quit IRC18:08
*** tpeoples has quit IRC18:08
*** jraim has quit IRC18:08
*** DuncanT has quit IRC18:08
*** serverascode has quit IRC18:08
*** zhiyan has quit IRC18:08
*** andrewbogott has quit IRC18:08
*** tonytan4ever has joined #openstack-keystone18:10
*** timcline has quit IRC18:11
*** jsavak has quit IRC18:12
*** jsavak has joined #openstack-keystone18:12
htrutahenrynash: I've submitted bug 1533778 related to this comment of yours here: https://review.openstack.org/#/c/210600/42/keystone/tests/unit/test_backend.py@59218:13
openstackbug 1533778 in OpenStack Identity (keystone) "Resource legacy backend driver is using v9's cache" [Undecided,New] https://launchpad.net/bugs/153377818:13
*** KarthikB_ has quit IRC18:14
*** DuncanT has joined #openstack-keystone18:14
*** serverascode has joined #openstack-keystone18:17
stevemarbknudson_: got a few minutes to look at: https://review.openstack.org/#/c/256101/ ?18:17
stevemaractually, nvm18:17
bknudson_I'm at the security meetup this week so I'm focusing on what I can help with here18:17
*** jraim has joined #openstack-keystone18:17
*** KarthikB has joined #openstack-keystone18:17
*** KarthikB has quit IRC18:18
*** KarthikB has joined #openstack-keystone18:18
*** andrewbogott has joined #openstack-keystone18:18
*** ramishra_ has joined #openstack-keystone18:18
stevemarbknudson_: yeah, i just remembered that, hence the 'nvm'18:18
stevemargo about your security business18:18
*** gyee has joined #openstack-keystone18:18
*** ChanServ sets mode: +v gyee18:18
*** shoutm has quit IRC18:21
*** zhiyan has joined #openstack-keystone18:24
*** pauloewerton has quit IRC18:24
*** tpeoples has joined #openstack-keystone18:24
*** ericksonsantos has quit IRC18:25
*** briancurtin has joined #openstack-keystone18:25
*** iurygregory has quit IRC18:27
*** jasonsb has joined #openstack-keystone18:28
*** timcline has joined #openstack-keystone18:29
*** jed56 has joined #openstack-keystone18:29
*** dims_ has quit IRC18:30
*** mgagne has quit IRC18:30
*** rcernin has joined #openstack-keystone18:30
*** mgagne has joined #openstack-keystone18:31
*** mgagne is now known as Guest8280318:31
*** dims has joined #openstack-keystone18:32
*** Guest82803 is now known as mgagne18:32
openstackgerritayoung proposed openstack/keystone: Implied roles driver and manager  https://review.openstack.org/26426018:33
*** mgagne has quit IRC18:33
*** mgagne has joined #openstack-keystone18:33
*** ayoung has joined #openstack-keystone18:33
*** ChanServ sets mode: +v ayoung18:33
*** woodster_ has joined #openstack-keystone18:36
ayounghenrynash, I refactored the filter-by-role aspect of list_effective_roles.  Tell me if this makes sense:  Skip any filtering on role_id until the end, and then always filter if role_id is set.18:38
*** e0ne has joined #openstack-keystone18:38
*** aginwala has joined #openstack-keystone18:38
*** raildo is now known as raildo-afk18:39
openstackgerritLin Hua Cheng proposed openstack/keystone: Improve Conflict error message in IdP creation  https://review.openstack.org/26527918:40
*** ninag has quit IRC18:43
*** ig0r_ has joined #openstack-keystone18:43
*** tonytan4ever has quit IRC18:43
*** ninag has joined #openstack-keystone18:43
*** ninag has quit IRC18:44
*** ninag has joined #openstack-keystone18:44
*** ninag has quit IRC18:45
*** pai15 has quit IRC18:45
*** ankita_w_ has joined #openstack-keystone18:49
*** ankita_wagh has quit IRC18:49
*** ayoung has quit IRC18:51
*** ankita_w_ has quit IRC18:51
*** ankita_wagh has joined #openstack-keystone18:52
*** aginwala has quit IRC18:52
*** daemontool has quit IRC18:54
*** daemontool has joined #openstack-keystone18:54
*** andrewbogott has quit IRC18:56
*** andrewbogott has joined #openstack-keystone18:56
*** tonytan4ever has joined #openstack-keystone18:57
*** aginwala has joined #openstack-keystone18:57
*** pauloewerton has joined #openstack-keystone19:01
*** ericksonsantos has joined #openstack-keystone19:01
*** iurygregory has joined #openstack-keystone19:03
*** raildo-afk is now known as raildo19:03
*** jaosorior has quit IRC19:05
*** jaosorior has joined #openstack-keystone19:05
openstackgerritHenrique Truta proposed openstack/keystone: Make project.domain_id column nullable  https://review.openstack.org/26453319:08
samueldmqhenrynash: hi19:09
samueldmqhenrynash: about "Correct docstrings for federation driver interface" and its followon patch19:11
*** vivekd has joined #openstack-keystone19:13
*** mhickey has quit IRC19:14
openstackgerritBrant Knudson proposed openstack/keystonemiddleware: Update bandit.yaml  https://review.openstack.org/26711319:16
openstackgerritBrant Knudson proposed openstack/keystonemiddleware: Update bandit test list  https://review.openstack.org/26711419:16
openstackgerritBrant Knudson proposed openstack/keystonemiddleware: Enable passing bandit checks  https://review.openstack.org/26711519:16
openstackgerritBrant Knudson proposed openstack/keystonemiddleware: Enable try_except_pass bandit check  https://review.openstack.org/26711619:16
bknudson_keystonemiddleware py27 is broken19:19
bknudson_I assume by the release of keystoneclient or keystoneauth19:19
*** petertr7_away is now known as petertr719:19
*** KarthikB_ has joined #openstack-keystone19:20
*** spzala has joined #openstack-keystone19:22
bknudson_looks like there's a change in keystoneclient that broke the tests and a change in keystoneauth1 that broke the tests in a different way19:22
*** ayoung has joined #openstack-keystone19:23
*** ChanServ sets mode: +v ayoung19:23
*** Karthik__ has joined #openstack-keystone19:23
*** KarthikB has quit IRC19:24
bknudson_the issues due to keystoneauth have to do with the user agent string, which I don't think auth_token middleware tests should be verifying.19:24
*** KarthikB has joined #openstack-keystone19:25
*** KarthikB_ has quit IRC19:27
*** Karthik__ has quit IRC19:29
*** fawadkhaliq has quit IRC19:30
*** aginwala has quit IRC19:38
openstackgerritBrant Knudson proposed openstack/keystonemiddleware: Fix tests to work with keystoneauth1 2.2.0  https://review.openstack.org/26712919:39
bknudson_^ that should fix part of it... but it's not going to pass due to keystoneclient breakage, too.19:39
*** boris-42 has joined #openstack-keystone19:40
*** ankita_wagh has quit IRC19:41
samueldmqstevemar: ping - see my comment on https://review.openstack.org/#/c/23804719:47
*** petertr7 is now known as petertr7_away19:47
*** petertr7_away is now known as petertr719:50
*** ayoung has quit IRC19:51
*** KarthikB has quit IRC19:54
*** KarthikB has joined #openstack-keystone19:56
*** aginwala has joined #openstack-keystone19:58
samueldmqbknudson_: how is the user-agent string generated now ?20:00
bknudson_samueldmq: see https://review.openstack.org/#/c/256002/20:00
samueldmqbknudson_: is the string appended for each component it reaches ? in that case, ksauth append to tht string ?20:00
* samueldmq 's looking20:00
lbragstadjorge_munoz added another comment - https://review.openstack.org/#/c/266052/120:01
notmorganbknudson_: ugh. we need a better integration test for KSM20:01
*** aginwala has quit IRC20:02
*** aginwala has joined #openstack-keystone20:03
bknudson_seems like it would be easy enough to co-gate keystonemiddleware on keystoneauth and ksc. not sure why we don't have ti.20:03
*** tonytan4ever has quit IRC20:03
notmorganbknudson_: i'll work on spinning something up for that next week.20:04
bknudson_this might be something that lifeless's x-project spec should help with20:04
samueldmqbknudson_: thanks for the link20:04
notmorgansince really we need a very basic test suite. it doesn't need to be full dsvm20:04
notmorganat least KSA/KSM co-gate20:04
notmorgani don't really care about ksc co-gate20:04
bknudson_unit tests would catch this20:04
samueldmqbknudson_: in that case (within the test), the expected useragent is what is being prepended20:04
samueldmqwhat is a co-gate ?20:05
bknudson_samueldmq: yes, the user-agent that auth_token is setting gets perpended to the ksa useragent20:05
henrynashsamueldmq: hi20:06
notmorganbknudson_: i'd want KSM to actually validate a token.20:06
notmorganbknudson_: not just "unit test" with a confirmation from the echo/dummy app the right things happened20:07
bknudson_fancy20:07
notmorganbknudson_: really easy w/ the functional hooks. i'll poke at it.20:07
bknudson_the unit tests it does now use requests-mock20:07
bknudson_I wouldn't expect a functional test to care what the user-agent is.20:08
notmorganright. and it shouldn't20:08
notmorganever20:08
samueldmqhenrynash: in that patch, I understood that the driver was implmeneting it as expected, but the driver signature was wrong20:08
notmorganin fact... why do we care what our useragent is in ksm?20:08
samueldmqhenrynash: is this right ?20:08
notmorganwe care that KSA does the right thing.20:08
henrynashsamueldmq: the abstract signature in the manager was wrong, yes20:08
bknudson_auth_token sets the user agent to something so that you call tell it was auth_token.20:08
samueldmqhenrynash: in this case, doesn't it deserve a release note ?20:09
notmorganand if ksm isn't setting the agent when talking to ksa's lib, we should know... but i don't know if we care that it's tested.20:09
bknudson_the unit tests were assuming that the user-agent wasn't modified by ksa20:09
notmorganksa always formulating a rfc-compliant user-agent should be fine.20:09
henrynashsamueldmq: perhaps, although nobody could have used the “wrong” signature, since their driver would not have worked20:09
notmorganas a test20:09
notmorganbknudson_: feel free to tell me i'm wrong though.20:09
henrynashsamueldmq: so not sure it would really inform anyone20:10
bknudson_it probably excessive for auth_token to validate the request. should be ok just mocking ksa.20:11
bknudson_the tests are the way they are due to legacy reasons.20:11
samueldmqhenrynash: okay, but that's really a case of changing the signature (regardless it's wrong or correct)20:11
samueldmqhenrynash: and I thought that would require a new version?20:11
bknudson_auth_token should also be mocking keystoneclient.20:11
samueldmqhenrynash: I was thinking about driver signatures regadless the implemetations (including ours ?)20:12
samueldmqhenrynash: but I agree this is a special case ?20:12
henrynashsamueldmq: so we signature we *actually* support is correct, the one we documented is not20:12
henrynashsamuedlmq: and the abstarct signatures really seem to only be useful to tell you that you have missed a method altoghter20:12
henrynashsamuedlmq: they don;t seem to complain if your param list is wroung, for instance20:13
henrynash(clearly, of what we had in Liberty) would have thown erros20:13
samueldmqhenrynash: it's like we're not changing the abstract method because of functionality changes/inprovements20:15
samueldmqhenrynash: that's just the documentation that was wrong20:15
henrynashsamueldmq; correct20:15
henrynashsamueldmq: yep20:15
samueldmqhenrynash: hm, seems fair20:15
samueldmqhenrynash: good, thanks for clarifying20:16
henrynashsamuedlmq: np, fair questions20:16
samueldmqnotmorgan: you working on a gate for keystone using ldap?20:18
*** dims has quit IRC20:18
*** dims has joined #openstack-keystone20:18
notmorgansamueldmq: no20:19
notmorgansamueldmq: i tried in the past and it was ugly20:19
notmorgansamueldmq: someone should finish https://review.openstack.org/#/c/231872/20:20
samueldmqnotmorgan: should it be easier today ?20:20
* samueldmq 's looking20:20
notmorgansamueldmq: and yeah it should be easier since we know LDAP is r/o and no assignment20:20
*** rcernin has quit IRC20:20
*** albertom has quit IRC20:20
bknudson_it would also help with ldap3 transition to get rid of the extra ldap code20:21
samueldmqnotmorgan: want me to follow with that patch?20:21
notmorganbknudson_: ++20:21
samueldmqbknudson_: basic question.. what kind of extra ldap code ? I am not aware of that transition20:23
bknudson_any ldap code that we don't need anymore, such as ldap assignment driver20:23
samueldmqbknudson_: got it20:24
samueldmqfrom what I can see now20:24
samueldmqfirst we would need to make devstack install openldap for us ?20:24
bknudson_devstack already has code to install openldap and configure it20:25
*** e0ne has quit IRC20:25
samueldmqbknudson_: nice, so now the new gate would configure ldap and keystone accordingly20:27
samueldmqbknudson_: and it should work20:27
*** ericksonsantos has quit IRC20:27
bknudson_the existing tests might do something that ldap driver doesn't support20:28
samueldmqagreed20:28
*** jaosorior has quit IRC20:30
*** jaosorior has joined #openstack-keystone20:30
dimsstevemar : gate failures? https://jenkins03.openstack.org/job/gate-keystone-python27/1314/console20:32
*** jsavak has quit IRC20:33
dimsstevemar : due to new releases today?20:33
stevemari hope not20:33
bknudson_this must be on stable20:34
*** jaosorior has quit IRC20:34
stevemardims: looks legit20:34
*** tonytan4ever has joined #openstack-keystone20:35
*** jsavak has joined #openstack-keystone20:35
stevemarbknudson_:  why do you say that?20:35
*** raildo is now known as raildo-afk20:35
bknudson_I thought we got rid of those tests on master20:35
dimsbknudson_ : yep stable liberty https://review.openstack.org/#/c/265177/20:37
*** daemontool has quit IRC20:37
*** daemontool has joined #openstack-keystone20:38
samueldmqkeystoners, I have news from our v2 only gate job (which has been only on devstack so far)20:38
samueldmqwe have room for one more gate in tempest, so I will propose it against tempest as well (as nonvoting)20:39
samueldmqand as it's failing in a 10% rate in periodic-qa jobs, it can't be made voting for now20:39
samueldmqhttp://status.openstack.org/openstack-health/#/g/build_queue/periodic-qa20:39
samueldmqI will investigate what's happening and reduce that rate to something near 0%, so we can get it voting20:40
samueldmqerr, I meant v3 only job ...20:41
stevemardims: bknudson_ okay, looks like its just the keystone/liberty branch that'll be affected20:41
samueldmqcc jamielennox ^20:41
bknudson_stevemar: keystonemiddleware master is also broken20:41
stevemarbknudson_: yeah, i noticed but for different reasons20:42
stevemarbknudson_: https://review.openstack.org/#/c/267129/20:42
stevemarsomeone is already on it20:42
bknudson_keystonemiddleware also has a problem with a keystoneclient change20:43
bknudson_which I haven't had a chance to look into yet20:43
bknudson_it's probably the same change that cause keystone tests to fail20:43
bknudson_we should probably revert the ksc change20:44
stevemarbknudson_: which ksc change is it? is it ec2 related?20:45
bknudson_I haven't had a chance to look at which change it was20:45
bknudson_maybe it's multiple changes20:45
*** aginwala has quit IRC20:46
*** rcernin has joined #openstack-keystone20:49
*** aginwala has joined #openstack-keystone20:50
*** belmoreira has joined #openstack-keystone20:56
*** aix has quit IRC20:56
openstackgerritDavid Stanek proposed openstack/keystone: Removes KVS catalog backend  https://review.openstack.org/15844220:57
*** rderose has joined #openstack-keystone20:59
*** jbell8 has quit IRC21:00
*** aginwala has quit IRC21:01
*** ekarlso has quit IRC21:01
*** ekarlso has joined #openstack-keystone21:01
stevemardims: bknudson_: okay, i have gathered the facts21:02
stevemardims: bknudson_ we removed the ksc tests from master keystone here: https://review.openstack.org/#/c/240474/21:03
*** gildub has joined #openstack-keystone21:03
stevemarwhich is why it isn't bombing on master21:03
*** aginwala has joined #openstack-keystone21:03
stevemardims: bknudson_ this review looks like it's the one causing the failure: https://review.openstack.org/#/c/250473/21:03
*** raildo-afk is now known as raildo21:03
*** raildo is now known as raildo-afk21:03
*** rcernin has quit IRC21:04
stevemar"KeystoneReturnedList" is in all the error messages of the failed test21:04
stevemarfor reference, here are the tests: https://github.com/openstack/keystone/blob/stable/liberty/keystone/tests/unit/test_v2_keystoneclient.py (in liberty)21:04
openstackgerritLin Hua Cheng proposed openstack/python-keystoneclient: Address hacking check H405  https://review.openstack.org/26717221:05
stevemarso I'm OK with removing the ksc tests in liberty, but we need to investigate and make sure that 250473 isn't causing real world failures21:05
stevemari need coffee21:05
bknudson_maybe we need to implement equals or something.21:06
bknudson_I expect this would cause real-world failures, since applications might want to test for []21:06
stevemaryeah, that's what worries me21:08
stevemarokay, fix ksc and re-release 2.1.121:09
stevemarerr, just release, not re-release21:09
stevemardims: you guys running internal CI, you always find these first?!21:09
dimsstevemar : i am watching http://status.openstack.org//zuul/21:11
*** spzala has quit IRC21:11
dimsstevemar : especially when we cut some release i watch it for a bit21:11
*** ayoung has joined #openstack-keystone21:11
*** ChanServ sets mode: +v ayoung21:11
*** spzala has joined #openstack-keystone21:11
stevemardims: http://vignette3.wikia.nocookie.net/batman/images/9/97/Bc.jpg/revision/latest?cb=2013090713131821:12
*** mserngawy_ has joined #openstack-keystone21:12
dimsstevemar yep i am the guy standing and watching :)21:13
*** ig0r_ has quit IRC21:14
stevemarlol21:15
*** pauloewerton has quit IRC21:16
*** spzala has quit IRC21:16
openstackgerritBrant Knudson proposed openstack/python-keystoneclient: Revert "Change default endpoint for Keystone v3 to public"  https://review.openstack.org/26718021:20
bknudson_^ reverts the change in ksc that, along with https://review.openstack.org/#/c/267129/ , should get ksm working again.21:22
*** ig0r_ has joined #openstack-keystone21:23
*** timcline has quit IRC21:31
*** ig0r_ has quit IRC21:31
*** RichardRaseley has joined #openstack-keystone21:34
openstackgerritBrant Knudson proposed openstack/python-keystoneclient: Revert "Support `truncated` flag returned by keystone"  https://review.openstack.org/26718721:36
stevemarbknudson_: both are affecting ?21:36
*** KarthikB_ has joined #openstack-keystone21:36
*** ankita_wagh has joined #openstack-keystone21:37
bknudson_stevemar: the latest one is the one that you said is breaking keystone tests21:37
stevemaryeah, so why the first revert? -- change default endpoint to public21:37
henrynashhtruta: hi21:37
*** KarthikB has quit IRC21:38
*** timcline has joined #openstack-keystone21:38
bknudson_stevemar: the first revert is affecting auth_token unit tests21:39
stevemarballs21:39
stevemarfine fine21:40
stevemarbknudson_: thanks for the investigating21:40
bknudson_no problem.21:40
stevemardims: we'll release as soon as possible, provided we can get the patches merged and such21:41
dimsstevemar : ack21:41
*** ig0r_ has joined #openstack-keystone21:44
*** ig0r_ has quit IRC21:45
bknudson_we also might want to change auth_token such that it picks the interface? Maybe it's a config option?21:45
ayounghenrynash, can we drop list_prior roles anyway?21:46
samueldmqstevemar: that job is already going to run for every patch, but as nonvoting :)21:47
henrynashayoung: I think we can if we don’t want to call it in the early filtering stage…and I would agree that it probably impacts more performance than just post flyering by ro;e21:47
henrynashrole21:47
dimsstevemar : heat stable/liberty broke as well https://jenkins05.openstack.org/job/gate-heat-python27/5409/console21:50
stevemardims: dang it!21:50
ayounghenrynash, What would happen if we just skip that check?21:52
ayounghenrynash, in your original code version that is.21:52
henrynashyou’ll just get more rows back to process at the end21:55
*** rcernin has joined #openstack-keystone21:55
stevemardims: heat breakage looks unrelated to keystone?21:55
stevemardims: "AttributeError: <class 'ceilometerclient.client.AuthPlugin'> does not have the attribute 'redirect_to_aodh_endpoint"21:55
stevemarmaybe gordc knows about that one?21:55
dimsstevemar: AuthPlugin raised doubts21:55
stevemarside_effect=exceptions.EndpointNotFound21:56
gordcstevemar: how far up do i need to read?21:56
dimsgordc : around?21:56
*** alextricity_h has quit IRC21:56
stevemargordc: not at all21:56
dimsgordc : 16:50:4021:56
stevemargordc: https://jenkins05.openstack.org/job/gate-heat-python27/5409/console21:56
gordcstevemar: tehre should be a patch from sileht21:56
stevemargordc is so surly! i love it21:56
gordcit's related to 2.2.0 ceilometerclient21:56
stevemardims: yay not our fault!21:56
gordcbasically that function is gone.21:56
dimshaha. sorry :)21:57
stevemardims: you in markham on friday!?21:57
gordchttps://review.openstack.org/#/c/266825/21:57
stevemardims: dammit, i meant gordc21:57
dimshaha21:57
stevemargordc: you around on friday?21:57
gordcdims: you welcome to markham too. :)21:57
stevemardims: you are more than welcome to be in markham on friday too :)21:57
dimswould love to take you up on that offer guys :)21:58
gordcstevemar: i'm staying in toronto friday21:58
gordci'm here now21:58
stevemargordc: darn, we're playing opposite that day21:58
gordcstevemar: do you go to office still?21:58
ayounghenrynash, so you OK with the new logic?21:58
dstanekstevemar: you're quick on the reviews :-)  i was planning on marking the templated catalog thing as a WIP while i fix up its tests21:58
*** Guest97710 has quit IRC21:59
stevemargordc: i am planning on going in, i have lunch plans, but was extending them to you :P21:59
stevemardstanek: i have an itchy trigger finger21:59
gordcstevemar: i see. yeah, i'm basically never in markham friday21:59
henrynashayoung: not sure why we don’t filter if implied roels are diabled and role_id is specified21:59
stevemargordc: good call21:59
gordcdims: do we need to revert and leave that redirect function in?21:59
henrynashayoung: but it is no big deal22:00
gordcdims: wasn't really aware anyone was mocking that function22:00
*** vgridnev has quit IRC22:00
dimsgordc : dunno, ask folks on heat?22:00
henrynashayoung: and filter by roled is a rare occurance anyway22:01
gordcdims: kk22:01
ayounghenrynash, so...we could say "if CONF.token.infer_roles: filter_role_id = role_id22:03
henrynashyep22:03
*** spzala has joined #openstack-keystone22:03
ayoungwhich I think was why I left that variable in there...22:03
ayounghenrynash, actually, that is backwards22:03
ayoungsjhould be22:03
*** roxanagh_ has quit IRC22:03
ayoungif not CONF.token.infer_roles: filter_role_id = role_id22:04
henrynashayoung: that’s half of the test I had in before….but then guilded the lily by adding the check for prior roels IF implied roels was enabled22:04
henrynashayoung: so yes, if we out the check you suggest back in, then that’s fine22:04
ayoungI was going under the premise that the code is more solid if we always follow the same logic22:04
henrynashayoung: and I think there is some validity to that22:04
ayoungcollect all and post-filter.22:04
ayounghenrynash, make the call.  I am good either way.  This is not irreversible if we change our mings22:05
ayoungminds22:05
henrynashayoung: and I think filtering by role_id will be rare, so…yeah, let;s leve it to the end22:05
ayoung++22:05
ayoungso the comment should read22:05
*** belmoreira has quit IRC22:05
openstackgerritTom Cocozzello proposed openstack/keystone: WIP List assignments with names  https://review.openstack.org/24995822:06
ayoungif inferred role expansion is disabled then there won't be any additional roles added22:06
ayoungor something less awkward.  Other than that, are you good with the patch henrynash ?22:07
dimsgordc : can you please hop onto #openstack-stable?22:07
henrynashyep…and you’ll remove the list_prior roles from the manager and drivers22:07
ayoungyes22:07
*** spzala has quit IRC22:07
henrynash++22:07
ayounghenrynash, in genernal  do you think it i bettter to put checks inside the internal funcsiont and return early, or put them outside and only call if the condition is met22:08
ayoungI seem to be doing one of each in this patch22:08
henrynashyep, I’m good…I could argue that technically we should add a manager CRUD tests for the manager methods,22:08
ayoung_add_implied_roles does the logic to short circuit but22:08
henrynashwe test create/list in  the test helper22:08
*** tsymanczyk has joined #openstack-keystone22:08
henrynashNo, I think it cleaner the way you seaprate dthe filter form teh add22:08
*** tsymanczyk is now known as Guest7524222:09
*** RichardRaseley has quit IRC22:09
ayounghenrynash, should I put the check for implied roles in the calling function, too, then?  Just to be consistnat?22:09
henrynashayoung: not sure I ‘m exactly foillowing you...22:10
ayoung refs = self._add_implied_roles(refs)  could be22:10
stevemartjcocozz: hows that list w/ names going?22:10
*** rcernin has quit IRC22:10
ayoungif  CONF.token.infer_roles: refs = self._add_implied_roles(refs)22:11
ayoungmeh..I'll leave it22:11
*** roxanagh_ has joined #openstack-keystone22:11
henrynashayoung: yeah, leave it as is22:11
openstackgerritayoung proposed openstack/keystone: Implied roles driver and manager  https://review.openstack.org/26426022:16
*** jsavak has quit IRC22:18
henrynashayoung: a couple of nits and one method needs to be removedin the V9wrapper22:20
henrynashayoung: see comments on patch22:20
*** kbringard has quit IRC22:20
ayounghenrynash, will do,. thanks22:20
*** daemontool has quit IRC22:22
*** daemontool has joined #openstack-keystone22:23
*** boris-42 has quit IRC22:23
*** Guest75242 has quit IRC22:26
*** KarthikB_ has quit IRC22:27
*** gildub has quit IRC22:30
htrutahenrynash, regarding the comment of the failure here https://review.openstack.org/#/c/210600/43/keystone/tests/unit/test_backend.py I've submitted a bug 1533778 to it22:31
openstackbug 1533778 in OpenStack Identity (keystone) "Resource legacy backend driver is using v9's cache" [Undecided,New] https://launchpad.net/bugs/153377822:31
*** tsymancz1k has joined #openstack-keystone22:31
*** spzala has joined #openstack-keystone22:35
*** spzala has quit IRC22:35
*** spzala has joined #openstack-keystone22:36
openstackgerritayoung proposed openstack/keystone: Implied roles driver and manager  https://review.openstack.org/26426022:37
ayounghenrynash, role_id is a required param, but I moved the comment and removed the local var22:37
*** timcline has quit IRC22:39
*** spzala has quit IRC22:40
*** petertr7 is now known as petertr7_away22:41
*** vivekd has quit IRC22:46
henrynashayoung: yep looks fine…22:48
htrutahenrynash, have you seen the bug I submitted? makes sense?22:51
*** browne has quit IRC22:54
*** sigmavirus24 is now known as sigmavirus24_awa22:55
*** jasonsb has quit IRC22:57
*** aginwala has quit IRC22:58
roxanagh_stevemar: problems with https://bugs.launchpad.net/python-keystoneclient/+bug/1457702 ?23:02
openstackLaunchpad bug 1457702 in python-keystoneclient "The default endpoint interface type for Keystone v3 should be 'public'" [Low,Confirmed] - Assigned to Boris Bobrov (bbobrov)23:02
henrynashhtruta: so I’m a bit confused23:02
henrynashhtruta: are you saying the manager tests are passing on a V8 driver because V9 answers are being cached?23:03
*** tsymancz1k has quit IRC23:04
*** spzala has joined #openstack-keystone23:04
*** aginwala has joined #openstack-keystone23:06
*** aginwala has quit IRC23:07
*** aginwala has joined #openstack-keystone23:07
*** jbell8 has joined #openstack-keystone23:09
*** spzala has quit IRC23:09
henrynashhtruta: ah, got it….the create_project call sets up the the cache….and so get_project_by_name finds it!!23:10
jamielennoxstevemar, bknudson_: crisis fixed?23:11
henrynashhtruta: see my suggestion on teh fix23:12
*** rderose has quit IRC23:17
*** rderose has joined #openstack-keystone23:18
*** jbell8 has quit IRC23:19
htrutahenrynash, just saw it... so you suggest removing the "is_domain" from cache?23:21
henrynashhtruta: no, just only set it on project create/update IF is_domain==false23:22
henrynashhtruta: setting it when you actually call get_project_by_name(0 is fine, since the V8 driver will rasie an error if is_domain==True23:22
henrynashhtruta: i.e. when running with a V8 driver, we’ll never have a project with is_domain=True in teh cache for get_project_by_na,e23:23
htrutahenrynash, yes, got it. So, not a bug, right?23:23
*** tsymanczyk has joined #openstack-keystone23:24
*** tsymanczyk is now known as Guest6726523:24
henrynashhtruta: is an unfortuante side effect of caching and old signature support. I\m not sure how we would fix it otherwise AND still stick with the mantra that we only have one manager version23:24
*** rderose has quit IRC23:25
henrynashhtruta: so no, I don’t think it should be a big23:25
henrynashbug23:25
*** spzala has joined #openstack-keystone23:25
henrynashhtruta: this is way the orginal tests were NOT failing with teh V8 driver I assume?23:26
henrynash(this was why)23:26
htrutahenrynash, yes, they were not failing that specific point, because the get_project_by_name was cached... but now my overwritten test is failing23:26
htrutaas it is cached too23:27
henrynashhtruta: damned if you do, damned if you don’t!23:27
henrynashhtruta: but teh fix I am suggesting will, *I think* get round both issues23:27
*** slberger has left #openstack-keystone23:28
htrutahenrynash, hehe... not actually... I've overwritten because it really was the right thing to do, a different behavior23:28
htrutabut yes, your suggestion seems to solve it all23:28
henrynashhtruta: cool23:28
henrynashhtruta: separaet subject…and our favorite….projects acting as domains....23:29
*** gordc has quit IRC23:29
*** spzala has quit IRC23:29
henrynashhtruta: so I’m still concerned how we are doing this (e.g. the tests etc.)….would you mind if I had a bash at restructuring the two patches….if it turns out to be rubbish, we can ditch my attempt23:30
henrynashhtruta:….however, if it works, they’ll be the most co-authored patches in history!23:30
htrutahenrynash, I was thinking on how to make the approach you use to do23:30
htrutabut couldn't find an easy way to separate driver and manager in more than one patch without break things up23:31
henrynashhtruta: I still think we’ve got a number of things a bit muddled up////23:31
htrutahenrynash, haha. feel free to hack on it23:31
henrynashhrtuta: i’ll have a go…I’ll soon find out if my ideas don;t work out!23:31
htrutahenrynash, we do have a few things that can be split, but they don't seem to reduce the size of it as I wanted23:32
*** phalmos has quit IRC23:33
htrutadidn't like the new gerrit red bar :(23:33
*** henrynash has quit IRC23:33
*** topol has quit IRC23:34
*** gildub has joined #openstack-keystone23:34
*** topol_ has joined #openstack-keystone23:37
*** topol_ is now known as Guest5713523:37
*** chlong-afk has quit IRC23:40
*** henrynash has joined #openstack-keystone23:53
*** ChanServ sets mode: +v henrynash23:53
*** shoutm has joined #openstack-keystone23:55
*** aginwala has quit IRC23:56
*** browne has joined #openstack-keystone23:59
openstackgerritHenrique Truta proposed openstack/keystone: Add is_domain parameter to get_project_by_name  https://review.openstack.org/21060023:59

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