Wednesday, 2015-07-29

*** htruta_ has joined #openstack-keystone00:06
*** topol has joined #openstack-keystone00:14
*** ChanServ sets mode: +v topol00:14
*** _cjones_ has quit IRC00:14
*** david-lyle has quit IRC00:24
*** lhcheng_ is now known as lhcheng00:28
*** ChanServ sets mode: +v lhcheng00:28
*** albertom has quit IRC00:39
*** Guest4324 has quit IRC00:39
*** albertom has joined #openstack-keystone00:42
*** browne_ has joined #openstack-keystone00:45
*** browne_ has quit IRC00:47
*** sigmavirus24_awa is now known as sigmavirus2400:48
*** bknudson has joined #openstack-keystone00:54
*** ChanServ sets mode: +v bknudson00:54
*** browne has quit IRC01:08
*** davechen has joined #openstack-keystone01:15
*** r-daneel has quit IRC01:19
*** roxanaghe has quit IRC01:21
*** ankita_w_ has quit IRC01:23
*** ankita_wagh has joined #openstack-keystone01:24
*** ankita_wagh has quit IRC01:28
*** jiaxi has joined #openstack-keystone01:30
openstackgerritBrant Knudson proposed openstack/keystone: Document sample config updated automatically  https://review.openstack.org/19490601:34
*** richm has quit IRC01:37
openstackgerritBrant Knudson proposed openstack/keystone: Use dict.items() rather than six.iteritems()  https://review.openstack.org/20076201:51
openstackgerritBrant Knudson proposed openstack/keystone: Cleanup use of iteritems  https://review.openstack.org/20678501:51
*** samleon has quit IRC01:52
*** samleon has joined #openstack-keystone01:53
*** ankita_wagh has joined #openstack-keystone01:53
openstackgerritBrant Knudson proposed openstack/keystone: Ensure database options registered for tests  https://review.openstack.org/20390001:56
*** htruta_ has quit IRC01:57
*** jasonsb has joined #openstack-keystone01:57
*** ankita_wagh has quit IRC01:58
*** ankita_wagh has joined #openstack-keystone01:59
openstackgerritjiaxi proposed openstack/keystone: Reject create endpoint with invalid urls  https://review.openstack.org/20051202:09
jiaxidstanek: Have you go to bed ?02:10
jiaxidavechen: Are you online ?02:11
davechenjiaxi: yes, hello, jiaxi.02:15
jiaxidavechen: You are in PuDongXinQu of ShangHai ?02:18
*** david-lyle has joined #openstack-keystone02:19
jiaxidavechen: https://review.openstack.org/#/c/200512/  have a look at my patch set.  Please.02:19
davechenjiaxi: sure, my pleasure.02:19
jiaxidavechen: Thanks02:20
davechenjiaxi: no, I am in Minghang district.02:20
jiaxidavechen: I once lived in Minhang district.02:21
davechenjiaxi: which company are you working for?02:21
jiaxidavechen: I once in ShangHai. But now work in BeiJing .   A  small startup.02:22
*** david-lyle has quit IRC02:23
davechenjiaxi: I know, unitstack, a good and great startup.02:24
jiaxidavechen:  Maybe.02:24
*** piyanai has joined #openstack-keystone02:28
*** jasonsb has quit IRC02:28
*** lhcheng has quit IRC02:31
*** spandhe has quit IRC02:33
*** boris-42 has quit IRC02:40
*** browne has joined #openstack-keystone02:40
jiaxidavechen: You work in Inter ?02:43
jiaxidavechen: Intel have son company in Minhang ? I only Know Microsoft and Google has son company there02:44
*** hakimo has joined #openstack-keystone02:51
*** hakimo_ has quit IRC02:53
*** ankita_w_ has joined #openstack-keystone02:55
*** ankita_wagh has quit IRC02:58
*** ankita_w_ has quit IRC03:00
*** piyanai has quit IRC03:02
*** lhcheng has joined #openstack-keystone03:02
*** ChanServ sets mode: +v lhcheng03:02
*** spandhe has joined #openstack-keystone03:03
*** spandhe_ has joined #openstack-keystone03:09
*** spandhe has quit IRC03:09
*** spandhe_ is now known as spandhe03:09
davechenjiaxi, yes, all of them except google.03:12
dstanekjiaxi: yep, i'm still here. just took a shower after a short night run.03:13
jiaxidavechen: Zizhu Kejiyuan03:14
dstanekjiaxi: did you find how to comment on older patchsets?03:21
jiaxidstanek: No..03:22
dstanekjiaxi: if you click on the arrow next to 'Patch Set #' you will see the files from that patchset and a 'Review' button. if you click that you can leave a comment. you can also comment on the files and click review to publish them03:23
*** topol has quit IRC03:24
jiaxidstanek: I have a try right now03:26
dstanekif you have unpublished comments on earlier changesets you'll see a little red cartoon bubble icon03:27
jiaxidstanek: Hi, David. I replied you in patch set 32 yesterday.  And published just now.03:28
*** topol has joined #openstack-keystone03:29
*** ChanServ sets mode: +v topol03:29
jiaxidstanek: 1 draft in red  means I have made a comment, but not published. My god   I have replid every comment , but all in red. Never published !!!03:30
dstanekjiaxi: yep, that's right03:31
dstanekjiaxi: did you pull my changes down using 'git review -d'?03:31
jiaxidstanek: What I said yesterday is not right. I hope you are not angry.03:31
dstanekjiaxi: nope, not at all03:32
jiaxidstanek: Thank you. 23:32 in US ?03:32
dstanekjiaxi: you'll see people in the keystone community push changes to someone else's review for a couple of reasons03:33
jiaxidstanek: It's 23:30+ in US ?03:33
jiaxijiaxi: And yesterday, It's the first time...03:33
*** david-lyle has joined #openstack-keystone03:34
dstanekjiaxi: no reason to copy/paste tested code in just for someone else to copy paste and cores will do it where there are little tweaks that can be made to quickly get something merged without waiting for author turn around03:34
*** topol has quit IRC03:34
dstanekyes, it's 23:34 (give or take) here03:34
jiaxidstanek: You should go to bed. Sleep too late is harmful to you health.03:36
jiaxidstanek: Okay, I got it03:36
dstanekjiaxi: nah, too much to do :-) i need to publish my new project typist before i go to sleep03:38
*** ayoung has quit IRC03:38
jiaxidstanek: Too hard_working. I should learn from you.03:39
dstanekjiaxi: i don't work as hard as you think; for example, between my meetings today i went outside to swim with my kids for an hour and after dinner we went for a family bike ride03:41
dstanekjiaxi: it just appears i work all day/night because i spread things out03:41
davechendstanek: happy life.03:42
jiaxidstanek: Very happly life. Like god.03:43
dstanekdavechen: gotta keep it balanced :-)  that has gotten a bit harder since i started working from home03:43
openstackgerritOpenStack Proposal Bot proposed openstack/python-keystoneclient: Updated from global requirements  https://review.openstack.org/20608203:43
davechendstanek: yep, I am always have trouble to balance my life, since I dont swim. :)03:44
jiaxidavechen: You can give me a +1,too.  I had given you +1 to your patch set.03:44
davechenjiaxi: it's not exchange, +1 is acutally meaningless, you need dstanek's +2, not cheat you.03:44
jiaxidavechen: He would if he can.03:46
openstackgerritOpenStack Proposal Bot proposed openstack/keystone: Updated from global requirements  https://review.openstack.org/20681803:46
openstackgerritOpenStack Proposal Bot proposed openstack/keystoneauth: Updated from global requirements  https://review.openstack.org/20681903:46
openstackgerritOpenStack Proposal Bot proposed openstack/keystoneauth-saml2: Updated from global requirements  https://review.openstack.org/20682003:46
openstackgerritOpenStack Proposal Bot proposed openstack/keystonemiddleware: Updated from global requirements  https://review.openstack.org/19725403:46
davechenjiaxi, let's take a break have a lunch.03:47
jiaxidavechen: Yes, It's time for lunch now.03:47
dstanekdavechen: +1s can be meaningful. many people +1 saying "good enough" and those are meaningless, but there are others that use the same attention to detail that you would expect from someone giving out a +2. and when i see those people giving a +1 i know i can start reviewing that one.03:49
dstanekit's a good way to help me prioritize03:49
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.policy: Updated from global requirements  https://review.openstack.org/20684003:50
openstackgerritOpenStack Proposal Bot proposed openstack/pycadf: Updated from global requirements  https://review.openstack.org/20684703:50
openstackgerritOpenStack Proposal Bot proposed openstack/python-keystoneclient: Updated from global requirements  https://review.openstack.org/20608203:50
openstackgerritOpenStack Proposal Bot proposed openstack/python-keystoneclient-kerberos: Updated from global requirements  https://review.openstack.org/19231903:50
davechendstanek: thanks.03:57
davechendstanek: have a good dream. :)03:58
*** davechen is now known as davechen_afk03:58
*** sigmavirus24 is now known as sigmavirus24_awa04:14
*** ankita_wagh has joined #openstack-keystone04:39
*** max__ has joined #openstack-keystone04:55
*** max__ is now known as Guest7236304:55
*** max_a has quit IRC04:56
*** stevemar has joined #openstack-keystone04:56
*** ChanServ sets mode: +v stevemar04:56
openstackgerritMerged openstack/pycadf: Updated from global requirements  https://review.openstack.org/20684704:58
openstackgerritMerged openstack/oslo.policy: Updated from global requirements  https://review.openstack.org/20684004:59
*** jasonsb has joined #openstack-keystone05:17
*** stevemar has quit IRC05:19
*** stevemar has joined #openstack-keystone05:20
*** ChanServ sets mode: +v stevemar05:20
*** stevemar has quit IRC05:24
*** ajayaa has quit IRC05:25
*** yottatsa has joined #openstack-keystone05:28
openstackgerritMerged openstack/keystone: Reuse token_ref fetched in AuthContextMiddleware.  https://review.openstack.org/19086305:36
openstackgerritMerged openstack/keystone: Fix remaining mention of KLWT  https://review.openstack.org/20619505:39
openstackgerritMerged openstack/keystone: Assign different values to public and admin ports  https://review.openstack.org/20566705:39
openstackgerritMerged openstack/keystone: Test admin app in test_admin_version_v3  https://review.openstack.org/20647205:39
openstackgerritMerged openstack/keystone: Test function call result, not function object  https://review.openstack.org/20656705:39
*** topol has joined #openstack-keystone05:46
*** ChanServ sets mode: +v topol05:46
*** jasonsb has quit IRC05:50
*** topol has quit IRC05:51
*** jasonsb has joined #openstack-keystone05:57
openstackgerritMerged openstack/keystone: Updated from global requirements  https://review.openstack.org/20681806:00
*** yottatsa has quit IRC06:02
openstackgerritMerged openstack/keystone: Document sample config updated automatically  https://review.openstack.org/19490606:04
*** kiran-r has joined #openstack-keystone06:05
*** ParsectiX has joined #openstack-keystone06:06
*** pnavarro has joined #openstack-keystone06:06
*** afazekas has joined #openstack-keystone06:09
*** ajayaa has joined #openstack-keystone06:13
*** hrou has quit IRC06:20
*** josecastroleon has joined #openstack-keystone06:22
*** yottatsa has joined #openstack-keystone06:27
openstackgerritOpenStack Proposal Bot proposed openstack/keystone: Imported Translations from Transifex  https://review.openstack.org/20688906:30
jiaxidavechen: Needn't escape the '$' in the URL, it's just string substitution.06:38
jiaxidavechen: what do you mean ?06:38
jiaxidavechen: Needn't escape the '$' in the URL, it's just string substitution.06:38
*** kfox1111_ has quit IRC06:47
jiaxidavechen_afk:  what do you mean ?06:47
marekddstanek: Hey there. Are you planning to improving it soon https://review.openstack.org/#/c/203142/ ?06:48
marekddstanek: just wanted to sync wrt this.06:48
*** browne has quit IRC06:49
*** lhcheng has quit IRC06:50
*** ankita_wagh has quit IRC06:57
*** ankita_wagh has joined #openstack-keystone06:57
*** davechen_afk is now known as davechen06:58
davechenlhcheng: jiaxi just meant there should be a "that" after "indicate" to follow the syntax of english. :)06:59
davechenlhcheng, jiaxi, but I am doubt about that. :)06:59
jiaxidavechen: I have doubt lhcheng is Chinese.07:01
*** ankita_wagh has quit IRC07:02
jiaxidavechen:  When I run tox,  always met         No space left on device07:02
davechenjiaxi: ABC I think, but for sure he is.07:02
jiaxidavechen: And my disk is 40G..07:02
*** yottatsa has quit IRC07:02
marekdodyssey4me: hey!07:02
marekdodyssey4me: did you have a chance to run the patch ?07:03
davechenjiaxi: you need a more powerful PC.07:04
jiaxidavechen: A vm.  8G mem    40G disk07:05
jiaxi2 vcpu07:05
jiaxidavechen: memory-2(2vCPU/8G)07:05
*** yottatsa has joined #openstack-keystone07:12
openstackgerritDave Chen proposed openstack/keystone: Move endpoint_filter migrations into keystone core  https://review.openstack.org/18698807:12
openstackgerritDave Chen proposed openstack/keystone: Move endpoint filter into keystone core  https://review.openstack.org/18337707:12
*** ankita_wagh has joined #openstack-keystone07:21
openstackgerritDave Chen proposed openstack/keystone: Show helpful message when request body is not provided  https://review.openstack.org/19590307:29
openstackgerritDave Chen proposed openstack/keystone: Give some message when an invalid token is in use  https://review.openstack.org/19998907:30
*** fhubik has joined #openstack-keystone07:31
*** ankita_wagh has quit IRC07:33
*** ankita_wagh has joined #openstack-keystone07:33
*** ankita_wagh has quit IRC07:37
yottatsaMooooorning!07:42
yottatsaAnother day, another auth bug https://bugs.launchpad.net/keystone/+bug/147494207:42
openstackLaunchpad bug 1474942 in Keystone "Missing either X-Auth-Token or X-Subject-Token in fernet token gives HTTP500 code." [Medium,Triaged] - Assigned to Vladimir Eremin (yottatsa)07:42
openstackgerritjiaxi proposed openstack/keystone: Reject create endpoint with invalid urls  https://review.openstack.org/20051207:43
openstackgerritVladimir Eremin proposed openstack/keystone: Check Fernet token for None  https://review.openstack.org/20692107:46
*** ParsectiX has quit IRC07:50
*** ParsectiX has joined #openstack-keystone07:51
*** woodster_ has quit IRC07:54
openstackgerritMarek Denis proposed openstack/keystone: Fernet payloads for federated scoped tokens.  https://review.openstack.org/20217607:56
*** yottatsa has quit IRC08:00
*** yottatsa has joined #openstack-keystone08:07
yottatsajiaxi hello08:07
yottatsacould you please see on https://review.openstack.org/20692108:07
*** jistr has joined #openstack-keystone08:08
jiaxiyottatsa: Okay, no problem08:08
yottatsathank you08:08
*** yottatsa has quit IRC08:10
*** yottatsa has joined #openstack-keystone08:11
marekdyottatsa: thanks for the fix08:13
marekddid you try v2 and v3 ?08:13
yottatsamarekd, yep, I tried both08:14
marekdyottatsa: cool.08:16
yottatsamarekd, should I check that input is a binary_type explicitly?08:27
yottatsae.g. https://gist.github.com/yottatsa/5b83aeda42e60e0afd6808:28
davechenmarekd: ping? marek08:30
bretonyottatsa: heya, could you please try to reproduce your bug with Lance's branch https://review.openstack.org/#/c/196877/12 ?08:30
*** fhubik is now known as fhubik_afk08:31
*** pnavarro has quit IRC08:33
yottatsabreton I'll try it now08:35
*** davechen is now known as davechen_afk08:36
*** fhubik_afk is now known as fhubik08:38
yottatsaAutomatic merge failed08:39
marekddavechen_afk: what's up?08:40
*** e0ne has joined #openstack-keystone08:40
yottatsamarekd, should I check that input is a binary_type explicitly? e.g. https://gist.github.com/yottatsa/5b83aeda42e60e0afd6808:40
marekdyottatsa: which file would it be?08:43
*** e0ne has quit IRC08:43
yottatsakeystone.token.providers.fernet.token_formatters.TokenFormatter#validate_token08:43
yottatsaI've updated gist08:45
marekdyottatsa: hm, i'd rather not answer this question because i am not fernet master. you can search the docs (fernet docs) and look whether the encoded format is binary, but i think it isn't.08:45
marekdyottatsa: dolphm and lbragstad can surely help in that matter.08:45
marekd(they should be later)08:45
yottatsamarekd, it's more code style question :)08:45
marekdyottatsa: since sanity check is a code style thing? :P08:49
yottatsabreton, it's HTTP 500 on missing or incorrect token08:49
marekdsine when*08:49
yottatsaI'll wait for Fernet guys :)08:50
yottatsabreton, *stlll HTTP 50008:50
*** davechen_afk is now known as davechen08:50
davechenmarekd: Just want to ask you a question, but i think it's not important anymore, forgot it. :)08:51
marekddavechen: ok08:52
davechenmarekd: is08:53
davechenmarekd: Is it in the morning in your local time?08:53
yottatsabreton, and with my patch it'll be 40008:53
marekd10.53 am08:55
marekddavechen: ^^08:55
davechenmarekd: anything else are you focus on? beside keystone.08:57
davechenmarekd: it's about 17:00 PM in my region.08:58
davechenmarekd: time to shutdown my laptop and back home.08:59
*** spandhe has quit IRC08:59
davechenone more day is killed by me.08:59
jiaxidavechen: Hello. could you please have a look at a very easy patch ?09:01
jiaxidavechen: https://review.openstack.org/#/c/203312/09:01
bretonyottatsa: cool, thanks09:02
davechenjiaxi: sure.09:02
davechenjiaxi: when could you off-duty?09:02
davechenAh, KSC.09:03
*** fhubik is now known as fhubik_afk09:06
*** fhubik_afk is now known as fhubik09:08
yottatsabreton, Ran 5498 tests in 68.211s OK09:11
openstackgerritVladimir Eremin proposed openstack/keystone: Explicitly check incorrect token input  https://review.openstack.org/20692109:12
*** davechen has left #openstack-keystone09:13
*** yottatsa has quit IRC09:19
jiaxidavechen: off_duty? 19:0009:28
*** pnavarro has joined #openstack-keystone09:28
-openstackstatus- NOTICE: Currently our CI system is broken, jobs are not getting processed at all.09:28
*** ChanServ changes topic to "Currently our CI system is broken, jobs are not getting processed at all."09:28
jiaxidavechen: But at night, I was online, too. Learning ceilometer.09:29
jiaxiyottatsa: Hi, you owe me a review https://review.openstack.org/#/c/203312/09:33
*** ParsectiX has quit IRC09:35
*** alex_xu has quit IRC09:48
*** alex_xu has joined #openstack-keystone09:49
*** e0ne has joined #openstack-keystone09:57
*** Kennan has quit IRC10:00
*** telemonster has quit IRC10:00
*** mitz has quit IRC10:00
*** dguerri` has quit IRC10:00
*** mitz has joined #openstack-keystone10:00
*** telemonster has joined #openstack-keystone10:00
*** Kennan has joined #openstack-keystone10:01
*** dguerri` has joined #openstack-keystone10:01
*** dguerri` is now known as dguerri10:01
*** dguerri has joined #openstack-keystone10:01
*** e0ne_ has joined #openstack-keystone10:02
*** kiran-r has quit IRC10:03
*** e0ne has quit IRC10:05
*** e0ne_ is now known as e0ne10:06
*** rdo has quit IRC10:08
*** fhubik is now known as fhubik_afk10:10
*** rdo has joined #openstack-keystone10:10
*** kiran-r has joined #openstack-keystone10:12
*** josecastroleon has quit IRC10:15
*** ParsectiX has joined #openstack-keystone10:17
dstanekjiaxi: i think by repeatedly asking for reviews you are going to have the opposite effect of what you want10:35
jiaxidstanek: ok, I know.10:36
jiaxidstanek: You go to bed so late, get up so early.10:36
dstanekjiaxi: just got up :-)10:37
jiaxidstanek: No space left on device.  Do you have better way to deal with.10:38
*** aix has quit IRC10:38
jiaxidstanek: when I run tox. always Error 'No space left on device'10:39
dstanekjiaxi: you testrepository directory may be really big and can be deleted. what does "du -sh .* *" show you?10:42
jiaxidstanek: stack@openstack:/opt/stack/ceilometer$ du -sh .* * 880M    .10:43
jiaxistack@openstack:/opt/stack/ceilometer$ du -sh .* * 880M    . 4.5G    ..10:43
samueldmqmorning guys10:48
*** topol has joined #openstack-keystone10:49
*** ChanServ sets mode: +v topol10:49
dstanekjiaxi: anything you can delete?10:50
dstaneksamueldmq: good morning10:50
dstanekjiaxi: can you put the full output on paste.openstack.org?10:50
jiaxidstanek: I don't know. I have just added a cloud volume which size is 40G10:51
jiaxiThis is the full output :  stack@openstack:/opt/stack/ceilometer$ du -sh .* * 880M    . 4.5G    ..10:51
*** yottatsa has joined #openstack-keystone10:52
dstanekjiaxi: hmm...odd. on my machine it shows a lines for each file/directory including hidden ones10:53
*** topol has quit IRC10:53
dstanektry just "du -sh *"10:53
jiaxiin which directory10:54
dstanekin whatever directory you think is too big10:55
dstanekand then "du -sh .*" should be you hidden files too10:55
jiaxidstanek: http://paste.openstack.org/show/406191/10:56
dstanekjiaxi: what about hiddens?10:57
jiaxihttp://paste.openstack.org/show/406192/10:58
jiaxidstanek: http://paste.openstack.org/show/406192/10:58
dstaneksomethings not right because you should have at least .tox and .test directories10:59
*** yottatsa has quit IRC11:00
*** fhubik_afk is now known as fhubik11:00
jiaxidstanek: drwxrwxr-x  2 stack stack  4096 Jul 29 06:30 .testrepository/ drwxrwxr-x  8 stack stack  4096 Jul 29 06:34 .tox/11:00
jiaxidstanek: when I use 'll' , I can see them11:01
dstanekyou should be able to use that to find what is eating space11:01
jiaxidstanek: in .testrepository  has many files. I think I can delete some ?11:02
dstanekyou can freely delete .tox and .testrepository directories as they will get regenerated11:02
jiaxidstanek: I will try right now.11:03
dstanekif you are running lots of test across lots of projects they 40G may not be enough to hold all of that11:03
samueldmqjamielennox: hey, you still around ? need some advice on adding CacheControl support to ksclient (https://pypi.python.org/pypi/CacheControl/0.9.3)11:03
*** jsheeren has joined #openstack-keystone11:04
dstaneksamueldmq: i wouldn't add that just yet since we don't do the headers - concentrate on the middleware11:04
samueldmqdstanek: so adding our own support (reading the headers etc) in the middleware is ok for now ?11:05
samueldmqdstanek: well ... that's how we do with all the other headers (which aren't cachecontrol so far) there11:06
dstaneksamueldmq: oh, hmmm... ksm uses ksc11:06
samueldmqdstanek: yes that's the point11:06
openstackgerritMarek Denis proposed openstack/keystone: Better error message when unable to map user  https://review.openstack.org/20698711:06
dstaneksamueldmq: i started writiing a patch to add it to ksc yesterday, but got distracted11:06
marekdsamueldmq: dstanek ^^11:06
*** jiaxi has quit IRC11:07
samueldmqdstanek: nice, so can I assume you are grabing this bit ? so I can concentrate on the others11:07
*** yottatsa has joined #openstack-keystone11:08
dstaneksamueldmq: sure, i can finish that up today11:08
samueldmqdstanek: that's just ..11:08
samueldmqdstanek: perfect :)11:08
dstanekmarekd: now why would you want to make it better :-)11:08
samueldmqdstanek: thanks a ton11:08
dstaneksamueldmq: my pleasure. i started poking around after sigmavirus24_awa suggested it11:09
samueldmqdstanek: you're great :)11:09
samueldmqdstanek: I am going to update middleware + oslo patches today11:09
samueldmqdstanek: btw ... middleware will use ksc to fetch the policy, right ?11:10
dstaneknice11:10
dstanekyea, i would assume so11:10
samueldmqdstanek: and it asks oslo.policy to cache it in a file, so the service can read it from there11:10
samueldmqdstanek: I am not sure I got the issue with writting to a file, as you were saying yesterday11:10
dstaneksamueldmq: no olso.policy won't cache to a file at all. cachecontrol will11:11
samueldmqdstanek: but .. how do the oslo.policy enforcer in the service will know what file is that ?11:11
dstaneksamueldmq: olso.policy will have to either accept a blob of json or a file-like object if it doesn't already11:11
samueldmqdstanek: what I did so far is : write to a file specified in the config (dyanamic_policy_path) and then the anotehr instance of oslo.policy (at the serivce) will read from tehre as well11:12
samueldmqdstanek: what do you mean by a file-like object ?11:13
dstaneksamueldmq: an object that it can just call read on11:13
samueldmqdstanek: but it can't, because the isntance of oslo.policy enforcer at middleware is different from the  instance at the service (nova)11:14
samueldmqdstanek: middleware has its oslo.policy.policy.Enforcer() instance and use it to write to the file11:14
samueldmqdstanek: the service (nova) has its instance as well and use it as today (read the files and do the enforcement)11:15
samueldmqdstanek: so we can't store like an attribute of the object11:15
dstanekbrb11:15
samueldmqdstanek: sure11:15
*** yottatsa has quit IRC11:17
*** e0ne has quit IRC11:25
*** piyanai has joined #openstack-keystone11:25
dstaneksamueldmq: so the middleware isn't doing any policy enforcement? it's just there to download the file?11:31
*** belmoreira has joined #openstack-keystone11:32
*** e0ne has joined #openstack-keystone11:35
samueldmqdstanek: yes11:36
samueldmqdstanek: when (a day) we split the policy in rbac (only roles check) + other checks (scope, etc), we can perform the enforcement of the former in the middleware11:37
dstaneksamueldmq: what if we passed a filename in the wsgi headers?11:37
samueldmqdstanek: what would that change ?11:38
dstanekksm seems like a really odd place to put the policy fetching logic11:38
samueldmqdstanek: the filename should be in the confif, so both enforcers will know where to look for11:38
dstaneksamueldmq: they can't use the environment var?11:39
samueldmqdstanek: oslo.policy doesn't even know about ksc, and it doesn't need to, it's just a llibrary11:39
samueldmqdstanek: so I guesss it should be ksmiddleware ..11:39
samueldmqdstanek: to pass the centralized_policy_path?11:39
dstaneksamueldmq: alright i'll see if there is a way i can use centralized_policy_path; 1 of those per service right?11:40
samueldmqdstanek: yes one per running service endpoint, so oslo.policy can cache it and retrieve it later11:41
samueldmqdstanek: although I am not sure why that'd be better than having something in the config to say such path11:43
dstaneki'm confused now. isn't centralized_policy_path the setting in the config file?11:43
samueldmqdstanek: yes haha, but I thoguht you were saying to get it from the server11:44
samueldmqdstanek: so today I have a config in the [oslo_policy] section saying : centralized_policy_file11:44
dstaneksamueldmq: no, i'll try to make that work. but it that doesn't there is no reason we can't pass a file path through the headers11:44
dstaneksamueldmq: i would just have to see what oslo.config gets as input11:45
samueldmqdstanek: when, from middleware I call: enforcer.update_dynamic_policy(policy_dict), and then it write to that file11:45
samueldmqdstanek: nova calls its enforcer instance with: enforcer.enforcer(...), that will consider the policy in _centralized_policy_path_ (previously written)11:46
dstaneksamueldmq: is policy using the same config instance as middleware?11:46
dstanekhmmm...it should be cause it's the same process11:46
dstanekwe could also rewrite that at runtime11:46
dstaneksamueldmq: let me experiment a little and get back to you11:47
samueldmqdstanek: yes, both middleware + service read from, let's say etc/glance/glance-api.conf11:47
dstaneksamueldmq: but is it the same instance of the config11:47
samueldmqdstanek: I don't think so11:47
samueldmqdstanek: since the things middleware pass to the service are some info through envvars11:48
samueldmqdstanek: like info from the token11:48
marekddstanek: the msg?11:48
samueldmqdstanek: sure, I appreciate you doing some tests around and giving me some directions :)11:49
*** jsheeren has quit IRC11:49
*** piyanai has quit IRC11:52
*** josecastroleon has joined #openstack-keystone11:55
dstanekmarekd: ha, yes11:56
*** pnavarro is now known as pnavarro|lunch11:59
*** e0ne has quit IRC11:59
*** aix has joined #openstack-keystone12:07
*** woodster_ has joined #openstack-keystone12:13
*** kiran-r has quit IRC12:18
marekddstanek: don't you think it's a little bit vague?12:18
dstanekmarekd: what's vague?12:19
marekdthe msg12:19
marekd"couldn't not map user"12:19
marekdit doesn't direct me to the wrong maping rules, nobody really complained when i added my mapping rules...where is the problem?12:19
marekdand the only way to do this is actually grepping the code.12:19
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystonemiddleware: Introduce endpoint_id config  https://review.openstack.org/20504912:19
dstanekmarekd: i think your new message is much better12:20
*** fhubik is now known as fhubik_afk12:20
*** gordc has joined #openstack-keystone12:21
*** e0ne has joined #openstack-keystone12:25
*** jiaxi has joined #openstack-keystone12:26
*** edmondsw has joined #openstack-keystone12:27
*** ajayaa has quit IRC12:30
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystonemiddleware: Introduce endpoint_id config  https://review.openstack.org/20504912:31
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystonemiddleware: Introduce endpoint_id config  https://review.openstack.org/20504912:31
dstanekjiaxi: no reason to publish all of your old comments12:43
jiaxidstanek: Sorry,  so let it be there.  I didn't know how to publish comments before.12:44
dstanekjiaxi: that's ok. since they don't have any value anymore either just leave them as draft or delete them. i leave mine as draft12:47
dstanekwe have lots of stuff targeted to liberty-2, but not a ton implemented12:47
jiaxidstanek: liberty is a version after kilo ??12:48
dstanekjiaxi: yes12:48
jiaxidstanek: Great12:49
dstanekjiaxi: that's what we are working on now12:49
*** ChanServ changes topic to "Liberty-2 this week! Land Code! | MidCycle Etherpad: https://etherpad.openstack.org/p/keystone-liberty-midcycle-meetup"12:50
-openstackstatus- NOTICE: zuul's disks were at capacity. Space has been freed up and jobs are being re-queued.12:50
jiaxidstanek: No wonder have so few cores come to review12:50
dstanekjiaxi: lots of reviews are happening :-)12:50
dstanekjiaxi: they are just focused on the release critical stuff, which is my i said to be patient with your reviews12:51
jiaxidstanek: okay...12:51
*** yottatsa has joined #openstack-keystone12:51
jiaxidstanek: You are so kind.12:51
samueldmqdstanek: how big is our core-team ? when adding to reviews in gerrit I saw 13, but not all of them are really *active*12:53
samueldmqdstanek: I guess that's because people get requirements/other priorities in the moment, things from their employers12:53
dstaneksamueldmq: yes, lots to do12:56
*** jaosorior has joined #openstack-keystone12:56
*** dims has quit IRC12:57
*** dims has joined #openstack-keystone12:57
samueldmqdstanek: yeah, and each time there are more new contributors coming and proposing tons of changes (features, bug fixes)12:58
samueldmqdstanek: lots to do, great responsability :)12:58
dstaneksamueldmq: i think there are 12 of us. at least that's how many i just counted in my mind :-)12:58
*** gordc is now known as gordc_idle13:00
*** bknudson has quit IRC13:01
dstanekmorganfainberg: the release stuff is happening this morning13:01
morganfainbergdstanek: great13:02
morganfainbergIm about to get on a plane. Thanks for handling this.13:02
dstanekmorganfainberg: i just looked though everything and didn't see any blockers; are there any that you know of?13:02
*** topol has joined #openstack-keystone13:02
*** ChanServ sets mode: +v topol13:02
dstanekmorganfainberg: np13:03
*** hrou has joined #openstack-keystone13:05
*** jsavak has joined #openstack-keystone13:08
dstaneksamueldmq: confirmed https://review.openstack.org/#/admin/groups/9,members13:08
*** sigmavirus24_awa is now known as sigmavirus2413:08
sigmavirus24dstanek: don't blame me for your poor life decisions =P13:10
*** TheIntern has joined #openstack-keystone13:11
*** bknudson has joined #openstack-keystone13:16
*** ChanServ sets mode: +v bknudson13:16
samueldmqdstanek: there is one very very inactive13:21
samueldmqdstanek: OpenStack Hudson13:21
dstaneksigmavirus24: i have to blame somenbody13:21
samueldmqdstanek: hehe13:21
dstaneki thought hudson was fired when we hired jenkins...13:22
*** piyanai has joined #openstack-keystone13:22
sigmavirus24dstanek: no Hudson is Jenkins' butler13:23
sigmavirus24or something13:23
dstaneksigmavirus24: openstack is so rich even it's butler has a butler13:23
morganfainbergdstanek: nope dont knownof any blockers13:26
-openstackstatus- NOTICE: zuul jobs after about 07:00 UTC may need a 'recheck' to enter the queue. Look if your change is in http://status.openstack.org/zuul/ and recheck if not.13:26
sigmavirus24dstanek: well obviously13:26
openstackgerritMerged openstack/keystoneauth-saml2: Updated from global requirements  https://review.openstack.org/20682013:29
*** jecarey has joined #openstack-keystone13:32
*** stevemar has joined #openstack-keystone13:34
*** ChanServ sets mode: +v stevemar13:34
*** ayoung has joined #openstack-keystone13:36
*** ChanServ sets mode: +v ayoung13:36
*** raildo has joined #openstack-keystone13:38
*** yottatsa has quit IRC13:41
openstackgerritMarek Denis proposed openstack/keystone: Better error message when unable to map user  https://review.openstack.org/20698713:43
*** yottatsa has joined #openstack-keystone13:43
marekddstanek: ^^13:44
*** markvoelker has joined #openstack-keystone13:44
marekddolphm: Hi.13:46
marekddolphm: I wanted to carry on with https://review.openstack.org/#/c/202176/13:47
dstanekyottatsa: i saw you mention something about byte types and fernet this morning. what were you trying to do?13:49
yottatsadstanek, hi! take a look on https://review.openstack.org/20692113:50
*** richm has joined #openstack-keystone13:53
dstanekyottatsa: nice, i'll take a detailed look in a bit. i've been working on a patch that cleans up the unicode junk, but i'm trying to verify it13:53
*** LukeHinds has joined #openstack-keystone13:54
yottatsadstanek, can you look on rev1? I've done it because I want to check the input for None, but then I modified it a bit13:55
*** pnavarro|lunch is now known as pnavarro13:56
*** evrardjp has quit IRC13:59
*** fhubik_afk is now known as fhubik13:59
*** mylu has joined #openstack-keystone14:01
openstackgerritMarek Denis proposed openstack/keystone: Refactor: rename Fernet's unscoped federated payload  https://review.openstack.org/20219014:02
*** markvoelker has quit IRC14:04
*** mhu has quit IRC14:04
*** EmilienM has quit IRC14:05
*** evrardjp has joined #openstack-keystone14:06
*** EmilienM has joined #openstack-keystone14:09
jiaxistevemar: hi14:09
* breton is reviewing is_domain patches14:10
*** mylu has quit IRC14:11
*** mylu has joined #openstack-keystone14:12
*** ParsectiX has quit IRC14:12
*** browne has joined #openstack-keystone14:12
*** jdennis has quit IRC14:12
bretonstevemar: come on, what's so bad in test@localhost;test account for viewing some sketches in horizon? :)14:12
*** jdennis has joined #openstack-keystone14:13
stevemarbreton: i lol'ed at that, cause the ukent folks are all about security!14:15
*** yottatsa has quit IRC14:16
marekdbreton: instead of asking for credentials you should have sent them public key asking for adding it14:17
marekd:P14:17
*** yottatsa has joined #openstack-keystone14:19
*** markvoelker_ has joined #openstack-keystone14:21
*** mhu has joined #openstack-keystone14:22
*** r-daneel has joined #openstack-keystone14:26
*** pnavarro is now known as pnavarro|afk14:28
*** markvoelker_ has quit IRC14:38
*** Ephur has joined #openstack-keystone14:38
*** markvoelker has joined #openstack-keystone14:39
*** ajayaa has joined #openstack-keystone14:39
*** yottatsa has quit IRC14:42
*** markvoelker has quit IRC14:47
*** markvoelker has joined #openstack-keystone14:47
*** yottatsa has joined #openstack-keystone14:48
jiaxiWhat does AFK mean ?14:52
yottatsajiaxi away from keyboard14:52
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystonemiddleware: Fetch token's project hierarchy  https://review.openstack.org/20707714:53
jiaxiyottatsa: Thanks , Which country do you come from14:53
yottatsajiaxi, from Russia (14:54
samueldmqayoung: morganfainberg dstanek ^ a first patch that adds project hierarchy information to the request headers :)14:54
samueldmqericksonsantos is working on the hierarchical quota implementation on cinder and he'll be considering this approach as an option, and put that on the table for discussion14:54
jiaxiyottatsa: Great, Near our country, China14:56
*** belmoreira has quit IRC14:59
*** jsavak has quit IRC15:00
dstanekdhellmann: when do you arrive in Ohio?15:00
*** jistr has quit IRC15:00
*** jsavak has joined #openstack-keystone15:01
*** e0ne has quit IRC15:02
*** mestery has joined #openstack-keystone15:02
*** jistr has joined #openstack-keystone15:02
*** e0ne has joined #openstack-keystone15:04
*** piyanai has quit IRC15:04
*** jsavak has quit IRC15:05
*** jiaxi has quit IRC15:10
*** josecastroleon has quit IRC15:15
*** mylu has quit IRC15:15
*** piyanai has joined #openstack-keystone15:16
*** gordc_idle has quit IRC15:16
*** mylu has joined #openstack-keystone15:17
*** jsavak has joined #openstack-keystone15:27
*** yottatsa has quit IRC15:27
bretoncan we have this kind of structure in with is_domain patches: A(is_domain=True) - B(is_domain=False) - C(is_domain=True)?15:27
*** btully has quit IRC15:34
*** btully has joined #openstack-keystone15:34
*** gordc has joined #openstack-keystone15:39
*** gabriel-bezerra has quit IRC15:39
*** yottatsa has joined #openstack-keystone15:42
*** fhubik is now known as fhubik_afk15:42
*** fhubik_afk is now known as fhubik15:45
*** yottatsa has quit IRC15:46
*** diazjf has joined #openstack-keystone15:47
*** yottatsa has joined #openstack-keystone15:49
*** piyanai has quit IRC15:49
*** jsavak has quit IRC15:59
*** gabriel-bezerra has joined #openstack-keystone16:01
elmikohi folks, if i create a v3 Client object from a Session and a Password, is it possible to get the service catalog?16:02
*** jsavak has joined #openstack-keystone16:02
elmikolike, i want to get the service catalog like i used to by calling Client.service_catalog16:02
*** jasonsb has quit IRC16:06
*** piyanai has joined #openstack-keystone16:06
*** jasonsb has joined #openstack-keystone16:06
*** piyanai has quit IRC16:07
*** jistr has quit IRC16:08
*** amakarov_away is now known as amakarov16:08
*** jasonsb has quit IRC16:10
*** ctracey has quit IRC16:13
*** briancurtin has quit IRC16:13
*** zhiyan has quit IRC16:13
*** nzeer has quit IRC16:13
*** LukeHinds has quit IRC16:13
*** jraim has quit IRC16:13
*** serverascode has quit IRC16:13
*** david-lyle has quit IRC16:18
*** pnavarro|afk is now known as pnavarro16:19
*** lsmola has quit IRC16:20
*** yottatsa has quit IRC16:21
*** fhubik is now known as fhubik_afk16:22
*** belmoreira has joined #openstack-keystone16:23
*** nzeer has joined #openstack-keystone16:23
*** yottatsa has joined #openstack-keystone16:23
miguelgrinbergmarekd: around for a couple of federation questions?16:23
marekdmiguelgrinberg: sure, sir16:25
*** jraim has joined #openstack-keystone16:26
miguelgrinbergmarekd: thanks. First question is about querying the list of SPs in the IdP. The endpoint that does that appears to be admin-only. So in my wrapper script that does all the K2K motions I can't get the SP URLs given the SP name.16:26
dolphmmarekd: reviewed https://review.openstack.org/#/c/202176/16:27
*** afazekas has quit IRC16:27
*** browne has quit IRC16:27
marekddolphm: looooking16:27
dolphmmarekd: answer miguelgrinberg's question first :)16:27
miguelgrinbergelmiko: are you using v3? I think you can use /v3/services16:30
marekdmiguelgrinberg: so, yes - querying SPs via OS-FEDERATION/service_providers is admin only API call.16:30
marekdmiguelgrinberg: the user should actually look into service catalog16:30
elmikomiguelgrinberg: yea, i see the services manager in the client but i need something that behaves like a client.service_catalog.get_data call, and i'm not sure there is an equivalent when using session/auth authentication16:31
*** TheIntern has quit IRC16:31
marekdactually token itself - see here: http://specs.openstack.org/openstack/keystone-specs/api/v3/identity-api-v3.html#authentication-responses (ctrl-f service_providers)16:31
miguelgrinbergmarekd: I don't understand. The user gets the catalog at the very end. My problem is that the user needs to know the URL for the SP, knowing the name isn't sufficient16:31
marekdmiguelgrinberg: are we talking k2k now?16:32
miguelgrinbergmarekd: yes, this is for K2K. Sorry, I thought I mentioned that. That's all I've been doing for several weeks, it's kind of a default for me now :)16:33
marekdmiguelgrinberg: it is not for me - for me SP should ideally be able to work with any saml2 idp, and keystone-idp would be one of them :(16:33
marekdmiguelgrinberg: anyways, let's get back.16:33
miguelgrinbergmarekd: so I'd like the user to login to a SP using the SP name, I don't want to have the user provider the URL16:34
*** fhubik_afk is now known as fhubik16:34
marekdmiguelgrinberg: so i assume you will know the service provider ID a priori. What you later have to do is to specify its id and existing auth plugin will do the rest.16:34
marekdmiguelgrinberg: you can do this: see https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/auth/identity/v3/k2k.py#L4516:35
miguelgrinbergmarekd: right now I'm not using an auth plugin, I'm using curl to post the assertion to the SP. Do you have an example with the auth plugin I can look at?16:35
marekdmiguelgrinberg: i just posted it :-)16:36
miguelgrinbergalways a step ahed, good :)16:36
marekdi want osc to start using it but i need ksa release for that - complicated and transactional process :-)16:36
marekdmiguelgrinberg: it's easy to write wrapper around it16:36
marekdit's really few lines of code.16:36
miguelgrinbergso how does this guy access the SP data? I can't from curl16:37
*** ctracey has joined #openstack-keystone16:37
*** ajayaa has quit IRC16:37
marekdit logins to you local cloud, get's the token and it's there.16:38
marekdtoken has service_providers list16:38
miguelgrinbergmarekd: ah, okay. That's what I was missing. Perfect, that solves my (first) problem.16:39
*** lhcheng has joined #openstack-keystone16:39
*** ChanServ sets mode: +v lhcheng16:39
openstackgerritAlexander Makarov proposed openstack/keystone: Materialized path mixin  https://review.openstack.org/19841816:39
marekdmiguelgrinberg: great!16:39
marekdwhat else?16:39
miguelgrinbergmarekd: The other thing I wanted to run by you is regarding using a federated token with the keystone API (also K2K). I get 403s for all endpoints, even if I assign the admin user in the local portion of the mapping. Is this expected?16:40
*** david-lyle has joined #openstack-keystone16:42
marekdmiguelgrinberg: no.16:42
marekdmiguelgrinberg: is the token scoped to a project/domain ?16:42
marekdmiguelgrinberg: did you succeed getting a token ?16:43
miguelgrinbergmarekd: yes, I have a scoped token16:43
marekdwithout any errors?16:43
miguelgrinbergI can use that token with nova, glance, etc.16:43
marekdmiguelgrinberg: is it fernet token ?16:43
miguelgrinberguuid16:43
*** serverascode has joined #openstack-keystone16:43
marekdok, i am sure there is something in logs....16:43
marekdbecause if you managed to scope the token looks like your setup is ok.16:43
miguelgrinbergokay, I will research this a bit more now that I know it isn't the expected outcome and bug you again with more info16:44
marekdmiguelgrinberg: once you have scoped token it should be usable like normal classic token.16:45
marekdmiguelgrinberg: so you should be able to do anything with respect to the roles you have on a project/domain16:45
openstackgerritAlexander Makarov proposed openstack/keystone: Materialized path mixin  https://review.openstack.org/19841816:46
*** zhiyan has joined #openstack-keystone16:46
miguelgrinbergmarekd: didn't spend enough time on this, just found it yesterday while I was setting up a three cloud federation setup16:47
marekddolphm: thanks for the review - i will address your comments. However I am more curious about the design of the solution - i don't think we should squeeze groups in fernet token (json from http response) and not do this for other formats. Can we change it for every token then?16:47
dolphmmarekd: that was my question -- why does anything need to be added to the JSON response?!16:48
dolphmmarekd: it only needs to be in the fernet payload16:48
dolphm(groups)16:48
marekddolphm: sure, but fernet payload is build basing on JSON response.16:48
marekdso either we smuggle groups and make it added to payload, or we add it in JSON repsonse for fernet only (hence _handle_maped_token() overrode for fernet) or we just change it for all tokens (no _handle_mapped_token() overriding)16:49
dolphmmarekd: the JSON response is based on the token -- not the other way around16:50
*** samleon has quit IRC16:50
dolphmmarekd: just because groups are encoded into the fernet payload, doesn't mean you need to expose them in the JSON response16:50
*** samleon has joined #openstack-keystone16:51
*** ankita_wagh has joined #openstack-keystone16:53
*** _cjones_ has joined #openstack-keystone16:53
dolphmmarekd: i understand that groups need to be included in federated unscoped and scoped fernet payloads so that roles can be computed at any time... but why change the HTTP API as a result? if i'm overlooking something, please tell me!16:53
*** _cjones_ has quit IRC16:53
*** _cjones_ has joined #openstack-keystone16:53
marekddolphm: when you do issue_v3_token() you call _get_token_id(token_data)16:53
marekddolphm: https://github.com/openstack/keystone/blob/master/keystone/token/providers/common.py#L496 , https://github.com/openstack/keystone/blob/master/keystone/token/providers/common.py#L535 , https://github.com/openstack/keystone/blob/master/keystone/token/providers/fernet/core.py#L20916:56
marekddolphm: and _build_federated_info() will not find any groups in JSON response16:56
*** briancurtin has joined #openstack-keystone16:57
*** yottatsa has quit IRC16:59
*** LukeHinds has joined #openstack-keystone17:00
samueldmqbreton: no, is_domain projects need to have a parent which is is_domain as well, right htruta ?17:01
marekddolphm: ?17:02
htrutabreton: samueldmq is right. an is_domain=true project must have an is_domain=true parent17:02
marekddolphm: hope i didn't cause you a heart attack17:02
htrutabreton: or no parent at all, if it is the root17:02
bretonhtruta: thank you! is that tested somewhere?17:03
*** e0ne has quit IRC17:03
htrutabreton: yes. here: https://review.openstack.org/#/c/157427/79/keystone/tests/unit/test_backend.py L227517:05
*** _hrou_ has joined #openstack-keystone17:05
*** hrou has quit IRC17:06
*** jdennis has quit IRC17:06
*** piyanai has joined #openstack-keystone17:07
*** jsavak has quit IRC17:11
dolphmmarekd: apologies, i'm being pulled in a couple different directions, give me a few minutes17:12
*** jsavak has joined #openstack-keystone17:12
*** jasonsb has joined #openstack-keystone17:15
marekddolphm: sure17:15
*** krykowski has quit IRC17:15
dstanekbreton: did you ever get your answer?17:16
bretondstanek: about?17:16
dstanekbreton: is_domain Projects17:17
bretondstanek: yes, see samueldmq's and htruta's answers above17:17
dstanekbreton: i don't have a scrollback :-) ok, was just making sure17:18
htrutabreton: next time you can directly ping me :)17:18
*** mylu has quit IRC17:18
htrutaI promise I'll answer faster17:18
bretonhtruta: no worries17:19
*** mylu has joined #openstack-keystone17:19
*** browne has joined #openstack-keystone17:19
dstanekhtruta: kinds like breton's own personal Google?17:21
htrutadstanek: not sure if I know his personal google heh17:22
dstanekL2 is in the can!17:22
htrutadstanek: nevermind. just got it :P17:22
*** jdennis has joined #openstack-keystone17:22
dstanekhtruta: :-)17:22
*** mylu has quit IRC17:24
*** fhubik has quit IRC17:25
*** mylu has joined #openstack-keystone17:25
*** piyanai has quit IRC17:26
*** aix has quit IRC17:30
*** pnavarro has quit IRC17:32
*** piyanai has joined #openstack-keystone17:35
*** krykowski has joined #openstack-keystone17:38
lhchengstevemar, breton, marekd: I've sent an invite for the invision account access. Let me know when you've already accepted, I still need to add you to the OpenStack team after that.17:39
lhchengayoung, morganfainberg, bknudson, dstanek, nkinder, rodrigods: let me know if you need access to https://openstack.invisionapp.com too17:41
*** piyanai has quit IRC17:41
dstaneklhcheng: what is it?17:41
rodrigodslhcheng, yes... I need access: rodrigodsousa@gmail.com17:41
ayounglhcheng, if we are going to use it, then everyone  does17:41
*** mylu has quit IRC17:42
lhchengit is the mockup tool used by the UX team, folks from university of kent uploaded their mockup for the attribute mapping in invision17:42
dstaneklhcheng: yeah, then what ayoung said17:42
lhchengokay, I'll send an invite for all cores.17:42
dstaneklhcheng: the tricky thing now is that this feels like an exclusive club leaving out the rest of the community17:43
*** r-daneel has quit IRC17:44
lhchengdstanek: I think they might be looking at other options now, something that could be more open17:44
lhchengdstanek: anita mentioned something about "phabricator" ?17:45
dstanek"open" - i think i just let my stallman out17:46
*** diazjf has quit IRC17:47
amakarovsamueldmq, hi! I've finally have a working materialized path mixin :)17:47
lhchengdstanek: yeah, I agree. Everyone can join, but they have to ping folks in the openstack-ux room to request an account.17:47
amakarovsamueldmq, https://review.openstack.org/#/c/198418/17:47
amakarovsamueldmq, I think you and rodrigods may be interested to look at it!17:48
marekdlhcheng: thanks, just loged in. I still don't know what is this invision and why i need it :-)17:48
marekdbut it's nice to have all those hype acounts  :-)17:48
samueldmqamakarov: nice, I'll take a look later at it, thanks17:49
dstanekmarekd: you are one of the cool kids now17:49
lhchengmarekd: I think it was to look at: https://openstack.invisionapp.com/d/main#/projects/398311417:49
rodrigodsamakarov, great! will take a look soon17:50
marekddstanek: yeah - the problem is when i make a photo - i must upload it to 5 services now and take on who is commenting where and when...17:50
dstanekmarekd: someone needs to write a new aggregator service17:51
marekdi was thinking about it when Google+ was opened.17:53
marekdso i don't have to repeat myself17:53
marekd:P17:53
lhchengdstanek: here's the new project for the month: https://github.com/openstack/governance/commit/cbc0ec1f7f23ade1a982725fe27192743ea5e6ef17:53
lhchengdstanek: they mentioned they are looking for open source alternatives..17:54
*** mylu has joined #openstack-keystone17:56
*** e0ne has joined #openstack-keystone17:56
lhchengdolphm, morganfainberg, ayoung, bknudson, dstanek, jamielennox, topol: Invision account invite sent. Pm when you've accepted the account invite, I still need to add you to a group so you can view all the projects.17:58
*** mylu has quit IRC17:59
*** mylu has joined #openstack-keystone17:59
bretonoh gawd, yes, lets find some libre alternative to it: http://imgur.com/MgmJd4j18:02
*** jsavak has quit IRC18:02
lhchengbreton: lol18:02
*** browne has quit IRC18:02
ayounglhcheng, consider yourself PMed18:03
lhchengbreton: yeah, and this process of inviting won't scale18:03
*** browne has joined #openstack-keystone18:04
lhchengbreton: I was just given access to invite people since I've been pinging Piet for accounts this morning. So don't kill me :P18:04
lhchengayoung: done, you should be able to access: https://openstack.invisionapp.com/d/main#/projects/398311418:05
*** e0ne has quit IRC18:06
*** e0ne has joined #openstack-keystone18:09
ayounglhcheng, pretty sure it just crashed on me leaving a comment...trying again18:11
amakarovayoung, hi! I've addressed your comments in unified delegations: https://review.openstack.org/#/c/189816/, tell me please: am I just to describe final structure or use cases as well?18:12
lhchengayoung: the ux for leaving comments is bad,  you have to scroll all the way down the list of notified users to find the  "Post Comment" button :(18:13
dolphmmarekd: okay, so you're just pointing me to the current implementation. that says nothing of what the implementation *should* look like ;)18:14
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystonemiddleware: Introduce endpoint_id config  https://review.openstack.org/20504918:14
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystonemiddleware: Introduce enable_centralized_policy config  https://review.openstack.org/20715418:14
dolphmmarekd: but before we go too far down the implementation rabbit hole, is there *any* reason to include groups in federated scoped token JSON bodies?18:15
dstaneks/view/break/18:15
*** mylu has quit IRC18:15
dolphmmarekd: other than the fact that it's convenient in the current implementation18:15
ayounglhcheng, that too, but pretty sure the whole app just disappeared on me, and I had to reopen18:16
*** TheIntern has joined #openstack-keystone18:17
*** topol has quit IRC18:19
*** jsavak has joined #openstack-keystone18:19
dstaneklhcheng: accepted18:20
*** mylu has joined #openstack-keystone18:20
marekddolphm: i ma pointing you to the current implementation as the aim of this excercise was to add another token format, not refactor and fix how the tokens are crated :-) Whether we should keep groups in the token or not - in uuid and PKI we didn't need it to, however my opinoin on that is: yes, we should keep it as in case of federated tokens, the tokens is the 'identity' of that ephemeral user and18:22
marekdnowhere else we can find any information about him.18:22
dolphmmarekd: that's a pretty good argument18:23
myluhi guys I have a federation question...is there a way to have one SP talk to multiple IdPs and one IdP talk to multiple SPs?18:23
*** dims_ has joined #openstack-keystone18:24
marekddolphm: i can propose this topic for the next meting so everybody can give an opinoin.18:25
dolphmmarekd: stevemar: ^18:25
marekdmylu: yes :-)18:25
dolphmmarekd: let's get an API change review up18:25
marekddolphm: "Add groups in scoped federated tokens" kind of review?18:25
dolphmmarekd: yes, i think it's an invert of a patch i did recently18:26
mylumarekd: ohh cool! is there any documentations that explains how to do it?18:26
marekdAFAIR you fixed docs :-)18:26
marekdmylu: i'd rather look for Shibboleth docs/mailing lists.18:26
marekdmylu: unfortunately i don't have ready configs/snippets so I won't be able to help you immediately :(18:27
samueldmqayoung: in the case one set enable_centralized_policy=True but don't set endpoint_id so we error when initializing middleware, right ?18:27
dolphmmarekd: git diff c27e367a3c399f1fcafa47673895c1abc2d84f07 4920bc26d5d8df8ec7dd532c4b01be2021e6bf00 in keystone-specs18:27
ayoungsamueldmq, yes.18:27
mylumarekd: ohh yeah right because federation is handled by shibboleth.18:27
*** dims has quit IRC18:28
ayoungsamueldmq, I think so, until we have a better "autodiscover" approach, that is the best and right thing to do18:28
samueldmqayoung: and in the case one set enable_centralized_policy=True + endpoint_id=<somehting valid> but is using V2RequestStrategy18:28
marekdmylu: actually...18:28
ayoungsamueldmq, fail as well18:28
marekdtake a look here: https://zenodo.org/record/11982/files/CERN_openlab_Luca_Tartarini.pdf (page 20)18:28
mylumarekd: wait..was I wrong?18:28
ayoungand clearly report the error, please18:28
samueldmqayoung: ++, yes, I am also adding tests, and spliting the changes in a chain18:28
*** josecastroleon has joined #openstack-keystone18:28
ayounggot to go18:29
*** ayoung has quit IRC18:29
*** jtomasek has joined #openstack-keystone18:29
*** amickus has joined #openstack-keystone18:30
openstackgerritDolph Mathews proposed openstack/keystone-specs: Include groups in federated scoped tokens  https://review.openstack.org/20715918:30
openstackgerritMerged openstack/python-keystoneclient: Updated from global requirements  https://review.openstack.org/20608218:31
marekddolphm: does it qualify as API change ?18:31
*** openstackgerrit has quit IRC18:31
marekddolphm: or worse..as token format contract change?18:32
jtomasekHi, I am trying to access OpenStack APIs from javascript client app. Is there a documentation to Enable CORS (Cross Origin Resource Sharing) on Keystone (and other OpenStack APIs)? Is this guide still relevant? https://ianunruh.com/2014/11/openstack-cors.html18:32
*** openstackgerrit has joined #openstack-keystone18:32
jtomasek/etc/keystone/keystone-paste.ini seems not to exist any more18:32
*** jsavak has quit IRC18:33
*** jsavak has joined #openstack-keystone18:34
dolphmmarekd: https://review.openstack.org/#/c/207159/18:35
dolphmmarekd: we can add a paragraph or something, but is there anything beyond that?18:36
htrutahey guys... hope you don't mind that I make a little bit of merchan here: https://www.openstack.org/summit/tokyo-2015/vote-for-speakers/presentation/6338  :) that might interest you, dstanek and breton18:38
openstackgerritAlexey Miroshkin proposed openstack/keystone: Fix test_admin to expect admin endpoint  https://review.openstack.org/20649618:39
*** diazjf has joined #openstack-keystone18:44
openstackgerritMarek Denis proposed openstack/keystone: Add groups in scoped federated tokens  https://review.openstack.org/20716718:44
marekddolphm: not realy18:44
marekddolphm: ^^ the code change would be ^^18:44
openstackgerritMarek Denis proposed openstack/keystone-specs: Include groups in federated scoped tokens  https://review.openstack.org/20715918:49
*** TheIntern has quit IRC18:49
marekdok, i am out of here.18:54
marekdsee ya tomorrow.18:54
*** josecastroleon has quit IRC18:58
dstanekhtruta: nice18:59
openstackgerritDolph Mathews proposed openstack/keystone-specs: Include groups in federated scoped tokens  https://review.openstack.org/20715919:00
*** piyanai has joined #openstack-keystone19:07
dstanekanyone around for a python 2 vs. python 3 (bytes, str & unicode) conceptual question?19:11
*** geoffarnold has joined #openstack-keystone19:12
*** jamiec has joined #openstack-keystone19:13
*** jsavak has quit IRC19:14
*** jsavak has joined #openstack-keystone19:15
*** jamiec has quit IRC19:19
htrutahey, guys... should I do anything oslo.config related to deprecate a specific property that will be removed in the future?19:21
htrutaI'm already showing a warn19:22
*** ankita_wagh has quit IRC19:23
*** ankita_wagh has joined #openstack-keystone19:23
*** dims_ has quit IRC19:27
*** dims has joined #openstack-keystone19:27
dstanekhtruta: is deprecated_for_removal already set?19:28
*** ankita_wagh has quit IRC19:28
samueldmqayoung: ++, yes, I am also adding tests, and spliting the changes in a chain19:30
samueldmqaarrgh19:30
*** jsavak has quit IRC19:30
*** jsavak has joined #openstack-keystone19:33
openstackgerritDolph Mathews proposed openstack/keystone: Reduce number of Fernet log messages  https://review.openstack.org/20719019:34
*** doug-fish has joined #openstack-keystone19:38
*** amakarov is now known as amakarov_away19:43
*** belmoreira has quit IRC19:47
*** HenryG has quit IRC19:49
*** krykowski has quit IRC19:50
*** topol has joined #openstack-keystone19:51
*** ChanServ sets mode: +v topol19:51
*** e0ne has quit IRC19:51
*** HenryG has joined #openstack-keystone19:52
openstackgerritRodrigo Duarte proposed openstack/keystone: Add is_domain field in Project Table  https://review.openstack.org/15742719:53
doug-fishhey keystone friends - anyone familiar with this oauth related unit test failure? http://logs.openstack.org/38/192438/11/check/gate-python-keystoneclient-python26/7b473a4/console.html#_2015-07-28_15_36_21_75119:53
*** e0ne has joined #openstack-keystone19:55
*** tqtran has joined #openstack-keystone19:55
*** mylu has quit IRC19:56
bknudsondoug-fish: https://bugs.launchpad.net/python-keystoneclient/+bug/1477177 or https://bugs.launchpad.net/python-keystoneclient/+bug/1477247 ?20:00
openstackLaunchpad bug 1477177 in python-keystoneclient "Tests fail with oauthlib-1.0.0" [Undecided,Fix committed] - Assigned to Boris Bobrov (bbobrov)20:00
openstackLaunchpad bug 1477247 in python-keystoneclient "wrong values are verified in oauth tests" [Undecided,Fix committed] - Assigned to Boris Bobrov (bbobrov)20:00
htrutadstanek: didn't know of this one. just set it. thanks20:01
*** edmondsw has quit IRC20:01
doug-fishbknudson: thanks! those look related20:02
*** mylu has joined #openstack-keystone20:03
*** e0ne has quit IRC20:03
openstackgerritBrant Knudson proposed openstack/keystone: admin and public httpd files  https://review.openstack.org/19444220:05
*** e0ne has joined #openstack-keystone20:11
*** openstackgerrit has quit IRC20:16
*** tqtran has quit IRC20:17
*** openstackgerrit has joined #openstack-keystone20:17
*** TheIntern has joined #openstack-keystone20:19
lhchengdstanek: updated your access in invision, you should be access the project mockups now20:22
dstaneklhcheng: great, thanks!20:23
*** roxanaghe has joined #openstack-keystone20:25
*** mylu has quit IRC20:28
*** mylu has joined #openstack-keystone20:28
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystonemiddleware: Introduce enable_centralized_policy config  https://review.openstack.org/20715420:36
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystonemiddleware: Centralized Policy Fetch and Cache  https://review.openstack.org/18856120:36
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystonemiddleware: Introduce endpoint_id config  https://review.openstack.org/20504920:36
*** stevemar has quit IRC20:37
*** ankita_wagh has joined #openstack-keystone20:37
*** TheIntern has quit IRC20:49
*** edmondsw has joined #openstack-keystone20:50
*** piyanai has quit IRC21:00
*** roxanaghe has quit IRC21:01
openstackgerritHenrique Truta proposed openstack/keystone: Restricting domain_id changing  https://review.openstack.org/20721821:01
openstackgerritDolph Mathews proposed openstack/keystone: Test to ensure fernet key rotation results in new key sets  https://review.openstack.org/19281721:04
*** piyanai has joined #openstack-keystone21:07
*** diazjf has left #openstack-keystone21:07
*** mylu has quit IRC21:09
*** mylu has joined #openstack-keystone21:10
openstackgerritDolph Mathews proposed openstack/keystone: Test to ensure fernet key rotation results in new key sets  https://review.openstack.org/19281721:10
*** pnavarro has joined #openstack-keystone21:11
iurygregoryhey marekd, if you have time you can review the puppet-spec Enabling Federation? Thanks (https://review.openstack.org/#/c/190361/) ^^21:15
doug-fishI think my favorite patch https://review.openstack.org/#/c/192438/ is not passing the gate because it needs the fix for https://review.openstack.org/#/c/192438/21:16
*** ekarlso has quit IRC21:16
doug-fishThe fact it's in a feature branch confuses me; if it weren't I'd just rebase it. Any suggestion on how to proceed?21:17
bknudsondoug-fish: the feature branch needs a fix from master?21:17
doug-fishbknudson: yes21:17
doug-fishfix for  https://bugs.launchpad.net/python-keystoneclient/+bug/147717721:17
openstackLaunchpad bug 1477177 in python-keystoneclient "Tests fail with oauthlib-1.0.0" [Undecided,Fix committed] - Assigned to Boris Bobrov (bbobrov)21:17
bknudsonif so, somebody with merge-push authority needs to merge master to the feature branch21:17
doug-fish(I see I failed at cut and paste)21:17
bknudsonpeople with merge-push are keystone cores.21:18
doug-fishbknudson: what's the right forum to make a request like this?21:18
bknudsondoug-fish: here or on the openstack-dev mailing list21:18
openstackgerritDolph Mathews proposed openstack/keystone: Explain the "or None" on eventlet's client_socket_timeout  https://review.openstack.org/17744321:21
*** e0ne has quit IRC21:24
*** mylu has quit IRC21:25
*** mylu has joined #openstack-keystone21:25
*** mylu has quit IRC21:25
*** spandhe has joined #openstack-keystone21:28
openstackgerritBrant Knudson proposed openstack/keystone: Config option for insecure reponses  https://review.openstack.org/20722621:30
doug-fishmarekd, bknudson, jamielennox, (or any other core!): - can one of you merge master to the keystoneauth_integration to pick up the fix to https://bugs.launchpad.net/python-keystoneclient/+bug/1477177, I think it's needed so https://review.openstack.org/#/c/192438/ can pass the gate21:31
openstackLaunchpad bug 1477177 in python-keystoneclient "Tests fail with oauthlib-1.0.0" [Undecided,Fix committed] - Assigned to Boris Bobrov (bbobrov)21:31
*** lhcheng_ has joined #openstack-keystone21:32
*** lhcheng has quit IRC21:32
*** htruta_ has joined #openstack-keystone21:34
*** jsavak has quit IRC21:34
*** jsavak has joined #openstack-keystone21:35
bknudsondoug-fish: I'll put it on my list... might take a while if there are conflicts21:36
doug-fishthx bknudson - I was just trying it out locally; there are21:37
*** gordc has quit IRC21:39
*** ekarlso has joined #openstack-keystone21:44
*** hrou has joined #openstack-keystone21:48
*** _hrou_ has quit IRC21:48
*** pnavarro has quit IRC21:50
*** hrou has quit IRC21:52
bigjoolsdoug-fish: hey, are you working on https://review.openstack.org/#/c/159910 ?21:53
*** esp has left #openstack-keystone21:53
*** esp has joined #openstack-keystone21:53
doug-fishbigjools: well it's not forgotten! - but it's held up right know becuase of a lack of k2k auth plugin being available21:54
bigjoolsah!21:54
bigjoolsIs there anything I can do to help this along?21:55
doug-fishnot sure offhand - again the key roadblock right now is to get a k2k authorization plugin available ...21:56
bigjoolsdoug-fish: and presumably that plugin is the stuff in the new keystoneauth? I'm still digging around to see what's what21:56
doug-fishand that's been caught up in a bit of a refactor21:56
doug-fishbigjools: yes, that's right21:56
bigjoolsah ok. Is the plan to keep that separate or merge to ksc?21:57
bigjoolsand is someone else doing that who I can badger? :)21:57
doug-fishbigjools:  I'm going to have to defer to the keystone leadership on that question!21:57
bigjoolsfair enough :)21:57
doug-fishMaybe it would be wise for me to propose a k2kauth plugin in python-keystone client so I wouldn't have to wait for the keystoneauth changes to complete21:59
bigjoolssounds reasonable to me21:59
bigjoolsis the intent to get all this into liberty?21:59
bigjoolsI had a go at getting all this working myself but the existing region switcher is broken22:00
doug-fishbknudson, marekd, jamielennox any thoughts on how a k2kauth patch would be received if I proposed a patch to python-keystoneclient? the overall state of the keystoneauth changes isn't quite clear to me22:00
bknudsondoug-fish: does it bring in new dependencies?22:01
bknudsonI can't think of a reason it should be left out of keystoneclient other than that.22:01
* doug-fish looking22:01
doug-fishI'll just take a look and propose it if it doesn't22:01
doug-fishthat's what the review process is for after all!22:02
*** markvoelker has quit IRC22:02
*** Kennan2 has joined #openstack-keystone22:02
*** Kennan has quit IRC22:03
*** piyanai has quit IRC22:04
openstackgerritMerged openstack/keystone: Ensure database options registered for tests  https://review.openstack.org/20390022:05
*** spandhe has quit IRC22:06
*** jsavak has quit IRC22:08
openstackgerritBrant Knudson proposed openstack/keystone: Config option for insecure responses  https://review.openstack.org/20722622:12
*** d34dh0r53 has quit IRC22:13
*** odyssey4me has quit IRC22:13
*** d34dh0r53 has joined #openstack-keystone22:13
*** odyssey4me has joined #openstack-keystone22:14
*** LukeHinds has quit IRC22:14
*** d34dh0r53 has quit IRC22:15
*** d34dh0r53 has joined #openstack-keystone22:16
*** jasonsb has quit IRC22:16
*** d34dh0r53 has quit IRC22:23
*** d34dh0r53 has joined #openstack-keystone22:23
*** odyssey4me has quit IRC22:24
*** odyssey4me has joined #openstack-keystone22:25
*** bknudson has quit IRC22:25
*** d34dh0r53 has quit IRC22:27
*** d34dh0r53 has joined #openstack-keystone22:27
*** sigmavirus24 has quit IRC22:31
*** d34dh0r53 has quit IRC22:32
*** sigmavirus24 has joined #openstack-keystone22:32
*** d34dh0r53 has joined #openstack-keystone22:33
*** jasonsb has joined #openstack-keystone22:41
*** sigmavirus24 is now known as sigmavirus24_awa22:43
*** jasonsb has quit IRC22:47
*** raildo has quit IRC22:49
*** samueldmq has quit IRC22:49
*** ericksonsantos has quit IRC22:50
*** tellesnobrega has quit IRC22:50
*** htruta has quit IRC22:50
*** iurygregory has quit IRC22:50
*** Ephur has quit IRC22:51
*** topol has quit IRC22:56
*** markvoelker_ has joined #openstack-keystone22:57
dstanekdolphm: i think these tests are actually wrong in a Python 3 world ... were they testing a case you came across?23:03
*** jecarey has quit IRC23:04
*** jasonsb has joined #openstack-keystone23:11
*** samleon has quit IRC23:13
bigjoolsWhy would I get a 401 when doing a "role add" user to a domain? I'm doing it with the admin user.23:14
*** pballand has quit IRC23:18
*** pballand has joined #openstack-keystone23:19
*** jaosorior has quit IRC23:21
*** hrou has joined #openstack-keystone23:31
dstanekbigjools: are you using v3 or v2?23:36
bigjoolsv323:36
dstanekbigjools: are you including the domain_id?23:36
dstanekbigjools: i remember seeing a bug about getting a 401 instead of a 400 for some cases23:37
dstanekmaybe you are hitting one of those23:37
bigjoolsI'm using --domain <name>23:37
bigjoolsand this is in Kilo23:37
bigjoolsstill get 401 with the ID23:38
dstanekbigjools: not sure then...is there anything interesting in the logs?23:39
*** jamielennox is now known as jamielennox|away23:39
bigjoolsdstanek: oh huh, I see this:23:39
bigjools[Wed Jul 29 23:39:42 2015] [error] 22960 WARNING keystone.common.controller [-] No domain information specified as part of list request23:39
bigjoolsfollowed by the Authorization failed error23:40
*** darrenc is now known as darrenc_afk23:47
*** ankita_wagh has quit IRC23:47
bigjoolshmm this is interesting23:48
*** ankita_wagh has joined #openstack-keystone23:48
bigjoolsI'm trying to add a user from a different domain23:48
lifelessbigjools: doesn't that take ages? Like, 10+ years?23:50
bigjoolslifeless: qué?23:50
lifelessbigjools: put your terrible joke parsing hat on.23:50
dstaneklifeless: that's only if they are from a different realm23:51
dstanekbigjools: that's not a helpful error message23:51
bigjoolsdstanek: no :)23:51
bigjoolslifeless: shouldn't you be on a plane? :)23:51
lifelessbigjools: boards at 121523:51
lifelessbigjools: then -> AKL23:51
lifelessthen at 14:40 -> BNE23:52
bigjoolsoh I thought you went via MEL?23:52
lifelessI'm visiting wgrant after pyconau23:52
bigjoolsaha23:52
*** ankita_wagh has quit IRC23:52
lifelessand test driving a tesla23:52
bigjoolswell, you can explain the terrible joke to me in person later :)23:53
*** Kennan2 is now known as Kennan23:53
bigjoolsdstanek: so is it even possible to add a user from a different domain?23:53
* bigjools questions own sanity23:53
*** jiaxi has joined #openstack-keystone23:54
*** amickus has quit IRC23:54
*** topol has joined #openstack-keystone23:57
*** ChanServ sets mode: +v topol23:57

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