Monday, 2017-02-27

*** martinlopes has quit IRC00:05
*** _cjones_ has quit IRC00:05
*** _cjones_ has joined #openstack-keystone00:06
*** drjones has joined #openstack-keystone00:07
*** _cjones_ has quit IRC00:10
*** martinlopes has joined #openstack-keystone00:11
*** drjones has quit IRC00:11
*** yuvalb has quit IRC00:21
*** yuvalb has joined #openstack-keystone00:30
*** hoangcx has joined #openstack-keystone00:54
*** ngupta has joined #openstack-keystone00:56
*** zsli has joined #openstack-keystone00:57
*** ngupta has quit IRC01:01
*** tovin07 has joined #openstack-keystone01:08
*** liujiong has joined #openstack-keystone01:32
openstackgerritMerged openstack/keystone master: Imported Translations from Zanata  https://review.openstack.org/43781101:36
*** dave-mccowan has joined #openstack-keystone01:53
*** _cjones_ has joined #openstack-keystone02:09
*** thorst has quit IRC02:10
*** _cjones_ has quit IRC02:14
openstackgerritShan Guo proposed openstack/keystone master: Fix some typo in releasenotes  https://review.openstack.org/43777002:15
*** guoshan has joined #openstack-keystone02:27
*** guoshan has quit IRC02:33
*** guoshan has joined #openstack-keystone02:33
*** guoshan has quit IRC02:39
*** thorst has joined #openstack-keystone02:46
*** thorst has quit IRC02:55
*** thorst has joined #openstack-keystone02:55
*** thorst has quit IRC03:00
*** guoshan has joined #openstack-keystone03:14
*** phalmos has joined #openstack-keystone03:17
*** martinlopes has quit IRC03:18
*** martinlopes has joined #openstack-keystone03:20
*** thorst has joined #openstack-keystone03:27
*** thorst has quit IRC03:28
*** guoshan has quit IRC03:51
*** _cjones_ has joined #openstack-keystone03:54
*** liujiong_66 has joined #openstack-keystone03:58
*** liujiong has quit IRC03:58
*** _cjones_ has quit IRC03:58
*** ngupta has joined #openstack-keystone03:59
*** _cjones_ has joined #openstack-keystone03:59
*** ngupta has quit IRC04:03
*** zsli has quit IRC04:09
*** gagehugo has quit IRC04:15
*** lamt has joined #openstack-keystone04:18
*** martinlopes has quit IRC04:24
*** martinlopes has joined #openstack-keystone04:27
*** thorst has joined #openstack-keystone04:30
*** martinlopes has quit IRC04:32
*** thorst has quit IRC04:34
*** martinlopes has joined #openstack-keystone04:35
*** dave-mccowan has quit IRC04:36
*** guoshan has joined #openstack-keystone04:37
*** liujiong_66 is now known as liujiong04:39
*** zsli has joined #openstack-keystone04:41
*** guoshan has quit IRC04:42
*** lamt has quit IRC04:45
*** zsli has quit IRC05:01
*** drjones has joined #openstack-keystone05:02
*** zsli has joined #openstack-keystone05:02
*** _cjones_ has quit IRC05:05
*** zsli has quit IRC05:07
*** rezroo has quit IRC05:13
*** drjones has quit IRC05:22
*** _cjones_ has joined #openstack-keystone05:23
*** adriant has quit IRC05:26
*** _cjones_ has quit IRC05:27
*** rezroo has joined #openstack-keystone05:27
*** rezroo has quit IRC05:58
*** ngupta has joined #openstack-keystone06:00
*** ngupta has quit IRC06:05
*** lamt has joined #openstack-keystone06:11
*** gagehugo has joined #openstack-keystone06:15
*** lamt has quit IRC06:21
*** Administrator_ has joined #openstack-keystone06:22
*** guoshan has joined #openstack-keystone06:24
*** richm has quit IRC06:43
*** liujiong has quit IRC07:01
*** liujiong_lj has joined #openstack-keystone07:01
*** rcernin has joined #openstack-keystone07:20
*** pcaruana has joined #openstack-keystone07:20
*** rcernin has quit IRC07:23
*** rcernin has joined #openstack-keystone07:23
*** h5t4 has joined #openstack-keystone07:35
*** phalmos has quit IRC07:38
*** liujiong_lj is now known as liujiong07:49
*** Guest68960 has quit IRC08:14
*** mgagne has joined #openstack-keystone08:20
*** mgagne is now known as Guest1144308:20
*** mvk has quit IRC08:44
*** jaosorior has joined #openstack-keystone08:47
*** slunkad has joined #openstack-keystone08:57
*** zzzeek has quit IRC09:00
*** zzzeek has joined #openstack-keystone09:00
*** ngupta has joined #openstack-keystone09:03
*** ngupta has quit IRC09:08
*** mvk has joined #openstack-keystone09:12
openstackgerritColleen Murphy proposed openstack/keystone master: Exchange cURL examples for openstackclient  https://review.openstack.org/43838909:32
*** Administrator_ has quit IRC09:50
*** Administrator_ has joined #openstack-keystone09:50
*** ngupta has joined #openstack-keystone10:04
*** guoshan has quit IRC10:04
*** ngupta has quit IRC10:09
*** alex_xu_ has quit IRC10:14
*** jaosorior is now known as jaosorior_lunch10:15
*** liujiong has quit IRC10:16
*** alex_xu has joined #openstack-keystone10:17
*** jaosorior_lunch is now known as jaosorior10:17
*** hoangcx has quit IRC10:34
openstackgerritOpenStack Proposal Bot proposed openstack/keystone master: Updated from global requirements  https://review.openstack.org/43843110:56
*** ayoung has joined #openstack-keystone11:09
*** ChanServ sets mode: +v ayoung11:09
*** nicolasbock has joined #openstack-keystone11:14
*** richm has joined #openstack-keystone11:14
*** ayoung has quit IRC11:14
*** ayoung has joined #openstack-keystone11:15
*** ChanServ sets mode: +v ayoung11:15
asettleping - anyone awake in keystone? :)11:15
*** nicolasbock has quit IRC11:16
*** nicolasbock has joined #openstack-keystone11:16
bretonasettle: pong11:34
asettleWoah I'm dazzled :P I wasn't expecting anything for the next 3 hours.11:34
asettlebreton: could you give me a super quick summary on the usage of project vs tenant? Which one is currently being used? Is it v2 tenant, and v3 project?11:35
bretonasettle: tenant in v2, project in v3. If you make queries to v2 api, you use tenant. If you make queries to v3, project.11:36
asettleOkay, thought so. Sighhhhhhhhhhh.11:36
asettleSo, for example, a change like this is not exactly correct: https://review.openstack.org/#/c/438168/111:37
bretonasettle: it is correct, because we expect everyone to use v311:38
asettleHmmm I'll have to review the docs to check for any references to v211:39
asettleCheers, thanks breton11:39
bretonasettle: i think that the change still needs to be -1'd11:41
asettlebreton: I've asked Richard, the docs liaison, to take a look. Some of these just don't look like.11:43
asettledon't look right*11:43
asettleAs in, just changing any instance of the word 'project'11:43
openstackgerrithenry-nash proposed openstack/keystone master: Give a prospective removal date for all v2 APIs  https://review.openstack.org/43766711:53
openstackgerrithenry-nash proposed openstack/keystone master: Give a prospective removal date for all v2 APIs  https://review.openstack.org/43766711:54
*** dave-mccowan has joined #openstack-keystone12:21
openstackgerritColleen Murphy proposed openstack/keystone master: Exchange cURL examples for openstackclient  https://review.openstack.org/43838912:28
*** thorst has joined #openstack-keystone12:43
*** arturb has joined #openstack-keystone12:47
arturbHi all. I am trying to install keystone with ansible role: https://github.com/openstack/openstack-ansible-os_keystone, and unfortunately I have a problem. Keystone is properly installed and working as a WSGI process, database is also created. I have a problem with a task: "Ensure service tenant" from a file:tasks/keystone_service_setup.yml. It retries couple of times and fails. When I try to use keystone manually wit12:54
arturbh openstack CLI I got error: 500 Authorization Failed. In log file I have an error: ArgsAlreadyParseError: arguments already parsed: cannot register CLI option. I tried installation of master branch and stable/ocata. Any help??12:54
openstackgerritSean Dague proposed openstack/keystoneauth master: WIP: remove discover hacks  https://review.openstack.org/43848312:57
*** ngupta has joined #openstack-keystone13:07
*** edmondsw has joined #openstack-keystone13:08
*** lamt has joined #openstack-keystone13:11
*** ngupta has quit IRC13:11
*** lamt has quit IRC13:12
bretonarturb: there should be error somewhere in the beginning of the logfile13:16
bretonarturb: it will show the real cause of the issue13:16
arturbbreton: Thanks. I will check it13:17
bretontry either scrolling to the first lines of the log or restart apache and look at the logs right after restart13:17
*** spilla has joined #openstack-keystone13:51
*** chlong has joined #openstack-keystone13:59
*** chlong has quit IRC14:04
*** erhudy has joined #openstack-keystone14:05
dstanekgood morning keystone14:23
lbragstado/14:24
*** rderose has joined #openstack-keystone14:37
*** lamt has joined #openstack-keystone14:39
lbragstadnotmorgan jamielennox|away this is interesting http://lists.openstack.org/pipermail/openstack-dev/2017-February/112943.html14:40
lbragstadnotmorgan this is what you were working with sdague on I believe?14:40
*** ngupta has joined #openstack-keystone14:42
dstaneklbragstad: yep, i'm pretty sure that was it14:42
openstackgerritRichard Avelar proposed openstack/keystone master: Validate rolling upgrade is run in order  https://review.openstack.org/43744115:00
*** lamt has quit IRC15:03
antwasho/ morning15:09
*** belmoreira has joined #openstack-keystone15:09
*** lucasxu has joined #openstack-keystone15:10
*** lamt has joined #openstack-keystone15:15
notmorganlbragstad: oh hai15:17
dstanekhey antwash15:22
notmorganlbragstad: we can't remove that hack sdague commented on15:23
notmorganlbragstad: i responded to the thread15:23
lbragstadnotmorgan cool - thanks!15:23
notmorganlbragstad: basically treat keystoneauth as the strictest contract you can.15:24
notmorganlbragstad: anything exposed (intentional or not) and any behavior cannot change15:24
notmorganthere is a reason we don't use oslo libs, and if we could have gotten away w/o stevedore and w/o pbr i would have opted for that as well15:24
notmorganlbragstad: in an ideal world, keystoneauth would have exactly one dependency: Requests15:25
notmorganwe're pretty close to that now.15:25
*** chlong has joined #openstack-keystone15:25
antwashdstanek : how are you>15:25
antwash?15:25
*** ravelar has joined #openstack-keystone15:26
dstanekantwash: good, you?15:26
dstanekantwash: must have been quiet last week15:26
*** chlong_ has joined #openstack-keystone15:27
openstackgerritMorgan Fainberg proposed openstack/keystone master: Give a prospective removal date for all v2 APIs  https://review.openstack.org/43766715:28
*** chlong_ has quit IRC15:28
antwashdstanek : doing great now catching up on PTG discussions, and yeah it was. I was off for a few days due to (unexpected passing in 2nd family)15:28
*** edtubill has joined #openstack-keystone15:28
*** agrebennikov has joined #openstack-keystone15:32
*** chris_hultin|AWA is now known as chris_hultin15:36
*** jaugustine has joined #openstack-keystone15:36
*** jaugustine has quit IRC15:37
*** agrebennikov has quit IRC15:38
*** agrebennikov has joined #openstack-keystone15:39
knikollao/15:41
notmorgandstanek: you working on bcrypt/scrypt or want me to?15:47
notmorgandstanek: it's a pretty quick tack in of code15:48
notmorgandstanek: but i don't want to step on your work if you're going to do it15:48
*** lamt has quit IRC15:49
notmorganlbragstad: see -dev, request to add you to stable-maint for keystone15:51
notmorganbknudson_, stevemar, you two interested in continuing as stable-maint?15:52
gagehugoo/15:55
*** lucasxu has quit IRC15:58
*** tqtran has joined #openstack-keystone16:05
*** h5t4 has quit IRC16:06
openstackgerritKristi Nikolla proposed openstack/keystone master: Remove password_expires_ignore_user_ids  https://review.openstack.org/43820816:09
*** lamt has joined #openstack-keystone16:14
dstaneknotmorgan: i have not yet, so feel free to do so if you have the time16:14
dstanekif not, i'll add it to my list16:14
*** rcernin has quit IRC16:15
notmorgandstanek: i'll hack up the code, it should take me an hour or so to do16:15
notmorgandstanek: the hardest part is setting conf defaults ;)16:15
*** jaugustine has joined #openstack-keystone16:16
*** lucasxu has joined #openstack-keystone16:16
dstaneksounds good to me :-)16:16
*** belmoreira has quit IRC16:17
lbragstadnotmorgan dstanek ravelar antwash https://review.openstack.org/#/c/428453/816:18
lbragstadrderose ^16:18
*** jaugustine has quit IRC16:20
*** jaugustine has joined #openstack-keystone16:21
openstackgerritKristi Nikolla proposed openstack/keystone master: Exclusively use restore_padding method in unpacking fernet tokens  https://review.openstack.org/43820716:25
bknudson_notmorgan: I can continue as stable core for now.16:29
notmorganbknudson_: cool. that makes it easier16:29
notmorganbknudson_: ty. mostly because with stevemar being really out16:29
notmorganbknudson_: i don't want to have it be just dolphm and myself :)16:30
notmorganbknudson_: ^_^16:30
knikollanotmorgan: thoughts on this? https://review.openstack.org/#/c/438206/16:30
notmorganknikolla: i don't have an issue with it. Don't think it'll break anyone16:32
notmorganknikolla: but if it is under v3... i think we need to maintain the endpoint that just does 200 and no content16:32
notmorgani'll need to think about that one16:32
knikollanotmorgan: alright. thanks.16:34
openstackgerritKristi Nikolla proposed openstack/keystone master: Remove x-subject-token from api-ref in v3/auth/projects  https://review.openstack.org/43797316:42
openstackgerritKristi Nikolla proposed openstack/keystone master: Remove x-subject-token in api-ref for v3/auth/{projects,domains}  https://review.openstack.org/43797316:54
*** adrian_otto has joined #openstack-keystone17:01
*** lamt has quit IRC17:07
*** mvk has quit IRC17:12
*** david-lyle has joined #openstack-keystone17:17
*** david-lyle has quit IRC17:21
*** rderose_ has quit IRC17:21
*** thorst has quit IRC17:22
*** thorst has joined #openstack-keystone17:22
*** lucasxu has quit IRC17:22
openstackgerritMerged openstack/keystone master: Include 'token' in the method list for federated scoped tokens  https://review.openstack.org/43118117:25
*** _cjones_ has joined #openstack-keystone17:26
*** BjoernT has joined #openstack-keystone17:27
stevemarnotmorgan: i don't mind staying on17:40
stevemarnotmorgan: i'm not slacking in reviews, yet :)17:41
*** BjoernT has left #openstack-keystone17:42
notmorganstevemar: you sure, you're all manager-y now.17:42
*** h5t4 has joined #openstack-keystone17:42
notmorganstevemar: you're going to be topol like next, so busy you can't even regularly say hi in this channel.17:42
notmorganstevemar: ;)17:42
*** ravelar has quit IRC17:43
*** david-lyle has joined #openstack-keystone17:44
*** david-lyle has quit IRC17:45
*** david-lyle has joined #openstack-keystone17:46
*** aasthad has joined #openstack-keystone17:50
*** chlong has quit IRC17:55
*** david-lyle has quit IRC17:58
*** david-lyle has joined #openstack-keystone18:01
*** jaosorior has quit IRC18:05
*** ravelar has joined #openstack-keystone18:06
openstackgerritOpenStack Proposal Bot proposed openstack/keystone master: Updated from global requirements  https://review.openstack.org/43843118:09
*** chlong has joined #openstack-keystone18:10
openstackgerritMerged openstack/keystone-specs master: Policy in code  https://review.openstack.org/42845318:17
*** rderose has quit IRC18:21
*** rderose has joined #openstack-keystone18:22
openstackgerritLance Bragstad proposed openstack/keystone-specs master: API keys  https://review.openstack.org/43866718:23
lbragstadrderose ^18:23
*** lamt has joined #openstack-keystone18:24
rderoselbragstad: cool18:25
rderoselbragstad: I'll take what I can from yours and combine with mine18:25
rderoselbragstad: thanks18:25
lbragstadrderose sweet18:25
lbragstadrderose no problem - I had the itch to get it written down before I started forgetting it :)18:25
rderoselbragstad: ha, I understand :)18:26
*** h5t4 has quit IRC18:32
*** lamt has quit IRC18:41
*** browne has joined #openstack-keystone18:41
*** h5t4 has joined #openstack-keystone18:41
*** lamt has joined #openstack-keystone18:47
openstackgerritLance Bragstad proposed openstack/keystone-specs master: Add Policy Documentation  https://review.openstack.org/43507819:10
openstackgerritLance Bragstad proposed openstack/keystone-specs master: Define a richer policy by default  https://review.openstack.org/42845419:11
*** MasterOfBugs has joined #openstack-keystone19:14
*** pramodrj07 has joined #openstack-keystone19:14
*** gyee has joined #openstack-keystone19:17
*** jaugustine has quit IRC19:23
*** pcaruana has quit IRC19:29
*** spilla has quit IRC19:41
*** thumpba has joined #openstack-keystone19:54
*** adrian_otto has quit IRC20:00
*** aasthad has quit IRC20:12
*** ayoung has quit IRC20:21
*** ngupta has quit IRC20:26
*** h5t4 has quit IRC20:26
*** ngupta has joined #openstack-keystone20:27
*** h5t4 has joined #openstack-keystone20:28
*** chris_hultin is now known as chris_hultin|AWA20:31
openstackgerritColleen Murphy proposed openstack/keystone master: Exchange cURL examples for openstackclient  https://review.openstack.org/43838920:36
*** dave-mccowan has quit IRC20:47
*** adriant has joined #openstack-keystone20:47
*** rcernin has joined #openstack-keystone20:52
*** Guest11443 is now known as mgagne20:57
*** mgagne has quit IRC20:57
*** mgagne has joined #openstack-keystone20:57
*** h5t4 has quit IRC20:59
*** ngupta has quit IRC21:02
*** ngupta has joined #openstack-keystone21:03
*** aasthad has joined #openstack-keystone21:05
lbragstadravelar could minor comments here - https://review.openstack.org/#/c/435751/921:05
dolphmcrinkle: "This is a step above using LDAP as an identity backend..." -- and because keystone does not have to be trusted with user passwords21:09
openstackgerritMorgan Fainberg proposed openstack/keystone master: WIP: Add support for bcrypt and scrypt to keystone password hashing  https://review.openstack.org/43870121:09
notmorgandstanek: ^ needs some love, but that is the first pass at the code. it is not used yet anywhere21:10
notmorgandstanek: but it is a start.21:10
lbragstadravelar couple* ravelar21:10
* notmorgan has some important things to take care of this afternoon so have to take a break21:10
* lbragstad can't type or tab at all today21:10
ravelarlbragstad thanks! appreciate it21:11
notmorganlbragstad, dolphm: ^ cc21:14
dolphmnotmorgan: things like password hashing, obviously21:15
notmorgandolphm: clearly.21:16
notmorgandolphm: you know someone is going to complain that it takes longer to compare passwords now.21:16
notmorgandolphm: and i'm going to shake my head sadly.21:16
notmorgandolphm: (for initial auth that is)21:16
*** adrian_otto has joined #openstack-keystone21:17
*** nicolasbock has quit IRC21:22
crinkledolphm: good point21:22
dolphmnotmorgan: just dstanek21:23
dolphmcrinkle: /salute21:23
*** crinkle is now known as cmurphy21:26
openstackgerritMorgan Fainberg proposed openstack/keystone master: WIP: Add support for bcrypt and scrypt to keystone password hashing  https://review.openstack.org/43870121:36
openstackgerritMorgan Fainberg proposed openstack/keystone master: WIP: Add support for bcrypt and scrypt to keystone password hashing  https://review.openstack.org/43870121:36
openstackgerritMorgan Fainberg proposed openstack/keystone master: WIP: Add support for bcrypt and scrypt to keystone password hashing  https://review.openstack.org/43870121:38
openstackgerritMorgan Fainberg proposed openstack/keystone master: WIP: Add support for bcrypt and scrypt to keystone password hashing  https://review.openstack.org/43870121:40
edmondswlbragstad, when you get a chance, need a 2nd +2 on the backport of the LDAP fix: https://review.openstack.org/#/c/437998/21:42
notmorganedmondsw: needs to be a stable-maint-core or one of the keystone-cores on stable-maint: dolphm, bknudson_, stevemar21:43
notmorganedmondsw: lbragstad can't do stable approvals atm21:43
bknudson_I can take a look.21:43
lbragstadfwiw - it looks like a clean backport21:44
edmondswtx21:44
edmondswlol the PTL can't do stable approvals!21:44
edmondswI picked the PTL to ping because I can never remember who is on stable-maint or where to check21:47
edmondsw:)21:48
openstackgerritEric Brown proposed openstack/keystone master: Typos in the LoadAuthPlugins note  https://review.openstack.org/43871421:48
lbragstadedmondsw :)21:48
lbragstadedmondsw it should be a group in gerrit21:48
lbragstadedmondsw https://review.openstack.org/#/admin/groups/538,members21:49
*** chlong has quit IRC21:50
edmondswlbragstad tx... I guess I could bookmark that, but is there a good way to find it?21:51
lbragstadedmondsw i usually just filter the groups through gerrit21:52
*** dave-mccowan has joined #openstack-keystone21:52
lbragstadfrom the People tab -> List Groups21:52
edmondswlbragstad... ah, tx21:52
openstackgerritMorgan Fainberg proposed openstack/keystone master: WIP: Add support for bcrypt and scrypt to keystone password hashing  https://review.openstack.org/43870121:55
openstackgerritRichard Avelar proposed openstack/keystone master: Policy in code (part 2)  https://review.openstack.org/43575121:58
openstackgerritRichard Avelar proposed openstack/keystone master: Policy in code  https://review.openstack.org/43560921:58
*** mvk has joined #openstack-keystone21:59
openstackgerritMerged openstack/keystone master: Updated from global requirements  https://review.openstack.org/43843121:59
*** samueldmq has quit IRC22:00
openstackgerritMerged openstack/keystone master: Correct and enhance Mellon federation docs  https://review.openstack.org/43742222:00
openstackgerritMerged openstack/keystone master: Correct and enhance OpenId Connect docs  https://review.openstack.org/43806922:00
*** edmondsw has quit IRC22:00
openstackgerritRichard Avelar proposed openstack/keystone master: Validate rolling upgrade is run in order  https://review.openstack.org/43744122:06
*** catintheroof has joined #openstack-keystone22:15
*** sorrison_ has quit IRC22:29
*** thorst has quit IRC22:31
*** thorst has joined #openstack-keystone22:32
*** thorst has quit IRC22:36
*** ngupta has quit IRC22:38
*** edtubill has quit IRC22:42
lbragstadrderose you didn't happen to open a bug for the account linking stuff did you:22:43
lbragstad?22:43
rderoselbragstad: for account linking?22:44
lbragstadrderose we had an action item here that we must have covered in the federation session - https://etherpad.openstack.org/p/pike-ptg-keystone-federation22:44
lbragstadI'm trying to recall what that was?22:44
lbragstads/?//22:44
rderoseyeah, I opened a bug for this22:44
rderoselet me find it and I'll update the etherpad22:45
*** vinaypotluri has joined #openstack-keystone22:45
lbragstadrderose https://bugs.launchpad.net/keystone/+bug/1667070 ?22:46
openstackLaunchpad bug 1667070 in OpenStack Identity (keystone) "Mapping a federated user to a local user does not return concrete role assignments" [Undecided,New] - Assigned to Ron De Rose (ronald-de-rose)22:46
rderoselbragstad: yeah, that's it22:46
*** dave-mccowan has quit IRC22:48
*** vinaypotluri has left #openstack-keystone22:50
*** eandersson has joined #openstack-keystone22:56
eanderssonOut of interest - is there a specific reason why a catalog is only provided when you specify a project or domain?22:57
eanderssonreferring to https://github.com/openstack/keystone/blob/master/keystone/token/providers/common.py#L352 specifcally22:58
lbragstadeandersson I believe the reason for that is because you'd need to a token scoped to something in order to interact with other services22:58
lbragstads/to//22:59
eanderssonI see23:01
eanderssonI was trying to dynamically generate a list of regions for my openstackrc script.23:03
eanderssonI ended up having to get the projects before I got the regions because of this. Felt a little backwards.23:04
lbragstadeandersson ah - right23:04
lbragstadeandersson you're specifying REGIONS in your rc files?23:04
eanderssonI am not.23:05
eanderssonOr well, I am once it's done.23:05
eanderssonI am just dynamically getting the region, projects etc and then allowing the user to pick what ever they want23:05
lbragstadeandersson does your user need to specify a region and a project?23:06
lbragstadyou should be able to get a list of projects you have access to with an unscoped token via the /v3/auth/projects/ api23:06
eanderssonyep exactly23:07
eanderssonI basically do that, use the first one to get a project scoped token and then generate the regions using that23:08
eandersson*use the first project listed23:08
lbragstadeandersson that makes sense23:09
lbragstadeandersson but according to the default policy file, the list regions API is available to authenticated users https://github.com/openstack/keystone/blob/master/etc/policy.json#L1423:09
eanderssonYep23:09
eanderssonbut that depends on the catalog23:09
eanderssonSo it fails23:09
eanderssonAt least my calls failed23:10
lbragstadeandersson really?23:10
lbragstadeandersson do you have a paste?23:10
eanderssonLet me take a look23:10
*** thorst has joined #openstack-keystone23:12
eanderssonkeystoneauth1.exceptions.catalog.EmptyCatalog: The service catalog is empty.23:14
eanderssonI'll get you a tb lbragstad23:14
lbragstadoh - interesting, are you using python-openstackclient?23:15
eanderssonnope23:16
lbragstadeandersson I assuming you're writing your own client that is just using keystoneauth directly?23:17
*** thorst has quit IRC23:17
eanderssonhttp://paste.openstack.org/show/h2HcNVH9c1C4UjOd5PSZ/23:17
eanderssonyep23:17
eanderssonBut if you look at the code it makes sense.23:18
eanderssonregions.list is using the catalog to generate the list of regions23:18
eanderssonand since unscoped tokens don't have a catalog it will fail23:18
lbragstadeandersson but can you call GET /v3/regions/ with an unscoped token directly?23:19
lbragstadif so - then we have a client bug23:19
* lbragstad aha - https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/base.py#L385-L39823:21
*** phalmos has joined #openstack-keystone23:21
*** lamt has quit IRC23:23
*** lamt has joined #openstack-keystone23:28
mordredeandersson: not sure the scope of the thing you're working on, but you may (or may not) be interested in os-client-config23:29
lbragstadmordred ++23:29
eanderssonThanks mordred I'll take a look23:30
eanderssonFrom my side though everything has been resolved, I just found this behavior interesting23:30
mordredcool - mostly mentioning it because if you're doing user-empowerment things, it might be a better base than pure ksa - but yes, interesting behavior to be sure :)23:31
lbragstadeandersson I'm going to file a client bug for this since I think the list regions api seems to be inconsistent with was ksa/ksc is assuming23:32
mordredlbragstad: ++23:32
*** agrebennikov has quit IRC23:35
lbragstadeandersson https://bugs.launchpad.net/python-keystoneclient/+bug/166844223:40
openstackLaunchpad bug 1668442 in python-keystoneclient "unable to list regions with unscoped token" [Undecided,New]23:40
*** rcernin has quit IRC23:41
*** catintheroof has quit IRC23:44
*** edmondsw has joined #openstack-keystone23:49
*** edmondsw has quit IRC23:50
*** edmondsw has joined #openstack-keystone23:51
*** samueldmq has joined #openstack-keystone23:51
*** ChanServ sets mode: +v samueldmq23:51

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