Saturday, 2015-02-14

* clayg cries00:01
claygi sorta reject that it's a bug with no work around tho, i'm doing this trying to review a patch to swift that deals with auth - so *someone* out there got this to work at some point ;)00:01
*** topol has quit IRC00:03
*** marg7175 has quit IRC00:06
openstackgerritBrant Knudson proposed openstack/keystone: Comments for sample policy.json  https://review.openstack.org/15591900:08
*** jimbaker has quit IRC00:12
*** dimsum__ has joined #openstack-keystone00:13
*** dimsum__ has quit IRC00:13
*** spandhe has quit IRC00:14
*** thedodd has quit IRC00:14
*** dimsum__ has joined #openstack-keystone00:14
*** thedodd has joined #openstack-keystone00:14
*** jimbaker has joined #openstack-keystone00:15
*** dimsum__ has quit IRC00:18
*** dimsum__ has joined #openstack-keystone00:18
*** thedodd has quit IRC00:19
*** avozza is now known as zz_avozza00:23
*** jimbaker has quit IRC00:28
*** gyee has joined #openstack-keystone00:28
*** ChanServ sets mode: +v gyee00:28
*** ayoung has quit IRC00:37
*** ChanServ sets mode: -o morganfainberg00:37
lhchengcould anyone help me in figuring out how the router mapping works in V2?  specifically for services00:39
lhchengSo I see that the mapping from router to controller is set in here: https://github.com/openstack/keystone/blob/master/keystone/contrib/admin_crud/core.py#L18300:39
morganfainberglhcheng, right00:39
lhchengand the controller calls the corresponding backend driver00:39
morganfainbergyes00:39
morganfainbergand CrudExtension is loaded in the paste pipeline (how it's wired up) here: https://github.com/openstack/keystone/blob/master/etc/keystone-paste.ini#L18-L2200:41
morganfainbergthen referenced in the admin/public pipelines00:41
morganfainbergmapper.connect wires that up form the request URI -> controller00:41
lhchengah cool, haven't got that up in the chain00:41
morganfainbergmuch higher up than that you geting into WSGI layer stuff00:42
morganfainbergwhich isn't as important for what you're looking at (my guess)00:42
lhchengheh  my understanding is correct00:42
lhchengso my issue is..00:42
lhchengcurrently I am working on a issue with templated catalog00:42
lhchengif the user issue a GET on /services, it gets an endpoint not found00:43
lhchengI'm trying to figure out how does the mapper know that it should not perform the mapping when templated catalog driver is setup.00:43
morganfainbergso mapping is effecitvely a REGEX00:44
morganfainberg[simplisticly at least]00:44
lhchengSo I implemented the crud methods for services in templated.Catalog class:  https://github.com/openstack/keystone/blob/master/keystone/catalog/backends/templated.py#L5900:44
morganfainbergif the URI matches the mapper entry, it will get passed the request via the __call__00:44
lhchengit still gives me that the /services endpoint is not available00:45
lhchengnot sure what else am I missing, why the mapper could not expose /service00:46
morganfainbergwell00:46
morganfainbergand the controller will make the calls to the backend?00:46
morganfainbergyou've got that wired up00:46
lhchengat startup, does it try to check if the corresponding crud method in the backend driver actually exist00:47
morganfainbergshouldnt00:47
morganfainbergit should throw an error at runtime afaik when it's called if something is midding00:47
morganfainbergso it should be going through https://github.com/openstack/keystone/blob/master/keystone/contrib/admin_crud/core.py#L183-L18700:47
lhchengyeah, it is already wired up by default: https://github.com/openstack/keystone/blob/master/keystone/catalog/controllers.py#L3800:47
morganfainbergright?00:47
morganfainbergor is this in the catalog routers?00:48
morganfainbergv2 is a good bit different than v300:48
lhchengI think catalog routers is just for v300:48
lhchengyeah, I am looking at v2 at the moment00:48
morganfainbergso for v2, you're calling OS-KSADM/services or just /services?00:49
morganfainbergthe url looks to be mapped for /OS-KSADM/services00:49
lhchengI know the mapping works correctly, if I switch to sql catalog backend, it works fune00:49
lhcheng*fine00:49
lhchengyeah, I have the url correct00:49
lhchengusing KSC for testing00:50
morganfainbergi recommend using curl in this case00:50
morganfainbergsee if you're gettign back what you'd expect00:50
morganfainberglook at the difference in json00:50
morganfainbergmight help you figure out what is different00:50
morganfainbergmy guess is something is structured differently00:50
morganfainbergand it is probably confusing keystoneclient00:51
lhchenghmm interesting, trying that out...00:52
*** markvoelker has joined #openstack-keystone00:52
*** marg7175 has joined #openstack-keystone00:56
lhchengcode error, curl is my new best friend :)00:56
lhchengmorganfainberg: thanks for the help!00:57
morganfainbergyep, happy to help!00:57
*** markvoelker has quit IRC00:57
*** Ephur has quit IRC01:06
*** lnxnut has joined #openstack-keystone01:10
*** markvoelker has joined #openstack-keystone01:10
*** diegows has quit IRC01:12
*** abhirc has joined #openstack-keystone01:15
*** markvoelker has quit IRC01:17
*** hichtakk has joined #openstack-keystone01:19
*** lhcheng has quit IRC01:26
openstackgerritMerged openstack/keystone: Move existing tests to unit  https://review.openstack.org/15553101:30
*** david-lyle has joined #openstack-keystone01:32
*** david-lyle is now known as david-lyle_afk01:33
*** gyee has quit IRC01:38
*** lhcheng has joined #openstack-keystone01:43
*** diegows has joined #openstack-keystone01:46
*** diegows has quit IRC01:46
*** hichtakk has quit IRC01:49
*** _cjones_ has quit IRC01:57
*** samueldmq has joined #openstack-keystone01:59
*** lnxnut has quit IRC02:08
*** samueldmq has quit IRC02:12
*** zzzeek has quit IRC02:13
*** markvoelker has joined #openstack-keystone02:14
*** hichtakk has joined #openstack-keystone02:17
*** markvoelker has quit IRC02:22
*** marg7175 has quit IRC02:22
*** lhcheng has quit IRC02:24
*** lnxnut has joined #openstack-keystone02:30
*** jacer_huawei has quit IRC02:31
*** erkules_ has joined #openstack-keystone02:33
*** lnxnut has quit IRC02:34
*** erkules has quit IRC02:35
*** lnxnut has joined #openstack-keystone02:38
openstackgerritLin Hua Cheng proposed openstack/keystone: On creation default service name to empty string  https://review.openstack.org/14696202:39
*** zzzeek has joined #openstack-keystone02:44
*** dimsum__ has quit IRC02:48
*** zzzeek has quit IRC02:49
*** tqtran_afk has quit IRC02:54
*** richm has quit IRC02:58
openstackgerritLin Hua Cheng proposed openstack/keystone: Implement validation on the Identity V3 API  https://review.openstack.org/13212203:14
*** stevemar has joined #openstack-keystone03:18
*** ChanServ sets mode: +v stevemar03:18
*** markvoelker has joined #openstack-keystone03:18
*** markvoelker has quit IRC03:23
stevemarbknudson, you literally just forced everyone to rebase03:28
stevemarit's amazing03:28
*** markvoelker has joined #openstack-keystone03:36
openstackgerritDave Chen proposed openstack/keystone: Remove duplicate token revocation check  https://review.openstack.org/15002203:42
*** dimsum__ has joined #openstack-keystone03:48
*** harlowja_ is now known as harlowja_away03:51
*** dimsum__ has quit IRC03:53
openstackgerritDave Chen proposed openstack/keystone: Fix the wrong check logic on signature  https://review.openstack.org/14377203:57
*** lnxnut has quit IRC04:03
*** lnxnut has joined #openstack-keystone04:21
*** zzzeek has joined #openstack-keystone04:21
*** zzzeek has quit IRC04:22
*** lnxnut has quit IRC04:37
openstackgerritSteve Martinelli proposed openstack/keystone: Enable endpoint_policy, endpoint_filter and oauth by default  https://review.openstack.org/15384204:39
*** hichtakk has quit IRC04:45
openstackgerritSteve Martinelli proposed openstack/keystone: Use oslo.log instead of incubator  https://review.openstack.org/15269905:32
openstackgerritSteve Martinelli proposed openstack/keystone: Use oslo.log instead of incubator  https://review.openstack.org/15269905:34
openstackgerritSteve Martinelli proposed openstack/keystone: Use oslo.log instead of incubator  https://review.openstack.org/15269905:34
openstackgerritSteve Martinelli proposed openstack/keystone: Remove incubator version of log and local  https://review.openstack.org/15478305:35
*** abhirc has quit IRC05:37
openstackgerritLin Hua Cheng proposed openstack/python-keystoneclient: Add default body for non-abstract empty methods  https://review.openstack.org/15596205:53
morganfainbergstevemar, you know everyone can use the rebase button now right?05:55
morganfainbergit's not just patch owner05:55
stevemaroh realllly05:56
morganfainbergyep05:56
stevemardid that *just* land?05:56
morganfainbergyesterday05:56
morganfainbergish05:56
stevemarnice05:56
openstackgerritSteve Martinelli proposed openstack/keystone: Add WebSSO support for federation  https://review.openstack.org/13617705:57
openstackgerritLin Hua Cheng proposed openstack/python-keystoneclient: Add default body for non-abstract empty methods  https://review.openstack.org/15596205:57
openstackgerritSteve Martinelli proposed openstack/keystone: Fix IDs names for federation router  https://review.openstack.org/15432106:00
openstackgerritSteve Martinelli proposed openstack/keystone: Provide additional detail if OAuth headers are missing  https://review.openstack.org/14219106:02
openstackgerritSteve Martinelli proposed openstack/keystone: Check consumer and project id before creating request token  https://review.openstack.org/14570106:03
openstackgerritOpenStack Proposal Bot proposed openstack/keystone: Imported Translations from Transifex  https://review.openstack.org/15596606:04
openstackgerritSteve Martinelli proposed openstack/keystone: Check consumer and project id before creating request token  https://review.openstack.org/14570106:04
openstackgerritSteve Martinelli proposed openstack/keystone: Add a domain to federated users  https://review.openstack.org/11085806:11
*** jacer_huawei has joined #openstack-keystone06:32
*** markvoelker has quit IRC07:11
*** zz_avozza is now known as avozza07:15
*** raildo_ has joined #openstack-keystone07:22
openstackgerritDave Chen proposed openstack/keystone: Fix the wrong check logic on signature  https://review.openstack.org/14377207:22
*** raildo has quit IRC07:28
*** afazekas has quit IRC07:28
*** rwsu has quit IRC07:28
*** toddnni has quit IRC07:28
*** rwsu has joined #openstack-keystone07:31
*** afazekas has joined #openstack-keystone07:35
*** toddnni has joined #openstack-keystone07:35
*** markvoelker has joined #openstack-keystone07:42
*** markvoelker has quit IRC07:46
openstackgerritDave Chen proposed openstack/keystone: Fix the wrong check logic on signature  https://review.openstack.org/14377207:56
*** stevemar has quit IRC08:03
*** henrynash has joined #openstack-keystone08:32
*** ChanServ sets mode: +v henrynash08:32
*** henrynash has quit IRC08:37
*** henrynash has joined #openstack-keystone08:40
*** ChanServ sets mode: +v henrynash08:40
*** markvoelker has joined #openstack-keystone08:42
*** rwsu has quit IRC08:46
*** henrynash has quit IRC08:46
*** markvoelker has quit IRC08:48
openstackgerritLin Hua Cheng proposed openstack/keystone: Made project_id required for ec2 credential  https://review.openstack.org/15597409:19
*** pnavarro|afk has joined #openstack-keystone09:22
*** henrynash has joined #openstack-keystone09:23
*** ChanServ sets mode: +v henrynash09:23
*** pnavarro|afk has quit IRC09:28
*** markvoelker has joined #openstack-keystone09:44
*** henrynash has quit IRC09:48
*** markvoelker has quit IRC09:50
*** ccard has joined #openstack-keystone10:03
*** MasterPiece has joined #openstack-keystone10:05
*** pnavarro|afk has joined #openstack-keystone10:44
*** markvoelker has joined #openstack-keystone10:45
*** markvoelker has quit IRC10:50
*** pnavarro|afk has quit IRC11:02
*** erkules_ is now known as erkules11:16
*** arif-ali has quit IRC11:24
*** markvoelker has joined #openstack-keystone11:46
*** markvoelker has quit IRC11:51
*** markvoelker has joined #openstack-keystone12:48
*** markvoelker has quit IRC12:53
*** avozza is now known as zz_avozza13:12
*** mzbik has joined #openstack-keystone13:14
*** MasterPiece has quit IRC13:15
*** samueldmq has joined #openstack-keystone13:21
*** mzbik has quit IRC13:22
*** dimsum__ has joined #openstack-keystone13:27
*** dims_ has joined #openstack-keystone13:28
*** dimsum__ has quit IRC13:32
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystone: Check for invalid filtering on v3/role_assignments  https://review.openstack.org/14470313:37
*** rdo has quit IRC13:38
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystone: Improve List Role Assignment Tests  https://review.openstack.org/13702113:38
*** dims_ has quit IRC13:40
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystone: Improve List Role Assignments Filters Performance  https://review.openstack.org/13720213:41
*** samueldmq has quit IRC13:48
*** markvoelker has joined #openstack-keystone13:49
*** markvoelker has quit IRC13:53
*** kayyagari has joined #openstack-keystone13:59
*** dank_ has quit IRC14:10
*** samueldmq has joined #openstack-keystone14:16
*** dan_ has joined #openstack-keystone14:24
*** dan_ is now known as Guest7694514:24
*** samueldmq has quit IRC14:24
*** dimsum__ has joined #openstack-keystone14:35
*** markvoelker has joined #openstack-keystone14:50
openstackgerritBrant Knudson proposed openstack/keystone: Document mapping of policy action to operation  https://review.openstack.org/15591914:51
openstackgerritDavanum Srinivas (dims) proposed openstack/oslo.policy: Reduce LOG for policy.d/ directory to debug  https://review.openstack.org/15597914:53
*** markvoelker has quit IRC14:54
openstackgerritDavanum Srinivas (dims) proposed openstack/oslo.policy: Reduce LOG for policy.d/ directory to debug  https://review.openstack.org/15597914:56
*** mzbik has joined #openstack-keystone15:03
*** zz_avozza is now known as avozza15:14
*** dimsum__ has quit IRC15:14
*** markvoelker has joined #openstack-keystone15:51
*** mzbik has quit IRC15:55
*** markvoelker has quit IRC15:56
openstackgerritBrant Knudson proposed openstack/keystone: Document mapping of policy action to operation  https://review.openstack.org/15591916:05
openstackgerritBrant Knudson proposed openstack/keystone: Add get_endpoint_group_in_project to sample policy files  https://review.openstack.org/15598216:05
openstackgerritBrant Knudson proposed openstack/keystone: Remove list_endpoint_groups_for_project from sample policies  https://review.openstack.org/15598316:05
*** dimsum__ has joined #openstack-keystone16:15
*** dimsum__ has quit IRC16:20
openstackgerritBrant Knudson proposed openstack/keystone: Document mapping of policy action to operation  https://review.openstack.org/15591916:28
*** marg7175 has joined #openstack-keystone16:36
*** markvoelker has joined #openstack-keystone16:52
*** topol has joined #openstack-keystone16:53
*** ChanServ sets mode: +v topol16:53
*** Guest76945 is now known as dan16:54
*** markvoelker has quit IRC16:56
*** pnavarro|afk has joined #openstack-keystone17:19
*** marg7175 has quit IRC17:19
*** avozza is now known as zz_avozza17:47
*** markvoelker has joined #openstack-keystone17:53
*** markvoelker has quit IRC17:58
*** kayyagari has quit IRC17:59
openstackgerrithenry-nash proposed openstack/keystone: Add support for data-driven backend assignment testing  https://review.openstack.org/14917818:37
openstackgerrithenry-nash proposed openstack/keystone: Add support for effective & inherited mode in data driven tests  https://review.openstack.org/15162318:40
*** markvoelker has joined #openstack-keystone18:54
*** markvoelker has quit IRC19:01
*** pnavarro|afk has quit IRC19:29
*** samueldmq has joined #openstack-keystone19:33
*** MasterPiece has joined #openstack-keystone19:50
*** markvoelker has joined #openstack-keystone19:57
*** markvoelker has quit IRC20:04
*** dimsum__ has joined #openstack-keystone20:11
*** dimsum__ has quit IRC20:16
*** MasterPiece has quit IRC20:21
*** markvoelker has joined #openstack-keystone21:01
*** markvoelker has quit IRC21:06
openstackgerrithenry-nash proposed openstack/keystone: Add support for group membership to data driven assignment tests  https://review.openstack.org/15196221:12
openstackgerrithenry-nash proposed openstack/keystone: Broaden domain-group testing of list_role_assignments  https://review.openstack.org/15430221:12
openstackgerrithenry-nash proposed openstack/keystone: Test list_role_assignment in standard inheritance tests  https://review.openstack.org/15389721:13
openstackgerrithenry-nash proposed openstack/keystone: Support project hierarchies in data driver tests  https://review.openstack.org/15448521:14
*** pnavarro|afk has joined #openstack-keystone21:20
*** samueldmq has quit IRC21:52
openstackgerrithenry-nash proposed openstack/keystone: Remove manager-driver assignment metadata construct  https://review.openstack.org/14899521:53
*** markvoelker has joined #openstack-keystone22:02
*** topol has quit IRC22:06
*** pnavarro|afk has quit IRC22:06
*** markvoelker has quit IRC22:06
*** dimsum__ has joined #openstack-keystone22:36
*** markvoelker has joined #openstack-keystone23:03
*** markvoelker has quit IRC23:08
*** dimsum__ has quit IRC23:17
*** thedodd has joined #openstack-keystone23:17
*** gsilvis has quit IRC23:38
*** gsilvis has joined #openstack-keystone23:40

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