Tuesday, 2018-01-16

lbragstadthis is an easy one to kick through - https://review.openstack.org/#/c/532257/00:02
openstackgerritLance Bragstad proposed openstack/keystone master: Reorganize create identity provider API reference  https://review.openstack.org/53284000:06
*** markvoelker has joined #openstack-keystone00:11
*** itlinux has joined #openstack-keystone00:14
*** itlinux has quit IRC00:15
*** bigdogstl has joined #openstack-keystone00:19
*** itlinux has joined #openstack-keystone00:21
*** bigdogstl has quit IRC00:25
*** bigdogstl has joined #openstack-keystone00:51
*** bigdogstl has quit IRC01:07
*** mvk has quit IRC01:10
openstackgerritLance Bragstad proposed openstack/keystone master: Add system role assignment documentation  https://review.openstack.org/52430701:21
*** mvk has joined #openstack-keystone01:25
openstackgerritLance Bragstad proposed openstack/keystone master: Add ability to list all system role assignments  https://review.openstack.org/52440701:25
openstackgerritLance Bragstad proposed openstack/keystone master: Teach TokenFormatter how to handle system scope  https://review.openstack.org/52533001:28
openstackgerritLance Bragstad proposed openstack/keystone master: Implement system-scope in the token provider API  https://review.openstack.org/52536001:28
openstackgerritLance Bragstad proposed openstack/keystone master: Introduce assertions for system-scoped token testing  https://review.openstack.org/52803701:28
openstackgerritLance Bragstad proposed openstack/keystone master: Implement system-scoped tokens  https://review.openstack.org/52568701:28
openstackgerritLance Bragstad proposed openstack/keystone master: Add release note for system-scope  https://review.openstack.org/52803901:28
openstackgerritLance Bragstad proposed openstack/keystone master: Update documentation to reflect system-scope  https://review.openstack.org/53013301:28
openstackgerritLance Bragstad proposed openstack/keystone master: Grant admin a role on the system during bootstrap  https://review.openstack.org/53041001:28
openstackgerritLance Bragstad proposed openstack/keystone master: Implement GET /v3/auth/system  https://review.openstack.org/53049001:28
* lbragstad slowly backs away from zuul01:31
SamYaplelol01:31
*** sapd__ has joined #openstack-keystone01:43
*** sapd_ has quit IRC01:43
*** zhurong has joined #openstack-keystone01:51
*** masber has joined #openstack-keystone02:00
*** bigdogstl has joined #openstack-keystone02:00
*** threestrands_ has joined #openstack-keystone02:02
*** masuberu has quit IRC02:02
*** jappleii__ has quit IRC02:04
*** bigdogstl has quit IRC02:05
*** annp has joined #openstack-keystone02:07
*** bigdogstl has joined #openstack-keystone02:08
*** bigdogstl has quit IRC02:17
*** edmondsw has quit IRC02:34
*** bigdogstl has joined #openstack-keystone02:52
*** abhi89 has joined #openstack-keystone02:55
*** bigdogstl has quit IRC02:58
*** bigdogstl has joined #openstack-keystone03:04
openstackgerritwangxiyuan proposed openstack/keystone master: Add limit provider  https://review.openstack.org/52410903:08
openstackgerritwangxiyuan proposed openstack/keystone master: Implement policies for limits  https://review.openstack.org/53014303:08
openstackgerritwangxiyuan proposed openstack/keystone master: Expose unified limit APIs  https://review.openstack.org/52411003:08
*** markvoelker has quit IRC03:13
*** nicolasbock has quit IRC03:15
*** bigdogstl has quit IRC03:19
*** jmlowe has quit IRC03:44
*** bigdogstl has joined #openstack-keystone03:46
*** edmondsw has joined #openstack-keystone03:47
*** bigdogstl has quit IRC03:51
*** namnh has joined #openstack-keystone03:52
*** edmondsw has quit IRC03:52
*** links has joined #openstack-keystone04:06
openstackgerritOpenStack Proposal Bot proposed openstack/keystone master: Updated from global requirements  https://review.openstack.org/53388004:09
openstackgerritOpenStack Proposal Bot proposed openstack/keystoneauth master: Updated from global requirements  https://review.openstack.org/53396404:09
openstackgerritOpenStack Proposal Bot proposed openstack/keystonemiddleware master: Updated from global requirements  https://review.openstack.org/52886704:09
*** dave-mccowan has quit IRC04:15
*** zhurong has quit IRC04:22
*** SamYaple has quit IRC04:24
*** SamYaple has joined #openstack-keystone04:24
*** bigdogstl has joined #openstack-keystone04:26
openstackgerritOpenStack Proposal Bot proposed openstack/pycadf master: Updated from global requirements  https://review.openstack.org/52379104:28
openstackgerritOpenStack Proposal Bot proposed openstack/pycadf master: Updated from global requirements  https://review.openstack.org/52379104:28
openstackgerritOpenStack Proposal Bot proposed openstack/python-keystoneclient master: Updated from global requirements  https://review.openstack.org/53402504:30
openstackgerritOpenStack Proposal Bot proposed openstack/python-keystoneclient master: Updated from global requirements  https://review.openstack.org/53402604:30
openstackgerritOpenStack Proposal Bot proposed openstack/python-keystoneclient master: Updated from global requirements  https://review.openstack.org/53402704:30
*** bigdogstl has quit IRC04:37
*** gyee has quit IRC04:42
*** vishu1810 has joined #openstack-keystone04:43
*** bigdogstl has joined #openstack-keystone04:46
*** bigdogstl has quit IRC04:51
*** bigdogstl has joined #openstack-keystone04:58
*** blake has joined #openstack-keystone04:59
*** cburgess has quit IRC05:02
*** bigdogstl has quit IRC05:03
*** cburgess has joined #openstack-keystone05:08
*** cburgess has quit IRC05:12
*** cburgess has joined #openstack-keystone05:13
*** namnh_ has joined #openstack-keystone05:22
*** namnh_ has quit IRC05:22
*** bigdogstl has joined #openstack-keystone05:23
*** namnh has quit IRC05:25
*** bigdogstl has quit IRC05:30
*** bigdogstl has joined #openstack-keystone05:42
*** markvoelker has joined #openstack-keystone05:44
*** markvoelker has quit IRC05:49
*** bigdogstl has quit IRC05:55
*** bigdogstl has joined #openstack-keystone06:11
*** bigdogstl has quit IRC06:20
*** bigdogstl has joined #openstack-keystone06:26
openstackgerritMerged openstack/keystone master: Imported Translations from Zanata  https://review.openstack.org/53309306:35
openstackgerritMerged openstack/keystone master: Fix wrong url in config-options.rst  https://review.openstack.org/53357906:35
*** blake has quit IRC06:36
openstackgerritwangxiyuan proposed openstack/keystone master: Add limit provider  https://review.openstack.org/52410906:37
openstackgerritwangxiyuan proposed openstack/keystone master: Implement policies for limits  https://review.openstack.org/53014306:37
openstackgerritwangxiyuan proposed openstack/keystone master: Expose unified limit APIs  https://review.openstack.org/52411006:37
*** bigdogstl has quit IRC06:41
*** abhi89 has quit IRC06:58
openstackgerritwangxiyuan proposed openstack/keystone master: Expose unified limit APIs  https://review.openstack.org/52411006:58
*** abhi89 has joined #openstack-keystone07:00
*** links has quit IRC07:06
*** rcernin has quit IRC07:14
*** bigdogstl has joined #openstack-keystone07:15
*** threestrands_ has quit IRC07:18
*** links has joined #openstack-keystone07:23
*** bigdogstl has quit IRC07:23
*** edmondsw has joined #openstack-keystone07:24
*** bigdogstl has joined #openstack-keystone07:26
*** bigjools has joined #openstack-keystone07:28
*** edmondsw has quit IRC07:28
*** bigdogstl has quit IRC07:31
*** links has quit IRC07:39
openstackgerritMerged openstack/keystone master: adjust response code order in ''domains-config-v3.inc''  https://review.openstack.org/53310307:39
openstackgerritMerged openstack/keystone master: put response code in table of ''domains.inc''  https://review.openstack.org/53309707:39
openstackgerritMerged openstack/keystone master: add response example and 'extra' info of create user  https://review.openstack.org/53115607:39
*** aojea_ has joined #openstack-keystone07:45
*** markvoelker has joined #openstack-keystone07:46
*** abhi89 has quit IRC07:47
*** abhi89 has joined #openstack-keystone07:47
openstackgerritMerged openstack/keystone master: fix wrong url link of User trusts  https://review.openstack.org/53303207:59
openstackgerritMerged openstack/keystone master: Extract expiration validation to utils  https://review.openstack.org/53225707:59
*** dikonoor has joined #openstack-keystone08:00
*** tesseract has joined #openstack-keystone08:05
*** AlexeyAbashkin has joined #openstack-keystone08:15
*** links has joined #openstack-keystone08:15
*** bigdogstl has joined #openstack-keystone08:18
*** markvoelker has quit IRC08:19
*** bigdogstl has quit IRC08:29
*** bigdogstl has joined #openstack-keystone08:51
*** Drankis has joined #openstack-keystone08:55
*** bigdogstl has quit IRC08:56
openstackgerritMerged openstack/keystone master: Expose a get_enforcer method for oslo.policy scripts  https://review.openstack.org/53082809:04
*** edmondsw has joined #openstack-keystone09:12
*** edmondsw has quit IRC09:17
*** bigdogstl has joined #openstack-keystone09:20
*** mvk has quit IRC09:20
*** bigdogstl has quit IRC09:31
*** slunkad has quit IRC09:36
*** mvk has joined #openstack-keystone09:53
openstackgerritwangxiyuan proposed openstack/keystone master: Add limit provider  https://review.openstack.org/52410909:55
openstackgerritwangxiyuan proposed openstack/keystone master: Implement policies for limits  https://review.openstack.org/53014309:55
openstackgerritwangxiyuan proposed openstack/keystone master: Expose unified limit APIs  https://review.openstack.org/52411009:55
*** bigdogstl has joined #openstack-keystone10:00
*** slunkad has joined #openstack-keystone10:03
*** samuelbartel has joined #openstack-keystone10:08
*** bigdogstl has quit IRC10:11
*** aojea_ has quit IRC10:16
*** markvoelker has joined #openstack-keystone10:16
*** aojea_ has joined #openstack-keystone10:16
*** abhi89 has quit IRC10:22
*** AlexeyAbashkin has quit IRC10:23
*** AlexeyAbashkin has joined #openstack-keystone10:26
openstackgerritMerged openstack/keystone master: adjust response code order in 'regions-v3.inc'  https://review.openstack.org/53354210:48
*** dikonoor has quit IRC10:49
*** markvoelker has quit IRC10:50
openstackgerritMerged openstack/keystone master: adjust response code order in 'authenticate-v3.inc'  https://review.openstack.org/53355910:54
*** mvk has quit IRC10:58
*** edmondsw has joined #openstack-keystone11:00
*** edmondsw has quit IRC11:05
*** bigdogstl has joined #openstack-keystone11:12
*** mvk has joined #openstack-keystone11:13
*** aojea_ has quit IRC11:19
*** bigdogstl has quit IRC11:19
*** abhi89 has joined #openstack-keystone11:22
*** aojea has joined #openstack-keystone11:39
*** aojea has quit IRC11:40
*** edmondsw has joined #openstack-keystone12:03
*** sambetts|afk is now known as sambetts12:06
*** annp has quit IRC12:10
*** HW-Peter has joined #openstack-keystone12:12
*** raildo has joined #openstack-keystone12:13
*** bigdogstl has joined #openstack-keystone12:16
*** HW-Peter has quit IRC12:16
*** HW-Peter has joined #openstack-keystone12:17
*** HWPeter has joined #openstack-keystone12:17
*** Peter-HW has joined #openstack-keystone12:18
*** Peter-HW has quit IRC12:21
*** Peter-HW has joined #openstack-keystone12:21
*** nicolasbock has joined #openstack-keystone12:22
*** Peter-HW has quit IRC12:22
*** bigdogstl has quit IRC12:23
*** Peter-HW has joined #openstack-keystone12:23
*** Peter-HW has quit IRC12:25
*** Peter-HW has joined #openstack-keystone12:25
*** Peter-HW has quit IRC12:26
*** Peter-HW has joined #openstack-keystone12:27
*** Peter-HW has quit IRC12:29
*** pcaruana has joined #openstack-keystone12:33
*** Peter-HW has joined #openstack-keystone12:36
*** bigdogstl has joined #openstack-keystone12:38
openstackgerritOpenStack Proposal Bot proposed openstack/python-keystoneclient master: Updated from global requirements  https://review.openstack.org/53402512:39
*** HW_Peter has joined #openstack-keystone12:39
*** bigdogstl has quit IRC12:43
*** markvoelker has joined #openstack-keystone12:47
openstackgerritOpenStack Proposal Bot proposed openstack/python-keystoneclient master: Updated from global requirements  https://review.openstack.org/53402512:48
openstackgerritOpenStack Proposal Bot proposed openstack/python-keystoneclient master: Updated from global requirements  https://review.openstack.org/53402512:50
openstackgerritOpenStack Proposal Bot proposed openstack/python-keystoneclient master: Updated from global requirements  https://review.openstack.org/53402512:50
*** bigdogstl has joined #openstack-keystone12:52
openstackgerritOpenStack Proposal Bot proposed openstack/python-keystoneclient master: Updated from global requirements  https://review.openstack.org/53402512:53
openstackgerritOpenStack Proposal Bot proposed openstack/python-keystoneclient master: Updated from global requirements  https://review.openstack.org/53402512:55
*** bigdogstl has quit IRC12:58
*** Peter-HW has quit IRC12:59
*** HW_Peter has quit IRC12:59
*** HWPeter has quit IRC12:59
*** HW-Peter has quit IRC12:59
*** Drankis has quit IRC12:59
*** HW-Peter has joined #openstack-keystone12:59
openstackgerritOpenStack Proposal Bot proposed openstack/python-keystoneclient master: Updated from global requirements  https://review.openstack.org/53402513:01
openstackgerritOpenStack Proposal Bot proposed openstack/python-keystoneclient master: Updated from global requirements  https://review.openstack.org/53402513:01
*** aloga has quit IRC13:09
*** aloga has joined #openstack-keystone13:10
*** markvoelker has quit IRC13:20
*** bigdogstl has joined #openstack-keystone13:23
*** bigdogstl has quit IRC13:28
*** mvenesio has joined #openstack-keystone13:30
openstackgerritMerged openstack/keystone master: adjust response code in order of credentials.inc  https://review.openstack.org/53308213:30
*** bigdogstl has joined #openstack-keystone13:33
openstackgerritMerged openstack/keystone-tempest-plugin master: Use openstackdocstheme for docs and release notes  https://review.openstack.org/53109713:33
*** markvoelker has joined #openstack-keystone13:33
*** dave-mccowan has joined #openstack-keystone13:40
*** bigdogstl has quit IRC13:43
*** dave-mccowan has quit IRC13:47
openstackgerritMerged openstack/keystone master: Rename fernet_utils to token_utils  https://review.openstack.org/52753713:48
*** dave-mccowan has joined #openstack-keystone13:57
*** links has quit IRC14:05
*** ayoung has joined #openstack-keystone14:18
*** jmlowe has joined #openstack-keystone14:27
lbragstadcmurphy: thanks for the rechecks this morning on the system scope stuff14:27
cmurphylbragstad: np14:28
cmurphycinder is having some issues, they're aware14:28
*** david-lyle has quit IRC14:33
lbragstadack14:48
lbragstadwe'll have to get things merged to ksa this week14:59
lbragstadsince it's non-client library freeze on the 19th15:00
* cmurphy will prioritize ksa reviews for office hours15:00
lbragstadi need to put my ksa patch on the top of my priority today then15:04
lbragstadi need to do https://review.openstack.org/#/c/530509/ today too then15:06
lbragstadayoung: probably has better context on that than i do15:06
cmurphywhat's the relationship between library/client freeze and feature freeze? definitely not going to have ksa or ksc stuff done for application credentials this week15:07
lbragstadif i'm reading things right - https://releases.openstack.org/queens/schedule.html15:08
lbragstadksa, ksm, and oslo libraries all freeze at the end of the week15:08
lbragstadJan 26th client libraries freeze15:09
lbragstadi think the unified limit implementation is ready for folks to take another pass, too15:13
lbragstadhttps://review.openstack.org/#/c/524109/2915:13
*** bigdogstl has joined #openstack-keystone15:13
lbragstadcmurphy: qq for you on the ksa bits for system scope15:15
lbragstadpreviously - i was detecting system scope by setting OS_SYSTEM_SCOPED = True15:15
lbragstadbut given the changes to move away from a boolean in the server implementation, i'd think it also makes sense to take that same approach with ksa15:16
lbragstadand do something like OS_SYSTEM_SCOPE=all15:16
cmurphylbragstad: makes sense15:18
lbragstadmy question is - how should that look when you want to scope to a specific service?15:19
lbragstadOS_SYSTEM_SCOPE=all/regionOne/compute15:19
cmurphywhat would it look like on the server side?15:20
cmurphyright now it's like '{"scope": { "system": "all" } }' or something?15:21
lbragstadi am guessing it would be something like '{"scope": {"system": {$service} }}'15:22
lbragstadwhere the services are components of the system15:22
*** mvenesio has quit IRC15:22
lbragstadand having a role assignment on the entire system means 'all'15:22
*** bigdogstl has quit IRC15:22
*** mvenesio has joined #openstack-keystone15:23
cmurphyso {$service} means "region" (like the object type) or {$service} means "regionOne" (like the name of the object) ?15:23
cmurphyof i guess you mean {$service} means the name/type of the keystone service like "compute" ?15:25
lbragstadi suppose service could exist directly below 'all'15:25
cmurphyin which case how does keystone know that we means scope to a service as opposed to another type of thing like a region?15:25
lbragstadi think you'd have to make it so that you can scope only to a service?15:26
lbragstad(unless generating tokens for a region is useful at some point)15:26
cmurphyi thought we'd brought up regions as a possible use case for a hierarchical system like this15:27
*** mvenesio has quit IRC15:27
lbragstadyeah - we did15:27
lbragstadi'm just wondering if building the initial bit to be OS_SYSTEM_SCOPE=all prevents anything in the future?15:28
lbragstador if we want that to be a different type?15:28
*** links has joined #openstack-keystone15:29
cmurphyi am imagining a future where we have something like '{"scope": { "system": "region", "region": "regionOne" } }' which would need a client that could do something like OS_SYSTEM_SCOPE=region OS_SCOPE_TARGET=regionOne15:30
cmurphybut as long as '{"scope": { "system": "$something" }}' is all that's possible then I think OS_SYSTEM_SCOPE covers it15:32
lbragstadright now it is '{"system": {"all": True}}'15:33
cmurphyoh okay15:33
lbragstadthat should still work, right?15:34
cmurphyso if a service scope was added would it look like '{"system": {"service": "compute"}}' ?15:35
lbragstad'{"system": {"all": True, "us-east": {"compute": "..."}, "us-west", {"compute": "..."}}}'15:36
lbragstador yeah - you could just leave the region out of it all together15:37
lbragstadbecause that would be perfect for the global identity use case15:37
lbragstad(e.g. get me a token scoped to only identity operations)15:38
cmurphywell i didn't mean to suggest leave region out, was just trying to guess what service scope would look like15:38
lbragstadright - i can see cases where service scope includes a region and doesn't include a region15:38
cmurphyright15:39
lbragstadwhich is probably going to complicate things :)15:39
cmurphylol15:39
*** spilla has joined #openstack-keystone15:40
lbragstadbut - from what i can tell, you'd need the ability to drill down to a specific service in a region15:40
*** prashkre has joined #openstack-keystone15:40
cmurphyokay, well it's sort of hard for me to wrap my brain around but as far as I can tell OS_SYSTEM_SCOPE=all is probably fine for now and we can potentially add new parameters if we can't find a way to have OS_SYSTEM_SCOPE describe our future levels of scope15:41
cmurphymight be good to get jamielennox's input15:41
lbragstadyeah - i think i agree15:41
lbragstadso long as we not making it a boolean initially15:41
lbragstadbecause i think we'd be trying to migrate from True -> all or True -> us-east:compute later15:42
*** itlinux has quit IRC15:42
lbragstadcmurphy: thanks for the input cmurphy - that helped15:48
*** david-lyle has joined #openstack-keystone15:49
cmurphynp15:49
lbragstadknikolla: i noticed you had a patch up to ksa for the global roles stuff15:49
lbragstadbut i figured that was prior to the system role changes?15:49
*** bigdogstl has joined #openstack-keystone15:50
knikollalbragstad: yep, that was before the ptg discussion15:50
lbragstadok - cool15:50
lbragstadjust fyi - i have https://review.openstack.org/#/c/529665 and i'll be posted some updates to it today15:50
*** links has quit IRC15:51
knikollalbragstad: cool, feel free to abandon my patch since it's superseded.15:52
*** dave-mccowan has quit IRC15:52
*** bigdogstl has quit IRC16:02
gagehugoo/16:08
knikollao/16:08
lbragstadtaking an early lunch to shovel the driveway quick before the keystone meeting16:09
lbragstadshould be back in about 3016:09
*** dave-mccowan has joined #openstack-keystone16:21
*** links has joined #openstack-keystone16:25
*** spilla has quit IRC16:38
*** spilla_ has joined #openstack-keystone16:38
*** gyee has joined #openstack-keystone16:41
*** itlinux has joined #openstack-keystone16:44
*** panbalag has joined #openstack-keystone16:46
*** bigdogstl has joined #openstack-keystone16:47
*** itlinux has quit IRC16:49
*** rha has joined #openstack-keystone16:49
prashkrelbragstad: Hi. Could you please take a look at the bug https://bugs.launchpad.net/keystone/+bug/174360316:51
openstackLaunchpad bug 1743603 in OpenStack Identity (keystone) "Unexpected service token warning message in keystone log" [Undecided,New]16:51
*** bigdogstl has quit IRC16:51
openstackgerritMerged openstack/keystone master: Reorganize api-ref: v3-ext endpoint-policy.inc  https://review.openstack.org/53170416:53
openstackgerritMerged openstack/keystoneauth master: Mark SAML loader properties as required  https://review.openstack.org/52367516:53
openstackgerritMerged openstack/keystoneauth master: Add osc, shade and sdk tips jobs  https://review.openstack.org/52465616:53
openstackgerritMerged openstack/keystoneauth master: Updated from global requirements  https://review.openstack.org/53396416:53
*** bigdogstl has joined #openstack-keystone16:54
*** mvk has quit IRC16:54
*** links has quit IRC16:54
*** bigdogstl has quit IRC16:59
openstackgerritMerged openstack/keystone master: Reorganize api-ref: v3-ext federation projects-domains  https://review.openstack.org/50700817:09
*** AlexeyAbashkin has quit IRC17:11
openstackgerritGage Hugo proposed openstack/keystone master: Move token_formatter to token  https://review.openstack.org/52753817:16
*** tesseract has quit IRC17:21
gagehugolbragstad cmurphy not sure why that was in merge conflict, I had to pull it down and rebase, but it merged fine ^17:22
lbragstadcool - reapplied my +217:23
*** bigdogstl has joined #openstack-keystone17:28
*** zigo has quit IRC17:33
*** openstackgerrit has quit IRC17:33
*** mvenesio has joined #openstack-keystone17:34
*** zigo has joined #openstack-keystone17:37
*** HW_Peter has joined #openstack-keystone17:38
*** bigdogstl has quit IRC17:38
*** openstackgerrit has joined #openstack-keystone17:51
openstackgerritMerged openstack/keystone master: Use keystone.common.provider_api for trust APIs  https://review.openstack.org/53024717:51
openstackgerritMerged openstack/keystone master: Reorganize api-ref: v3-ext federation assertion.inc  https://review.openstack.org/53285517:51
ayounglbragstad, better context on which topic?18:02
lbragstadayoung: oslo.context + system scope18:02
ayounglbragstad, heh, yeah right now, it is going to show up as a role, but have no project associated with it....18:03
*** bigdogstl has joined #openstack-keystone18:06
*** david-lyle has quit IRC18:08
kmalloccmurphy: sorry about the -1 on app-cred db migration. can discuss more if needed, but running through the whole chain and noticed a mis-match in proper schema optimisation (eliminating a future migration need), basicall PK should be INT (and internal only)18:10
kmalloccmurphy: i can help with massaging the code if needed.18:10
*** bigdogstl has quit IRC18:11
cmurphykmalloc: no need to apologize, will look in a minute18:11
kmallocyeah just wanted to toss in a heads up while the meeting was going on :)18:12
*** links has joined #openstack-keystone18:17
*** prashkre has quit IRC18:18
*** bigdogstl has joined #openstack-keystone18:19
*** bigdogstl has quit IRC18:24
*** bigdogstl has joined #openstack-keystone18:26
*** links has quit IRC18:34
*** bigdogstl has quit IRC18:35
*** links has joined #openstack-keystone18:36
*** panbalag has left #openstack-keystone18:36
*** prashkre has joined #openstack-keystone18:41
*** AlexeyAbashkin has joined #openstack-keystone18:43
*** rmcall_ has joined #openstack-keystone18:45
*** lbragstad_ has joined #openstack-keystone18:47
*** AlexeyAbashkin has quit IRC18:48
*** lbragstad has quit IRC18:49
*** lbragstad_ is now known as lbragstad18:50
*** ChanServ sets mode: +o lbragstad18:50
*** efried is now known as efried_nomnom18:57
* gagehugo needs food badly18:58
gagehugoI'll be back in an hour or so18:58
gagehugofor office hours18:58
*** sambetts is now known as sambetts|afk18:58
*** david-lyle has joined #openstack-keystone18:59
*** spzala has joined #openstack-keystone19:01
lbragstad#startmeeting keystone-office-hours19:02
openstackMeeting started Tue Jan 16 19:02:26 2018 UTC and is due to finish in 60 minutes.  The chair is lbragstad. Information about MeetBot at http://wiki.debian.org/MeetBot.19:02
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.19:02
*** openstack changes topic to " (Meeting topic: keystone-office-hours)"19:02
*** ChanServ changes topic to "Queens release schedule: https://releases.openstack.org/queens/schedule.html | Meeting agenda: https://etherpad.openstack.org/p/keystone-weekly-meeting | Bugs that need triaging: http://bit.ly/2iJuN1h | Trello: https://trello.com/b/5F0h9Hoe/keystone"19:02
openstackThe meeting name has been set to 'keystone_office_hours'19:02
*** links has quit IRC19:07
cmurphykmalloc: can you show me an example of one of our tables that use an int as the PK? checking a few the only one i've found so far is password which isn't exposed publicly19:08
kmallocsure.19:09
kmallocsec.19:09
kmallocmost are the new tables19:10
kmallocaka, localuser nonlocaluser, etc, this is all because the rest is historical19:10
kmallocand changing the id/pk structure is hard(tm)19:11
cmurphykmalloc: are you suggesting that the ID that's exposed to the user should be an int rather than a uuid? or you want two columns?19:12
kmallocno, two columns19:12
cmurphyokay19:12
kmallocthe int PK should just be used internal PK, and referenced for FKs etc as needed19:12
kmallocbut converting to the user, the app_cred_id the user sees is "uuid"19:13
kmallocand the int pk is always stripped19:13
kmalloci wont be too picky if you don't want to do this.19:13
kmallocit is just a better mechanism for the RDBMS backends.19:14
*** prashkre has quit IRC19:14
cmurphyno that all sounds fine, i was going to object if you were wanting the external ID to be an int19:14
kmallocnope, 100% should not expose the PK as an int :)19:15
kmallocshould be a separate id that is "user-friendly/unique" for whatever value uuid is user-friendly19:16
*** abhi89 has quit IRC19:19
*** itlinux has joined #openstack-keystone19:20
ayoungjamielennox, or anyone that can answer for him...I was creating a session in some resurrected code using keystoneclient.auth.Session...specificallty, I need the arg parse stuff.  Do we have comparable examples for keystoneauth1?19:24
ayoungkeystoneauth1.loading.cli.register_argparse_arguments(  something?19:28
kmalloccli arg parsing?19:34
kmallocayoung: https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/loading/cli.py#L32 and https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/loading/cli.py#L7719:35
kmallocregister adds the values to argparse19:35
kmallocso you pass your parser and the ARGV in19:35
kmallocand then the load_from_argparse does the plugin magic based upon the compiled argparse results19:36
*** bigdogstl has joined #openstack-keystone19:38
ayoungkmalloc, right...what do I need to do to call that?19:40
ayoungbefore I had19:40
ayounghttps://github.com/admiyo/ossipee/blob/master/ossipee-inventory.py#L919:40
ayoungkmalloc, ^^19:40
ayoungseems like there is one more call there than there should be19:41
kmallochmm.19:41
ayoungthat was keystone client,. based on jamielennox19:41
ayoung's example19:41
ayoungso I would think I would be mapping one to one with ksa19:41
ayoungAttributeError: module 'keystoneauth1.loading.adapter' has no attribute 'load_from_argparse_arguments'19:42
ayoungSo it is something different19:42
ayoungand the warning I got on the old code was19:43
ayoungUserWarning: Using keystoneclient sessions has been deprecated. Please update your software to use keystoneauth1.19:43
ayoungso something to make a ksa session, I think19:43
*** harlowja has joined #openstack-keystone19:44
openstackgerritColleen Murphy proposed openstack/keystone master: Add application credentials db migration  https://review.openstack.org/52492719:47
ayoungargparse.ArgumentError: argument --os-auth-type/--os-auth-plugin: conflicting option strings: --os-auth-type, --os-auth-plugin19:48
ayounghmmm19:48
*** bigdogstl has quit IRC19:48
*** itlinux has quit IRC19:50
*** pcaruana has quit IRC19:50
kmallocthat sounds like you've registered multiple times19:52
ayoungkmalloc, got successful code for doing this?19:54
kmallocnot on hand19:55
*** david-lyle has quit IRC19:57
*** david-lyle has joined #openstack-keystone19:57
openstackgerritColleen Murphy proposed openstack/keystone master: Add application credentials driver  https://review.openstack.org/52492819:58
*** mvk has joined #openstack-keystone19:59
ayoungmaybe we need to say jamielennox 's names 3 times to summon him20:01
*** itlinux has joined #openstack-keystone20:05
*** bigdogstl has joined #openstack-keystone20:09
openstackgerritMerged openstack/keystone master: Implement controller logic for system user assignments  https://review.openstack.org/51521520:09
*** dave-mccowan has quit IRC20:12
gagehugoo/20:14
*** bigdogstl has quit IRC20:14
*** mvk has quit IRC20:19
*** panbalag has joined #openstack-keystone20:27
*** panbalag has left #openstack-keystone20:28
*** bigdogstl has joined #openstack-keystone20:28
*** dave-mccowan has joined #openstack-keystone20:33
*** bigdogstl has quit IRC20:38
openstackgerritLance Bragstad proposed openstack/keystoneauth master: Implement system scope  https://review.openstack.org/52966520:39
lbragstadcmurphy: jamielennox ^ my ksa system scope patch20:41
lbragstadi reworked it to expect a string instead of a boolnea20:41
lbragstadboolean*20:41
*** efried_nomnom is now known as efried20:42
ayoungkmalloc, I wonder if I should just jump to using osc-lib20:43
ayounglooks like it goes too far in the init process, won't let me controll the parts I need before parsing, etc, but I can probably duplicate what iti is doing20:44
*** rmcall_ has quit IRC20:45
*** rmcall_ has joined #openstack-keystone20:49
ayoungdtroyer, I was trying to update some code that origianlly followed jamielennox 's approach to creating a sessions, but it has bit rotted. As I track what is going on now, I wonder if I should be using osc-lib20:57
ayoungthe code is mostly neutron and nova calls for setting up and tearing down a development environ, and I might decided to redo it using shade.20:58
gagehugolbragstad not sure where exactly, but that is probably something good to document20:58
lbragstadgagehugo: yeah20:58
lbragstaddev docs maybe?20:58
gagehugoI feel like that may have gotten brought up for tags as well before we nix'd the id20:58
gagehugosure20:58
lbragstadoh - that's right, because tag name and project were unique..20:59
ayoungkmalloc, if I use shade, is there a way I can keep the passwords out of config files?20:59
lbragstadso no id required20:59
gagehugoye21:00
openstackgerritColleen Murphy proposed openstack/keystone master: Add application credentials driver  https://review.openstack.org/52492821:04
mordredayoung: the os_client_config.Config constructor supports a pw_func parameter which is a function to call in the case of a missing password21:08
mordredayoung: which, incidentally, is what osc-lib uses to prompt you for a password21:10
ayoungmordred, so the thing I liked about creaing a session from cli args is that it get OS_PASSWORD implicitly.21:10
mordredah - yes. if that's all you want it's even easier21:11
ayoungso people source the same .rc file as they do for cli calls, but then called my code instead21:11
ayoungI'm really trying to not rewrite my 4 year old code21:11
openstackgerritLance Bragstad proposed openstack/oslo.policy master: Move _capture_stdout to a common place  https://review.openstack.org/53444021:11
mordredyah. please don't resurrect any additional ways of creating keystone sessions - we've got that very well covered now :)21:11
ayoungactually, last commit was Mar 17, 201621:12
mordredayoung: all of the helper factory functions in os_client_config/__init__.py support passing in an argparse instance21:12
*** david-lyle has quit IRC21:12
mordredayoung: and will register the common argparse options for you, then os_client_config will consume them when creating the config object21:13
ayoungmordred, let me cut to the chase.  I need a novaclient and a neutron client from environ vars21:13
openstackgerritLance Bragstad proposed openstack/oslo.policy master: Move _capture_stdout to a common place  https://review.openstack.org/53444021:14
mordredyup. that's SUPER easy21:14
ayounghttps://docs.openstack.org/os-client-config/latest/user/using.html  something off there?21:14
mordredayoung: do you specifically want an instance of python-novaclient and python-neutronclient? or do you want ksa Adapters to make REST calls on them?21:15
*** bigdogstl has joined #openstack-keystone21:15
ayoungum....21:15
ayoungI was working with python-nova and pythonneutron clients21:15
mordredgotcha.21:15
openstackgerritColleen Murphy proposed openstack/keystone master: Add Application Credentials manager  https://review.openstack.org/52474721:15
mordredso for that, you want https://docs.openstack.org/os-client-config/latest/user/using.html#constructing-legacy-client-objects21:15
ayoungfrom novaclient import client as novaclient21:15
mordredyah21:15
mordredI  mean- I'd avoid using that myself21:16
mordredbut if that's what you want, we got you covered :)21:16
ayoungmordred, this code is almost old enough to buy cigaretts21:16
ayoungjust trying to get it working again21:16
ayoungif I end up doing too much work, I'll redo it as an ansible playbook21:16
mordredthe simplest way is nova = os_client_config.make_client('compute', cloud='envvars')21:16
mordredthat'll get youa novaclient.Client from OS_ env vars21:16
ayoung++21:17
ayoungI'll try that, thanks21:17
mordredyou can get fancier if you need to - like if you also want to support argparse arguments21:17
mordredayoung: nova = os_client_config.make_client('compute', cloud='envvars', options=Some_argparse_namespace_object)21:18
*** threestrands_ has joined #openstack-keystone21:18
mordredayoung: let me know if you run in to any issues - the use case you describe should be pretty solid21:18
openstackgerritColleen Murphy proposed openstack/keystone master: Add application credentials db migration  https://review.openstack.org/52492721:20
openstackgerritColleen Murphy proposed openstack/keystone master: Add application credentials driver  https://review.openstack.org/52492821:20
openstackgerritColleen Murphy proposed openstack/keystone master: Add Application Credentials manager  https://review.openstack.org/52474721:20
mordredos_client_config.make_client('compute', cloud='envvars', options=argparse.ArgumentParser()) will do the trick if you don't have any _other_ argparse items to add21:20
openstackgerritColleen Murphy proposed openstack/keystone master: Add Application Credentials controller  https://review.openstack.org/52442321:20
openstackgerritColleen Murphy proposed openstack/keystone master: Add application credential auth plugin  https://review.openstack.org/52534621:20
openstackgerritColleen Murphy proposed openstack/keystone master: Allow overriding app cred restrictions  https://review.openstack.org/53343121:20
openstackgerritColleen Murphy proposed openstack/keystone master: Add api-ref for application credentials  https://review.openstack.org/53374421:20
*** david-lyle has joined #openstack-keystone21:23
*** HW-Peter has quit IRC21:38
*** bigdogstl has quit IRC21:45
*** bigdogstl has joined #openstack-keystone21:51
*** rmcall_ has quit IRC21:55
*** itlinux has quit IRC21:58
openstackgerritLance Bragstad proposed openstack/oslo.policy master: Render deprecated policy names when generating files  https://review.openstack.org/53268522:00
lbragstadwhew - barely beat the buzzer!22:00
lbragstad#endmeeting22:00
*** openstack changes topic to "Queens release schedule: https://releases.openstack.org/queens/schedule.html | Meeting agenda: https://etherpad.openstack.org/p/keystone-weekly-meeting | Bugs that need triaging: http://bit.ly/2iJuN1h | Trello: https://trello.com/b/5F0h9Hoe/keystone"22:00
openstackMeeting ended Tue Jan 16 22:00:47 2018 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)22:00
openstackMinutes:        http://eavesdrop.openstack.org/meetings/keystone_office_hours/2018/keystone_office_hours.2018-01-16-19.02.html22:00
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/keystone_office_hours/2018/keystone_office_hours.2018-01-16-19.02.txt22:00
openstackLog:            http://eavesdrop.openstack.org/meetings/keystone_office_hours/2018/keystone_office_hours.2018-01-16-19.02.log.html22:00
lbragstadmgagne: added some tests to https://review.openstack.org/#/c/532685/22:01
*** bigdogstl has quit IRC22:03
*** bigdogstl has joined #openstack-keystone22:05
*** spilla_ has quit IRC22:09
jamielennoxayoung: did you figure it out22:11
jamielennoxgot mentioned a bunch of times there, haven't read it all22:11
lbragstadcmurphy: i took a stab at addressing your comments here - https://review.openstack.org/#/c/524307/1222:17
lbragstadand in the subsequent patch,too22:17
lbragstadjamielennox: i know we pinged you at least once about the ksa system scope bits :)22:18
lbragstadi reworked them to not be booleans22:18
jamielennoxno worries, haven't been online for a day or two so not sure how old the different messages are22:18
jamielennoxthey have timestamps, but no date stamps22:19
*** bigdogstl has quit IRC22:22
lbragstadi think they were from today22:22
lbragstadjamielennox: does ksa have testing in place for things like scope?22:22
jamielennoxit has tests for domain and project, obviously nothing for system22:23
jamielennoxi can't point to exactly where22:23
jamielennoxoff the top of my head22:23
jamielennoxmostly there's a v2 and v3 folder and it's probably called test_auth or something22:24
lbragstadok22:24
lbragstadlooks like it might be in test/unit/access22:26
openstackgerritColleen Murphy proposed openstack/keystoneauth master: WIP Add an application credentials auth method  https://review.openstack.org/53445522:30
*** rcernin has joined #openstack-keystone22:31
*** itlinux has joined #openstack-keystone22:39
*** mvenesio has quit IRC22:41
*** itlinux has quit IRC22:41
*** itlinux has joined #openstack-keystone22:42
*** itlinux has quit IRC22:47
*** jroll has quit IRC22:53
*** edmondsw has quit IRC22:55
*** edmondsw has joined #openstack-keystone22:56
*** dave-mccowan has quit IRC22:56
*** jroll has joined #openstack-keystone22:58
*** edmondsw has quit IRC23:00
*** bigdogstl has joined #openstack-keystone23:00
openstackgerritLance Bragstad proposed openstack/keystoneauth master: Implement system scope  https://review.openstack.org/52966523:01
*** jmlowe_ has joined #openstack-keystone23:04
*** jmlowe has quit IRC23:05
*** bigdogstl has quit IRC23:08
openstackgerritMerged openstack/keystonemiddleware master: Updated from global requirements  https://review.openstack.org/52886723:09
*** bigdogstl has joined #openstack-keystone23:16
*** bigdogstl has quit IRC23:22
*** bigdogstl has joined #openstack-keystone23:33
*** sticker has joined #openstack-keystone23:38
*** bigdogstl has quit IRC23:45

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