* clayg cries | 00:01 | |
clayg | i 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 IRC | 00:03 | |
*** marg7175 has quit IRC | 00:06 | |
openstackgerrit | Brant Knudson proposed openstack/keystone: Comments for sample policy.json https://review.openstack.org/155919 | 00:08 |
*** jimbaker has quit IRC | 00:12 | |
*** dimsum__ has joined #openstack-keystone | 00:13 | |
*** dimsum__ has quit IRC | 00:13 | |
*** spandhe has quit IRC | 00:14 | |
*** thedodd has quit IRC | 00:14 | |
*** dimsum__ has joined #openstack-keystone | 00:14 | |
*** thedodd has joined #openstack-keystone | 00:14 | |
*** jimbaker has joined #openstack-keystone | 00:15 | |
*** dimsum__ has quit IRC | 00:18 | |
*** dimsum__ has joined #openstack-keystone | 00:18 | |
*** thedodd has quit IRC | 00:19 | |
*** avozza is now known as zz_avozza | 00:23 | |
*** jimbaker has quit IRC | 00:28 | |
*** gyee has joined #openstack-keystone | 00:28 | |
*** ChanServ sets mode: +v gyee | 00:28 | |
*** ayoung has quit IRC | 00:37 | |
*** ChanServ sets mode: -o morganfainberg | 00:37 | |
lhcheng | could anyone help me in figuring out how the router mapping works in V2? specifically for services | 00:39 |
lhcheng | So 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#L183 | 00:39 |
morganfainberg | lhcheng, right | 00:39 |
lhcheng | and the controller calls the corresponding backend driver | 00:39 |
morganfainberg | yes | 00:39 |
morganfainberg | and 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-L22 | 00:41 |
morganfainberg | then referenced in the admin/public pipelines | 00:41 |
morganfainberg | mapper.connect wires that up form the request URI -> controller | 00:41 |
lhcheng | ah cool, haven't got that up in the chain | 00:41 |
morganfainberg | much higher up than that you geting into WSGI layer stuff | 00:42 |
morganfainberg | which isn't as important for what you're looking at (my guess) | 00:42 |
lhcheng | heh my understanding is correct | 00:42 |
lhcheng | so my issue is.. | 00:42 |
lhcheng | currently I am working on a issue with templated catalog | 00:42 |
lhcheng | if the user issue a GET on /services, it gets an endpoint not found | 00:43 |
lhcheng | I'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 |
morganfainberg | so mapping is effecitvely a REGEX | 00:44 |
morganfainberg | [simplisticly at least] | 00:44 |
lhcheng | So I implemented the crud methods for services in templated.Catalog class: https://github.com/openstack/keystone/blob/master/keystone/catalog/backends/templated.py#L59 | 00:44 |
morganfainberg | if the URI matches the mapper entry, it will get passed the request via the __call__ | 00:44 |
lhcheng | it still gives me that the /services endpoint is not available | 00:45 |
lhcheng | not sure what else am I missing, why the mapper could not expose /service | 00:46 |
morganfainberg | well | 00:46 |
morganfainberg | and the controller will make the calls to the backend? | 00:46 |
morganfainberg | you've got that wired up | 00:46 |
lhcheng | at startup, does it try to check if the corresponding crud method in the backend driver actually exist | 00:47 |
morganfainberg | shouldnt | 00:47 |
morganfainberg | it should throw an error at runtime afaik when it's called if something is midding | 00:47 |
morganfainberg | so it should be going through https://github.com/openstack/keystone/blob/master/keystone/contrib/admin_crud/core.py#L183-L187 | 00:47 |
lhcheng | yeah, it is already wired up by default: https://github.com/openstack/keystone/blob/master/keystone/catalog/controllers.py#L38 | 00:47 |
morganfainberg | right? | 00:47 |
morganfainberg | or is this in the catalog routers? | 00:48 |
morganfainberg | v2 is a good bit different than v3 | 00:48 |
lhcheng | I think catalog routers is just for v3 | 00:48 |
lhcheng | yeah, I am looking at v2 at the moment | 00:48 |
morganfainberg | so for v2, you're calling OS-KSADM/services or just /services? | 00:49 |
morganfainberg | the url looks to be mapped for /OS-KSADM/services | 00:49 |
lhcheng | I know the mapping works correctly, if I switch to sql catalog backend, it works fune | 00:49 |
lhcheng | *fine | 00:49 |
lhcheng | yeah, I have the url correct | 00:49 |
lhcheng | using KSC for testing | 00:50 |
morganfainberg | i recommend using curl in this case | 00:50 |
morganfainberg | see if you're gettign back what you'd expect | 00:50 |
morganfainberg | look at the difference in json | 00:50 |
morganfainberg | might help you figure out what is different | 00:50 |
morganfainberg | my guess is something is structured differently | 00:50 |
morganfainberg | and it is probably confusing keystoneclient | 00:51 |
lhcheng | hmm interesting, trying that out... | 00:52 |
*** markvoelker has joined #openstack-keystone | 00:52 | |
*** marg7175 has joined #openstack-keystone | 00:56 | |
lhcheng | code error, curl is my new best friend :) | 00:56 |
lhcheng | morganfainberg: thanks for the help! | 00:57 |
morganfainberg | yep, happy to help! | 00:57 |
*** markvoelker has quit IRC | 00:57 | |
*** Ephur has quit IRC | 01:06 | |
*** lnxnut has joined #openstack-keystone | 01:10 | |
*** markvoelker has joined #openstack-keystone | 01:10 | |
*** diegows has quit IRC | 01:12 | |
*** abhirc has joined #openstack-keystone | 01:15 | |
*** markvoelker has quit IRC | 01:17 | |
*** hichtakk has joined #openstack-keystone | 01:19 | |
*** lhcheng has quit IRC | 01:26 | |
openstackgerrit | Merged openstack/keystone: Move existing tests to unit https://review.openstack.org/155531 | 01:30 |
*** david-lyle has joined #openstack-keystone | 01:32 | |
*** david-lyle is now known as david-lyle_afk | 01:33 | |
*** gyee has quit IRC | 01:38 | |
*** lhcheng has joined #openstack-keystone | 01:43 | |
*** diegows has joined #openstack-keystone | 01:46 | |
*** diegows has quit IRC | 01:46 | |
*** hichtakk has quit IRC | 01:49 | |
*** _cjones_ has quit IRC | 01:57 | |
*** samueldmq has joined #openstack-keystone | 01:59 | |
*** lnxnut has quit IRC | 02:08 | |
*** samueldmq has quit IRC | 02:12 | |
*** zzzeek has quit IRC | 02:13 | |
*** markvoelker has joined #openstack-keystone | 02:14 | |
*** hichtakk has joined #openstack-keystone | 02:17 | |
*** markvoelker has quit IRC | 02:22 | |
*** marg7175 has quit IRC | 02:22 | |
*** lhcheng has quit IRC | 02:24 | |
*** lnxnut has joined #openstack-keystone | 02:30 | |
*** jacer_huawei has quit IRC | 02:31 | |
*** erkules_ has joined #openstack-keystone | 02:33 | |
*** lnxnut has quit IRC | 02:34 | |
*** erkules has quit IRC | 02:35 | |
*** lnxnut has joined #openstack-keystone | 02:38 | |
openstackgerrit | Lin Hua Cheng proposed openstack/keystone: On creation default service name to empty string https://review.openstack.org/146962 | 02:39 |
*** zzzeek has joined #openstack-keystone | 02:44 | |
*** dimsum__ has quit IRC | 02:48 | |
*** zzzeek has quit IRC | 02:49 | |
*** tqtran_afk has quit IRC | 02:54 | |
*** richm has quit IRC | 02:58 | |
openstackgerrit | Lin Hua Cheng proposed openstack/keystone: Implement validation on the Identity V3 API https://review.openstack.org/132122 | 03:14 |
*** stevemar has joined #openstack-keystone | 03:18 | |
*** ChanServ sets mode: +v stevemar | 03:18 | |
*** markvoelker has joined #openstack-keystone | 03:18 | |
*** markvoelker has quit IRC | 03:23 | |
stevemar | bknudson, you literally just forced everyone to rebase | 03:28 |
stevemar | it's amazing | 03:28 |
*** markvoelker has joined #openstack-keystone | 03:36 | |
openstackgerrit | Dave Chen proposed openstack/keystone: Remove duplicate token revocation check https://review.openstack.org/150022 | 03:42 |
*** dimsum__ has joined #openstack-keystone | 03:48 | |
*** harlowja_ is now known as harlowja_away | 03:51 | |
*** dimsum__ has quit IRC | 03:53 | |
openstackgerrit | Dave Chen proposed openstack/keystone: Fix the wrong check logic on signature https://review.openstack.org/143772 | 03:57 |
*** lnxnut has quit IRC | 04:03 | |
*** lnxnut has joined #openstack-keystone | 04:21 | |
*** zzzeek has joined #openstack-keystone | 04:21 | |
*** zzzeek has quit IRC | 04:22 | |
*** lnxnut has quit IRC | 04:37 | |
openstackgerrit | Steve Martinelli proposed openstack/keystone: Enable endpoint_policy, endpoint_filter and oauth by default https://review.openstack.org/153842 | 04:39 |
*** hichtakk has quit IRC | 04:45 | |
openstackgerrit | Steve Martinelli proposed openstack/keystone: Use oslo.log instead of incubator https://review.openstack.org/152699 | 05:32 |
openstackgerrit | Steve Martinelli proposed openstack/keystone: Use oslo.log instead of incubator https://review.openstack.org/152699 | 05:34 |
openstackgerrit | Steve Martinelli proposed openstack/keystone: Use oslo.log instead of incubator https://review.openstack.org/152699 | 05:34 |
openstackgerrit | Steve Martinelli proposed openstack/keystone: Remove incubator version of log and local https://review.openstack.org/154783 | 05:35 |
*** abhirc has quit IRC | 05:37 | |
openstackgerrit | Lin Hua Cheng proposed openstack/python-keystoneclient: Add default body for non-abstract empty methods https://review.openstack.org/155962 | 05:53 |
morganfainberg | stevemar, you know everyone can use the rebase button now right? | 05:55 |
morganfainberg | it's not just patch owner | 05:55 |
stevemar | oh realllly | 05:56 |
morganfainberg | yep | 05:56 |
stevemar | did that *just* land? | 05:56 |
morganfainberg | yesterday | 05:56 |
morganfainberg | ish | 05:56 |
stevemar | nice | 05:56 |
openstackgerrit | Steve Martinelli proposed openstack/keystone: Add WebSSO support for federation https://review.openstack.org/136177 | 05:57 |
openstackgerrit | Lin Hua Cheng proposed openstack/python-keystoneclient: Add default body for non-abstract empty methods https://review.openstack.org/155962 | 05:57 |
openstackgerrit | Steve Martinelli proposed openstack/keystone: Fix IDs names for federation router https://review.openstack.org/154321 | 06:00 |
openstackgerrit | Steve Martinelli proposed openstack/keystone: Provide additional detail if OAuth headers are missing https://review.openstack.org/142191 | 06:02 |
openstackgerrit | Steve Martinelli proposed openstack/keystone: Check consumer and project id before creating request token https://review.openstack.org/145701 | 06:03 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/keystone: Imported Translations from Transifex https://review.openstack.org/155966 | 06:04 |
openstackgerrit | Steve Martinelli proposed openstack/keystone: Check consumer and project id before creating request token https://review.openstack.org/145701 | 06:04 |
openstackgerrit | Steve Martinelli proposed openstack/keystone: Add a domain to federated users https://review.openstack.org/110858 | 06:11 |
*** jacer_huawei has joined #openstack-keystone | 06:32 | |
*** markvoelker has quit IRC | 07:11 | |
*** zz_avozza is now known as avozza | 07:15 | |
*** raildo_ has joined #openstack-keystone | 07:22 | |
openstackgerrit | Dave Chen proposed openstack/keystone: Fix the wrong check logic on signature https://review.openstack.org/143772 | 07:22 |
*** raildo has quit IRC | 07:28 | |
*** afazekas has quit IRC | 07:28 | |
*** rwsu has quit IRC | 07:28 | |
*** toddnni has quit IRC | 07:28 | |
*** rwsu has joined #openstack-keystone | 07:31 | |
*** afazekas has joined #openstack-keystone | 07:35 | |
*** toddnni has joined #openstack-keystone | 07:35 | |
*** markvoelker has joined #openstack-keystone | 07:42 | |
*** markvoelker has quit IRC | 07:46 | |
openstackgerrit | Dave Chen proposed openstack/keystone: Fix the wrong check logic on signature https://review.openstack.org/143772 | 07:56 |
*** stevemar has quit IRC | 08:03 | |
*** henrynash has joined #openstack-keystone | 08:32 | |
*** ChanServ sets mode: +v henrynash | 08:32 | |
*** henrynash has quit IRC | 08:37 | |
*** henrynash has joined #openstack-keystone | 08:40 | |
*** ChanServ sets mode: +v henrynash | 08:40 | |
*** markvoelker has joined #openstack-keystone | 08:42 | |
*** rwsu has quit IRC | 08:46 | |
*** henrynash has quit IRC | 08:46 | |
*** markvoelker has quit IRC | 08:48 | |
openstackgerrit | Lin Hua Cheng proposed openstack/keystone: Made project_id required for ec2 credential https://review.openstack.org/155974 | 09:19 |
*** pnavarro|afk has joined #openstack-keystone | 09:22 | |
*** henrynash has joined #openstack-keystone | 09:23 | |
*** ChanServ sets mode: +v henrynash | 09:23 | |
*** pnavarro|afk has quit IRC | 09:28 | |
*** markvoelker has joined #openstack-keystone | 09:44 | |
*** henrynash has quit IRC | 09:48 | |
*** markvoelker has quit IRC | 09:50 | |
*** ccard has joined #openstack-keystone | 10:03 | |
*** MasterPiece has joined #openstack-keystone | 10:05 | |
*** pnavarro|afk has joined #openstack-keystone | 10:44 | |
*** markvoelker has joined #openstack-keystone | 10:45 | |
*** markvoelker has quit IRC | 10:50 | |
*** pnavarro|afk has quit IRC | 11:02 | |
*** erkules_ is now known as erkules | 11:16 | |
*** arif-ali has quit IRC | 11:24 | |
*** markvoelker has joined #openstack-keystone | 11:46 | |
*** markvoelker has quit IRC | 11:51 | |
*** markvoelker has joined #openstack-keystone | 12:48 | |
*** markvoelker has quit IRC | 12:53 | |
*** avozza is now known as zz_avozza | 13:12 | |
*** mzbik has joined #openstack-keystone | 13:14 | |
*** MasterPiece has quit IRC | 13:15 | |
*** samueldmq has joined #openstack-keystone | 13:21 | |
*** mzbik has quit IRC | 13:22 | |
*** dimsum__ has joined #openstack-keystone | 13:27 | |
*** dims_ has joined #openstack-keystone | 13:28 | |
*** dimsum__ has quit IRC | 13:32 | |
openstackgerrit | Samuel de Medeiros Queiroz proposed openstack/keystone: Check for invalid filtering on v3/role_assignments https://review.openstack.org/144703 | 13:37 |
*** rdo has quit IRC | 13:38 | |
openstackgerrit | Samuel de Medeiros Queiroz proposed openstack/keystone: Improve List Role Assignment Tests https://review.openstack.org/137021 | 13:38 |
*** dims_ has quit IRC | 13:40 | |
openstackgerrit | Samuel de Medeiros Queiroz proposed openstack/keystone: Improve List Role Assignments Filters Performance https://review.openstack.org/137202 | 13:41 |
*** samueldmq has quit IRC | 13:48 | |
*** markvoelker has joined #openstack-keystone | 13:49 | |
*** markvoelker has quit IRC | 13:53 | |
*** kayyagari has joined #openstack-keystone | 13:59 | |
*** dank_ has quit IRC | 14:10 | |
*** samueldmq has joined #openstack-keystone | 14:16 | |
*** dan_ has joined #openstack-keystone | 14:24 | |
*** dan_ is now known as Guest76945 | 14:24 | |
*** samueldmq has quit IRC | 14:24 | |
*** dimsum__ has joined #openstack-keystone | 14:35 | |
*** markvoelker has joined #openstack-keystone | 14:50 | |
openstackgerrit | Brant Knudson proposed openstack/keystone: Document mapping of policy action to operation https://review.openstack.org/155919 | 14:51 |
openstackgerrit | Davanum Srinivas (dims) proposed openstack/oslo.policy: Reduce LOG for policy.d/ directory to debug https://review.openstack.org/155979 | 14:53 |
*** markvoelker has quit IRC | 14:54 | |
openstackgerrit | Davanum Srinivas (dims) proposed openstack/oslo.policy: Reduce LOG for policy.d/ directory to debug https://review.openstack.org/155979 | 14:56 |
*** mzbik has joined #openstack-keystone | 15:03 | |
*** zz_avozza is now known as avozza | 15:14 | |
*** dimsum__ has quit IRC | 15:14 | |
*** markvoelker has joined #openstack-keystone | 15:51 | |
*** mzbik has quit IRC | 15:55 | |
*** markvoelker has quit IRC | 15:56 | |
openstackgerrit | Brant Knudson proposed openstack/keystone: Document mapping of policy action to operation https://review.openstack.org/155919 | 16:05 |
openstackgerrit | Brant Knudson proposed openstack/keystone: Add get_endpoint_group_in_project to sample policy files https://review.openstack.org/155982 | 16:05 |
openstackgerrit | Brant Knudson proposed openstack/keystone: Remove list_endpoint_groups_for_project from sample policies https://review.openstack.org/155983 | 16:05 |
*** dimsum__ has joined #openstack-keystone | 16:15 | |
*** dimsum__ has quit IRC | 16:20 | |
openstackgerrit | Brant Knudson proposed openstack/keystone: Document mapping of policy action to operation https://review.openstack.org/155919 | 16:28 |
*** marg7175 has joined #openstack-keystone | 16:36 | |
*** markvoelker has joined #openstack-keystone | 16:52 | |
*** topol has joined #openstack-keystone | 16:53 | |
*** ChanServ sets mode: +v topol | 16:53 | |
*** Guest76945 is now known as dan | 16:54 | |
*** markvoelker has quit IRC | 16:56 | |
*** pnavarro|afk has joined #openstack-keystone | 17:19 | |
*** marg7175 has quit IRC | 17:19 | |
*** avozza is now known as zz_avozza | 17:47 | |
*** markvoelker has joined #openstack-keystone | 17:53 | |
*** markvoelker has quit IRC | 17:58 | |
*** kayyagari has quit IRC | 17:59 | |
openstackgerrit | henry-nash proposed openstack/keystone: Add support for data-driven backend assignment testing https://review.openstack.org/149178 | 18:37 |
openstackgerrit | henry-nash proposed openstack/keystone: Add support for effective & inherited mode in data driven tests https://review.openstack.org/151623 | 18:40 |
*** markvoelker has joined #openstack-keystone | 18:54 | |
*** markvoelker has quit IRC | 19:01 | |
*** pnavarro|afk has quit IRC | 19:29 | |
*** samueldmq has joined #openstack-keystone | 19:33 | |
*** MasterPiece has joined #openstack-keystone | 19:50 | |
*** markvoelker has joined #openstack-keystone | 19:57 | |
*** markvoelker has quit IRC | 20:04 | |
*** dimsum__ has joined #openstack-keystone | 20:11 | |
*** dimsum__ has quit IRC | 20:16 | |
*** MasterPiece has quit IRC | 20:21 | |
*** markvoelker has joined #openstack-keystone | 21:01 | |
*** markvoelker has quit IRC | 21:06 | |
openstackgerrit | henry-nash proposed openstack/keystone: Add support for group membership to data driven assignment tests https://review.openstack.org/151962 | 21:12 |
openstackgerrit | henry-nash proposed openstack/keystone: Broaden domain-group testing of list_role_assignments https://review.openstack.org/154302 | 21:12 |
openstackgerrit | henry-nash proposed openstack/keystone: Test list_role_assignment in standard inheritance tests https://review.openstack.org/153897 | 21:13 |
openstackgerrit | henry-nash proposed openstack/keystone: Support project hierarchies in data driver tests https://review.openstack.org/154485 | 21:14 |
*** pnavarro|afk has joined #openstack-keystone | 21:20 | |
*** samueldmq has quit IRC | 21:52 | |
openstackgerrit | henry-nash proposed openstack/keystone: Remove manager-driver assignment metadata construct https://review.openstack.org/148995 | 21:53 |
*** markvoelker has joined #openstack-keystone | 22:02 | |
*** topol has quit IRC | 22:06 | |
*** pnavarro|afk has quit IRC | 22:06 | |
*** markvoelker has quit IRC | 22:06 | |
*** dimsum__ has joined #openstack-keystone | 22:36 | |
*** markvoelker has joined #openstack-keystone | 23:03 | |
*** markvoelker has quit IRC | 23:08 | |
*** dimsum__ has quit IRC | 23:17 | |
*** thedodd has joined #openstack-keystone | 23:17 | |
*** gsilvis has quit IRC | 23:38 | |
*** gsilvis has joined #openstack-keystone | 23:40 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!