Monday, 2014-03-31

*** leseb has joined #openstack-keystone00:04
*** dolphm has quit IRC00:06
openstackgerritSteve Martinelli proposed a change to openstack/keystone: Remove _delete_tokens function from federation controller  https://review.openstack.org/8316900:07
*** leseb has quit IRC00:08
*** dolphm has joined #openstack-keystone00:09
*** dstanek has joined #openstack-keystone00:13
*** derek_c has quit IRC00:15
*** jamielennox|away is now known as jamielennox00:17
*** lbragstad1 has joined #openstack-keystone01:05
*** esmute_ has joined #openstack-keystone01:12
*** dims has quit IRC01:13
*** bada has quit IRC01:13
*** esmute has quit IRC01:13
*** Daviey has quit IRC01:13
*** ayoung has quit IRC01:13
*** lbragstad has quit IRC01:13
*** esmute_ is now known as esmute01:13
Mario_Is devstack  run_tests.sh compatible to openstack?01:14
Mario_see http://www.ibm.com/developerworks/cloud/library/cl-ldap-keystone/01:15
*** Daviey has joined #openstack-keystone01:17
*** ayoung has joined #openstack-keystone01:20
*** bada has joined #openstack-keystone01:20
*** dims has joined #openstack-keystone01:20
jamielennoxMario_: i'm not sure i understand the question01:46
Mario_jamielennox on that site it mentioned the run_test.sh but on my system I didn't found it01:47
jamielennoxMario_: that looks like the run_tests.sh available in keystone01:48
jamielennoxi assume it's just using the LDAP server set up by devstack for it's live tests01:48
Mario_yeah but I don't have devstack, do it applicable to openstack that rely on the OS01:49
jamielennoxMario_: for testing we have fake LDAP tests because we can't rely on a real LDAP server for unit tests01:50
jamielennoxif a server is available and we can run it against that we call that live tests01:50
jamielennoxotherwise they will just be skipped01:50
jamielennoxso what that example is doing is using devstack to setup an LDAP server and then running our ldap live tests against that server because it knows how to access it01:51
Mario_but it can be tested on available server? Am I right?01:51
jamielennoxMario_: it should be able to - i wouldn't test it against a production ldap server though01:52
jamielennoxit will write users and do all sorts of other things you don't want on a real server01:52
Mario_I want to test my copy of the production one..01:52
Mario_is it possible jamielennox?01:52
Mario_I still bit confused on connecting ldap to the rest of the openstack services..01:54
jamielennoxyou can run it on production, but i'm not sure what sort of left overs there would be01:54
jamielennoxi don't know of any generic testing we have - because the available users etc will be specific to your LDAP environment01:54
Mario_I need to eliminate probs one at a time, and see where the level probs is01:55
Mario_I able to display all users, tenant, role in using keystone command01:55
jamielennoxMario_: then i would probably start by running devstack and pointing the configuration at your server and seeing that it works01:55
jamielennoxor just start keystone on it's own and use the command line to test it01:56
jamielennoxLDAP is only used for user management so if you can create user, list users etc then it will be ok01:56
Mario_jamielennox: yeah but it seems the password is issue having the probs01:56
jamielennoxMario_: which password? i think we try to do an anonymous bind to the server using the user's password - but that's not my area01:57
Mario_I can only list as I didn't use the  user_allow_create = false in my config01:57
jamielennoxMario_: wise01:57
jamielennoxbut you should be able to login with those users01:57
Mario_but when I see on the logs, it say [-] Authorization failed. Invalid user / password01:59
*** mberlin1 has joined #openstack-keystone01:59
jamielennoxMario_: hmm, ok LDAP isn't really my area but i can try01:59
Mario_coz I tried with non-existing user, it doesn't show that kind of log01:59
*** Daviey has quit IRC02:00
*** mberlin has quit IRC02:00
jamielennoxessentially you should be able to turn all LDAP queries into an equivalen ldapsearch query02:00
Mario_but there is part of the logs that says  SELECT domain.id AS domain_id, domain.name AS domain_name, domain.enabled AS domain_ena$ FROM domain WHERE domain.id = %s jamielennox:02:01
jamielennoxMario_: that's ok - domains aren't managed by LDAP02:01
Mario_ah ok..02:02
openstackgerritwanghong proposed a change to openstack/keystone: support conventional domain name with one or more dot  https://review.openstack.org/7982902:02
jamielennoxMario_: see: http://adam.younglogic.com/2012/02/openstack-keystone-ldap-redux/02:03
jamielennoxspecifically: ldapsearch -x -D "dc=Manager,dc=younglogic,dc=com" -H ldap://localhost  -w freeipa4all  -b ou=Groups,dc=younglogic,dc=com "(objectClass=*)"02:04
jamielennoxobviously your LDAP configuration is different, but you should be able to do a simple query like that with the user/password you are trying to log in with02:04
Mario_i try it with backend_entities as I didn't have it02:04
jamielennoxif you can't then that's a configuration issue on the LDAP server otherwise it's a keystone issue02:05
jamielennoxMario_: be aware that that article is dated feb 2012 so some of the actual config might be out of date02:05
jamielennox(i'd rely on what's listed in the config file)02:05
Mario_jamielennox: I used mine using the command  ldapsearch -LLxWD cn=admin,dc=example,dc=com02:18
Mario_and it displays all the entries on it02:19
Mario_ldapsearch -LLxWD cn=admin,dc=example,dc=com objectClass=*02:20
jamielennoxi'll be honest i don't know what those flags do - i assume you are then prompted for a password02:21
jamielennoxi also don't have an LDAP server i can test it on myself02:21
Mario_yes you prompted with the password02:21
Mario_hope there will be a simple ldif so we can test or try with it. So we can be based on it02:22
Mario_it seems on the documentations doesn't mentioned with it.02:22
openstackgerritJamie Lennox proposed a change to openstack/python-keystoneclient: Add service name to catalog  https://review.openstack.org/7841002:23
Mario_some said it on the policy.json, but no idea what is this?02:24
Mario_jamielennox: i will try that link that there is seems a solutions on it..02:38
jamielennoxMario_: policy is different, that's what a user is allowed to do once they are autenticated02:44
jamielennoxif you are sesing invalid user/pass then i assume it's the ldap which is failing02:44
Mario_I will try to compare the ldif mentioned on Adam's site.. maybe my admin account as it has existing one... which also the default user of the keystone02:46
*** gtt116__ has quit IRC03:16
openstackgerritwanghong proposed a change to openstack/keystone: For ldap, API wrongly reports user is in group  https://review.openstack.org/8093403:25
openstackgerritRui Chen proposed a change to openstack/keystone: Fix create_region_with_id raise 500 Error bug  https://review.openstack.org/7581603:33
openstackgerritRui Chen proposed a change to openstack/keystone: Fix create_region_with_id raise 500 Error bug  https://review.openstack.org/7581603:46
*** dstanek has quit IRC04:16
*** dstanek has joined #openstack-keystone04:18
*** gokrokve has joined #openstack-keystone04:41
*** gokrokve has quit IRC04:52
*** gokrokve has joined #openstack-keystone04:52
openstackgerritDavid Stanek proposed a change to openstack/keystone: Replace all use of mox with mock  https://review.openstack.org/8405004:59
openstackgerritDavid Stanek proposed a change to openstack/keystone: setUp must be called on a fixture's parent first  https://review.openstack.org/8405104:59
openstackgerritDavid Stanek proposed a change to openstack/keystone: Fix cache configuration checks  https://review.openstack.org/8405204:59
openstackgerritDavid Stanek proposed a change to openstack/keystone: Fixed the size limit tests in Python 3  https://review.openstack.org/8405305:00
openstackgerritDavid Stanek proposed a change to openstack/keystone: Fixed the policy tests in Python 3  https://review.openstack.org/8405405:00
openstackgerritDavid Stanek proposed a change to openstack/keystone: Adds several more tests to the Python 3 test run  https://review.openstack.org/8405505:00
openstackgerritDavid Stanek proposed a change to openstack/keystone: Make the py33 Jenkins job happy  https://review.openstack.org/8356505:00
openstackgerritDavid Stanek proposed a change to openstack/keystone: wip: this needs to be made in oslo  https://review.openstack.org/8383305:00
openstackgerritDavid Stanek proposed a change to openstack/keystone: First real Python 3 tests  https://review.openstack.org/8383405:00
*** gokrokve_ has joined #openstack-keystone05:10
*** gokrokve has quit IRC05:13
*** gokrokve_ has quit IRC05:15
*** gokrokve has joined #openstack-keystone05:16
*** gokrokve has quit IRC05:20
*** dstanek has quit IRC05:33
*** dstanek has joined #openstack-keystone05:34
*** gokrokve has joined #openstack-keystone05:46
*** gokrokve_ has joined #openstack-keystone05:49
*** chandan_kumar has joined #openstack-keystone05:50
*** gokrokve has quit IRC05:51
*** topol has quit IRC05:56
*** gokrokve_ has quit IRC05:59
openstackgerritJenkins proposed a change to openstack/keystone: Imported Translations from Transifex  https://review.openstack.org/8395506:02
*** dvorak has quit IRC06:05
*** dstanek has quit IRC06:08
*** dstanek has joined #openstack-keystone06:10
*** bvandenh has joined #openstack-keystone06:10
*** marcoemorais has joined #openstack-keystone06:17
openstackgerritRui Chen proposed a change to openstack/keystone: Fix create_region_with_id raise 500 Error bug  https://review.openstack.org/7581606:25
openstackgerritDavid Stanek proposed a change to openstack/keystone: Make the py33 Jenkins job happy  https://review.openstack.org/8356506:30
openstackgerritDavid Stanek proposed a change to openstack/keystone: Replace all use of mox with mock  https://review.openstack.org/8405006:30
openstackgerritDavid Stanek proposed a change to openstack/keystone: setUp must be called on a fixture's parent first  https://review.openstack.org/8405106:30
openstackgerritDavid Stanek proposed a change to openstack/keystone: Fix cache configuration checks  https://review.openstack.org/8405206:30
openstackgerritDavid Stanek proposed a change to openstack/keystone: Fixed the size limit tests in Python 3  https://review.openstack.org/8405306:30
openstackgerritDavid Stanek proposed a change to openstack/keystone: wip: this needs to be made in oslo  https://review.openstack.org/8383306:30
openstackgerritDavid Stanek proposed a change to openstack/keystone: Fixed the policy tests in Python 3  https://review.openstack.org/8405406:30
openstackgerritDavid Stanek proposed a change to openstack/keystone: First real Python 3 tests  https://review.openstack.org/8383406:30
openstackgerritDavid Stanek proposed a change to openstack/keystone: Adds several more tests to the Python 3 test run  https://review.openstack.org/8405506:30
*** marekd|away is now known as marekd06:38
*** marcoemorais has quit IRC06:54
*** gokrokve has joined #openstack-keystone06:56
*** gokrokve has quit IRC07:01
*** jaosorior has joined #openstack-keystone07:02
*** flaper87|afk is now known as flaper8707:02
*** zhiyan_ is now known as zhiyan07:05
*** chandan_kumar has quit IRC07:06
openstackgerritMarek Denis proposed a change to openstack/python-keystoneclient: Add CRUD operations for Fedration Mapping Rules.  https://review.openstack.org/8374207:09
openstackgerritJamie Lennox proposed a change to openstack/python-keystoneclient: Session Documentation  https://review.openstack.org/8407007:15
openstackgerritJamie Lennox proposed a change to openstack/python-keystoneclient: Document authentication plugins  https://review.openstack.org/8407107:15
*** jamielennox is now known as jamielennox|away07:17
*** Gippa has joined #openstack-keystone07:18
*** dstanek has quit IRC07:34
openstackgerritxu-haiwei proposed a change to openstack/keystone: Fix the order of assertEqual arguments(pemutils, v3_catalog, etc)  https://review.openstack.org/7751407:59
*** leseb has joined #openstack-keystone08:18
*** Daviey has joined #openstack-keystone08:42
*** leseb_ has joined #openstack-keystone08:48
*** RockKuo_TW_PC has joined #openstack-keystone08:48
*** leseb has quit IRC08:49
*** RockKuo_TW has quit IRC08:52
*** bvandenh has quit IRC08:55
*** gokrokve has joined #openstack-keystone08:57
*** bvandenh has joined #openstack-keystone09:01
*** gokrokve has quit IRC09:02
*** leseb_ has quit IRC09:16
*** leseb has joined #openstack-keystone09:25
*** Gippa has quit IRC09:57
*** Gippa has joined #openstack-keystone09:58
*** gokrokve has joined #openstack-keystone09:58
*** jaosorior has quit IRC10:00
*** gokrokve has quit IRC10:03
*** dstanek has joined #openstack-keystone10:13
*** leseb has quit IRC10:15
*** leseb has joined #openstack-keystone10:16
*** Gippa has quit IRC10:16
*** dstanek has quit IRC10:18
*** leseb has quit IRC10:20
*** Gippa has joined #openstack-keystone10:37
*** andreaf has joined #openstack-keystone10:58
*** gokrokve has joined #openstack-keystone10:59
*** leseb has joined #openstack-keystone11:00
*** lbragstad1 has quit IRC11:01
*** leseb has quit IRC11:03
*** leseb has joined #openstack-keystone11:03
*** gokrokve has quit IRC11:03
*** leseb has quit IRC11:04
*** leseb has joined #openstack-keystone11:05
*** thiagop has quit IRC11:07
*** thiagop has joined #openstack-keystone11:08
*** topol has joined #openstack-keystone11:14
*** jaosorior has joined #openstack-keystone11:18
*** lbragstad has joined #openstack-keystone11:31
*** saju_m has joined #openstack-keystone11:51
openstackgerritZhang Yang proposed a change to openstack/keystone: Fix dict wrong use in ec2 auth  https://review.openstack.org/7883711:55
*** gokrokve has joined #openstack-keystone12:00
*** saju_m has quit IRC12:00
*** zhiyan is now known as zhiyan_12:01
*** gokrokve has quit IRC12:05
*** saju_m has joined #openstack-keystone12:06
*** saju_m has quit IRC12:08
*** leseb has quit IRC12:37
*** leseb has joined #openstack-keystone12:38
*** dims has quit IRC12:38
*** leseb has quit IRC12:42
*** leseb has joined #openstack-keystone12:46
*** bknudson has quit IRC12:47
*** dims has joined #openstack-keystone12:52
openstackgerritZhang Yang proposed a change to openstack/keystone: Fix dict wrong use in ec2 auth  https://review.openstack.org/7883712:53
*** gokrokve has joined #openstack-keystone13:01
*** browne has joined #openstack-keystone13:05
*** gokrokve has quit IRC13:06
*** bknudson has joined #openstack-keystone13:08
*** zhiyan_ is now known as zhiyan13:14
*** kun_huang has joined #openstack-keystone13:20
*** ChanServ sets mode: +o dolphm13:24
*** joesavak has joined #openstack-keystone13:26
*** nkinder has quit IRC13:49
*** zigo has quit IRC13:50
openstackgerritRaildo Mascena de Sousa Filho proposed a change to openstack/keystone: Filter User by project  https://review.openstack.org/8413613:53
*** zigo has joined #openstack-keystone13:58
openstackgerritMarek Denis proposed a change to openstack/python-keystoneclient: Add CRUD operations for Federated Protocols.  https://review.openstack.org/8382914:00
*** gokrokve has joined #openstack-keystone14:01
*** dstanek has joined #openstack-keystone14:04
*** gokrokve has quit IRC14:06
*** rwsu has joined #openstack-keystone14:06
*** stevemar has joined #openstack-keystone14:07
stevemardolphm, lift the -2 from this patch please: https://review.openstack.org/#/c/74317/14:08
*** leseb has quit IRC14:12
*** leseb has joined #openstack-keystone14:13
dolphmstevemar: done!14:13
*** stevemar has quit IRC14:14
*** stevemar has joined #openstack-keystone14:14
dolphmjamielennox|away: also unblocked https://review.openstack.org/#/c/78127/14:15
openstackgerritIlya Pekelny proposed a change to openstack/keystone: Sync test_migrations  https://review.openstack.org/8061814:16
openstackgerritIlya Pekelny proposed a change to openstack/keystone: Comparision of database models and migrations.  https://review.openstack.org/8063014:16
*** zhiyan is now known as zhiyan_14:22
*** david-lyle has joined #openstack-keystone14:25
*** leseb has quit IRC14:26
*** leseb has joined #openstack-keystone14:27
*** leseb_ has joined #openstack-keystone14:28
*** dstanek has quit IRC14:30
*** leseb has quit IRC14:31
*** nkinder has joined #openstack-keystone14:35
*** jsavak has joined #openstack-keystone15:01
*** gokrokve has joined #openstack-keystone15:02
*** joesavak has quit IRC15:04
openstackgerritIlya Pekelny proposed a change to openstack/keystone: Comparision of database models and migrations.  https://review.openstack.org/8063015:04
DavieyHi, is this a new CI bug http://logs.openstack.org/81/83981/4/check/check-tempest-dsvm-full/b78800c/console.html ?15:06
*** gokrokve has quit IRC15:06
Davieycan't see anything similar in the recheck page15:06
Davieydammit, wrong window15:10
*** gokrokve has joined #openstack-keystone15:17
*** gokrokve_ has joined #openstack-keystone15:20
*** gokrokve has quit IRC15:21
*** andreaf has quit IRC15:24
*** gyee has joined #openstack-keystone15:30
ayoungstevemar, I think that approach is a mistake15:35
ayounghttps://review.openstack.org/#/c/74317/15:35
ayoungJose has done so much for use that I am unwilling to -2...but we should not be going for Eventlet based Kerberos.15:35
*** Gippa has left #openstack-keystone15:39
stevemarayoung, i asked to lift the -2 because it was there when dolphm went through all the patches during the rc1 timeframe15:39
ayoungstevemar, OK.15:39
ayoungstevemar, I'm actually just working through a Kerberos and Keystone setup right now15:40
stevemarayoung, i don't have any real issues with the design yet, there is no api spec or blueprint, but i'm just reviewing the code for logic right now15:40
stevemar(i guess having no api spec or blueprint would mean that i do have an issue with the design :P)15:40
*** dstanek has joined #openstack-keystone15:43
openstackgerritDavid Stanek proposed a change to openstack/keystone: Make the py33 Jenkins job happy  https://review.openstack.org/8356515:46
openstackgerritDavid Stanek proposed a change to openstack/keystone: Replace all use of mox with mock  https://review.openstack.org/8405015:46
openstackgerritDavid Stanek proposed a change to openstack/keystone: setUp must be called on a fixture's parent first  https://review.openstack.org/8405115:46
openstackgerritDavid Stanek proposed a change to openstack/keystone: Fix cache configuration checks  https://review.openstack.org/8405215:46
openstackgerritDavid Stanek proposed a change to openstack/keystone: Fixed the size limit tests in Python 3  https://review.openstack.org/8405315:46
openstackgerritDavid Stanek proposed a change to openstack/keystone: wip: this needs to be made in oslo  https://review.openstack.org/8383315:46
openstackgerritDavid Stanek proposed a change to openstack/keystone: Fixed the policy tests in Python 3  https://review.openstack.org/8405415:46
openstackgerritDavid Stanek proposed a change to openstack/keystone: First real Python 3 tests  https://review.openstack.org/8383415:46
openstackgerritDavid Stanek proposed a change to openstack/keystone: Adds several more tests to the Python 3 test run  https://review.openstack.org/8405515:47
*** jaosorior has quit IRC15:50
*** dstanek has quit IRC15:56
*** marcoemorais has joined #openstack-keystone16:02
gyeedolphm, are you working on https://bugs.launchpad.net/keystone/+bug/1299012. I can work on it if you have not started already. Please let me know.16:05
dolphmgyee: take it!16:05
dolphmgyee: be sure to attach patches to LP rather than using git-review/gerrit16:06
gyeedolphm, how do I do that?16:06
dolphmgyee: when you comment on a bug, there's a link to attach a patch16:06
gyeedolphm, got it, thanks16:07
ayoungdolphm, so I think we need to fix something for REMOTE_USER.16:11
ayoungand..I just got called to a meeting.16:11
dolphmayoung: lol i'll be around16:11
*** jimbaker has joined #openstack-keystone16:23
*** kun_huang has quit IRC16:36
*** RockKuo_TW_PC has quit IRC16:46
*** harlowja_away is now known as harlowja16:48
*** browne has quit IRC16:50
*** RockKuo_iPad has joined #openstack-keystone16:53
*** RockKuo_iPad has quit IRC16:57
*** browne has joined #openstack-keystone17:01
*** amerine_ is now known as amerine17:08
*** leseb_ has quit IRC17:08
*** leseb has joined #openstack-keystone17:09
*** rwsu has quit IRC17:11
*** leseb has quit IRC17:13
*** gokrokve has joined #openstack-keystone17:15
*** thiagop has quit IRC17:17
*** gokrokve_ has quit IRC17:18
*** thiagop has joined #openstack-keystone17:20
*** bvandenh has quit IRC17:24
*** thiagop has quit IRC17:25
*** thiagop has joined #openstack-keystone17:25
*** gokrokve has quit IRC17:31
*** gokrokve has joined #openstack-keystone17:32
*** gokrokve_ has joined #openstack-keystone17:34
*** gokrokve has quit IRC17:36
*** bvandenh has joined #openstack-keystone17:36
*** gokrokve has joined #openstack-keystone17:37
*** morganfainberg_Z is now known as morganfainberg17:38
*** gokrokve_ has quit IRC17:38
morganfainberggyee, dolphm, oh that is a fun one17:40
gyeemorganfainberg, ya think? :-)17:42
morganfainberggyee, yeah17:42
morganfainberggyee, wow. that is just a bizzare one.17:43
*** thiagop has quit IRC17:43
morganfainberggyee, i see how it happened17:43
gyeemorganfainberg, bizzare sure, but I don't think its a security problem17:44
*** amcrn has joined #openstack-keystone17:46
morganfainberggyee, ++ agree17:46
*** gokrokve has quit IRC17:49
*** gokrokve has joined #openstack-keystone17:49
*** packet has joined #openstack-keystone17:50
*** dstanek has joined #openstack-keystone17:50
*** gokrokve has quit IRC17:53
openstackgerritA change was merged to openstack/keystone: Fix the order of assertEqual arguments(keystoneclient, kvs, etc)  https://review.openstack.org/7709018:00
*** marcoemorais has quit IRC18:03
*** marcoemorais has joined #openstack-keystone18:07
*** leseb has joined #openstack-keystone18:08
dstanekmorganfainberg: how's this look to you? https://review.openstack.org/#/c/84052/318:10
morganfainbergdstanek, we need to bump version in global requirements.18:11
morganfainbergdstanek, oh wait a sec18:11
morganfainbergis is_configured something i implemented or something from upstream?18:12
*** gyee has quit IRC18:13
dstanekmorganfainberg: it's upstream18:13
morganfainbergok let me see waht release i got that added in18:13
morganfainbergiirc that is newer than global requirements18:13
dstanekit shouldn't be because the tests are working OK in jenkins - unless our requirements.txt is newer than the global18:14
morganfainbergdstanek, we don't cap dogpile18:14
dstanekah18:14
morganfainbergdstanek, >=18:14
morganfainberg0.5.118:15
*** gyee has joined #openstack-keystone18:15
bknudsonthere's no test that verifies that the min version still works18:15
bknudsonwe ran into that with oauthlib18:15
morganfainbergand with sqla18:16
morganfainberggoing to propose a bump to 0.5.318:16
morganfainbergfor post requirement freeze branch (whenever that is)18:17
dstanekmorganfainberg: ok, these are all Python 3 fixes so i'm not necessarily in a rush18:17
morganfainbergalso py3k compat is an issue prior to that.18:17
morganfainberg0.5.3 fixes a py3k compat issue =/18:17
morganfainbergnot on a method we use18:18
morganfainbergbut still18:18
dstaneki agree18:19
morganfainbergdstanek, https://review.openstack.org/#/c/84200/18:21
dstaneknice, thanks18:22
dstanekmorganfainberg: besides all of the reviews i've already posted i fixed 2 or 3 more test module18:23
dstaneks18:23
dstanekjust have to clean up the change and push18:23
morganfainbergdstanek, cool18:23
*** gokrokve has joined #openstack-keystone18:29
*** leseb has quit IRC18:30
*** leseb has joined #openstack-keystone18:31
*** gokrokve has quit IRC18:34
*** leseb has quit IRC18:34
*** gokrokve has joined #openstack-keystone18:37
*** gokrokve_ has joined #openstack-keystone18:38
*** gokrokve has quit IRC18:41
*** leseb has joined #openstack-keystone18:43
*** gokrokve_ has quit IRC18:43
*** gokrokve has joined #openstack-keystone18:51
openstackgerritAndreas Jaeger proposed a change to openstack/keystone: Check that all po/pot files are valid  https://review.openstack.org/8421118:54
*** dstanek has quit IRC18:54
*** joesavak has joined #openstack-keystone18:56
*** leseb has quit IRC18:58
*** jsavak has quit IRC18:59
*** david-lyle has quit IRC19:00
*** marcoemorais1 has joined #openstack-keystone19:03
*** marcoemorais1 has quit IRC19:03
*** marcoemorais1 has joined #openstack-keystone19:03
*** marcoemorais has quit IRC19:05
ayoungdolphm, OK, I'm back, and I've done my homework.  I want to remove the deprecation on http://git.openstack.org/cgit/openstack/keystone/tree/keystone/auth/plugins/external.py#n13019:16
ayoungHere's the deal:  when setting up LDAP it makes more sense for the userid to be  'ayoung' then 'ayoung@REDHAT.COM'19:17
ayoungthe second is a kerberos view of the world.19:17
ayoungsorry, make that usernmae19:17
ayoungusename19:17
ayoungthat being said....disregard, we don't need that.19:18
* ayoung goes back to homework19:18
ayoungOK, we are good.    Once I set   KrbLocalUserMapping on  I got the right outcome.  No change necessary, leave the deprecation in there.19:21
marekdGood evening everybody!19:27
marekdstevemar: o/, wondering if we could talk about that: https://review.openstack.org/#/c/83742/2/keystoneclient/v3/contrib/federation/mappings.py19:28
stevemarmarekd, sure19:28
marekdstevemar: what did you mean by json object? rules in that case are just list of rules and I am basically expecting somebody to put some rules as an argument...19:29
stevemarso, it you look at here: https://github.com/openstack/identity-api/blob/master/openstack-identity-api/v3/src/markdown/identity-api-v3.md#policy19:31
stevemarmarekd, the blob part: "blob": "{\"default\": false}",19:31
stevemari think we should treat rules the same way?19:31
openstackgerritA change was merged to openstack/python-keystoneclient: Reference docstring for auth_token fields  https://review.openstack.org/7061719:34
*** topol has quit IRC19:36
*** topol has joined #openstack-keystone19:36
marekdstevemar: looking.19:36
stevemarmarekd, just trying to think of how to most easily create a mapping19:37
stevemari suppose it's just a matter of an extra jsonutils call (loads or dumps)19:38
*** gokrokve has quit IRC19:40
*** gokrokve has joined #openstack-keystone19:40
*** topol has quit IRC19:41
openstackgerritAndreas Jaeger proposed a change to openstack/keystone: Check that all po/pot files are valid  https://review.openstack.org/8421119:42
*** gokrokve_ has joined #openstack-keystone19:42
*** gokrokve has quit IRC19:45
openstackgerritAndreas Jaeger proposed a change to openstack/keystone: Check that all po/pot files are valid  https://review.openstack.org/8421119:46
*** andreaf has joined #openstack-keystone19:47
*** david-lyle has joined #openstack-keystone19:47
gyeeayoung, is there a use case for remote_user and password auth to yield a different user_id?19:55
gyeeI am looking at this test https://github.com/openstack/keystone/blob/master/keystone/tests/test_v3_auth.py#L207719:55
ayounggyee, I wanted to knock the REALM off the REMOTE_USER so it matched the uid field in LDAP19:56
ayounghmmm19:56
gyeeayoung, so that's a valid test then?19:56
ayounglooking19:56
ayounggyee, ah...that was thinking MFA19:56
gyeeI am trying to make a patch for https://bugs.launchpad.net/keystone/+bug/129901219:56
ayoungso REMOTE_USER could be ayoung@OPENSTACK.ORG but password would just be ayoung19:57
gyeeayoung, 5 failed tests related to remote user and password auth combination19:57
gyeeayoung, but the 'user_id' should be the same right?19:57
ayounggyee, so I guess it should be "if any of them fails, they all fail?"19:57
ayounguser_id....no clue19:58
openstackgerritA change was merged to openstack/keystone: Enable concurrent testing by default  https://review.openstack.org/8358419:58
ayounggyee, I guess you need to decided "they all match" or "last one wins"19:58
gyeeayoung, the decision is all match19:58
ayounggyee, always?19:58
gyeeif two pulg-ins yield a different user_id, then something is not right19:59
*** dstanek has joined #openstack-keystone20:01
*** marcoemorais1 has quit IRC20:02
*** marcoemorais has joined #openstack-keystone20:03
*** marcoemorais has quit IRC20:03
*** marcoemorais has joined #openstack-keystone20:03
*** dstanek has quit IRC20:05
marekdstevemar: allright, i am back in here. you say the blob part: >>  "blob": "{\"default\": false}", <<20:06
marekdstevemar: but...you want to send rules as a string directly to the create() method?20:06
stevemarmarekd, just wanted to bring it to your attention :)20:16
marekdstevemar: sure, thanks, I am just asking whether *this* was your point :-) To expect rules as a string, not an object.20:17
stevemarmarekd, actually, i think it's fine20:18
stevemarit should default to an array, like you have it20:19
*** rwsu has joined #openstack-keystone20:22
marekdah, but later, pass jsonized string to the 'upper' methods, instead of valid Python object...20:22
marekdstevemar: hmmm,  to be honest I don't really super-like this idea.20:22
marekdstevemar: it's like we should json.dumps() it as late as possible, only to put it into the tcp packets, and probably decode at the server as soon as possible..then you can use it as an object, not a string.20:23
marekdstevemar: that's my personal feeling. correct me if I am missing something :)20:24
*** Mario_ has quit IRC20:30
*** Mario_ has joined #openstack-keystone20:31
openstackgerritRaildo Mascena de Sousa Filho proposed a change to openstack/keystone: Filter User by project  https://review.openstack.org/8413620:42
openstackgerritMarek Denis proposed a change to openstack/python-keystoneclient: Add CRUD operations for Fedration Mapping Rules.  https://review.openstack.org/8374220:44
marekdstevemar: ^^ ?20:44
marekdjamielennox|away: stevemar: also this could be reviewed. I hope I addressed all the issues: https://review.openstack.org/#/c/83337/20:53
*** harlowja is now known as harlowja_away21:00
*** Mario_ has quit IRC21:05
*** marcoemorais has quit IRC21:05
*** marcoemorais has joined #openstack-keystone21:06
morganfainbergayoung, want to bug you about the delete_user calls in assignment patchset, https://review.openstack.org/#/c/80368/ I think we have some wires crossed based upon your assertion21:18
morganfainbergayoung, let me know when you have a few minutes (no rush, can be tomorrow/wed/etc)21:18
ayoungmorganfainberg, gah21:18
ayoungum...looking21:18
*** harlowja_away is now known as harlowja21:19
morganfainbergayoung, you -2'd it, like i said can be later this week21:19
ayoungmorganfainberg, yeah....21:19
*** joesavak has quit IRC21:19
ayoungbut you've already triggered the interrupt....21:19
morganfainbergayoung, lol if you switch back you can not lose everything21:20
morganfainbergayoung, hurry21:20
ayoungtoo late21:20
ayoungcore dumped21:20
morganfainbergayoung, damn sorry.21:20
ayoungheh no problem.  did he resubmit this with changed docs?21:20
morganfainbergayoung, he asked me to help him understand.21:21
ayoungso assignemtn should not be triggering delete_users at all, and I panicked and thought that was what the code was doing...is it?21:21
ayoung delete_user(self, user_id):989    def handle_delete_user(self, user_id):21:22
ayoung975        """Deletes all assignments for a user.21:22
morganfainbergno the original code (afaict) was identity triggering a call on assignment on delete_user21:22
ayoungas opposed to handle_delete user....OK,  that is not a bad name...21:22
morganfainbergsince identity != assignment21:22
morganfainbergso the change here should be to move to the internal callback structure vs. having the drivers call cross-subsystem21:23
morganfainbergwhere only some of the drivers call it.21:23
ayoungmorganfainberg, just wanted to make sure that the pattern for LDAP, tightly coupling the identity and assignment sides, was not continued21:23
ayoungso deleting a user in identity triggeres a callback in the assignment backend>21:23
morganfainbergayoung, that is how it should work, and the intention21:23
morganfainbergwhether assignment actually does anything is up to the assignment backend / manager21:24
ayounghttps://review.openstack.org/#/c/80368/9/keystone/credential/core.py  why is that not using the decorator?21:24
morganfainbergwhich line?21:24
ayoungmorganfainberg, the notification decorator, around the delete functions?21:25
ayoungits not there...he has that structure he registers on init instead21:25
morganfainbergayoung, we have a notification decorator now to listen for events?21:26
ayoungmorganfainberg, no, to emit them21:26
morganfainbergbecause credential_api isn't emitting a delete credential event21:26
ayoungOK.../me backassed.21:26
ayoungdisregard21:26
morganfainbergyeah no worries.21:26
ayounghttps://review.openstack.org/#/c/80368/9/keystone/identity/core.py  is the decoratro  duh21:26
morganfainbergayoung, yep.21:27
ayoungthis is what you get when I am deep in Kerberos mode...21:27
morganfainbergayoung, no worries man.21:27
morganfainbergayoung, i see some more things in here i am fairly adamantly against and could cause rather nasty issues.21:27
ayoungremoved the -221:27
ayounglike?21:28
morganfainbergayoung, cool. let me go mark this up with a bunch of -1.21:28
ayoungfire 'way21:28
morganfainbergayoung, thanks, i was concerned i was misreading your intention.21:28
morganfainbergayoung, wanted to be sure it was addressed so i could explain it to the reviewer21:28
morganfainbergerm submitter21:28
ayoungmorganfainberg, I misread the patch.  Was thinking it was doing something else21:28
morganfainbergayoung, not a worry, it's why i poked ya for it21:28
morganfainbergthe -1s will be because there is order changes to how deletions are being done now.21:29
morganfainberganyway, i'll let ya back to kerberos land.21:30
*** stevemar has quit IRC21:32
ayoungmorganfainberg, thanks...I guess I need to actually get SSL done first, and then Kerberos21:34
*** andreaf has quit IRC21:38
*** andreaf has joined #openstack-keystone21:44
*** flaper87 is now known as flaper87|afk21:57
*** dims has quit IRC21:57
morganfainbergdo we have a V3 specification and what is needed for projects to use V3 (fully support it?)21:58
morganfainberge.g. "why should we use V3 and how do we get there" for projects (e.g. nova) that are currently on V221:59
*** andreaf has quit IRC22:00
*** packet has quit IRC22:02
*** andreaf has joined #openstack-keystone22:08
*** lbragstad has quit IRC22:08
*** nkinder has quit IRC22:11
*** dims has joined #openstack-keystone22:12
*** bknudson has quit IRC22:27
*** lbragstad has joined #openstack-keystone22:35
morganfainberggyee, dolphm, am i crazy, but it looks like keystone.assignment.backends.ldap.ProjectApi.add_user and .remove_user aren't used22:35
morganfainberggyee, afaict that is the whole reason https://review.openstack.org/#/c/80368 needs the notification before the delete occurs22:36
morganfainberggyee, dolphm, which is (as far as i am concerned) a non-starter22:36
*** lbragstad has quit IRC22:47
openstackgerritMarek Denis proposed a change to openstack/python-keystoneclient: Add CRUD operations for Federated Protocols.  https://review.openstack.org/8382922:53
*** marekd is now known as marekd|away22:56
*** marcoemorais has quit IRC23:00
*** marcoemorais has joined #openstack-keystone23:01
*** marcoemorais has quit IRC23:01
*** marcoemorais has joined #openstack-keystone23:01
*** jamielennox|away is now known as jamielennox23:06
gyeemorganfainberg, sorry I was afk, looking now23:08
morganfainberggyee, no worries.23:08
morganfainberggyee, i really don't think that call is used anywhere else (or the .add_user one)23:08
morganfainberggyee, but i wanted a sanity check.23:09
gyeemorganfainberg, I agree, we shouldn't be sending notification prior to the actual operation23:10
morganfainberggyee, ok cool23:16
morganfainbergthanks23:16
*** nkinder has joined #openstack-keystone23:21
*** david-lyle has quit IRC23:30
jamielennoxdtroyer: hey, does this satisfy some of your need for auth/session split? https://review.openstack.org/#/c/83673/23:44
jamielennoxit makes the whole thing very request-y but i like the idea (though i'm still fairly happy with not actually subclassing requests.Session)23:45
*** Chicago has quit IRC23:46
dtroyerit still feels backwards to me…you have Session containing auth-y things rather than just knowing how to ask an auth object passed in to do that for it23:46
dtroyerI think the subclass question is orthoganal and we can arm-wrestle for that one23:47
jamielennoxso you mean how it calls auth.get_endpoint and auth.get_token?23:47
dtroyerbtw, it was trying to test the subclass version that finally brought me around to httpretty, at least for low-level stuff23:47
jamielennoxsession.get_token and session.get_endpoint are essentially just v. thin wrappers around that23:47
jamielennoxdtroyer: i saw that there is some other mocking thing people want to bring in - i don't mind httpretty is kind of ugly internally23:48
dtroyerso I might be able to swallow that, it is much better than before23:48
jamielennoxbut i was thinking when i wrote: https://review.openstack.org/#/c/82007/23:49
jamielennoxthat it's so very easy when passing a requests.Session object that that would be an ideal place to write out own request stubbing logic that would actually test all of our stack23:49
jamielennoxI mean the only call ever made to a requests.Session object is .request - stub that for testing23:50
dtroyerI haven't tried, damn, what was it…httmock?  or something like that.  it looks new though, not sure about its maturity level yet.23:50
*** browne has quit IRC23:50
jamielennoxsomething like that, it's the same thing but it stubs as the requests level which has pros and cons23:51
jamielennoxbut i chose httpretty because at the time (and still) there are clients using httplib and httpretty covered both23:51
jamielennoxand honestly the socket interface is way more stable than requests at least lately23:51
dtroyeryeah, for requests-level and below I'm happy with it.  above that I'm not sure especially the higher you get up the stack23:53
dtroyerand I haven't had an issue mocking out session.requests for everything else23:53
dtroyererr, Session.request()23:53
jamielennoxmy issue with mocking session.requests is every time an argument changes the mock has to change23:53
*** david-lyle has joined #openstack-keystone23:53
jamielennoxeg, i was trying to fit kc sessions into cinderclient and i would have to change all the arguments for things like forwarding which the mock shouldn't care about23:54
dtroyerI think you're just in a quagmire there no matter which way you slice it ;)23:54
jamielennoxanyway - it was making me thing that if you can pass a Fake Session object like in that review then we can do really simple testing that way23:55
dtroyerI do like that idea23:56
*** RockKuo_iPad has joined #openstack-keystone23:57
*** david-lyle has quit IRC23:58
jamielennoxalright - i'll add some tests and bring the passing auth plugin out of WIP23:58
*** RockKuo_iPad has quit IRC23:58
jamielennoxonce it was done i liked it as well because it means eg horizon will get a lot better use out of it23:58
jamielennoxthe only concern i have is that i'm completely clobbering the requests auth= kwarg but i can do a work around for that23:59
*** gokrokve_ has quit IRC23:59
*** gokrokve has joined #openstack-keystone23:59

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