Monday, 2017-08-28

*** Shunli has joined #openstack-keystone00:30
*** spzala has joined #openstack-keystone00:31
*** thorst_afk has joined #openstack-keystone00:41
*** zxy has joined #openstack-keystone00:45
*** thorst_afk has quit IRC00:46
*** thorst_afk has joined #openstack-keystone00:51
*** superdan is now known as dansmith00:57
openstackgerritJamie Lennox proposed openstack/keystoneauth master: Add loading mock fixtures  https://review.openstack.org/43601201:02
* jamielennox actually revives a patch01:03
*** thorst_afk has quit IRC01:06
*** thorst_afk has joined #openstack-keystone01:07
*** thorst_afk has quit IRC01:11
*** edmondsw has joined #openstack-keystone01:12
*** edmondsw has quit IRC01:15
*** edmondsw has joined #openstack-keystone01:15
*** edmondsw has quit IRC01:16
openstackgerritJeffrey Zhang proposed openstack/keystonemiddleware master: Make memcache client reusable across threads  https://review.openstack.org/49697201:25
*** guoshan has joined #openstack-keystone01:28
*** zhurong has quit IRC01:28
*** burnz has joined #openstack-keystone01:55
*** Shunli has quit IRC02:14
*** Shunli has joined #openstack-keystone02:17
*** thorst_afk has joined #openstack-keystone02:23
*** thorst_afk has quit IRC02:24
*** zhurong has joined #openstack-keystone02:39
*** hoonetorg has quit IRC02:43
*** itlinux has quit IRC02:45
*** hoonetorg has joined #openstack-keystone03:00
*** thorst_afk has joined #openstack-keystone03:25
*** thorst_afk has quit IRC03:30
*** mrhillsman has left #openstack-keystone03:35
openstackgerritJamie Lennox proposed openstack/keystoneauth master: Add loading mock fixtures  https://review.openstack.org/43601203:53
*** links has joined #openstack-keystone04:00
*** thorst_afk has joined #openstack-keystone04:26
*** thorst_afk has quit IRC04:31
*** jaosorior has joined #openstack-keystone05:18
*** markvoelker_ has joined #openstack-keystone05:25
*** thorst_afk has joined #openstack-keystone05:27
*** markvoelker has joined #openstack-keystone05:29
*** markvoelker_ has quit IRC05:29
*** rcernin has joined #openstack-keystone05:30
*** thorst_afk has quit IRC05:32
*** markvoelker has quit IRC05:33
*** markvoelker has joined #openstack-keystone05:34
*** edmondsw has joined #openstack-keystone06:02
*** thorst_afk has joined #openstack-keystone06:28
*** thorst_afk has quit IRC06:32
*** belmoreira has joined #openstack-keystone06:34
*** pcaruana has joined #openstack-keystone06:36
*** aojea has joined #openstack-keystone06:56
*** aojea has quit IRC07:12
*** aojea has joined #openstack-keystone07:13
*** aojea has quit IRC07:16
*** aojea has joined #openstack-keystone07:18
*** zxy has quit IRC07:27
*** zxy has joined #openstack-keystone07:28
*** d0ugal has joined #openstack-keystone07:30
*** tesseract has joined #openstack-keystone07:31
*** edmondsw has quit IRC07:40
*** josecastroleon has joined #openstack-keystone08:14
*** ioggstream has joined #openstack-keystone08:17
*** thorst_afk has joined #openstack-keystone08:30
*** thorst_afk has quit IRC08:34
*** d0ugal has quit IRC08:35
*** jaosorior has quit IRC08:39
*** jaosorior has joined #openstack-keystone08:50
openstackgerritLingyong Xu proposed openstack/oslo.policy master: Update the documentation link for doc migration  https://review.openstack.org/49838109:00
*** markvoelker has quit IRC09:15
*** thorst_afk has joined #openstack-keystone09:30
*** Shunli has quit IRC09:31
*** thorst_afk has quit IRC09:35
*** edmondsw has joined #openstack-keystone09:41
openstackgerritAbhishek Kekane proposed openstack/python-keystoneclient master: Add Response class to return request-id to caller  https://review.openstack.org/32991309:43
*** edmondsw has quit IRC09:45
*** aojea has quit IRC10:06
*** aojea has joined #openstack-keystone10:27
*** thorst_afk has joined #openstack-keystone10:31
*** thorst_afk has quit IRC10:36
*** d0ugal has joined #openstack-keystone10:40
*** guoshan has quit IRC10:48
*** jamielennox has quit IRC10:51
*** jamielennox has joined #openstack-keystone10:52
*** markvoelker has joined #openstack-keystone11:15
*** dave-mccowan has joined #openstack-keystone11:32
*** szaher has quit IRC11:32
*** thorst_afk has joined #openstack-keystone11:33
*** szaher has joined #openstack-keystone11:36
*** ioggstream has quit IRC11:39
*** rajalokan has joined #openstack-keystone11:39
*** thorst_afk has quit IRC11:40
*** rajalokan has quit IRC11:40
*** edmondsw has joined #openstack-keystone11:42
*** edmondsw has quit IRC11:46
*** markvoelker has quit IRC11:50
*** raildo has joined #openstack-keystone11:58
*** aojea has quit IRC12:02
*** ducttap__ has quit IRC12:08
*** lwanderley has joined #openstack-keystone12:08
*** lwanderley has quit IRC12:14
*** lifeless has quit IRC12:15
*** ducttape_ has joined #openstack-keystone12:16
*** lwanderley has joined #openstack-keystone12:17
*** lifeless has joined #openstack-keystone12:17
*** rreimberg has joined #openstack-keystone12:17
*** zhurong has quit IRC12:23
*** aojea has joined #openstack-keystone12:24
*** thorst_afk has joined #openstack-keystone12:30
*** catintheroof has joined #openstack-keystone12:36
*** dave-mccowan has quit IRC12:38
samueldmqmorning keystone12:47
*** ducttape_ has quit IRC12:48
samueldmqkmalloc: hey, would be nice to have your eyes on https://review.openstack.org/#/c/49697212:48
samueldmqkmalloc: memcache reuse across threads in ksa12:48
*** dave-mccowan has joined #openstack-keystone12:49
*** markvoelker has joined #openstack-keystone13:01
*** lucasxu has joined #openstack-keystone13:05
*** lwanderley has quit IRC13:15
*** lwanderley has joined #openstack-keystone13:26
*** josecastroleon has quit IRC13:29
*** lwanderley has quit IRC13:31
*** josecastroleon has joined #openstack-keystone13:31
*** ducttape_ has joined #openstack-keystone13:33
*** gagehugo_ has joined #openstack-keystone13:34
*** gagehugo_ has quit IRC13:36
*** markvoelker has quit IRC13:40
*** lbragstad has joined #openstack-keystone13:42
*** ChanServ sets mode: +o lbragstad13:42
*** edmondsw has joined #openstack-keystone13:43
*** edmondsw has quit IRC13:47
openstackgerritThomas Duval proposed openstack/oslo.policy master: Modification to add additional information in the HTTPCheck request.  https://review.openstack.org/49846713:47
*** ducttape_ has quit IRC13:48
knikollao/13:48
gagehugoo/13:48
knikollai apologize for my inactivity in the past week. we're still ongoing an incident with our ceph deployment. That has been eating my entire work time + extra.13:50
lbragstadknikolla: no worries - making progress on it?13:51
*** aojea has quit IRC13:53
stevemarlbragstad: theres a q in -dev about keystone, and my memory of what the right answer is crap13:54
knikollalbragstad: i think so. don't want to jinx it though.13:54
knikollawill make for a splendid blog post after we're done.13:54
knikolla#youwontbelievehowbadlywemessedupourceph13:54
*** ducttape_ has joined #openstack-keystone13:55
*** cfriesen_ has joined #openstack-keystone13:55
*** aojea has joined #openstack-keystone13:56
*** lwanderley has joined #openstack-keystone13:58
*** edmondsw has joined #openstack-keystone14:00
*** david-lyle has quit IRC14:10
*** rbrndt has joined #openstack-keystone14:18
*** links has quit IRC14:22
kmallocsamueldmq: ksm you mean? Because ksa cannot have memcache support baked in.14:27
*** ioggstream has joined #openstack-keystone14:32
*** sjain has joined #openstack-keystone14:35
*** edmondsw has quit IRC14:37
*** jamesbenson has joined #openstack-keystone14:42
*** gyee has joined #openstack-keystone14:56
*** belmoreira has quit IRC14:58
*** belmoreira has joined #openstack-keystone15:01
*** belmoreira has quit IRC15:02
*** sjain has quit IRC15:02
*** lwanderley has quit IRC15:03
*** josecastroleon has quit IRC15:07
*** david-lyle has joined #openstack-keystone15:16
*** aselius has joined #openstack-keystone15:18
*** john5223 has quit IRC15:20
*** jamesbenson has quit IRC15:25
*** john5223 has joined #openstack-keystone15:25
*** otleimat has joined #openstack-keystone15:31
*** jistr is now known as jistr|off|mtg15:33
*** jistr|off|mtg is now known as jistr15:33
*** links has joined #openstack-keystone15:34
*** jamesbenson has joined #openstack-keystone15:35
*** jamesbenson has quit IRC15:35
*** jamesbenson has joined #openstack-keystone15:44
*** pcaruana has quit IRC15:47
*** aojea has quit IRC15:55
*** aojea has joined #openstack-keystone15:58
*** jamesben_ has joined #openstack-keystone15:59
*** jamesbenson has quit IRC16:00
*** rcernin has quit IRC16:10
*** aojea has quit IRC16:26
*** links has quit IRC16:27
*** jamesben_ has quit IRC16:27
*** jamesbenson has joined #openstack-keystone16:30
*** tesseract has quit IRC16:30
*** jamesbenson has quit IRC16:34
*** lwanderley has joined #openstack-keystone16:35
*** lwanderley has quit IRC16:36
*** lwanderley has joined #openstack-keystone16:37
*** jamesbenson has joined #openstack-keystone16:37
*** aojea has joined #openstack-keystone16:46
*** rcernin has joined #openstack-keystone16:48
*** aojea has quit IRC16:56
*** ioggstream has quit IRC17:03
*** chlong has joined #openstack-keystone17:07
openstackgerritMerged openstack/keystone master: Log format error  https://review.openstack.org/49774717:12
kmallocsamueldmq: reviewed17:14
samueldmqkmalloc: yes, I meant ksm. thanks for reviewing17:25
kmallocsamueldmq: it needs work =/17:26
* samueldmq nods17:27
samueldmqkmalloc: I was just looking at your comments17:27
*** aahh has joined #openstack-keystone17:27
*** lwanderley has quit IRC17:54
openstackgerritMerged openstack/keystone-specs master: Update project-tags spec  https://review.openstack.org/48452917:54
*** lwanderley has joined #openstack-keystone18:10
ducttape_is it documented somewhere how to effectively write a 3rd party app that acts as a openstack service?  my question is around how to scope to a project, do stuff, etc.  Would like to avoid having a service account with a role setup on every single project18:19
ducttape_or a good example / project (say heat) to follow18:19
knikolladucttape_: the app only needs a service/admin role. it uses that to verify the users token and then users the users token to perform actions.18:21
knikollaso it's the user's token which is scoped to the project and has a role on the project.18:21
knikollatypically you would integrate the keystonemiddleware with your app.18:21
knikollahttps://docs.openstack.org/keystonemiddleware/latest/18:21
ducttape_ok.  and ideally that token will not get revoked / expired if the task is long running18:21
knikolladucttape_: if you need to make calls to other services, you can get a service token and pass the alongside the user's token.18:22
knikollathat way even if the user's token expires, your app is vouching for it to be still valid.18:22
ducttape_k.  thanks knikolla18:22
ducttape_oh, that is exciting / sounds less bad18:22
*** itlinux has joined #openstack-keystone18:23
knikolladucttape_: np :)18:24
*** lwanderley has quit IRC18:42
*** raildo has quit IRC18:45
*** raildo has joined #openstack-keystone18:54
*** aojea has joined #openstack-keystone18:55
knikollalbragstad: quick questions18:56
knikollaquestion*. singular18:56
lbragstadknikolla: sure18:56
knikollawhat is the difference between `list_grants` and `list_role_assignments` in the assignment controller.18:57
lbragstadknikolla: list_role_assignments seems to be for /v3/groups/{group_id}/projects/{project_id}/roles/  like paths18:59
lbragstadknikolla: wait - sorry18:59
lbragstadlist_grants seems to be the entry point for the full/explicit patch19:00
lbragstadpath*19:00
lbragstadand list_role_assignments seems to be exposed through the /role_assignments path19:00
lbragstadi'm not sure why they don't use the same backend logic though at the controller or core layers19:00
knikollalbragstad: they have a different path all the way to the backend19:01
lbragstadthat's unfortunate19:01
*** ducttape_ has quit IRC19:02
aahh@lbragstad : hi , i just need some help with writing auth_plugins .19:03
lbragstadknikolla: i also seem to be having some issues with COMPUTED_ASSIGNMENTS_REGION19:03
aahhcreated the new plugin inside the keystone/auth/plugins19:03
lbragstadknikolla: when i delete a role, that cache isn't invalidated19:03
aahhdefined the method name inside it19:03
knikollalbragstad which review is that?19:04
*** catintheroof has quit IRC19:04
lbragstadknikolla: it's just what i have locally19:04
aahhgave an entry point to it on the setup.cfg and conf/auth.py19:04
lbragstadknikolla: but there shouldn't be anything weird about the test that i'm doing19:04
aahhbut am not able to make it recognise with my domain_specific config19:04
lbragstadaahh: are you using a specific config file for your domain19:05
lbragstad?19:05
aahhyes19:05
aahhi have a seperate one inside /etc/keystone/domains19:05
aahhi have defined the auth section inside the conf in it as method = new_plugin_name19:06
aahhbut by default its always my default plugin that gets called instead of the new plugin from the different domain19:06
lbragstadaahh: the domain specific code only looks for specific configuration groups19:09
lbragstadspecifically `ldap` and `identity`19:09
lbragstadthe authenticate plugin configuration option is in `auth`19:09
aahhis it not possible to write a seperate plugin for the domain specific one then19:10
*** ducttape_ has joined #openstack-keystone19:10
lbragstadno - i don't think it is19:10
aahhany workaround thats possible ??19:11
lbragstadaahh: not through domain configuration19:14
lbragstadthat piece of the API is pretty locked down since it contains sensitive information19:14
lbragstadhenrynash knows more about that than I do though19:14
lbragstadknikolla: pushing what i have locally quick19:15
lbragstadknikolla: it's going to be a mess19:15
*** ducttape_ has quit IRC19:15
knikollalbragstad: no worries.19:17
*** catintheroof has joined #openstack-keystone19:17
lbragstadknikolla: the assignment bits seem to be ok19:18
*** mjax has joined #openstack-keystone19:20
openstackgerritGage Hugo proposed openstack/keystone master: Add new tags attribute to project  https://review.openstack.org/47031719:26
openstackgerritGage Hugo proposed openstack/keystone master: Add JSON schema validation for project tags  https://review.openstack.org/48448319:26
openstackgerritGage Hugo proposed openstack/keystone master: Add database migration for project tags  https://review.openstack.org/48445619:26
openstackgerritGage Hugo proposed openstack/keystone master: Add policy for project tags  https://review.openstack.org/48675719:26
openstackgerritGage Hugo proposed openstack/keystone master: Refactor removal of duplicate projects/domains  https://review.openstack.org/49157419:26
*** ducttap__ has joined #openstack-keystone19:27
openstackgerritLance Bragstad proposed openstack/keystone master: Allow global scoping of tokens  https://review.openstack.org/49857719:29
lbragstadknikolla: ^19:29
lbragstadknikolla: stepping away for a minute19:30
knikollalbragstad: thanks!19:30
openstackgerritGage Hugo proposed openstack/keystone master: Refactor removal of duplicate projects/domains  https://review.openstack.org/49157419:31
*** ducttap__ has quit IRC19:32
*** ducttape_ has joined #openstack-keystone19:33
*** aojea has quit IRC19:33
gagehugobah dumb rebasing19:35
*** lwanderley has joined #openstack-keystone19:35
*** lwanderley has quit IRC19:36
openstackgerritGage Hugo proposed openstack/keystone master: Add new tags attribute to project  https://review.openstack.org/47031719:38
openstackgerritGage Hugo proposed openstack/keystone master: Add JSON schema validation for project tags  https://review.openstack.org/48448319:38
openstackgerritGage Hugo proposed openstack/keystone master: Add database migration for project tags  https://review.openstack.org/48445619:38
openstackgerritGage Hugo proposed openstack/keystone master: Add policy for project tags  https://review.openstack.org/48675719:38
openstackgerritGage Hugo proposed openstack/keystone master: Refactor removal of duplicate projects/domains  https://review.openstack.org/49157419:38
*** edmondsw has joined #openstack-keystone19:52
*** edmondsw has quit IRC19:54
*** edmondsw has joined #openstack-keystone20:00
lbragstadknikolla: if i can get https://review.openstack.org/#/c/498577/ cleaned up within the next couple days, i can start on the oslo.policy/context stuff20:00
lbragstadwell - technically the interface is already defined in the token response20:01
lbragstadso that work can start actually20:01
*** edmondsw has quit IRC20:04
openstackgerritGage Hugo proposed openstack/keystone master: Add project tags api-ref documentation and reno  https://review.openstack.org/47239620:08
*** ducttape_ has quit IRC20:19
*** cfriesen_ has quit IRC20:23
*** cfriesen_ has joined #openstack-keystone20:23
*** ducttape_ has joined #openstack-keystone20:24
openstackgerritLance Bragstad proposed openstack/keystone master: Allow global scoping of tokens  https://review.openstack.org/49857720:25
*** ducttape_ has quit IRC20:25
*** ducttape_ has joined #openstack-keystone20:26
*** ducttap__ has joined #openstack-keystone20:29
*** ducttape_ has quit IRC20:33
*** ducttap__ has quit IRC20:35
*** spzala has quit IRC20:36
openstackgerritLance Bragstad proposed openstack/keystone master: Allow global scoping of tokens  https://review.openstack.org/49857720:36
openstackgerritLance Bragstad proposed openstack/keystone master: Allow TokenFormatter to handle global scope  https://review.openstack.org/49859320:36
*** rreimberg has quit IRC20:44
*** lucasxu has quit IRC20:46
catintheroofguys, im having this error http://paste.openstack.org/show/619682/ when using keystoneauth1 == 3.1.0 and keystonemiddleware == 4.14.0 on python 3.5.4 (im using memcache_security_strategy=ENCRYPT and memcache_secret_key )20:47
catintheroofany hint or help ?20:47
*** chlong has quit IRC20:53
kmalloc``auth``20:54
kmallocooh neato20:54
kmallocirccloud reads md....20:54
*** edmondsw has joined #openstack-keystone21:03
*** edmondsw has quit IRC21:07
*** catintheroof has quit IRC21:09
*** raildo has quit IRC21:21
*** spzala has joined #openstack-keystone21:24
*** chlong has joined #openstack-keystone21:26
openstackgerritMerged openstack/keystone master: Delete redundant code  https://review.openstack.org/49606521:27
openstackgerritGage Hugo proposed openstack/keystone master: Copy specific distro pages for install guide  https://review.openstack.org/49860521:28
*** chlong has quit IRC21:31
*** thorst_afk has quit IRC21:32
*** rcernin has quit IRC21:32
*** thorst_afk has joined #openstack-keystone21:35
*** edmondsw has joined #openstack-keystone21:38
*** thorst_afk has quit IRC21:40
*** edmondsw has quit IRC21:42
kmalloclbragstad: i have an interesting take on removing the "XXX_api" depencency decorators...21:43
kmalloci actually have a fix that is much more generic across all keystone21:43
kmallocshould be pretty quick to implement21:43
*** chlong has joined #openstack-keystone21:43
openstackgerritLance Bragstad proposed openstack/keystone master: Allow global scoping of tokens  https://review.openstack.org/49857721:45
openstackgerritLance Bragstad proposed openstack/keystone master: Allow TokenFormatter to handle global scope  https://review.openstack.org/49859321:45
openstackgerritLance Bragstad proposed openstack/keystone master: WIP: Add skeleton tests for global scoping  https://review.openstack.org/49794621:45
openstackgerritLance Bragstad proposed openstack/keystone master: Implement manager logic for global roles  https://review.openstack.org/49437121:45
openstackgerritLance Bragstad proposed openstack/keystone master: Implement global role assignments for groups  https://review.openstack.org/48178121:45
openstackgerritLance Bragstad proposed openstack/keystone master: Implement backend logic for global roles  https://review.openstack.org/49433821:45
openstackgerritLance Bragstad proposed openstack/keystone master: Ensure building scope is mutually exclusive  https://review.openstack.org/49809121:45
openstackgerritLance Bragstad proposed openstack/keystone master: Implement global role assignments for users  https://review.openstack.org/49437421:45
lbragstadkmalloc: nice21:45
lbragstadi'd like to see it21:45
lbragstaddstanek: had some interesting ways to implement it that i dusted of a couple weeks ago21:45
openstackgerritLance Bragstad proposed openstack/keystone master: Allow global scoping of tokens  https://review.openstack.org/49857721:46
lbragstadknikolla: i separated the commits a bit more in hopes of keeping them cleaner ^21:47
kmalloclbragstad: ah nice.21:53
lbragstadkmalloc: i actually noticed something weird with our COMPUTED_ASSIGNMENTS_REGION stuff21:54
lbragstadline 817 here attempts to explain what i was seeing locally https://review.openstack.org/#/c/498577/5/keystone/tests/unit/test_v3_auth.py21:54
*** jamesbenson has quit IRC22:01
openstackgerritLance Bragstad proposed openstack/keystone master: Allow global scoping of tokens  https://review.openstack.org/49857722:08
openstackgerritLance Bragstad proposed openstack/keystone master: Allow TokenFormatter to handle global scope  https://review.openstack.org/49859322:08
*** edmondsw has joined #openstack-keystone22:09
*** cfriesen__ has joined #openstack-keystone22:10
*** cfriesen__ is now known as cfriesen22:10
*** cfriesen_ has quit IRC22:11
*** edmondsw has quit IRC22:13
*** cfriesen_ has joined #openstack-keystone22:13
*** cfriesen has quit IRC22:16
*** cfriesen__ has joined #openstack-keystone22:16
*** cfriesen__ is now known as cfriesen22:16
*** edmondsw has joined #openstack-keystone22:17
*** cfriesen_ has quit IRC22:19
*** edmondsw has quit IRC22:21
*** edmondsw has joined #openstack-keystone22:27
*** itlinux has quit IRC22:28
*** edmondsw has quit IRC22:34
*** markvoelker has joined #openstack-keystone22:42
*** rbrndt has quit IRC22:59
*** aojea has joined #openstack-keystone23:20
*** cfriesen has quit IRC23:23
*** cfriesen has joined #openstack-keystone23:23
*** aojea has quit IRC23:24
*** itlinux has joined #openstack-keystone23:28
*** itlinux has quit IRC23:28
*** aojea has joined #openstack-keystone23:33
*** chlong has quit IRC23:34
kmalloclbragstad: hey23:37
kmalloclbragstad: have something (early prototype code) to show you23:37
kmalloclbragstad: you here?23:39
kmalloclbragstad: https://gist.github.com/morganfainberg/0b6000f71c7898ed9de12605873bf959 rough start of new dependency code23:39
kmalloclbragstad: the metaclass is added to any managers (similar to your code). The @requires_api() decorator is simply to ensure we have a dependency registered (via the meta class) for the *_api bit23:42
kmallocit would then use __getattribute__ to find the *_api provider (instance) in the Dependency Registry23:42
kmallocthe other benefit is that with minor tuning we can use the *_api value in __init__. instead of needing things like .create()23:43
kmallocfinally, we _could_ remove the @requires(blah_api) and just make it @uses_provider_api or similar23:44
kmallocand not pass values, since you're 100% allowed to just access the *_api values in methods.23:44
* kmalloc has a minor additional tweak to the setup.23:44
kmallocto do23:44
kmallocbut otherwise, it is a lot more "automatic"23:44
kmallocand it guarantees shared managers23:45
kmallocsince they all reside in the registry23:45
*** markvoelker has quit IRC23:46
*** edmondsw has joined #openstack-keystone23:53
*** aojea has quit IRC23:54
*** edmondsw_ has joined #openstack-keystone23:56
*** edmondsw has quit IRC23:58

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