*** key1 has quit IRC | 00:01 | |
*** daneyon_ has joined #openstack-keystone | 00:06 | |
*** daneyon has quit IRC | 00:08 | |
*** bach has joined #openstack-keystone | 00:19 | |
*** shakamunyi has joined #openstack-keystone | 00:23 | |
*** zhiyan_ is now known as zhiyan | 00:26 | |
*** packet has joined #openstack-keystone | 00:35 | |
*** shakamunyi has quit IRC | 00:48 | |
openstackgerrit | Jamie Lennox proposed a change to openstack/keystone: Validation Input Objects https://review.openstack.org/92031 | 00:50 |
---|---|---|
*** bach has quit IRC | 00:51 | |
*** jamielennox|away is now known as jamielennox | 00:51 | |
jamielennox | lbragstad: have a look at ^, i'd prefer to make the input values actual objects so we can add custom validations on the object | 00:52 |
*** shakamunyi has joined #openstack-keystone | 01:13 | |
*** diegows has quit IRC | 01:22 | |
*** dstanek_zzz is now known as dstanek | 01:26 | |
*** bach has joined #openstack-keystone | 01:44 | |
*** mberlin1 has joined #openstack-keystone | 02:15 | |
*** mberlin has quit IRC | 02:16 | |
*** packet has quit IRC | 02:49 | |
*** shakamunyi has quit IRC | 02:57 | |
*** praneshp has quit IRC | 03:11 | |
*** dims has joined #openstack-keystone | 03:21 | |
*** dims has quit IRC | 03:33 | |
*** praneshp has joined #openstack-keystone | 03:57 | |
*** daneyon_ has quit IRC | 04:37 | |
*** daneyon has joined #openstack-keystone | 04:37 | |
*** daneyon has quit IRC | 04:39 | |
*** daneyon has joined #openstack-keystone | 04:40 | |
*** ukalifon1 has quit IRC | 04:44 | |
*** dstanek is now known as dstanek_zzz | 04:51 | |
*** dstanek_zzz is now known as dstanek | 04:52 | |
*** stevemar has quit IRC | 04:55 | |
*** daneyon has quit IRC | 04:57 | |
*** chandan_kumar has joined #openstack-keystone | 05:26 | |
*** dstanek is now known as dstanek_zzz | 05:27 | |
*** ukalifon1 has joined #openstack-keystone | 05:38 | |
*** praneshp has quit IRC | 05:47 | |
openstackgerrit | OpenStack Proposal Bot proposed a change to openstack/keystone: Imported Translations from Transifex https://review.openstack.org/90288 | 06:01 |
*** dstanek_zzz is now known as dstanek | 06:19 | |
*** dstanek is now known as dstanek_zzz | 06:28 | |
*** bach has quit IRC | 07:11 | |
*** Manishanker has joined #openstack-keystone | 07:14 | |
*** bach has joined #openstack-keystone | 07:17 | |
*** dstanek_zzz is now known as dstanek | 07:19 | |
*** RockKuo_Office has joined #openstack-keystone | 07:26 | |
*** dstanek is now known as dstanek_zzz | 07:29 | |
*** leseb has joined #openstack-keystone | 07:39 | |
*** bach has quit IRC | 07:43 | |
openstackgerrit | Marcos FermĂn Lobo proposed a change to openstack/keystone: Unimplemented get roles by group for project list https://review.openstack.org/76470 | 07:47 |
*** openstackgerrit has quit IRC | 07:53 | |
*** dstanek_zzz is now known as dstanek | 07:54 | |
*** dstanek is now known as dstanek_zzz | 08:04 | |
*** dstanek_zzz is now known as dstanek | 08:14 | |
*** dstanek is now known as dstanek_zzz | 08:24 | |
*** jamielennox is now known as jamielennox|away | 08:28 | |
*** andreaf has joined #openstack-keystone | 08:36 | |
*** andriyk0 has joined #openstack-keystone | 09:00 | |
andriyk0 | Hello. I am working on extension to keystone-client. Can't find out how to run tests correctly. http://docs.openstack.org/developer/python-keystoneclient/ "Run tests with python setup.py test.". - is it the way how you run tests? | 09:03 |
*** dstanek_zzz is now known as dstanek | 09:15 | |
*** dstanek is now known as dstanek_zzz | 09:25 | |
marekd | andriyk0: hey, try using tox | 09:30 |
marekd | for instance tox -epy27 will runn only tests for Python2.7 | 09:30 |
marekd | tox -epep8 is usefull for checking if you are not violating pep8. | 09:30 |
andriyk0 | I use tox and nose now, but wanted to be sure that it does not go against some keystone development procedure | 09:31 |
marekd | no | 09:31 |
andriyk0 | marekd: thank you | 09:31 |
marekd | andriyk0: you are welcome :-) | 09:31 |
*** andriyk0 has left #openstack-keystone | 09:31 | |
*** andriyk0 has joined #openstack-keystone | 09:32 | |
*** rodrigods has joined #openstack-keystone | 09:34 | |
*** ukalifon1 has quit IRC | 09:36 | |
*** dstanek_zzz is now known as dstanek | 10:15 | |
mhu | bknudson: regarding your bp about external auth plugins, I'd like to suggest the following: https://blueprints.launchpad.net/keystone/+spec/external-auth-federation-mapping | 10:24 |
*** dstanek is now known as dstanek_zzz | 10:25 | |
*** jamielennox|away is now known as jamielennox | 10:34 | |
*** RockKuo_Office has quit IRC | 11:04 | |
*** bvandenh has joined #openstack-keystone | 11:09 | |
*** stevemar has joined #openstack-keystone | 11:15 | |
marekd | mhu: do you have bknudsons blueprints you were talking about? | 11:16 |
*** dstanek_zzz is now known as dstanek | 11:16 | |
mhu | marekd: https://blueprints.launchpad.net/keystone/+spec/external-auth-plugins | 11:17 |
marekd | thx | 11:18 |
*** bvandenh has quit IRC | 11:26 | |
*** dims has joined #openstack-keystone | 11:39 | |
*** dstanek is now known as dstanek_zzz | 11:48 | |
*** dstanek_zzz is now known as dstanek | 11:54 | |
*** rodrigods has quit IRC | 11:58 | |
*** diegows has joined #openstack-keystone | 12:03 | |
*** dstanek is now known as dstanek_zzz | 12:08 | |
*** dstanek_zzz is now known as dstanek | 12:09 | |
*** ukalifon1 has joined #openstack-keystone | 12:18 | |
*** toddnni has quit IRC | 12:19 | |
*** kun_huang has joined #openstack-keystone | 12:25 | |
*** bvandenh has joined #openstack-keystone | 12:35 | |
*** dstanek is now known as dstanek_zzz | 12:37 | |
*** dstanek_zzz is now known as dstanek | 12:43 | |
*** rodrigods has joined #openstack-keystone | 12:48 | |
*** ericvw has joined #openstack-keystone | 12:49 | |
*** erecio has joined #openstack-keystone | 12:51 | |
*** ukalifon1 has quit IRC | 12:58 | |
*** richm has joined #openstack-keystone | 13:05 | |
*** andriyk0 has quit IRC | 13:21 | |
*** andriyk0 has joined #openstack-keystone | 13:22 | |
*** tomoiaga has joined #openstack-keystone | 13:33 | |
tomoiaga | I am curious about a comment in keystoneclient: DEPRECATED: if session is passed then we go to the new behaviour…. | 13:35 |
tomoiaga | It seems a little ambigous. Is the session object still the new thing that every client will switch to ? | 13:35 |
*** openstackgerrit has joined #openstack-keystone | 13:36 | |
*** openstackgerrit has quit IRC | 13:51 | |
*** joesavak has joined #openstack-keystone | 13:55 | |
dstanek | tomoiaga: i read that as not passing in a session is deprecated | 14:01 |
tomoiaga | dstanek: looking at the rest of the code seems clear that session should be passed. I was just wondering since I probably missunderstood the comment. Thank you! | 14:02 |
*** Manishanker has quit IRC | 14:14 | |
*** tomoiaga has quit IRC | 14:15 | |
*** rwsu has joined #openstack-keystone | 14:18 | |
*** gokrokve has joined #openstack-keystone | 14:19 | |
*** bvandenh has quit IRC | 14:27 | |
*** packet has joined #openstack-keystone | 14:30 | |
marekd | jamielennox: o/ | 14:36 |
*** david-lyle has joined #openstack-keystone | 14:38 | |
lbragstad | jamielennox: awesome, thanks for https://review.openstack.org/#/c/92031/ I've added myself to the review and going to make sure to take a look a little later today | 14:38 |
*** vhoward has joined #openstack-keystone | 14:38 | |
*** daneyon has joined #openstack-keystone | 14:45 | |
*** daneyon has quit IRC | 14:45 | |
*** daneyon has joined #openstack-keystone | 14:46 | |
*** erecio has quit IRC | 14:53 | |
*** erecio has joined #openstack-keystone | 14:54 | |
*** thedodd has joined #openstack-keystone | 15:06 | |
*** stevemar has quit IRC | 15:12 | |
*** stevemar has joined #openstack-keystone | 15:12 | |
*** doddstack has joined #openstack-keystone | 15:16 | |
*** thedodd has quit IRC | 15:19 | |
*** zhiyan is now known as zhiyan_ | 15:25 | |
dstanek | dolphm: gerrit question when you are available | 15:29 |
*** andriyk0 has quit IRC | 15:35 | |
*** daneyon has quit IRC | 15:38 | |
*** daneyon has joined #openstack-keystone | 15:38 | |
*** vhoward has left #openstack-keystone | 15:41 | |
*** openstackgerrit has joined #openstack-keystone | 15:43 | |
*** topol has joined #openstack-keystone | 15:43 | |
*** gyee has joined #openstack-keystone | 15:43 | |
*** marcoemorais has joined #openstack-keystone | 16:06 | |
*** praneshp has joined #openstack-keystone | 16:15 | |
*** nkinder has joined #openstack-keystone | 16:15 | |
*** chandan_kumar has quit IRC | 16:19 | |
*** amerine has joined #openstack-keystone | 16:24 | |
*** leseb has quit IRC | 16:29 | |
*** leseb has joined #openstack-keystone | 16:29 | |
*** leseb has quit IRC | 16:33 | |
dolphm | dstanek: o/ | 16:34 |
dstanek | dolphm: the last 3 reviews failed to merge over the weekend because gerrit said they needed a rebase | 16:35 |
dstanek | i did that and there were no conflicts (so that was wierd), but also it left all of the +2s | 16:35 |
dstanek | i was going to just +A them, but i wanted to see if you'd seen that behavior before | 16:36 |
dstanek | dolphm: last 3 py3 reviews i should have said - https://review.openstack.org/#/c/84053/ | 16:37 |
openstackgerrit | Marek Denis proposed a change to openstack/python-keystoneclient: Implement SAML2 ECP authentication https://review.openstack.org/92166 | 16:45 |
*** dims has quit IRC | 16:54 | |
*** jsavak has joined #openstack-keystone | 16:58 | |
*** joesavak has quit IRC | 17:00 | |
*** dims has joined #openstack-keystone | 17:04 | |
*** morganfainberg_Z is now known as morganfainberg | 17:05 | |
morganfainberg | dstanek, i think it's safe to re-+A those | 17:06 |
morganfainberg | dstanek, obv. i'll defer to dolph | 17:06 |
*** vhoward has joined #openstack-keystone | 17:06 | |
*** gokrokve has quit IRC | 17:11 | |
*** harlowja_away is now known as harlowja | 17:16 | |
*** erecio has quit IRC | 17:19 | |
*** erecio has joined #openstack-keystone | 17:20 | |
*** openstackgerrit has quit IRC | 17:20 | |
*** tstevenson has joined #openstack-keystone | 17:22 | |
*** openstackgerrit has joined #openstack-keystone | 17:24 | |
*** sbfox has joined #openstack-keystone | 17:28 | |
*** jsavak has quit IRC | 17:28 | |
*** joesavak has joined #openstack-keystone | 17:33 | |
*** doddstack has quit IRC | 17:34 | |
*** derek_c has joined #openstack-keystone | 17:44 | |
*** gabriel-bezerra has quit IRC | 17:45 | |
*** amcrn has joined #openstack-keystone | 17:46 | |
*** gokrokve has joined #openstack-keystone | 17:48 | |
morganfainberg | dstanek, I +A'd those changes post rebase. | 17:49 |
*** gabriel-bezerra has joined #openstack-keystone | 17:51 | |
*** derek_c has quit IRC | 17:52 | |
*** marcoemorais has quit IRC | 18:00 | |
*** jsavak has joined #openstack-keystone | 18:01 | |
*** joesavak has quit IRC | 18:03 | |
*** marcoemorais has joined #openstack-keystone | 18:03 | |
*** jsavak has quit IRC | 18:06 | |
*** derek_c has joined #openstack-keystone | 18:07 | |
*** jayh has quit IRC | 18:10 | |
dstanek | morganfainberg: thanks. i've never seen it not remove +2s like that | 18:14 |
dstanek | usually it would at least say it's adding it back | 18:14 |
morganfainberg | dstanek, i have, it means it was a clean rebase | 18:14 |
*** bvandenh has joined #openstack-keystone | 18:15 | |
morganfainberg | dstanek, i think that is an artifact of the new gerrit | 18:15 |
*** doddstack has joined #openstack-keystone | 18:21 | |
*** bach has joined #openstack-keystone | 18:22 | |
*** packet has quit IRC | 18:27 | |
*** dims has quit IRC | 18:29 | |
dolphm | dstanek: terribly belated response: you're likely using a different merge strategy locally (less restrictive than what gerrit attempts on it's own), and it may have succeeded automatically on your end whereas it failed for gerrit | 18:41 |
dstanek | dolphm: oh, that's a good point | 18:42 |
*** kun_huang has quit IRC | 18:46 | |
morganfainberg | dolphm, could use your weigh in on https://review.openstack.org/#/c/91738/ and the parent. | 18:47 |
morganfainberg | dolphm, adding tempests (non-vote) for mod_wsgi | 18:47 |
*** leseb has joined #openstack-keystone | 18:50 | |
dolphm | morganfainberg: ooh | 18:51 |
morganfainberg | dolphm, they should wait for https://review.openstack.org/#/c/91735/ but that is well on its way | 18:51 |
dolphm | morganfainberg: who should wait? | 18:52 |
morganfainberg | dolphm the temptest tests | 18:52 |
morganfainberg | without the logging fixes the logs are going to be ... less wonderful due to duplicated timestamps | 18:52 |
morganfainberg | but it's not a hard dependency | 18:53 |
dolphm | morganfainberg: which of these apache jobs are expected to pass today? | 18:55 |
*** joesavak has joined #openstack-keystone | 18:57 | |
morganfainberg | dolphm, i'd hope both pass. | 18:58 |
morganfainberg | dolphm, this introduces a new tempest run for keystone and keystoneclient that deploys keystone under mod_wsgi | 18:58 |
morganfainberg | dolphm, my expectation that as long as ayoung's fix for cms to return a string on token issuance is merged, they would pass | 18:58 |
morganfainberg | dolphm, but go non-vote, make sure they work, then convert to voting as soon as they are confirmed to work | 18:59 |
*** jsavak has joined #openstack-keystone | 19:00 | |
dolphm | morganfainberg: well you're also adding 2 stable/ jobs - would those pass? | 19:02 |
morganfainberg | dolphm, it shouldn't be adding stable jobs | 19:02 |
*** leseb has quit IRC | 19:02 | |
morganfainberg | dolphm, branch: ^(!?stable/(havana|icehouse)).*$ | 19:02 |
*** joesavak has quit IRC | 19:03 | |
morganfainberg | dolphm, well the "tasks" in jenkins would exist, just not ever executed by zuul | 19:03 |
dolphm | morganfainberg: ah, so you want it to match stable/juno? | 19:03 |
morganfainberg | dolphm, yep, the idea would be stable/juno would match when we cut it | 19:04 |
dolphm | gotcha | 19:04 |
morganfainberg | dolphm, once we're gating on this, we should continue even into stable (i'd hope) | 19:04 |
dolphm | morganfainberg: +1 on both! | 19:04 |
morganfainberg | but retrofitting tests is not something i'm keen on doing unless we really need it. | 19:04 |
morganfainberg | cool | 19:04 |
morganfainberg | dolphm, ty! | 19:04 |
morganfainberg | dolphm, and on the topic of infra stuff that is probably going to require your eyes :P | 19:05 |
morganfainberg | https://review.openstack.org/#/c/91690/ | 19:05 |
morganfainberg | stable filter for rally/py33 | 19:05 |
*** bvandenh has quit IRC | 19:05 | |
*** topol has quit IRC | 19:11 | |
*** sbfox has quit IRC | 19:30 | |
*** rodrigods has quit IRC | 19:32 | |
*** andreaf_ has joined #openstack-keystone | 19:35 | |
*** andreaf_ has quit IRC | 19:35 | |
*** sbfox has joined #openstack-keystone | 19:35 | |
*** andreaf_ has joined #openstack-keystone | 19:35 | |
*** andreaf has quit IRC | 19:38 | |
*** andreaf_ has quit IRC | 19:38 | |
*** andreaf has joined #openstack-keystone | 19:38 | |
*** sbfox has quit IRC | 19:40 | |
dolphm | morganfainberg: bknudson: +1! thanks | 19:41 |
bknudson | looks oslo-incubator memorycache switched from ignoring failure to `import memcache` to now failing | 19:41 |
bknudson | http://git.openstack.org/cgit/openstack/oslo-incubator/commit/openstack/common/memorycache.py?id=297d772b780db18dd4debc23dddef089f4ba8b7a | 19:42 |
*** dims has joined #openstack-keystone | 19:42 | |
stevemar | anyone know why i'm seeing this? CRITICAL keystone [-] AttributeError: 'CacheRegion' object has no attribute 'is_configured | 19:44 |
stevemar | when I try to run keystone-all? | 19:44 |
stevemar | i feel it's a silly reason | 19:44 |
bknudson | we have a bunch of NoMemcacheAuthToken tests that now would expect to raise rather than continue on. | 19:44 |
bknudson | unless auth_token tried the import itself? | 19:45 |
ayoung | gyee, question for you; for Keystone signing certs would it make sense to have the subject be composed of organizationalUnitName = Service commonName = endpointid | 19:47 |
ayoung | We don't have a lot of guaranteed fields to work with | 19:48 |
dstanek | stevemar: i think you need to update your dogpile.cache | 19:50 |
ayoung | dstanek, tox -r ? | 19:50 |
dstanek | ayoung: yeah, that should do it | 19:51 |
ayoung | Or is there a less invasive way? I guess active /pip install? | 19:51 |
ayoung | activate | 19:51 |
*** vhoward has left #openstack-keystone | 19:51 | |
dstanek | you could 'pip install -U dogpile.cache' and add the version spec | 19:51 |
*** leseb has joined #openstack-keystone | 19:52 | |
stevemar | dstanek, yeah, i was just narrowing down to 'upgrading the libraries' | 19:55 |
ayoung | dstanek, is there a pip update --all switch? | 19:55 |
stevemar | dstanek, i usually check db_sync / db_version, then i make sure /etc/keystone.conf isn't out of date, then libraries | 19:55 |
bknudson | stevemar: if there's code that doesn't work with the version of dogpile.cache that requirements lists then requirements should be updated | 19:56 |
* ayoung looks at what run_tests did | 19:56 | |
stevemar | bknudson, nah, just needed to update dogpile.cache | 19:56 |
ayoung | python tools/install_venv.py | 19:56 |
dstanek | ayoung: maybe 'pip -U -r requirments.txt' in an activated shell | 19:56 |
ayoung | dstanek, and test-requirements | 19:57 |
dstanek | ayoung: right | 19:57 |
stevemar | i tend to go for a while without updating the environments, and run into these sort of errors | 19:57 |
ayoung | http://git.openstack.org/cgit/openstack/keystone/tree/tools/install_venv.py#n53 | 19:57 |
gyee | ayoung, yes, that should work, between ou and cn, cert has all we need to identity a keystone instance | 19:58 |
ayoung | gyee, but is it going to step on toes? | 19:58 |
ayoung | I mean, is it OK to hijack ou? | 19:58 |
gyee | ayoung, I can't think of any | 19:58 |
ayoung | gyee, also, I would love to make this work for Hypervisors talking to Oslo Messaging | 19:59 |
ayoung | and the other elements of the undercloud | 19:59 |
ayoung | http://adam.younglogic.com/2014/05/mapping-x509-to-endpoints-in-openstack/ gyee as well as http://adam.younglogic.com/2014/04/pki-for-oslo-messaging/ | 20:00 |
dstanek | bknudson: the issue for requirements is usually that you built the venv and then the requirements file changes | 20:00 |
*** joesavak has joined #openstack-keystone | 20:00 | |
gyee | ayoung, only drawback I can think of with cn=endpoint ID is in a HA situation where an endpoint is really a HA proxy | 20:00 |
dstanek | we really don't have a good way to signal that the venv should be rebuilt | 20:00 |
bknudson | ok, but stevemar said it was for keystone-all | 20:00 |
gyee | ayoung, we have the same challenge with SSL setup as well | 20:00 |
dstanek | i have a habit of using 'tox -r' when the requirements change, but that only when i notice during a fetch | 20:01 |
ayoung | gyee, well, it is only an issue for signing. But yeah, in that case, we would want to be able to distinguish "which keystone" signed it. | 20:01 |
bknudson | I don't run keystone-all in a venv... just run devstack | 20:01 |
*** jsavak has quit IRC | 20:01 | |
ayoung | gyee, SSL can use the existing format where the FQDN is the Subject, no? | 20:01 |
*** jsavak has joined #openstack-keystone | 20:01 | |
gyee | ayoung, I think we are fine, in HA situation, all instance behind the VIP would use the same cert anyway | 20:01 |
dstanek | bknudson: i would guess that the devstack env was build using the old requirements file | 20:02 |
ayoung | gyee, shudder | 20:02 |
ayoung | trying to get away from that, but, yes | 20:02 |
ayoung | gyee, so the SIMPLE_CERT extension allows multiple certs. | 20:02 |
gyee | ayoung, for SSL, we ended up putting the VIP in the CN and real IP in the subject alternative name I think | 20:02 |
ayoung | we could match on index, and say "signed by any valid cert from "endpoint" | 20:02 |
ayoung | gyee, I guess that works | 20:03 |
ayoung | gyee, I'm guessing, though, that you are limited to enforcing something network wise is the CN | 20:03 |
ayoung | gyee, FQDN resolves to VIP, right? | 20:03 |
gyee | right | 20:04 |
*** joesavak has quit IRC | 20:04 | |
gyee | HTTPS standard calls for FQHN in either cn or subject alternative name I think | 20:04 |
ayoung | gyee, matches what I reacll | 20:05 |
ayoung | recall | 20:05 |
gyee | though you can also use wildcards or domain name | 20:05 |
ayoung | but these certs can and should have different Subjects. | 20:05 |
*** topol has joined #openstack-keystone | 20:05 | |
ayoung | gyee, one possibility is using the local user: keystone@identity.mydomain.org | 20:05 |
gyee | I think endpoint ID is better | 20:06 |
ayoung | or even <service>@<FQDN> | 20:06 |
ayoung | gyee, endpoint doesn't work for Hypervisors | 20:07 |
ayoung | Or the other undercloud elements | 20:07 |
gyee | why not? | 20:07 |
gyee | you want something that is unique and immutable | 20:08 |
bknudson | dstanek: got a minute? | 20:08 |
bknudson | testing question | 20:08 |
ayoung | gyee, because they are not endpoints | 20:09 |
bknudson | auth_token tests have class CommonAuthTokenMiddlewareTest(object) | 20:09 |
dstanek | bknudson: sure | 20:09 |
bknudson | CommonAuthTokenMiddlewareTest is used by v2AuthTokenMiddlewareTest and v3AuthTokenMiddlewareTest | 20:10 |
bknudson | so seems like CommonAuthTokenMiddlewareTest should contain tests that depend on the version of the token | 20:10 |
bknudson | but looking at the tests there are several in there that don't have anything to do with the version | 20:11 |
*** thiagop has joined #openstack-keystone | 20:11 | |
bknudson | so does it make sense to pull those out into a new class? | 20:11 |
bknudson | dstanek: that was the question. | 20:12 |
dstanek | bknudson: just by the names i would assume that CommonAuthTokenMiddlewareTest contains token independent tests and that specific data would be in v2AuthTokenMiddlewareTest to make them work with v2 tokens | 20:12 |
dstanek | and maybe additional v2 only tests | 20:12 |
gyee | ayoung, how many instance of Keystone one can have in undercloud? | 20:13 |
dstanek | kinda like the old template GoF design pattern | 20:13 |
dstanek | bknudson: looking at the tests now | 20:14 |
bknudson | dstanek: what do you think would be a good name for a class containing tests that don't depend on the version? | 20:14 |
bknudson | dstanek: e.g., test_assert_valid_memcache_protection_config -- what does that have to do with the token version? | 20:15 |
ayoung | gyee, in theory, many. | 20:15 |
ayoung | gyee, I could see a local Keystone for a multi region deployment | 20:15 |
ayoung | so, lets assume a US/ Europe deploy, where the tokens are signed by the appropriate server, and identity and assignment backends are replicated and synced | 20:16 |
ayoung | But Hypervisors are per Nova | 20:16 |
gyee | ayoung, sure, but it is an endpoint nevertheless right? I don't understand why the dichotomy | 20:16 |
ayoung | as are all the other undercloud things that need messaging, but are not exposed to the outside world | 20:16 |
ayoung | gyee, I'm trying to solve a broader problem than just Keystone Token signing | 20:17 |
bknudson | dstanek: maybe we just want a class for memcache tests... | 20:17 |
dstanek | bknudson: hmm...that probably goes in a separate class | 20:17 |
dstanek | yeah, a memcache one sounds good | 20:18 |
bknudson | dstanek: ok, I'll take a stab at it. | 20:18 |
bknudson | dstanek: I was also looking at http://git.openstack.org/cgit/openstack/python-keystoneclient/tree/keystoneclient/tests/test_auth_token_middleware.py#n423 | 20:18 |
dstanek | bknudson: i think it is sorta being used like i though, but there seem to be more than just v2/v3 subclasses | 20:18 |
dstanek | looks like many of the tests are redundant | 20:19 |
bknudson | dstanek: there's a couple of tests in NoMemcacheAuthToken that seem to expect memcache is set... not sure why that is. | 20:19 |
bknudson | so I'd move those into the memcache tests, too. | 20:19 |
*** andriyk0 has joined #openstack-keystone | 20:19 | |
bknudson | ok, I'll take a closer look since I think it makes sense to clean this up. | 20:20 |
openstackgerrit | A change was merged to openstack/python-keystoneclient: Fix client fixtures https://review.openstack.org/92021 | 20:20 |
openstackgerrit | A change was merged to openstack/keystone: Fixed the size limit tests in Python 3 https://review.openstack.org/84053 | 20:20 |
openstackgerrit | A change was merged to openstack/keystone: Fixed the policy tests in Python 3 https://review.openstack.org/84054 | 20:20 |
openstackgerrit | A change was merged to openstack/keystone: Adds several more tests to the Python 3 test run https://review.openstack.org/84055 | 20:20 |
gyee | ayoung, I think having identity at the endpoint level give us flexibility | 20:21 |
gyee | ayoung, but that doesn't mean you can't have service identities | 20:22 |
dstanek | bknudson: looks like maybe it is rigging the cache to make sure it isn't used. maybe? | 20:22 |
gyee | you can trust both | 20:22 |
dstanek | bknudson: I rather see a fake cache imple that just raises exceptions when used | 20:22 |
ayoung | gyee, so I see us solving this set of problems: | 20:23 |
ayoung | one: assuming a certificate is stripped out of a message (performance tune) where do we go to get the cert | 20:23 |
bknudson | dstanek: the test_nomemcache makes sense since it's testing what happens when memcache isn't available | 20:24 |
ayoung | regardless of how we get the cert, how do we link that specific cert with the endpoint or host that is claimed to have signed the document | 20:24 |
bknudson | dstanek: but test_not_use_cache_from_env shouldn't care if memcache isn't available. | 20:24 |
ayoung | and then how do we confirm Ok, we believe you are you, but how do we know we should let YOU sign for THIS? | 20:24 |
gyee | ayoung, there are two separate issues: 1) how do you know you are talking to an endpoint, and 2) how do you trust something from that endpoint | 20:26 |
gyee | 1) is basic HTTPS | 20:27 |
bknudson | you can have alternative names in a cert | 20:27 |
bknudson | http://en.wikipedia.org/wiki/SubjectAltName | 20:27 |
gyee | 2) is whether you trust the signing cert, by either implicitly added it to your trust store or trust the CA chain | 20:28 |
gyee | bknudson, right, that's how we setup SSL certs in HA clusters | 20:28 |
*** bach has quit IRC | 20:29 | |
*** bach has joined #openstack-keystone | 20:29 | |
*** derek_c has quit IRC | 20:31 | |
thiagop | Hello people, can someone point me to a documentation that shows how to use URL's inside policy.json files? | 20:35 |
*** dims has quit IRC | 20:35 | |
stevemar | ayoung, keep a list of people you trust to sign stuff | 20:37 |
*** andriyk0 has quit IRC | 20:37 | |
*** dims has joined #openstack-keystone | 20:37 | |
gyee | s/stuff/your checkbook/ | 20:38 |
gyee | thiagop, you want URLs in policy.json? | 20:39 |
thiagop | gyee: I know that it is supported (i.e.: to make a external policy check), but I'd like to know if there is some config I can use to send the token on the URL call | 20:40 |
gyee | ah | 20:41 |
ayoung | stevemar, and from where do you fetch this list? | 20:43 |
ayoung | and how is this list signed? | 20:43 |
ayoung | and whom do you trust to sign it? | 20:43 |
ayoung | Dear Liza Dear Liza | 20:43 |
stevemar | admins, oh admins | 20:43 |
ayoung | stevemar, but, yeah, I was wondering if we needed to support that information out of the policy API. | 20:44 |
ayoung | stevemar, some of it is self filtering: auth_token middleware should be ignoring anything that is not a token signing request or revoction list | 20:45 |
*** gokrokve has quit IRC | 20:46 | |
ayoung | stevemar, http://adam.younglogic.com/2014/05/keystone-federation-via-mod_lookup_identity/ | 20:50 |
ayoung | marekd, ^^ | 20:50 |
stevemar | ayoung, i saw that on friday night | 20:50 |
stevemar | ayoung, err no.. i saw this one on friday night http://adam.younglogic.com/2014/05/mod_lookup_identity/ | 20:51 |
stevemar | ayoung, you left the readers hanging! what was the result?!? | 20:53 |
ayoung | stevemar, the result is that, using the curl at the bottom, I can get a token | 20:53 |
stevemar | ayoung, show the token! | 20:54 |
ayoung | Fine! | 20:54 |
stevemar | or state it | 20:54 |
stevemar | ayoung, i see you decided to not go from unscoped->scoped | 20:54 |
ayoung | stevemar, one step at a time | 20:54 |
stevemar | ayoung, i'm liking the fact that you are able to play around and get kerberos working | 20:55 |
ayoung | stevemar, let me get that updated | 20:55 |
ayoung | stevemar, I have a couple half written posts about that, too | 20:55 |
ayoung | I have one I started on packstack | 20:55 |
ayoung | and someone asked on my blog how they would deploy using just Puppet, which would be a good attempt to make | 20:56 |
ayoung | stevemar, there ya go! | 21:07 |
stevemar | ayoung, yay! | 21:10 |
marekd | ayoung: nice. | 21:11 |
ayoung | stevemar, I just realiex I have 98 draft posts on my Blog. I just found one from back when I first started playing with Javascript: http://younglogic.com/formographer/main.html | 21:12 |
ayoung | Heh | 21:12 |
morganfainberg | ayoung, 98 drafts?! | 21:14 |
morganfainberg | wow | 21:14 |
marekd | stevemar: for the federation docs, maybe we will hold on a little bit and wait for the ecp impl to be in a shape ready for the review? | 21:14 |
marekd | stevemar: small changes would then be required. | 21:14 |
ayoung | morganfainberg, yeah, some are placeholders I never really addressed, many are things that I type and said "Ok I've done that, I don't need anyone to see it" | 21:14 |
ayoung | ecp ++ | 21:14 |
*** boris-42 has quit IRC | 21:15 | |
*** boris-42 has joined #openstack-keystone | 21:16 | |
morganfainberg | ayoung, woo summit next week! | 21:17 |
morganfainberg | ayoung, looking forward to it! | 21:17 |
*** topol has quit IRC | 21:17 | |
ayoung | morganfainberg, yeah, me to . I finally get to learn what nkinder looks like. | 21:17 |
morganfainberg | ayoung, also i've been thinking about your email when it comes to cert subjects... | 21:17 |
ayoung | He claims he's going to try and have a conversation with me before telling me | 21:17 |
nkinder | ayoung: maybe I'll send someone else in my place... | 21:18 |
ayoung | Ah, yeah, cert subjects. gyee and I were discussing in here earlier | 21:18 |
morganfainberg | ayoung, hopefully i'll have something to contribute to the convo when we're there. | 21:18 |
morganfainberg | ayoung, hah! i thats awesome, nkinder ++ | 21:18 |
morganfainberg | ayoung, i'll scroll back and see the info. | 21:18 |
ayoung | morganfainberg, the current Strawman is CN=endpoint_id OU=Service For Things exposed via Keystone | 21:20 |
ayoung | morganfainberg, and for undercloud, it would be something similar like | 21:20 |
ayoung | CN=FQDN OU=Nova-Hypervisor | 21:20 |
ayoung | the goal is so that something that is fetching documents signed this way has an unambiguous link from the signed document to the OpenStack entity that signed it. | 21:21 |
*** marekd is now known as marekd|away | 21:22 | |
*** jamielennox is now known as jamielennox|away | 21:23 | |
*** dims has quit IRC | 21:25 | |
morganfainberg | ayoung, makes sense to me | 21:25 |
ayoung | morganfainberg, I'm just concerned that we will come up with something that conflicts with X509 policy in the organizations that depend upon it heavily | 21:26 |
morganfainberg | ayoung, right | 21:26 |
ayoung | So I want to make sure I have a clear view of the options. | 21:26 |
*** gokrokve has joined #openstack-keystone | 21:29 | |
morganfainberg | ayoung, i hope we can come up with something that plays nice with our designs and x509 | 21:29 |
morganfainberg | i think it's imminently doable | 21:29 |
*** rodrigods has joined #openstack-keystone | 21:33 | |
*** rodrigods has joined #openstack-keystone | 21:33 | |
*** gokrokve has quit IRC | 21:33 | |
*** leseb has quit IRC | 21:36 | |
*** gokrokve has joined #openstack-keystone | 21:39 | |
*** gokrokve_ has joined #openstack-keystone | 21:44 | |
*** gokrokve has quit IRC | 21:44 | |
*** gokrokve has joined #openstack-keystone | 21:45 | |
*** gokrokve_ has quit IRC | 21:48 | |
*** gokrokve has quit IRC | 21:49 | |
*** jsavak has quit IRC | 21:58 | |
openstackgerrit | Brant Knudson proposed a change to openstack/python-keystoneclient: Move auth_token cache pool tests out of NoMemcache https://review.openstack.org/92215 | 22:00 |
*** marcoemorais has quit IRC | 22:04 | |
*** marcoemorais has joined #openstack-keystone | 22:06 | |
*** rodrigods has quit IRC | 22:06 | |
*** gokrokve has joined #openstack-keystone | 22:10 | |
openstackgerrit | Brant Knudson proposed a change to openstack/python-keystoneclient: Cached tokens aren't expired https://review.openstack.org/92217 | 22:10 |
*** rodrigods has joined #openstack-keystone | 22:10 | |
*** dims has joined #openstack-keystone | 22:17 | |
*** marcoemorais has quit IRC | 22:18 | |
*** andreaf has quit IRC | 22:20 | |
*** marcoemorais has joined #openstack-keystone | 22:28 | |
*** rodrigods has quit IRC | 22:28 | |
openstackgerrit | Brant Knudson proposed a change to openstack/python-keystoneclient: Move auth_token tests not requiring v2/v3 to new class https://review.openstack.org/92222 | 22:31 |
stevemar | marekd|away, i'm okay with whatever the consensus is | 22:33 |
*** dims has quit IRC | 22:34 | |
openstackgerrit | Brant Knudson proposed a change to openstack/python-keystoneclient: Remove importutils from oslo config https://review.openstack.org/92223 | 22:35 |
*** doddstack has quit IRC | 22:36 | |
*** nkinder has quit IRC | 22:40 | |
openstackgerrit | Brant Knudson proposed a change to openstack/python-keystoneclient: Sync with oslo-incubator 2640847 https://review.openstack.org/92228 | 22:41 |
*** marcoemorais has quit IRC | 22:45 | |
*** david-lyle has quit IRC | 22:55 | |
*** jamielennox|away is now known as jamielennox | 23:16 | |
gyee | jamielennox, dolphm, regarding https://review.openstack.org/#/c/80124/, I agree we should be using Session instead of the whole client. But I am trying to figure out when can we declare keystoneclient is good enough for others to integrate. | 23:23 |
gyee | is there even room for incremental improvement? | 23:24 |
*** marcoemorais has joined #openstack-keystone | 23:44 | |
*** gokrokve has quit IRC | 23:45 | |
jamielennox | gyee | 23:49 |
jamielennox | gyee: i think it's good enough for use | 23:49 |
jamielennox | there is definitely things to do but for a client as young as barbican i don't see that as a problem | 23:49 |
gyee | jamielennox, so I should use session for now? | 23:50 |
*** kfox1111 has joined #openstack-keystone | 23:50 | |
jamielennox | yes | 23:50 |
gyee | and wait for the api version discovery and catalog parsing later? | 23:50 |
jamielennox | catalog parsing is done | 23:50 |
gyee | jamielennox, in 0.8.0 release? | 23:50 |
jamielennox | the only thing that isn't done is the specifiying unversioned endpoints | 23:50 |
jamielennox | so doing discovery | 23:51 |
jamielennox | catalog parsing has been done for ages | 23:51 |
gyee | in the Session object? | 23:51 |
jamielennox | it's handled within the auth plugins but yes | 23:51 |
gyee | oh | 23:52 |
gyee | lemme double check | 23:52 |
jamielennox | it's part of the endpoint handling | 23:52 |
jamielennox | so request(....., endpoint_filter={'service_type': 'barbican', 'interface': 'public'}) | 23:53 |
jamielennox | what is barbican's service_type? | 23:53 |
bknudson | dstanek: http://logs.openstack.org/28/92228/1/check/gate-python-keystoneclient-python33/307a72d/console.html ? | 23:54 |
gyee | jamielennox, service_type='keystore' | 23:54 |
jamielennox | ok | 23:54 |
gyee | jamielennox, I think I know what to do now, thanks! | 23:55 |
dstanek | bknudson: that looks ugly | 23:55 |
bknudson | weird, only failed on python3 | 23:55 |
jamielennox | gyee: cool, let me know if you want me to do anything regarding that | 23:55 |
dstanek | it looks like it is comparing bytes to strings | 23:55 |
jamielennox | gyee: also you may find something like https://review.openstack.org/#/c/86237/ useful | 23:56 |
gyee | jamielennox, that's one have a -2? | 23:56 |
gyee | from you? | 23:56 |
dstanek | bknudson: i think it is trying to find a unicode string inside of a byte string | 23:56 |
jamielennox | gyee: that one was a WIP, i should bring it out | 23:56 |
jamielennox | i don't like the name 'binding' amongst other problems | 23:57 |
gyee | ah :) | 23:57 |
gyee | I see | 23:57 |
jamielennox | but in general the way i see it is that a client would be passed a session | 23:57 |
gyee | no argument here | 23:58 |
jamielennox | you would then 'bind' it to the service_type, interface, JSON etc and save that | 23:58 |
jamielennox | and then all your operations within the client would use the 'bound' interface so that you don't need to specify endpoint_type, and Accept: headers on every request | 23:58 |
gyee | s/bind/couple/ | 23:58 |
jamielennox | maybe, still not great | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!