Thursday, 2013-08-08

*** vipul is now known as vipul-away00:01
*** danwent has quit IRC00:02
*** alunch has joined #openstack-dev00:05
*** hemna is now known as hemnafk00:05
*** cthulhup has quit IRC00:07
*** sarob has quit IRC00:12
*** sarob has joined #openstack-dev00:12
*** arosen1 has quit IRC00:13
*** krtaylor has joined #openstack-dev00:14
*** sarob has quit IRC00:15
*** adjohn has joined #openstack-dev00:15
*** adjohn has quit IRC00:17
*** adjohn has joined #openstack-dev00:17
*** adjohn_ has joined #openstack-dev00:18
*** woodspa has joined #openstack-dev00:18
*** arosen1 has joined #openstack-dev00:19
*** adjohn has quit IRC00:22
*** woodspa has quit IRC00:22
*** adjohn_ has quit IRC00:23
*** woodspa has joined #openstack-dev00:23
*** diogogmt has quit IRC00:23
*** wu_wenxiang has quit IRC00:24
*** adjohn has joined #openstack-dev00:25
*** adjohn has quit IRC00:25
*** lexinator has quit IRC00:25
*** sarob has joined #openstack-dev00:26
openstackgerritA change was merged to openstack/swift: Use /var/run/syslog on macosx for syslog tests.  https://review.openstack.org/3932500:27
*** danwent has joined #openstack-dev00:28
*** nijaba has quit IRC00:28
*** kenperkins has joined #openstack-dev00:29
*** adjohn has joined #openstack-dev00:29
*** nijaba has joined #openstack-dev00:29
*** lbragstad_ has joined #openstack-dev00:31
*** nachi has joined #openstack-dev00:32
*** nachi_ has joined #openstack-dev00:32
*** adjohn has quit IRC00:32
*** sarob_ has joined #openstack-dev00:33
*** nachi_ has quit IRC00:34
*** arosen2 has joined #openstack-dev00:34
*** lexinator has joined #openstack-dev00:35
*** adjohn has joined #openstack-dev00:36
*** sarob has quit IRC00:37
*** adjohn has quit IRC00:37
*** sarob_ has quit IRC00:37
*** arosen1 has quit IRC00:37
*** epim has quit IRC00:38
SpamapSmordred: https://review.openstack.org/#/c/40330 .. wondering.. what is OpenStack's take on relicensing things from other projects (MIT license so it is allowed)?00:38
clarkbSpamapS: good question. I have heard rumblings the CLA may make it more complicated than that...00:40
ayoungnachi, yeah...just putting the kids to bed.  A task that is quite possible NP Complete00:40
*** bdpayne has quit IRC00:42
*** vipul-away is now known as vipul00:43
*** rwsu is now known as rwsu-away00:44
nachiayoung: thanks for getting back..00:45
*** gmurphy has joined #openstack-dev00:46
*** gmurphy_ has quit IRC00:46
nachii have a question on the following test http://paste.openstack.org/show/M77aoPWajXHmL3iUBmpU/00:46
nachii get the error as "IntegrityError: (IntegrityError) (1452, 'Cannot add or update a child row: a foreign key constraint fails (`keystone`.`#sql-46b_84`, CONSTRAINT `credential_project_id_fkey` FOREIGN KEY (`project_id`) REFERENCES `project` (`id`))') 'ALTER TABLE credential ADD CONSTRAINT credential_project_id_fkey FOREIGN KEY(project_id) REFERENCES project (id)' ()"00:46
*** adjohn has joined #openstack-dev00:46
nachithe migration script 23 should have removed the foreign key constraint right?00:47
nachiayoung: I just tried to reproduce the error which bknudson gave as review comment00:48
nachiayoung: i am running the test against mysql00:50
*** mmoya has quit IRC00:54
*** markwash has quit IRC00:57
*** xmltok has quit IRC00:59
*** jbresnah has quit IRC01:00
*** wenjianhn has joined #openstack-dev01:01
*** adjohn has quit IRC01:02
*** Ryan_Lane has joined #openstack-dev01:08
*** alunch has quit IRC01:08
*** adjohn has joined #openstack-dev01:11
*** kenperkins has quit IRC01:12
*** rcleere has joined #openstack-dev01:12
*** arosen1 has joined #openstack-dev01:12
*** arosen2 has quit IRC01:13
*** svarnau has quit IRC01:16
*** stevemar has joined #openstack-dev01:17
*** adjohn has quit IRC01:17
*** jecarey has joined #openstack-dev01:18
ayoungnachi, It might be innodb madness again or something.01:19
ayoungwhich review nachi ?01:19
nachiayoung: https://review.openstack.org/#/c/38367/01:19
ayoungdo the migration in one script and the drop in another.01:20
*** stevemar has quit IRC01:20
*** xchu has joined #openstack-dev01:21
*** stevemar has joined #openstack-dev01:21
nachiayoung, are you talking about the test01:21
ayoungjamielennox, org unit is no longer used01:21
ayoungnachi, no the migration01:22
jamielennoxayoung: that's nice in theory but the code disagrees01:22
*** simonluo has joined #openstack-dev01:22
openstackgerritA change was merged to openstack/oslo.messaging: Use testtools.TestCase assertion methods  https://review.openstack.org/4055201:22
jamielennoxor am i inheritting bad LDAP querys?01:23
ayoungjamielennox, no, I mean that should not be used.  IfIt is it is a bug01:23
*** adjohn has joined #openstack-dev01:25
openstackgerritA change was merged to openstack/oslo-incubator: Add common part of test-related tools to oslo  https://review.openstack.org/3212001:25
ayoungjamielennox, the Org Unit stuff was a stop gap for the multi domain support in LDAP, but I thought we got rid of all of that01:25
openstackgerritA change was merged to openstack/oslo-incubator: Move sqlalchemy migration from Nova  https://review.openstack.org/3193001:26
*** woodspa_ has joined #openstack-dev01:26
jamielennoxayoung: ok, so keystone/identity/backends/ldap.py:230 - lets you set which attribute to use for domain_id01:27
openstackgerritA change was merged to openstack/oslo-incubator: Helper function to sanitize db url credentials  https://review.openstack.org/3943601:27
*** woodspa_ has quit IRC01:27
*** zaitcev has quit IRC01:28
jamielennoxso i still have that set to ou, i can't remember where i got these LDAP config strings - i think it was probably you01:28
*** nijaba has quit IRC01:29
jamielennoxayoung: so should we even be supporting that as an option?01:29
*** nijaba has joined #openstack-dev01:30
*** terriyu has quit IRC01:30
*** freedomhui has joined #openstack-dev01:30
*** adjohn has quit IRC01:30
*** woodspa has quit IRC01:30
*** adjohn has joined #openstack-dev01:30
*** danwent has quit IRC01:32
openstackgerritA change was merged to openstack/oslo-incubator: Fix missing argument bug in oslo common policy  https://review.openstack.org/3969201:32
*** nati_ueno has quit IRC01:34
*** epim has joined #openstack-dev01:34
ayoungjamielennox, no, that should be gone01:36
openstackgerritA change was merged to openstack/neutron: Fix BigSwitch plugin to handle device_id re-use in porttracker code  https://review.openstack.org/4050201:36
jamielennoxayoung: can i leave it with you to bug & fix, i'm not up to speed enough on the ldap side of things01:37
*** gongysh has joined #openstack-dev01:37
ayoungjamielennox, yes, please file the bug and assign to me01:38
ayoungnachi, no,  I was saying that do the migration from one table to another in one migration, and do the drop table in the next migration01:39
*** ljjjustin has joined #openstack-dev01:39
nachiayoung, ok.01:39
nachiayoung, i am getting the same error when i run the test against postgresql01:39
ayoungnachi, that doesn't solve your problem, though01:39
ayoungnachi, paste the error, please?01:39
*** Ryan_Lane has quit IRC01:41
*** adjohn has quit IRC01:41
nachiayoung, http://paste.openstack.org/show/DoSRHnxd2T9RgSla3Pjn/01:42
*** lexinator1 has joined #openstack-dev01:43
nachiayoung, the test i am running is http://paste.openstack.org/show/M77aoPWajXHmL3iUBmpU/01:43
*** lexinator has quit IRC01:43
*** briancurtin has joined #openstack-dev01:44
*** Madkiss has quit IRC01:44
jamielennoxayoung: https://bugs.launchpad.net/keystone/+bug/1209440 - i don't have privileges to assign it to you01:44
uvirtbotLaunchpad bug 1209440 in keystone "LDAP identity still allows setting domain via attribute" [Undecided,New]01:44
openstackgerritA change was merged to openstack/python-keystoneclient: Merge from Oslo-Incubator  https://review.openstack.org/3802401:45
openstackgerritA change was merged to openstack/python-novaclient: Do not restrict flavor to only ID and integers  https://review.openstack.org/4061001:46
*** adjohn has joined #openstack-dev01:46
*** erkules has quit IRC01:47
*** erkules has joined #openstack-dev01:48
*** lexinator1 has quit IRC01:50
*** jbresnah has joined #openstack-dev01:50
*** adjohn has quit IRC01:50
*** SumitNaiksatam has quit IRC01:53
*** andrewbogott_afk is now known as andrewbogott01:54
*** armax has quit IRC01:56
*** noslzzp has quit IRC01:56
*** erkules_ has joined #openstack-dev01:56
*** adjohn has joined #openstack-dev01:56
*** erkules has quit IRC01:59
*** tonix has quit IRC02:00
ayoungnachi, yes that is explicitly what migration 23 is supposed to remove02:00
*** erkules_ is now known as erkules02:00
ayoungnachi, it may well be that the mysql code is wrong for finding the constraints02:01
*** epim has quit IRC02:01
*** mfer has joined #openstack-dev02:01
nachiayoung, how about postgresql02:01
*** wenjianhn has quit IRC02:01
nachiayoung, i am getting the same error on that.02:02
ayoungnachi, I tested this on both, so I am not sure02:02
ayoungI tested both mysql and postgres back when this was up for review02:02
*** mfer has quit IRC02:02
ayoungnachi, can you step through this? Can you see the list of constraints getting generated>02:02
nachiayoung, ok. i will debug. I was trying to login to postgresql database and look at the schema for the tables after the migration is completed.02:03
nachii am new to using postgresql02:03
ayoungnachi, there I can help02:04
nachii was not sure about the sql commands and how to use postgresql client02:04
* yuan is away: I'm away02:04
ayoungnachi psql02:04
nachipsql -d keystone -U keystone -W02:04
*** malini1 has quit IRC02:05
ayoungnachi, I need to make sure mine is working, as I upgrade my machine recently02:05
nachipsql: FATAL:  Peer authentication failed for user "keystone"02:05
*** yaguang has joined #openstack-dev02:05
ayoungnachi, I was using -H I think,m but I have notes02:05
ayoungnachi, how did you set up postgres?02:06
jamielennoxayoung: when you're finished i would be interested in your opinion on the validating UUIDs with v3 i posted to -dev last night02:06
nachiayoung, i followed the jamielennox http://paste.openstack.org/show/39892/02:07
ayoungnachi, http://adam.younglogic.com/2013/02/puppet-postgresql-keystone/02:07
ayoungthat is what I did, but let me re-execute it02:08
nachiayoung, can you check the credential table schema after the migration02:08
nachiayoung,  i will read your blog02:08
ayoungnachi, of course, when I run it now, I get a stack trace in Ruby02:09
ayoungjamielennox, link?02:10
jamielennoxayoung: http://lists.openstack.org/pipermail/openstack-dev/2013-August/013225.html02:11
*** pixelbeat has quit IRC02:11
*** adjohn has quit IRC02:12
ayoungjamielennox, wanna see something pretty?  http://fpaste.org/30737/13759279/  yum failure installing a ruby dependency02:12
*** alunch has joined #openstack-dev02:12
jamielennoxnachi, that might be failing to connect to postgres because it will try to use the socket rather than the host connection02:13
nachiyeah i am able to connect now.02:13
ayoungjamielennox, so, I think that anyone should be able to validate a token.02:13
*** zul has quit IRC02:14
jamielennoxayoung: Failed and Complete? nice02:14
ayoungjamielennox, it really is just the verification of data with a public key...and the data is public02:14
ayoungyeah...bad mirror?02:14
jamielennoxno idea, i try not to use the rpm packages if i can avoid it02:14
jamielennoxso in the past we have always said that validating a token is a priviledge api, and the policy says you need is_admin02:15
ayoungjamielennox, aah, directory was in the way...gem probably did that02:15
ayoungworked once I rm ed it02:15
jamielennoxbut i guess my question is what does admin mean in the case of domains? How do we have one auth_token user that can validate tokens across all domains?02:17
ayoungjamielennox, is this UUID access to the Keystone server?02:18
*** medberry_ has quit IRC02:18
jamielennoxmm, not access02:18
ayoungjamielennox, I mean, access for validating a UUID token02:18
jamielennoxit's POST /auth/token so X-Auth-Token is me and i'm validating X-Subjec-Token02:18
*** SumitNaiksatam has joined #openstack-dev02:19
jamielennoxso the auth_token user should have a valid token to present02:19
jamielennoxi hate this scoped vs unscoped02:20
ayoungjamielennox, ignore that for now02:20
ayoungthe question is should everyone have access to that function?02:20
ayoungand really, why not02:20
ayoungthe real damage is done when they got your token02:20
jamielennoxI'm really not sure what damage they could do given that if you use PKI you can validate someone elses02:21
ayoungnot asking Keystone : what roles does this guy have02:21
*** sarob has joined #openstack-dev02:21
*** emagana has quit IRC02:21
ayoungnachi, my machine is a mess.02:21
ayoungjamielennox, so, I would say that any authenticated user should be able to validate a token under some circumstances.  Now, unscoped don't have roles, so youare saying "how to we limite access for servcies"02:23
*** Ryan_Lane has joined #openstack-dev02:24
ayounggood question, and we don't have an answer yet02:24
*** wenjianhn has joined #openstack-dev02:24
ayoungin other words, sure a domain scoped token could have a role that we use to validate tokens for that domain02:24
ayoungbut unscoped...really means keystone scoped, or service scoped02:24
jamielennoxright, so i guess we need the concept of putting roles on an unscoped token02:25
jamielennoxthese are your roles within keystone02:26
*** melwitt has quit IRC02:26
nachiayoung, ok. i ran the migration script on master branch. I checked the schema for credential table in postgresql. there is no foriegn key constraint02:26
*** epim has joined #openstack-dev02:26
*** neelashah has joined #openstack-dev02:27
*** bswartz1 has joined #openstack-dev02:27
*** jimjiang_ has joined #openstack-dev02:28
ayoungnachi, so it is something from your code?02:29
ayounghmmm02:29
*** nijaba has quit IRC02:29
*** nijaba has joined #openstack-dev02:30
*** nijaba has joined #openstack-dev02:30
*** bswartz has quit IRC02:30
nachiayoung, i have to debug. but the error says, there is a foreign key constraint. In the test i am upgrade to version 30 and then insert values into the credential table02:30
ayoungjamielennox, so the way they did this in the past is there was an admin project (tenant)02:30
*** bswartz1 is now known as bswartz02:30
ayoungjamielennox, not sure if that is a viable solution02:31
jamielennoxayoung: so i think i mentioned a solution like that in my email02:31
jamielennoxhmm, maybe not, but i was thinking it02:31
ayoungjamielennox, I think for most cases it would be fine.   With multi domain, I think it would work around and LDAP read only issues02:31
ayoungso you could put all of the service users in a service domain outside of LDAP and inside an admin project02:32
jamielennoxhow do you manage the users of the admin domain then?02:32
ayoungjamielennox, direct sql access?02:32
jamielennoxahh, admin project - i can't remember do projects span domains02:32
jamielennox?02:32
ayoungno02:32
ayoungadmin domain is also a good approach02:33
*** jecarey has quit IRC02:33
ayoungno need for an admin project as well...but either way02:33
jamielennoxonly in the situation where you then have a backend for your admin users02:33
jamielennoxwhich is going to rely on something like the discussed identity backend per domain02:34
ayoungnachi, there are weird aspects of migrations.  It might be that some transaction has not committed and is holding on to old meta data.02:34
*** wenjianhn has quit IRC02:34
ayoungjamielennox, yes, that is what I meant02:34
ayoungmulti-domain02:34
ayoungshort hand for the cool work that Henrynash is doing02:34
nachiayoung, ok. I will continue debugging after dinner.02:35
jamielennoxyea, i saw a bit of it, but i still get a little lost about what is scoped to what02:35
*** sarob has quit IRC02:35
*** sarob has joined #openstack-dev02:36
jamielennoxso what it means though in terms of authenticating a user with V3 we don't really have a means of using that user to do UUID token validation as things are02:36
ayoungnachi, so everything works except the drop, right?02:36
ayoungjamielennox, not today, short of saying they need admin on the default domain or something02:37
ayoungbut that won't be in an unscoped token...they would need to get a token scoped to the default domain, which should be OK02:37
jamielennoxwhich means (whilst not useless) all this stuff i've been doing to get auth_token to use a v3 client is just not going to work02:37
ayoungjamielennox, I think that 'admin on default domain' is what we discussed before.02:39
ayoungIt is a policy rule, and we just need to come up with a reasonable default, but something that people could modify in deployment02:40
jamielennoxis that what will be scoped by using a V2 token anyway?02:40
*** sarob has quit IRC02:40
ayoungjamielennox, V2...no, as there are no global roles, and the v2 api doesn't know about domains.  It would have to be a v3 token02:41
jamielennoxright, but if i use a V2 token against a V3 api as auth_token currently does then technically that token should be scoped to the default domain02:42
jamielennoxthough i'm going to assume that the policy check isn't smart enough to realize, and just gives it admin all over02:42
nachiayoung, test to check conflicting credentials during  migration fails against postgresql and mysql . All other tests as part of the review are fine.02:42
openstackgerritA change was merged to openstack/swift: Assignment to reserved built-in symbol  https://review.openstack.org/4008402:43
*** maheshp has joined #openstack-dev02:44
*** galstrom_zzz is now known as galstrom02:45
openstackgerritA change was merged to openstack/neutron: Enable localizable REST API responses via the Accept-Language header  https://review.openstack.org/3959002:46
openstackgerritA change was merged to openstack/swift: Add missing copyright license headers  https://review.openstack.org/4012002:46
openstackgerritA change was merged to openstack/nova: Fix instance actions testing  https://review.openstack.org/4064802:46
*** zul has joined #openstack-dev02:47
*** alexxu has joined #openstack-dev02:47
*** martine has joined #openstack-dev02:50
*** martine is now known as Guest6403202:50
*** eharney has quit IRC02:51
*** Guest64032 is now known as martine_02:51
*** epim has quit IRC02:53
*** galstrom is now known as galstrom_zzz02:55
*** lexinator has joined #openstack-dev03:01
*** galstrom_zzz is now known as galstrom03:02
*** SergeyLukjanov has joined #openstack-dev03:03
*** adjohn has joined #openstack-dev03:07
*** jimfehlig has joined #openstack-dev03:07
*** mdomsch has joined #openstack-dev03:07
*** mdomsch has quit IRC03:08
*** mdomsch has joined #openstack-dev03:11
*** troytoman is now known as troytoman-away03:11
ayoungjamielennox, I think there is something about V2 only being default domain03:12
ayoungask gyee as he knows this stuff cold, but look in the token factory/provider03:13
*** jimjiang_ has quit IRC03:13
*** yaguang has quit IRC03:14
ayoungjamielennox, the controller does the lookup before it gets to the provider03:16
ayounghttps://github.com/openstack/keystone/blob/master/keystone/token/controllers.py#L241  looks up name using the default domain03:18
ayounghttps://github.com/openstack/keystone/blob/master/keystone/token/controllers.py#L241  goes to identity API without domain specified03:18
*** kenperkins has joined #openstack-dev03:18
*** sthaha has joined #openstack-dev03:19
ayounguser ID is assumed to be global, so domain id is not checked.'03:20
*** melwitt has joined #openstack-dev03:21
*** wenjianhn has joined #openstack-dev03:21
*** ayoung is now known as ayoung-zZzZzZz03:21
*** HenryG has quit IRC03:22
*** arosen1 has quit IRC03:24
*** mdomsch has quit IRC03:25
*** yaguang has joined #openstack-dev03:26
*** mdomsch has joined #openstack-dev03:26
*** turul_ has joined #openstack-dev03:27
*** radsy has quit IRC03:27
*** turul_ is now known as afazekas03:28
*** nijaba has quit IRC03:29
*** martine_ has quit IRC03:29
*** nijaba has joined #openstack-dev03:30
openstackgerritA change was merged to openstack/neutron: Fix two typos in routing table configuration  https://review.openstack.org/4072703:31
*** novas0x2a|laptop has quit IRC03:31
openstackgerritA change was merged to openstack/horizon: Allow translators to control the word order  https://review.openstack.org/4039003:32
*** sandywalsh has quit IRC03:32
*** maheshp has quit IRC03:33
*** jimfehlig has quit IRC03:33
*** zul has quit IRC03:33
*** Ryan_Lane has quit IRC03:38
*** galstrom is now known as galstrom_zzz03:38
*** neelashah has quit IRC03:38
*** adjohn_ has joined #openstack-dev03:39
*** Ryan_Lane has joined #openstack-dev03:39
*** adjohn has quit IRC03:42
openstackgerritA change was merged to openstack/horizon: Updates Topology to correctly handle resources in the INIT state.  https://review.openstack.org/3853403:43
*** sarob has joined #openstack-dev03:46
*** maheshp has joined #openstack-dev03:48
*** mdomsch has quit IRC03:48
*** mdomsch has joined #openstack-dev03:49
*** sarob has quit IRC03:51
*** galstrom_zzz is now known as galstrom03:51
*** mdomsch has quit IRC03:52
*** wenjianhn has quit IRC03:52
*** aditirav has joined #openstack-dev03:56
*** jhesketh__ has quit IRC03:56
*** aditirav has quit IRC03:57
*** aditirav has joined #openstack-dev03:58
*** danwent has joined #openstack-dev03:58
*** galstrom is now known as galstrom_zzz03:58
*** gmurphy has quit IRC04:00
*** sthaha has quit IRC04:00
*** sthaha has joined #openstack-dev04:00
*** gmurphy has joined #openstack-dev04:02
*** sandywalsh has joined #openstack-dev04:06
*** gmurphy has quit IRC04:06
*** andrewbogott is now known as andrewbogott_afk04:17
*** Ryan_Lane has quit IRC04:21
*** gmurphy has joined #openstack-dev04:24
*** galstrom_zzz is now known as galstrom04:26
*** gmurphy has quit IRC04:26
*** maheshp has quit IRC04:26
openstackgerritA change was merged to openstack/horizon: Ensure the user monkey patching is done for the API tests  https://review.openstack.org/4065604:26
*** sthaha has quit IRC04:28
*** Ryan_Lane has joined #openstack-dev04:30
openstackgerritA change was merged to openstack/nova: xenapi: Adding BitTorrent download handler  https://review.openstack.org/3714804:30
*** nijaba has quit IRC04:30
*** nijaba has joined #openstack-dev04:30
*** Ryan_Lane has quit IRC04:31
*** Ryan_Lane1 has joined #openstack-dev04:31
*** afazekas has quit IRC04:31
*** galstrom is now known as galstrom_zzz04:31
*** jhesketh_ has joined #openstack-dev04:31
*** SergeyLukjanov has quit IRC04:33
*** kenperkins has quit IRC04:37
*** kenperkins_ has joined #openstack-dev04:37
*** rcleere has quit IRC04:37
openstackgerritA change was merged to openstack/nova: Raise 404 when instance not found in admin_actions API  https://review.openstack.org/4007004:38
openstackgerritA change was merged to openstack/nova: remove improper usage of 'assert'  https://review.openstack.org/4009404:39
*** rcleere has joined #openstack-dev04:39
openstackgerritA change was merged to openstack/nova: Add expected_errors for extension Console v3  https://review.openstack.org/3903804:40
*** ifarkas has quit IRC04:41
*** briancurtin has quit IRC04:41
openstackgerritA change was merged to openstack/glance: Raise jsonschema requirement  https://review.openstack.org/4056004:41
openstackgerritA change was merged to openstack/tempest: Remove duplicate image tests for tenant authZ  https://review.openstack.org/3964104:41
openstackgerritA change was merged to openstack/tempest: Flag InstanceCfnInitTestJSON as the first slow heat test  https://review.openstack.org/4073804:41
*** aditirav has quit IRC04:42
*** aditirav has joined #openstack-dev04:42
*** Ryan_Lane has joined #openstack-dev04:43
*** boris-42 has joined #openstack-dev04:43
*** Ryan_Lane1 has quit IRC04:45
openstackgerritA change was merged to openstack/swift: Ensure http_connect is mocked out in tests  https://review.openstack.org/4030904:45
*** simonluo has quit IRC04:48
*** nayward has joined #openstack-dev04:49
*** iscsi has quit IRC04:51
*** afazekas has joined #openstack-dev04:52
*** alexxu has quit IRC04:54
*** rcrit has quit IRC04:55
*** maheshp has joined #openstack-dev04:57
*** wenjianhn has joined #openstack-dev04:57
*** sridevi has joined #openstack-dev04:59
*** maheshp has quit IRC05:05
*** rcleere has quit IRC05:07
*** rcrit has joined #openstack-dev05:07
*** kenperkins_ has quit IRC05:09
*** cmark has joined #openstack-dev05:10
openstackgerritA change was merged to openstack/nova: Make fake_instance handle security groups  https://review.openstack.org/3820905:11
openstackgerritA change was merged to openstack/nova: Pull out instance object handling for use by create also  https://review.openstack.org/3889205:11
*** gmurphy has joined #openstack-dev05:11
*** alexxu has joined #openstack-dev05:14
*** henrynash has joined #openstack-dev05:15
*** Madkiss has joined #openstack-dev05:19
*** Madkiss has joined #openstack-dev05:19
*** alexxu has quit IRC05:20
morganfainbergjamielennox: hey man.  i wanted to bounce something off you05:20
jamielennoxmorganfainberg: it's gotta be getting late for you05:21
morganfainbergjamielennox: phsaw, you should know better.  i don't sleep ;)05:21
*** maheshp has joined #openstack-dev05:21
jamielennoxi normally give up on people being around at this time, i'll check on you from now on05:21
jamielennoxbut shoot05:21
morganfainbergjamielennox: (maybe i'd be better off living +10 GMT :P05:22
*** networkstatic has quit IRC05:22
morganfainberg>.>05:22
*** epim has joined #openstack-dev05:22
jamielennoxthat doesn't stop you going to bed later, it just puts you out of sync with a bunch of different people05:22
*** lukego has joined #openstack-dev05:23
morganfainbergyeah so i saw you +1'd my code for the token interface within the providers, and thoughts on the splitting issue_<version>_token into separate provider functions such as issue_project_scoped (as dolph commented on the previous patchset)05:23
morganfainbergi'm seeing the need to duplicate code or.. put a rather hasty shim in above issue_v3_token to make everything work05:23
morganfainbergi wanted to see what you thought about that kind of change, e.g. if it was going to muck things up on the back end in the provider more than it was worth.05:24
jamielennoxhonestly that whole thing is a mess05:24
morganfainbergyeah. thats the problem05:24
jamielennoxi'm not sure adding a issue_*_scoped will make any difference05:25
jamielennoxany more than having optional domain=None and project=None05:25
*** nayward has quit IRC05:25
morganfainbergi think the right fix is the one we're dodging around (and i'll propose for icehouse) - moving to a builder system05:25
*** nayward has joined #openstack-dev05:25
jamielennoxi think the right fix is moving to an object model based system, but that's a lot of work05:26
morganfainbergnot to mention other cleanup (e.g. what you and ayoung talked about earlier scoped/unscoped/etc)05:26
morganfainbergyep.05:26
morganfainbergok, cool. i think you and i are on the same page, i wanted to get a second brain to weigh in (outside of gerrit)05:27
*** jackmccann has quit IRC05:27
jamielennoxi think if you put in functions like issue_project_scoped then you will have to check whether project is set or not05:27
morganfainbergit makes the controller easier to understand… way easier, it doesn't solve the "mess"05:27
jamielennoxso if project: issue_project_scoped elif domain issue_domain_scoped else: issue_unscoped05:27
morganfainbergin fact, it makes the provider worse imo05:27
*** coolsvap has joined #openstack-dev05:27
morganfainbergyep05:27
morganfainbergif/elif/elif/else or some crummy dict lookup mechanism05:28
morganfainbergthanks. :) appreciate the insight05:29
jamielennoxis it possible to split a v2 / v3 provider?05:29
morganfainbergjamielennox: there is no reason we cant.  it's just another manager05:30
jamielennoxno you would end up with v2UUID v3UUID and they would all provide the same thing05:30
*** nijaba has quit IRC05:30
morganfainbergit wouldn't be hard to do something like provider.V2.<blah>05:30
morganfainbergbut you'd still end up with dupe'd code05:30
morganfainbergor worse05:30
jamielennoxbut you need interoperability between v2 and v3, if you did that you might end up with v2 provider different from v305:30
morganfainbergah true.05:31
jamielennoxnot worth it05:31
*** nijaba has joined #openstack-dev05:31
*** nijaba has joined #openstack-dev05:31
morganfainbergideally, it shouldn't matter what token data format, keystone should be able to extract the relevant information based upon it and reissue any other format05:31
jamielennoxideally to my mind we shouldn't have versioned token formats, so long as the provider can specify all the required data05:32
morganfainbergbut it becomes a real nightmare when dealing with the auth_token middleware and third-party (e.g. nothing that would be submitted upstream) changes to the providers05:32
morganfainbergversioned token formats is fine.  but only insomuch as to let the middleware or other interface know if it has the full dataset or if it needs to ask upstream for what is missing.05:33
morganfainberg(reverse compat)05:33
jamielennoxyea, i've about had my fill of auth_token05:33
*** alexxu has joined #openstack-dev05:34
*** jswarren has quit IRC05:34
morganfainbergnot surprising.  it's the part that is the hardest (for me) to get my head wrapped around05:34
morganfainbergthe rest of the client is surprisingly straightforward.05:35
morganfainberg(i say surprising because a lot of people shy away from all of the python-*client libs)05:36
*** dina_belova has joined #openstack-dev05:36
jamielennoxyea, if not overly helpful in some places. but i've only ever written test stuff with keystoneclient i've never had to actually work with it05:36
jamielennoxthe clients are generally not so glamorous and prone to get you in trouble for breaking the rest of the world05:37
*** epim has quit IRC05:37
*** garyk has joined #openstack-dev05:37
morganfainbergyeah. exactly05:38
*** garyk has quit IRC05:38
*** gkotton has joined #openstack-dev05:38
*** gkotton is now known as garyk05:38
*** dina_belova has quit IRC05:38
*** andrewbogott_afk is now known as andrewbogott05:40
*** giroro_ has quit IRC05:41
*** Ruetobas has joined #openstack-dev05:43
jamielennoxmordred: when you have a minute can you have a look at/rebase your https://review.openstack.org/#/c/40284/3 review, there will be a merge conflict in test-requirements.txt due to another patch that went through05:46
*** jhesketh_ has quit IRC05:46
*** jhesketh has quit IRC05:46
*** obondarev_ has joined #openstack-dev05:48
openstackgerritA change was merged to openstack/neutron: Change decorator to webob as doesn't need to be wsgi  https://review.openstack.org/4029105:50
*** ytwu has joined #openstack-dev05:52
*** nachi has quit IRC05:53
*** andrewbogott is now known as andrewbogott_afk05:54
*** mikal has quit IRC05:54
morganfainbergjamielennox: have a great day.  I think i'm going to wind down for the evening05:55
jamielennoxmorganfainberg: alright, i'll talk to you later05:55
*** mikal has joined #openstack-dev05:55
*** ytwu1 has joined #openstack-dev05:56
*** ytwu has quit IRC05:56
*** lukego has quit IRC05:57
*** Ruetobas has quit IRC05:57
*** Ruetobas has joined #openstack-dev05:58
*** jhesketh_ has joined #openstack-dev05:59
*** jhesketh has joined #openstack-dev05:59
*** sshturm_ has quit IRC05:59
*** ytwu has joined #openstack-dev06:02
*** ytwu2 has joined #openstack-dev06:05
*** ytwu1 has quit IRC06:05
*** Ryan_Lane has quit IRC06:06
*** ytwu has quit IRC06:07
*** Ryan_Lane has joined #openstack-dev06:10
*** ytwu has joined #openstack-dev06:10
*** Ruetobas has quit IRC06:11
*** ytwu2 has quit IRC06:12
*** lukego has joined #openstack-dev06:12
*** Ruetobas has joined #openstack-dev06:13
*** lukego has quit IRC06:16
*** ytwu1 has joined #openstack-dev06:16
*** mmagr has joined #openstack-dev06:17
*** ytwu has quit IRC06:17
*** giroro_ has joined #openstack-dev06:18
*** markmcclain has quit IRC06:19
*** ytwu has joined #openstack-dev06:20
*** Ruetobas has quit IRC06:20
*** ytwu1 has quit IRC06:20
*** bashok has joined #openstack-dev06:23
*** ytwu1 has joined #openstack-dev06:24
*** ytwu has quit IRC06:24
openstackgerritA change was merged to openstack/keystone: Fix select n+1 issue in keystone catalog  https://review.openstack.org/3938606:25
*** ytwu has joined #openstack-dev06:28
openstackgerritA change was merged to openstack/nova: Fix Instance objects with empty security groups  https://review.openstack.org/3999606:29
*** nijaba has quit IRC06:30
*** ytwu1 has quit IRC06:31
*** eglynn has joined #openstack-dev06:31
*** nijaba has joined #openstack-dev06:31
*** ytwu1 has joined #openstack-dev06:31
*** tkammer has joined #openstack-dev06:33
*** ytwu has quit IRC06:33
*** ytwu has joined #openstack-dev06:33
*** mrunge has joined #openstack-dev06:34
*** alexxu has quit IRC06:35
*** ytwu1 has quit IRC06:36
*** ytwu1 has joined #openstack-dev06:36
*** epim has joined #openstack-dev06:37
*** ytwu has quit IRC06:37
*** maheshp has quit IRC06:39
*** ytwu has joined #openstack-dev06:40
*** ytwu1 has quit IRC06:41
*** alexxu has joined #openstack-dev06:44
*** ytwu1 has joined #openstack-dev06:44
*** ytwu has quit IRC06:44
*** jprovazn has joined #openstack-dev06:45
*** ytwu has joined #openstack-dev06:47
*** aditirav_ has joined #openstack-dev06:48
*** sthaha has joined #openstack-dev06:48
*** ytwu1 has quit IRC06:48
*** aditirav has quit IRC06:50
*** aditirav_ is now known as aditirav06:50
*** pabelanger has quit IRC06:50
*** avishay has joined #openstack-dev06:51
*** ytwu has quit IRC06:52
*** ytwu has joined #openstack-dev06:52
*** ytwu1 has joined #openstack-dev06:55
*** aeperezt has quit IRC06:56
*** ytwu has quit IRC06:57
*** ema has joined #openstack-dev06:59
*** ema has joined #openstack-dev06:59
*** alexxu has quit IRC06:59
jamielennoxhenrynash: you here?06:59
*** ytwu has joined #openstack-dev07:00
*** xga has joined #openstack-dev07:00
*** pnavarro has joined #openstack-dev07:00
*** berendt has joined #openstack-dev07:02
*** ytwu1 has quit IRC07:02
henrynashjamielennox: hi07:02
*** ytwu1 has joined #openstack-dev07:03
jamielennoxso i was talking to ayoung earlier about how we handle auth_token with v3 tokens07:03
jamielennoxi did see your email overnight as well07:03
henrynashjamielennox: ok07:03
*** ytwu has quit IRC07:04
jamielennoxis it sufficient to have auth_token only work on the default domain07:05
jamielennoxi would like to say no, but my understanding is that is what should happen currently as by default anything that uses a v2 token in a v3 context is being scoped that way07:05
openstackgerritA change was merged to openstack/neutron: Fix path for the linuxbridge plugin in folsom initial DB structure  https://review.openstack.org/4072007:06
henrynashthis is, as you have discovered, a complex subject….I'd like to discuss this some more with you…but have to go offline for 30-45 mins…will you be around then?07:06
jamielennoxah, probably not,07:06
jamielennoxi'm probably out soon, i should have tried earlier but only just noticed you approved the n+1 review07:07
henrynashso let me give it some thought…and we'll try and hook up when you are back on07:07
*** Alexei_987 has joined #openstack-dev07:08
jamielennoxyea, i'll see if i can get back on in a couple of hours and try again07:08
jamielennoxi'll ping you if it happens07:08
*** markvoelker has quit IRC07:08
*** markvoelker has joined #openstack-dev07:10
*** ytwu has joined #openstack-dev07:11
*** eglynn has quit IRC07:12
jamielennoxhenrynash: so in things to think about, first there is the problem of a global admin permission or somehow domain scoping auth_token. Second is that the flow is currently do version discovery on keystone, choose api version, get token from keystone which we use to authenticate.07:12
*** alexxu has joined #openstack-dev07:12
jamielennoxIdeally what i would like to do is receive a catalog when authenticating so that i can communicate with the correct identity service, however AFAIK this is only possible with a scoped token (and in my tests domain scoping is failing - but i think that's an ldap thing)07:12
*** pabelanger has joined #openstack-dev07:13
*** ytwu1 has quit IRC07:13
jamielennoxbecause unless you receive a catalog the management_url of the client is not set and you technically have no way to communicate via the client (which is as much a failing of the client, imo)07:14
*** wfoster_away is now known as wfoster07:15
*** ytwu1 has joined #openstack-dev07:17
*** mestery_ has joined #openstack-dev07:17
jamielennoxso what i really need(/want) i guess is a way of scoping an admin user to something that will still allow me to use the token for validation. I understand projects are domain scoped and so no help.07:17
*** epim has quit IRC07:18
jamielennoxso my best guess is some sort of fake(?) domain and a way of rigging policy such that only if you auth with a token scoped to it can you validate07:18
jamielennoxnot hard at all :)07:18
*** ytwu has quit IRC07:19
*** lexinator has quit IRC07:19
*** mestery has quit IRC07:19
*** jpich has joined #openstack-dev07:21
*** SergeyLukjanov has joined #openstack-dev07:21
jamielennoxayoung's opinion was to go the other way, if you have a PKI token then everyone can validate and see your roles etc by decrypting the token so this should not be a highly privileged operation and that therefore any valid token should be allowed to validate any other token which would mean you could scope the auth token however you like07:22
*** xga_ has joined #openstack-dev07:22
jamielennoxhenrynash: anyway, food for thought - i'll let you know if i get back on tonight07:22
*** dina_belova has joined #openstack-dev07:23
*** Ryan_Lane has quit IRC07:23
*** nachi has joined #openstack-dev07:25
*** xga has quit IRC07:25
*** nachi_ has joined #openstack-dev07:25
*** stevemar has quit IRC07:25
*** nachi_ has quit IRC07:26
*** ytwu1 has quit IRC07:28
*** ytwu has joined #openstack-dev07:29
*** yolanda has joined #openstack-dev07:29
*** ema has quit IRC07:30
*** nijaba has quit IRC07:31
*** Ryan_Lane has joined #openstack-dev07:31
*** nijaba has joined #openstack-dev07:32
*** romcheg has joined #openstack-dev07:35
*** safchain has joined #openstack-dev07:36
*** ytwu1 has joined #openstack-dev07:36
*** nachi has quit IRC07:37
*** ytwu has quit IRC07:37
*** ytwu has joined #openstack-dev07:38
*** ifarkas has joined #openstack-dev07:40
*** eglynn has joined #openstack-dev07:40
*** ytwu2 has joined #openstack-dev07:40
*** ytwu1 has quit IRC07:40
*** giulivo has joined #openstack-dev07:42
*** ytwu has quit IRC07:43
*** ytwu has joined #openstack-dev07:43
*** emagana has joined #openstack-dev07:44
*** ytwu2 has quit IRC07:45
*** wfoster is now known as wfoster_away07:45
*** jistr has joined #openstack-dev07:47
*** ytwu1 has joined #openstack-dev07:47
*** ytwu has quit IRC07:47
*** xqueralt-afk is now known as xqueralt07:47
*** alexxu has quit IRC07:50
*** jaimegil has joined #openstack-dev07:50
*** ytwu has joined #openstack-dev07:50
*** ytwu1 has quit IRC07:51
*** kpavel has quit IRC07:52
openstackgerritA change was merged to openstack/tempest: Adds tests covering Swift's Account Quota middleware  https://review.openstack.org/3965907:53
openstackgerritA change was merged to openstack/neutron: Separate packet filter activation from port operation in NEC Plugin  https://review.openstack.org/4077507:53
openstackgerritA change was merged to openstack/neutron: Sync oslo gettextutils  https://review.openstack.org/4052107:53
*** MaxV has joined #openstack-dev07:53
openstackgerritA change was merged to openstack/neutron: Fix lbaas_pool_scheduler db migration  https://review.openstack.org/4063507:53
*** ytwu1 has joined #openstack-dev07:53
*** mmagr has quit IRC07:54
*** mrunge has quit IRC07:54
*** cmark has quit IRC07:54
*** dina_belova has quit IRC07:55
*** ytwu has quit IRC07:55
*** adjohn_ has quit IRC07:56
*** ema has joined #openstack-dev07:57
*** ema has joined #openstack-dev07:57
*** mmagr has joined #openstack-dev07:58
*** mrunge has joined #openstack-dev07:58
*** ytwu1 has quit IRC07:59
*** ytwu has joined #openstack-dev08:00
*** ifarkas has quit IRC08:02
*** sushils has joined #openstack-dev08:03
*** ytwu1 has joined #openstack-dev08:03
*** yaguang has quit IRC08:03
*** ytwu has quit IRC08:04
*** kpavel has joined #openstack-dev08:05
*** boden has joined #openstack-dev08:05
*** xga has joined #openstack-dev08:05
*** ifarkas has joined #openstack-dev08:05
*** xga_ has quit IRC08:06
*** ytwu has joined #openstack-dev08:07
*** ytwu1 has quit IRC08:07
*** derekh has joined #openstack-dev08:07
*** ljjjustin is now known as xingchao08:08
*** sandeepr_ltp has joined #openstack-dev08:11
*** ytwu1 has joined #openstack-dev08:13
*** zoresvit has quit IRC08:13
*** xingchao has quit IRC08:13
*** ifarkas has quit IRC08:13
*** ytwu has quit IRC08:14
*** zoresvit has joined #openstack-dev08:14
*** ljjjustin has joined #openstack-dev08:14
*** dina_belova has joined #openstack-dev08:14
*** odyssey4me has joined #openstack-dev08:14
*** ifarkas has joined #openstack-dev08:14
*** andrewbogott_afk is now known as andrewbogott08:15
*** ytwu has joined #openstack-dev08:19
*** avishay has quit IRC08:20
*** ytwu1 has quit IRC08:20
*** cmark has joined #openstack-dev08:22
*** fbo_away is now known as fbo08:22
*** avishay has joined #openstack-dev08:22
*** boris-42 has quit IRC08:23
*** bismigalis has joined #openstack-dev08:24
*** lukego has joined #openstack-dev08:25
*** yannovitch has joined #openstack-dev08:26
*** wfoster_away is now known as wfoster08:26
openstackgerritA change was merged to openstack/tempest: Add test for swift ACLs  https://review.openstack.org/3882308:27
*** yaguang has joined #openstack-dev08:28
*** sudorandom has joined #openstack-dev08:28
*** nijaba has quit IRC08:31
*** psedlak has joined #openstack-dev08:31
*** nijaba has joined #openstack-dev08:32
*** xchu has quit IRC08:32
bismigalisthere are "extensions" and "plugins" dirs in quantum, what is the difference, where to find info08:32
*** pschaef has joined #openstack-dev08:32
*** ytwu has quit IRC08:33
*** ytwu has joined #openstack-dev08:33
*** ytwu1 has joined #openstack-dev08:35
*** jcoufal has joined #openstack-dev08:35
*** yannovitch has quit IRC08:37
*** ytwu2 has joined #openstack-dev08:37
*** ytwu has quit IRC08:38
*** ytwu1 has quit IRC08:40
*** YorikSar has joined #openstack-dev08:41
*** ytwu has joined #openstack-dev08:42
*** ytwu2 has quit IRC08:44
*** xchu has joined #openstack-dev08:44
*** ruhe has joined #openstack-dev08:45
*** ytwu1 has joined #openstack-dev08:45
*** xBsd has joined #openstack-dev08:46
*** ytwu has quit IRC08:47
*** Ryan_Lane has quit IRC08:49
*** ytwu has joined #openstack-dev08:50
*** andrewbogott is now known as andrewbogott_afk08:51
*** yannovitch has joined #openstack-dev08:52
*** sandeepr_ltp has quit IRC08:52
*** ytwu1 has quit IRC08:52
*** sandeepr_ltp has joined #openstack-dev08:53
*** ytwu1 has joined #openstack-dev08:53
*** radsy has joined #openstack-dev08:53
*** ytwu has quit IRC08:55
*** ytwu has joined #openstack-dev08:56
*** yannovitch has quit IRC08:56
*** zoresvit has quit IRC08:56
*** zoresvit has joined #openstack-dev08:57
*** yannovitch has joined #openstack-dev08:57
*** mkollaro has joined #openstack-dev08:57
*** ytwu1 has quit IRC08:58
*** ytwu1 has joined #openstack-dev09:01
*** lucasagomes has joined #openstack-dev09:01
*** dkehn has quit IRC09:01
*** e1mer has joined #openstack-dev09:03
*** xqueralt is now known as xqueralt-afk09:03
*** ytwu has quit IRC09:03
*** ytwu has joined #openstack-dev09:04
*** utlemming has joined #openstack-dev09:05
*** ytwu1 has quit IRC09:06
*** adjohn has joined #openstack-dev09:06
*** ytwu1 has joined #openstack-dev09:07
*** ytwu has quit IRC09:08
*** ytwu has joined #openstack-dev09:09
*** adjohn has quit IRC09:11
*** oNeToWn has joined #openstack-dev09:11
openstackgerritA change was merged to openstack/tempest: Skip more security group tests until bug 1182384 is fixed  https://review.openstack.org/4066909:11
uvirtbotLaunchpad bug 1182384 in tempest "SecurityGroups Tests : invalid id must be valid uuid " [Medium,In progress] https://launchpad.net/bugs/118238409:11
*** ytwu1 has quit IRC09:11
*** radsy has quit IRC09:12
*** xga_ has joined #openstack-dev09:12
*** isviridov_ has quit IRC09:12
*** yaguang has quit IRC09:13
*** yaguang has joined #openstack-dev09:14
holmsdtroyer: just wanna ask so what's the solution regarding that bug..? why those mirrors are usefull if they not even exists anymore..09:14
*** xga has quit IRC09:15
*** yannovitch has quit IRC09:16
*** aditirav has quit IRC09:16
*** aditirav has joined #openstack-dev09:16
*** lukego has quit IRC09:16
*** aditirav has left #openstack-dev09:17
*** yannovitch has joined #openstack-dev09:17
*** ytwu1 has joined #openstack-dev09:17
*** xchu has quit IRC09:19
*** ytwu has quit IRC09:19
*** lukego has joined #openstack-dev09:20
*** ytwu has joined #openstack-dev09:21
*** Ryan_Lane has joined #openstack-dev09:21
*** ytwu1 has quit IRC09:22
*** yaguang has quit IRC09:22
*** ytwu1 has joined #openstack-dev09:23
*** yaguang has joined #openstack-dev09:23
openstackgerritA change was merged to openstack/glance: Using unicode() convert non-English exception message  https://review.openstack.org/3742109:24
*** yannovitch has quit IRC09:24
*** ytwu has quit IRC09:25
*** dina_belova has quit IRC09:27
*** ytwu has joined #openstack-dev09:27
*** ytwu1 has quit IRC09:27
*** dina_belova has joined #openstack-dev09:27
*** dina_belova has quit IRC09:28
*** ytwu1 has joined #openstack-dev09:31
*** nijaba has quit IRC09:31
*** ytwu has quit IRC09:32
*** xchu has joined #openstack-dev09:32
*** nijaba has joined #openstack-dev09:32
*** nijaba has joined #openstack-dev09:32
*** sudorandom has quit IRC09:33
*** giroro_ has quit IRC09:35
*** jab416171 has quit IRC09:35
*** adepti37 has quit IRC09:36
*** ytwu has joined #openstack-dev09:36
*** Ryan_Lane has quit IRC09:36
*** ytwu1 has quit IRC09:37
*** adepti37 has joined #openstack-dev09:37
*** yaguang_ has joined #openstack-dev09:38
*** yaguang has quit IRC09:38
*** xqueralt-afk is now known as xqueralt09:39
*** dkehn has joined #openstack-dev09:40
*** Ruetobas has joined #openstack-dev09:40
*** hailiang has quit IRC09:40
*** boris-42 has joined #openstack-dev09:40
*** pixelbeat has joined #openstack-dev09:44
*** ytwu1 has joined #openstack-dev09:44
*** ytwu has quit IRC09:45
*** wenjianhn has quit IRC09:47
*** xBsd has quit IRC09:50
*** ruhe has quit IRC09:50
*** ytwu has joined #openstack-dev09:51
*** ytwu1 has quit IRC09:52
*** xBsd has joined #openstack-dev09:53
*** xBsd has quit IRC09:53
*** pschaef has quit IRC09:54
*** Mikhail has joined #openstack-dev09:56
*** mdurnosvistov has quit IRC09:56
*** Mikhail is now known as Guest6586109:56
*** pschaef has joined #openstack-dev09:59
*** ytwu1 has joined #openstack-dev09:59
*** jruzicka has quit IRC10:00
*** jruzicka has joined #openstack-dev10:00
*** ytwu has quit IRC10:01
*** ytwu has joined #openstack-dev10:05
*** utlemming has quit IRC10:05
*** erkules has quit IRC10:07
*** ytwu1 has quit IRC10:07
*** ifarkas has quit IRC10:07
*** krphop has quit IRC10:07
*** ytwu1 has joined #openstack-dev10:09
*** ytwu has quit IRC10:10
*** dina_belova has joined #openstack-dev10:10
*** erkules has joined #openstack-dev10:11
*** ifarkas has joined #openstack-dev10:11
*** xchu has quit IRC10:11
jamielennoxhenrynash, ping10:12
*** amotoki has quit IRC10:12
*** ytwu has joined #openstack-dev10:13
*** emagana_ has joined #openstack-dev10:14
*** henrynash_ has joined #openstack-dev10:15
*** ytwu1 has quit IRC10:16
*** henrynash has quit IRC10:17
*** henrynash_ is now known as henrynash10:17
*** mikal has quit IRC10:17
*** ytwu1 has joined #openstack-dev10:18
*** emagana has quit IRC10:18
*** mikal has joined #openstack-dev10:19
*** ytwu has quit IRC10:20
*** Thor^^ is now known as Thor10:22
*** ytwu has joined #openstack-dev10:23
*** ytwu1 has quit IRC10:24
*** krphop has joined #openstack-dev10:24
*** ytwu1 has joined #openstack-dev10:25
*** martyntaylor has joined #openstack-dev10:25
*** dina_belova has quit IRC10:27
*** ytwu has quit IRC10:28
*** dina_belova has joined #openstack-dev10:28
*** nijaba has quit IRC10:28
*** ytwu has joined #openstack-dev10:28
*** ytwu1 has quit IRC10:30
*** obondarev_ has quit IRC10:32
*** ytwu1 has joined #openstack-dev10:32
*** nijaba has joined #openstack-dev10:32
*** nijaba has joined #openstack-dev10:32
*** ytwu has quit IRC10:33
*** Shaan7 has quit IRC10:34
*** martyntaylor has quit IRC10:35
*** martyntaylor has joined #openstack-dev10:36
*** ytwu has joined #openstack-dev10:37
*** ytwu1 has quit IRC10:39
*** gongysh has quit IRC10:40
*** Shaan7 has joined #openstack-dev10:42
*** sandeepr_ltp has quit IRC10:42
*** ytwu1 has joined #openstack-dev10:43
*** ytwu has quit IRC10:45
*** ytwu has joined #openstack-dev10:46
*** ytwu1 has quit IRC10:47
*** ema has quit IRC10:48
*** zul has joined #openstack-dev10:50
*** adjohn has joined #openstack-dev10:51
*** adjohn has quit IRC10:51
*** jswarren has joined #openstack-dev10:51
*** ytwu1 has joined #openstack-dev10:52
*** ytwu has quit IRC10:53
*** ytwu has joined #openstack-dev10:55
*** ytwu1 has quit IRC10:56
jamielennoxhenrynash, still around10:57
*** ytwu1 has joined #openstack-dev10:58
*** ruhe has joined #openstack-dev10:58
*** yaguang_ has quit IRC10:59
*** ytwu has quit IRC11:00
*** pschaef has quit IRC11:01
*** tonix has joined #openstack-dev11:01
*** bourke has quit IRC11:01
*** pschaef has joined #openstack-dev11:02
*** martine_ has joined #openstack-dev11:02
*** lexinator has joined #openstack-dev11:02
*** bourke has joined #openstack-dev11:03
*** jprovazn has quit IRC11:04
*** ytwu has joined #openstack-dev11:05
*** lexinator has quit IRC11:07
*** ytwu1 has quit IRC11:07
*** ruhe has quit IRC11:08
*** ytwu1 has joined #openstack-dev11:09
*** nijaba has quit IRC11:09
*** ytwu has quit IRC11:10
*** ruhe has joined #openstack-dev11:10
*** e1mer has quit IRC11:11
*** jimjiang has quit IRC11:11
*** CaptTofu has quit IRC11:13
*** ytwu has joined #openstack-dev11:14
*** CaptTofu has joined #openstack-dev11:14
*** jprovazn has joined #openstack-dev11:15
*** ytwu1 has quit IRC11:15
*** nijaba has joined #openstack-dev11:16
henrynashjamielennox: hi11:18
jamielennoxhenrynash, hi, still here11:18
*** ytwu1 has joined #openstack-dev11:18
*** CaptTofu has quit IRC11:19
henrynashOK, so, if you can stand it, let's go back to basics (to make sure I fully understand the problem)11:19
jamielennoxsure11:19
*** CaptTofu has joined #openstack-dev11:19
*** lukego has quit IRC11:19
jamielennoxso what i want to do is write auth_token middleware in a way that it uses keystoneclient rather than the hacked up mess it is now11:19
henrynash+10011:20
*** dkehn has quit IRC11:20
jamielennoxso there are a number of assumptions that keystoneclient makes that tend to have it work in most situations11:20
*** ytwu has quit IRC11:21
jamielennoxthings like the url you provide to auth_token is never really checked, instead if you want v3 it just appends /v3 to the end, same for /v2.011:21
jamielennoxgyee filed a bug the other day i've no about for a while, namely that even if you tell auth_token to use v3 auth (which you can force) it still gets it's own auth token as a v2 toen11:22
jamielennoxso i have a bunch of reviews to keystoneclient that gets us a lot of the way there11:22
*** melwitt has quit IRC11:22
jamielennoxso there are a number of issues11:23
jamielennoxfirst, if you start a keystoneclient with an auth_url without scoping information it returns an unscoped token11:23
jamielennoxthere is no way i can see to easily exchange an unscoped token to a scoped token within the client11:23
jprovaznlifeless: ping11:24
henrynashso, the client doesn't support that upgrading?11:24
jamielennoxhowever the client reads the token info and extracts the identity service from the catalog11:24
henrynashof an uncsoped token to a scoped one?11:24
jamielennoxno, but that's not the biggest issue11:24
henrynash(sorry thinking)11:24
jamielennoxwe can probably add that11:24
*** dkehn has joined #openstack-dev11:24
jamielennoxthe first problem is that unless you specify token scoping information you don't get a catalog returned11:25
*** e1mer has joined #openstack-dev11:25
jamielennoxso the client doesn't get a 'management_url' and it doesn't know where to send subsequent queries11:25
henrynashin v2 or v3?11:25
jamielennoxboth11:25
*** woodspa has joined #openstack-dev11:25
henrynashhmm, though it was different in v3, but could easily be wrong :-)11:26
*** ndipanov has quit IRC11:26
jamielennoxat the API layer? i'm pretty sure you only get a catalog if you scope it11:26
henrynashOk, but now see the issue…you can't use the results of an unstopped token to tell you where to go next11:26
jamielennoxi'm not sure if you can request one from an unscoped token11:26
jamielennoxso that's part of it11:26
jamielennoxthe next part is assuming we do v3 auth of auth_token then we have to specify a domain for the user11:27
jamielennoxas projects, roles etc are all scoped to domain, how do we have this one all powerful auth_token user who has permission to validate tokens for everyone in the system?11:28
jamielennoxregardless of the domain they are being authenticated for11:28
*** mikal has quit IRC11:28
henrynashhmm11:28
*** dina_belova has quit IRC11:28
*** ndipanov has joined #openstack-dev11:28
*** ljjjustin has quit IRC11:29
jamielennox(this bit is more important, the catalog thing would be nice to have in the solution)11:29
*** pcm_ has joined #openstack-dev11:29
henrynashand (forgive me bing dumb), but what is the problem with using a v2 token for that….don't we allow validation of a v3 token in that case?11:29
henrynashwhat are we losing by doing it that way?11:30
jamielennoxyes we do, we currently use a v2 auth token to validate a v3 token11:30
*** mikal has joined #openstack-dev11:30
jamielennoxso i guess a few things. Firstly we should be trying to transition things off the v2 api11:30
henrynashahh, ok, fair comment11:30
jamielennoxit is supposed to be a replacement and not coexist11:30
henrynashalso, true11:31
jamielennoxsecondly with the addition of domains in v3 the way i understand it is v2 tokens are valid for the user in some predefined default domain11:31
henrynashyes, that's correct11:31
jamielennoxi haven't tested it, but the way that policy should work to my mind is that the role that policy is checking against will be inherited from the domain11:32
jamielennoxhmmm, shouldn't say role and inheritted together as i stayed right out of that debate11:32
henrynash:-)11:32
jamielennoxhowever a role is granted to a user based on either a project or a domain11:32
jamielennoxso i'm not sure how/if a user can cross domains but if they can i imagine there roles would be completely reset11:33
*** pcm__ has joined #openstack-dev11:34
henrynashwell, to be exact, roles don't change, but role-assignments do11:34
jamielennoxi'm not fully caught up on the details here, i'm looking forward to your essay :) but it has the same end effect right?11:34
henrynashso yes, if I get a domain-scoped token for domain A I'll get one set of role-assignments and if I get one for Domain B, I'll likel have a different set of role-assignments11:34
*** dina_belova has joined #openstack-dev11:34
jamielennoxright and can roles exist on an unscoped token?11:35
henrynashno11:35
jamielennoxok11:35
*** HenryG has joined #openstack-dev11:35
jamielennoxso if the auth_token middleware gets a token (because validation is a admin operation)11:35
henrynasha token is filled in with the role-assignements the authenticating user has with the target of the scope11:35
jamielennoxand it has the admin role in the domain A11:36
*** jab416171 has joined #openstack-dev11:36
jamielennoxif someone comes along and asks it to validate a token for domain B then it won't have permission11:36
*** emagana_ has quit IRC11:36
*** melwitt has joined #openstack-dev11:36
*** rscottcoyle has quit IRC11:37
*** pcm_ has quit IRC11:37
henrynashso it would really depend how the policy file had been set up11:37
jamielennoxand i don't have much experience with that11:37
henrynash(nor does anyone really….:-) ) I must admit, I haven't thought much about how policy might be used for token validation11:38
henrynashI'm about to do that in the next day or two11:38
jamielennoxso i wrote a few things earlier that you might or might not have seen11:38
jamielennoxone of ayoungs suggestions was that we might be able to cut back the admin requirement to validate a token11:38
henrynashI saw the bit about having some kind of special domain11:39
jamielennoxthat was an idea, i'm not sure though because then you would need some sort of backend to handle that domain11:39
*** melwitt has quit IRC11:40
jamielennoxmore likely i guess is changing the policy requirements around validation, possibly you need the admin or a validation role within the default domain11:40
henrynashmaybe, or that (as I suspect young is thinking) we re-consider what is needed to validate11:41
jamielennoxright, so he was saying that particularly with PKI tokens, the entire structure of a tokens content is already out there and available11:42
jamielennoxand that is acceptable, so why do you need the admin role to validate a token11:42
jamielennoxif you have lost control of the token you're stuffed anyway11:42
henrynashagreed11:42
henrynashremember that with v2 most of keystone APIs needed admin anyway (there was no RBAC)11:43
jamielennoxright, and with no PKI tokens i can see that it would seem like an admin operation to validate11:43
*** martyntaylor has quit IRC11:43
henrynashso part of this may we just never spent time thinking about what the move to RBAC meant for the "non-user-facing APIs"11:44
*** rfolco has joined #openstack-dev11:44
jamielennoxhowever now, this is generally an eg nova account that is sitting there with admin permissions on a bunch of machines11:44
jamielennoxi would guess so, having a services role that can only do validation or other things required of the system rather than a user is probably a good idea11:45
henrynashok, so indeed now get the problem :-)11:45
*** ruhe has quit IRC11:45
henrynashkeystone account for system requests?11:46
jamielennoxi would suggest people still would like one user per service as now, but some way of specifying those as limited accounts that don't have admin privileges11:47
*** FunnyLookinHat has joined #openstack-dev11:48
henrynashthe alternative is that validate is available without autnetiaction on the public port, in the same was as getting versions is (I think)11:48
jamielennoxas far as i've ever seen it there is no real practical difference between the public and private ports11:48
jamielennoxi've never really investigated though11:48
henrynashnot sure how much of a security issue that would be….I guess people could troll for valid tokens…but that seems unlikely11:49
jamielennoxi don't know if we would want to do it completely without authentication11:49
*** dina_belova has quit IRC11:49
jamielennoxjust allowing any login would probably do it11:49
openstackgerritA change was merged to openstack/horizon: Revert "Fix selector syntax"  https://review.openstack.org/4062811:49
henrynashmaybe, yes11:50
jamielennoxor as i said if anyone really knows how to tune that policy file all we need to do is say that the user has some role in some domain11:50
henrynashOK…so I'm going to try an re-look at some the code later today and try and come up with suggestions...11:50
*** ruhe has joined #openstack-dev11:51
*** oNeToWn has quit IRC11:51
*** morazi has quit IRC11:52
jamielennoxwe just say instead of requiring this role in this current domain that the user have the 'service' role in the 'services' domain which could contain nothing but the 'cinder', 'nova', 'glance' etc users11:52
jamielennoxnice and secure, if they want to use the default domain and any other role no big deal - user tunable11:52
jamielennoxthe two problems are - i've no idea how to write policy files (though apparently that's big on my list for Icehouse), and how could we role it out in a way that works for existing installations11:53
henrynash…which is a point…where do those service users go in v3 anyway, I guess they'll al lturn up in the default domain11:53
jamielennoxi guess by default they go into the default domain11:54
jamielennoxif you're only running one domain no point setting up another11:54
jamielennoxif you're running a lot of domains then we advise you to create one for service users11:54
jamielennoxthat's somewhat elegant :)11:55
henrynashI think there is a bit if a general aversion to ore-defining domains, although as you say making it confgirabke would drake sure you cold drive it how you want11:55
henrynash(pre-defining domains)11:55
*** obondarev_ has joined #openstack-dev11:56
jamielennoxwe don't need to pre-configure, so long as what's in keystone's policy and what's in auth_tokens config.ini line up11:56
jamielennoxand as it is now if you say nothing then you end up in default11:56
henrynashon policy files, I'm about to try and write a sample policy file for v3 with domain segregation….something nobody has done yet!  I thikn that will tell me quite a lot11:57
henrynash(well, at least nobody has published)11:58
jamielennoxright, so i wanted to run this stuff by you as to my understanding you are the domain & roles and probably therefore policy expert11:58
henrynashI'm going to recommend that gets included in Havana as a sample11:58
henrynashsure11:58
henrynasherr, expert?  maybe not, but sure, run it by me!11:58
jamielennoxwell no-one else seems to want to touch it with a stick11:59
*** rscottcoyle has joined #openstack-dev12:00
*** rscottcoyle has quit IRC12:00
jamielennoxout of interest do you know if this would work for v2?12:00
jamielennox1 to keep the policy the same across versions, but 2 the only thing i am aware of in the v2 api that you can scope a token to is a project12:01
jamielennox(and remember i want scoping so that i can get the catalog)12:01
*** noslzzp has joined #openstack-dev12:01
*** rscottcoyle has joined #openstack-dev12:01
*** rscottcoyle has quit IRC12:02
*** rscottcoyle has joined #openstack-dev12:03
*** lexinator has joined #openstack-dev12:03
*** ytwu has joined #openstack-dev12:04
*** dvarga has joined #openstack-dev12:04
*** rscottcoyle has quit IRC12:04
*** rscottcoyle has joined #openstack-dev12:05
*** ruhe has quit IRC12:06
*** ytwu1 has quit IRC12:06
*** ytwu1 has joined #openstack-dev12:07
*** lexinator has quit IRC12:08
*** ytwu has quit IRC12:08
*** vkmc has joined #openstack-dev12:08
*** vkmc has quit IRC12:08
*** vkmc has joined #openstack-dev12:08
openstackgerritA change was merged to openstack/cinder: Imported Translations from Transifex  https://review.openstack.org/4069112:09
*** gongysh has joined #openstack-dev12:09
jamielennoxanyway, i'll write some of this stufff up in a more sensible way and hopefully get it talked about at the next meeting12:10
jamielennoxhenrynash, thanks, i'm tuning out for the night12:11
*** dina_belova has joined #openstack-dev12:11
henrynashok, np, thanks for taking the time to talk me though it12:11
jamielennoxno worries, thanks for your help12:12
ayoung-zZzZzZzjamielennox, so  I think the old aporach, and what is still valid, is admin project.  That comes from pre-domains12:13
*** oNeToWn has joined #openstack-dev12:13
ayoung-zZzZzZzso it would  be12:13
ayoung-zZzZzZzuser has admin role in the admin project of the default domain12:13
ayoung-zZzZzZzthat jack built12:13
jamielennoxahh, you're here too - i'm going to need to find the power cord for this laptop12:14
*** lukego has joined #openstack-dev12:15
*** chuckieb has joined #openstack-dev12:16
*** pschaef has quit IRC12:16
*** noslzzp has quit IRC12:16
ayoung-zZzZzZzgo to bed12:16
jamielennoxayoung-zZzZzZz, so are we using admin projects now?12:16
ayoung-zZzZzZzI'm getting breakfast12:16
*** ayoung-zZzZzZz is now known as ayoung12:16
jamielennoxthe wrap around12:17
ayoungjamielennox, devstack creates one...we used to do more with that, I think12:17
*** marcos-sb has joined #openstack-dev12:17
jamielennoxbut i don't think that's checked in any way12:17
jamielennoxand not enforced12:17
ayoungbut if we are going to do something that doesn't exist right now, it will break people on upgrades, so we need to have a migration plan12:17
jamielennoxand projects don't span domains so it doesn't help there12:18
*** dina_belova has quit IRC12:18
jamielennoxi like the idea of setting policy on validate to be fixed to a domain, or a role within that domain12:19
jamielennoxit's good isolation because you can jail all your services accounts12:20
jamielennoxand in the event that you don't specify a domain then default is used so it's the same as now12:20
*** dprince has joined #openstack-dev12:21
jamielennoxand if you don't specify a role then any user in the default domain can validate a token - i imagine people would change that but its not a bad default12:21
*** dvarga is now known as dvarga|away12:21
*** ytwu1 has quit IRC12:21
*** ytwu has joined #openstack-dev12:22
*** sandywalsh has quit IRC12:22
*** mikal has quit IRC12:22
ayoungno, the admin project in the default domain gets permission to check all tokens12:23
*** markmc has joined #openstack-dev12:23
ayoungnot just tokens in the default domain12:23
ayoungpolicy isn't written yet that can support that, I think12:24
*** mikal has joined #openstack-dev12:24
*** mrunge has quit IRC12:24
jamielennoxwhat difference does user has role in domain vs user in project make?12:24
jamielennoxso i'll have a proper going through of policy tomorrow12:25
*** dvarga|away is now known as dvarga12:26
*** yongli has joined #openstack-dev12:26
*** ytwu1 has joined #openstack-dev12:27
*** alunduil has quit IRC12:28
*** iartarisi has joined #openstack-dev12:29
*** ytwu has quit IRC12:29
*** kenperkins has joined #openstack-dev12:30
*** galstrom_zzz is now known as galstrom12:31
*** alunch has quit IRC12:31
*** ytwu has joined #openstack-dev12:32
jamielennoxanswering my own question, a project is a v2 concept as well as a v3 concept so the policy would be the same if you assume domain is always default12:33
*** SergeyLukjanov has quit IRC12:34
*** ytwu1 has quit IRC12:34
*** sandywalsh has joined #openstack-dev12:35
*** emagana has joined #openstack-dev12:37
ayoungjamielennox, yep.  Now off with you.  And I need to make some coffee.  Damn this round world nonsense.12:37
*** huats has quit IRC12:37
*** ytwu1 has joined #openstack-dev12:38
*** huats has joined #openstack-dev12:38
*** huats has quit IRC12:38
*** huats has joined #openstack-dev12:38
*** ytwu has quit IRC12:39
*** morazi has joined #openstack-dev12:40
*** ytwu has joined #openstack-dev12:40
jamielennoxayoung, alright, i'll talk yo you tomorrow12:41
jamielennoxadjusted for timezone12:42
*** ruhe has joined #openstack-dev12:42
*** radez_g0n3 is now known as radez12:42
*** ytwu1 has quit IRC12:43
*** SergeyLukjanov has joined #openstack-dev12:43
*** zbitter has joined #openstack-dev12:43
*** ytwu1 has joined #openstack-dev12:44
*** emagana has quit IRC12:45
*** ytwu has quit IRC12:45
holmsis there's a nice frontend for mailing ilist.. or some forum where I can ask questions about openstack-dev?12:45
*** redbeard2 has quit IRC12:46
holmsdevstack install failed=/ 2013-08-08 08:44:23 An unexpected error prevented the server from fulfilling your request. (Operationa12:47
*** zaneb has quit IRC12:47
holmslError) (1045, "Access denied for user 'root'@'localhost' (using password: YES)") None None (HTTP 500)12:47
*** kbringard has joined #openstack-dev12:47
*** ytwu has joined #openstack-dev12:47
mordredmarkmc: morning! I just posted thoughts on https://review.openstack.org/#/c/34601/12:48
*** galstrom is now known as galstrom_zzz12:48
*** dina_belova has joined #openstack-dev12:48
*** zbitter is now known as zaneb12:48
*** briancurtin has joined #openstack-dev12:48
*** ytwu1 has quit IRC12:48
*** ruhe has quit IRC12:49
*** lbragstad_ has quit IRC12:50
*** tonyfy has joined #openstack-dev12:50
*** jaimegil has quit IRC12:50
*** kenperkins has quit IRC12:51
*** briancurtin has quit IRC12:51
*** mmagr has quit IRC12:53
*** ytwu1 has joined #openstack-dev12:57
*** anteaya has joined #openstack-dev12:57
*** ytwu has quit IRC12:58
*** athomas has quit IRC12:59
*** ruhe has joined #openstack-dev12:59
*** mfer has joined #openstack-dev12:59
*** athomas has joined #openstack-dev13:00
*** ruhe has quit IRC13:00
*** jprovazn has quit IRC13:01
*** ifarkas has quit IRC13:03
*** marcos-sb has quit IRC13:03
*** ifarkas has joined #openstack-dev13:03
*** bknudson has joined #openstack-dev13:08
*** xga__ has joined #openstack-dev13:10
*** anniec has joined #openstack-dev13:10
openstackgerritA change was merged to openstack/oslo.messaging: Implement wait_for_reply timeout in rabbit driver  https://review.openstack.org/3980413:10
*** xga_ has quit IRC13:11
openstackgerritA change was merged to openstack/oslo.messaging: Remove unused IncomingMessage.done()  https://review.openstack.org/3980913:11
openstackgerritA change was merged to openstack/oslo.messaging: Remove some FIXMEs and debug logging  https://review.openstack.org/3982213:11
*** litong has joined #openstack-dev13:13
*** jsgotangco has joined #openstack-dev13:13
*** freedomhui has quit IRC13:14
*** freedomhui has joined #openstack-dev13:14
openstackgerritA change was merged to openstack/nova: Move tests test_update_* to separate class  https://review.openstack.org/3988313:15
*** Ryan_Lane has joined #openstack-dev13:16
openstackgerritA change was merged to openstack/oslo-incubator: Add a fixture for dealing with config  https://review.openstack.org/3991013:16
*** Shaan7 has quit IRC13:16
openstackgerritA change was merged to openstack/nova: Code dedup in test_update_*  https://review.openstack.org/3990013:16
*** topol has joined #openstack-dev13:17
*** freedomhui has quit IRC13:17
*** Shaan7 has joined #openstack-dev13:17
*** adalbas has joined #openstack-dev13:17
*** oNeToWn has quit IRC13:20
*** rharwood has joined #openstack-dev13:20
*** Ryan_Lane has quit IRC13:20
*** lbragstad has joined #openstack-dev13:21
*** alunduil has joined #openstack-dev13:21
*** topol has quit IRC13:23
*** topol has joined #openstack-dev13:23
*** jprovazn has joined #openstack-dev13:23
*** ytwu has joined #openstack-dev13:24
*** prad has joined #openstack-dev13:24
*** sridevi has quit IRC13:25
openstackgerritA change was merged to openstack/nova: Add Instance.create()  https://review.openstack.org/3821013:26
*** ytwu1 has quit IRC13:26
*** leif has joined #openstack-dev13:26
*** sridevi has joined #openstack-dev13:26
*** leif is now known as Guest846413:26
*** e1mer has quit IRC13:27
*** ytwu1 has joined #openstack-dev13:27
*** ytwu has quit IRC13:28
*** topol has quit IRC13:28
*** dolphm has joined #openstack-dev13:29
*** krtaylor has quit IRC13:29
*** neelashah has joined #openstack-dev13:29
*** jecarey has joined #openstack-dev13:30
*** changbl has quit IRC13:30
*** tmclaugh[work] has joined #openstack-dev13:31
*** lsmola has quit IRC13:31
*** wu_wenxiang has joined #openstack-dev13:32
*** lsmola has joined #openstack-dev13:32
*** Guest8464 has quit IRC13:32
*** _TheDodd_ has joined #openstack-dev13:32
holmswhere can i get help regarding devstack?13:33
*** leif_ has joined #openstack-dev13:34
*** alunch has joined #openstack-dev13:34
openstackgerritA change was merged to openstack/neutron: Imported Translations from Transifex  https://review.openstack.org/4080713:35
openstackgerritA change was merged to openstack/ceilometer: Use MongoDB aggregate to get resources list  https://review.openstack.org/3529713:37
*** ytwu has joined #openstack-dev13:37
*** mfer has quit IRC13:39
*** ytwu1 has quit IRC13:39
*** ytwu1 has joined #openstack-dev13:40
jpichholms: Here is usually not a bad place for devstack related questions13:41
holms2013-08-08 09:37:47 An unexpected error prevented the server from fulfilling your request. (OperationalError) (1013:42
holms45, "Access denied for user 'root'@'localhost' (using password: YES)") None None (HTTP 500)13:42
*** ytwu has quit IRC13:42
holmsthis beast can't connect to database..?13:42
holmsi've set all passwords in localrc13:42
*** Thor^^ has joined #openstack-dev13:44
*** Thor has quit IRC13:44
*** tonyfy has quit IRC13:45
*** ruhe has joined #openstack-dev13:45
*** ruhe has quit IRC13:45
holmsanybody?13:46
bugsdugganholms: I've run into something similar in the past, setting the mysql root password fixed it for me13:46
holmsthis could be registered as a bug or smtng13:46
holmsok let's try13:46
holmshttps://bugs.launchpad.net/devstack/+bug/111850213:47
*** afazekas has quit IRC13:47
uvirtbotLaunchpad bug 1118502 in devstack "MySQL is accessed as Root" [Undecided,New]13:47
adalbasavishay, hi13:49
avishayadalbas: hi13:49
*** lukego has quit IRC13:49
adalbasavishay, you work with the cinder driver for svc right?13:49
*** redbeard2 has joined #openstack-dev13:49
*** ruhe has joined #openstack-dev13:50
*** mfer has joined #openstack-dev13:50
avishayadalbas: yes13:50
adalbasavishay, configuring it in my env, i found a bug when deleting volumes there: https://bugs.launchpad.net/cinder/+bug/120936713:51
uvirtbotLaunchpad bug 1209367 in cinder "volume is not deleted in cinder db with svc/storwize" [Undecided,New]13:51
adalbasavishay, if you have any points there that could help me debug that further, that will be great13:52
*** briancurtin has joined #openstack-dev13:52
holmss'rsly devstack could use puppet..13:53
avishayadalbas: i already replied to the bug report13:53
avishayadalbas: i'm not sure there is a storwize issue - please check if the volume actually exists.  if not, there is only a bug in the generic deletion code.13:53
*** FunnyLookinHat has quit IRC13:54
adalbasavishay, the volume was deleted the first time i asked it in the storwize, but not in the database, so yes, you are right13:54
*** jruzicka has quit IRC13:55
avishayadalbas: OK cool.  It could be something that was fixed later but not backported to Grizzly...that's bad...do you have the time to track it down or should i?13:55
*** jruzicka has joined #openstack-dev13:56
*** kevinconway has quit IRC13:57
adalbasavishay, i can take a look. you suggest me to look at the logs of what could be added since grizzly?13:57
avishayadalbas: i would first rename the bug report and change the description - maybe someone will have an idea and the storwize bit can throw them off13:58
avishayadalbas: most will ignore the bug report because it's now driver-specific13:58
*** lukego has joined #openstack-dev13:59
adalbasavishay, sure13:59
holmsook next problem with devstack13:59
holms2013-08-08 09:52:35 + timeout 60 sh -c 'while ! http_proxy= https_proxy= curl -s http://192.168.1.6:8774 >/dev/null; do sleep 1; done'13:59
holms2013-08-08 09:53:35 + die 698 'nova-api did not start'13:59
*** medberry_ has joined #openstack-dev13:59
*** medberry_ is now known as med_13:59
*** med_ has joined #openstack-dev13:59
avishayadalbas: maybe check what changed in volume_glance_metadata_delete_by_volume ?13:59
*** dkranz has quit IRC14:00
adalbasavishay, ok!14:00
avishayadalbas: thanks!14:00
avishayadalbas: you can assign the bug to yourself, and ping me if you need help14:00
adalbasavishay, alright! tks!14:01
*** xga__ has quit IRC14:01
*** freedomhui has joined #openstack-dev14:01
*** jruzicka has quit IRC14:02
*** briancurtin has quit IRC14:04
*** armax has joined #openstack-dev14:06
*** mrodden has joined #openstack-dev14:06
*** topol has joined #openstack-dev14:08
*** stevemar has joined #openstack-dev14:09
*** jruzicka has joined #openstack-dev14:09
*** ruhe has quit IRC14:09
*** leif_ has quit IRC14:09
*** avishay has quit IRC14:10
*** Rafael_Gomes has joined #openstack-dev14:10
*** kenperkins has joined #openstack-dev14:11
*** lukego has quit IRC14:11
*** henrynash_ has joined #openstack-dev14:12
*** xga has joined #openstack-dev14:13
*** terriyu has joined #openstack-dev14:13
*** henrynash has quit IRC14:13
*** henrynash_ is now known as henrynash14:13
Rafael_GomesHi all...  I´m using the latest devstack and the Keystone-client V3 is not working by CLI... I found the issue and the solution.. Basically by default the keystone endpoint is set for v2.0 .. also there aren´t shell for keystone v3 "cli" ... Basically I created a new shell for keytone v3 , on python-kestoneclient/v3    . So maybe its not necessary to do .. anybody else have problem to use keystoneclient v3 by cli? Any s14:14
*** datsun180b has joined #openstack-dev14:14
*** afazekas has joined #openstack-dev14:14
*** sthaha has quit IRC14:15
*** krtaylor has joined #openstack-dev14:15
*** markmcclain has joined #openstack-dev14:15
*** markmcclain has quit IRC14:15
openstackgerritA change was merged to openstack/ceilometer: Add first and last sample timestamp  https://review.openstack.org/3610714:16
holmsdevstack problem, =/ 2013-08-08 09:52:35 + timeout 60 sh -c 'while ! http_proxy= https_proxy= curl -s http://192.168.1.6:8774 >/dev/null; do sleep 1; done'14:16
holms2013-08-08 09:53:35 + die 698 'nova-api did not start'14:16
*** jruzicka has quit IRC14:17
*** kenperkins_ has joined #openstack-dev14:17
openstackgerritA change was merged to openstack/ceilometer: Remove MongoDB TTL support for MongoDB < 2.2  https://review.openstack.org/3863414:19
*** kenperkins has quit IRC14:19
*** xga_ has joined #openstack-dev14:21
*** mmagr has joined #openstack-dev14:21
*** xga has quit IRC14:22
dolphmstevemar: thoughts? http://pasteraw.com/adyrco6zfj0ikja4s45hoax1edrczow14:22
dolphmstevemar: it was obviously redundant, except in the authorizations response, where there's also and access_key and the context doesn't necessarily represent a consumer14:23
*** mfer has quit IRC14:23
*** mugsie has quit IRC14:24
*** burt has joined #openstack-dev14:24
stevemardolphm: i remember someone making an inline comment about how they didn't like the ambiguity in the list authorizations14:24
stevemardolphm: where there is also an access_key14:25
dolphmstevemar: well, i also think the `consumer_key` in the authorizations response should be `consumer_id`14:25
stevemartrue14:25
dolphmstevemar: if it's not technically a consumer ID, it's impossible to go manipulate the consumer (with any guarantee of success)14:26
*** mugsie has joined #openstack-dev14:26
*** mugsie has joined #openstack-dev14:26
*** changbl has joined #openstack-dev14:26
dolphmstevemar: so, i'm making this change too then: http://pasteraw.com/owpvaevpzwg2a7vapmhlj0hga4qjutq14:26
stevemardolphm: you sure you don't wanna make that consumer_id? :O14:27
*** adalbas has quit IRC14:28
*** ytwu has joined #openstack-dev14:29
*** lukego has joined #openstack-dev14:29
stevemardolphm: btw - i make most of the changes to the impl, i wanted to chat with you about adding to /auth/token14:29
*** diogogmt has joined #openstack-dev14:30
*** ytwu1 has quit IRC14:30
*** jang1 has quit IRC14:31
dolphmstevemar: did i not make it consumer_id?14:31
stevemardolphm: whoops, you did, it's early, i'm still eating breakfast14:32
dolphmstevemar: uploaded- https://review.openstack.org/#/c/36613/24/openstack-identity-api/v3/src/markdown/identity-api-v3-os-oauth10a-ext.md14:32
*** jruzicka has joined #openstack-dev14:32
*** networkstatic has joined #openstack-dev14:33
*** xBsd has joined #openstack-dev14:33
*** danwent has quit IRC14:33
dolphmstevemar: on the "OS-OAUTH10A" object added to the token object...14:33
dolphmstevemar: the roles will be 100% redundant with the roles included in the token, right? can we cut those?14:34
*** xchu has joined #openstack-dev14:34
*** jang1 has joined #openstack-dev14:34
stevemarhmm, yes, i do specify the ones in the token14:35
stevemarso yes14:35
stevemardolphm ^14:35
*** pschaef has joined #openstack-dev14:36
dolphmstevemar: i'll do that now14:36
*** otherwiseguy has joined #openstack-dev14:36
*** eharney has joined #openstack-dev14:37
*** eharney has quit IRC14:37
*** eharney has joined #openstack-dev14:37
*** FunnyLookinHat has joined #openstack-dev14:37
*** devoid has joined #openstack-dev14:38
*** ifarkas has quit IRC14:38
dolphmstevemar: related issue (i'm trying to reduce token bloat here...) all you need in the "consumer" object there is the "id" and a link to the entity... unless there's an immediate use case for including description or the redundant key element there... i say we cut those too14:38
*** danwent has joined #openstack-dev14:38
*** devoid has quit IRC14:39
*** markmcclain has joined #openstack-dev14:40
*** jsgotangco has quit IRC14:40
*** danwent has quit IRC14:44
*** adalbas has joined #openstack-dev14:44
*** pabelanger_ has joined #openstack-dev14:45
*** pabelanger_ has joined #openstack-dev14:45
*** pabelanger has quit IRC14:45
*** pabelanger_ is now known as pabelanger14:45
*** networkstatic has quit IRC14:46
*** pabelanger_ has joined #openstack-dev14:46
*** cppcabrera has joined #openstack-dev14:46
*** ytwu1 has joined #openstack-dev14:46
*** ytwu has quit IRC14:47
*** pycabrera has joined #openstack-dev14:47
*** tkammer has quit IRC14:47
*** pycabrera has quit IRC14:48
stevemardolphm: well, redundant from whos p.o.v.?14:48
stevemardolphm: from the consumers pov, it's all redundant, he already knows his consumer id and access key, nor does he care about it14:48
mordredmarkmc: if you've got a sec, could you join -infra ?14:48
*** rcleere has joined #openstack-dev14:48
*** lexinator has joined #openstack-dev14:49
dolphmstevemar: so, cut that stuff too?14:49
dolphmstevemar: all we need is consumer ID for traceability14:49
dolphmstevemar: what about access key?14:49
*** pycabrera has joined #openstack-dev14:49
stevemardolph: hmm, we should keep access key for traceability too14:50
*** networkstatic has joined #openstack-dev14:50
stevemardolphm^14:50
*** pabelanger has quit IRC14:50
dolphmstevemar: k14:50
*** spzala has joined #openstack-dev14:50
*** pabelanger has joined #openstack-dev14:50
*** cppcabrera has quit IRC14:50
*** pycabrera is now known as cppcabrera14:51
dolphmstevemar: so just removing key and description there then http://pasteraw.com/dxmak9ea2fbmw9zrlfhhg0xov3oqwrq14:51
*** apevec has joined #openstack-dev14:51
*** apevec has joined #openstack-dev14:51
dolphmstevemar: i also wanted suggest dropping the 0A from the extension name14:52
dolphmstevemar: if there's a revision B, we shouldn't have to change the endpoint, and if there's ever a 1.1, i suspect it'll either be compatible with 1.0 or it'd be logical to call it oauth11 or whatever14:53
dolphmstevemar: (i know i suggested 0A in the first place)14:54
stevemardolphm: hmm, yes, you did... :) but it looks cleaner that way14:54
*** dina_belova has quit IRC14:54
*** ytwu1 has quit IRC14:55
*** ytwu has joined #openstack-dev14:55
*** yaguang has joined #openstack-dev14:57
*** msbrown has joined #openstack-dev14:57
*** drewlander has joined #openstack-dev14:58
*** gargya has joined #openstack-dev14:58
dolphmstevemar: revised- https://review.openstack.org/#/c/36613/26/openstack-identity-api/v3/src/markdown/identity-api-v3-os-oauth1-ext.md14:59
yaguangcomstud,ping14:59
dolphmstevemar: so, the authorizations list response...15:00
dolphm"id" == "access_key" by convention, correct?15:00
stevemaryes15:01
*** networkstatic has quit IRC15:02
stevemardolphm: http://paste.openstack.org/show/43586/15:02
dolphmstevemar: so, good? http://pasteraw.com/5lep7biis9zkyoxd6a0swcke9j02gid15:03
*** pmathews has joined #openstack-dev15:03
*** redbeard2 has quit IRC15:03
dolphmstevemar: could/should the method could be the name of the extension? "oauth" -> "OS-OAUTH1" ? or at least "oauth1" ?15:03
stevemardolphm: but we've never mentioned authorization id before15:03
stevemardefinitely15:04
dolphmstevemar: you're returning a list of "authorization" which have "id"s ... by convention in the rest of the API, i can work with objects based on their ID15:04
wu_wenxiangdolphm: Could you help to re-check https://review.openstack.org/#/c/38963/ ? I add a testcase to reproduce bug.15:04
*** jimjiang has joined #openstack-dev15:04
*** topol_ has joined #openstack-dev15:05
dolphmwu_wenxiang: it's already on my list for later today15:05
stevemardolphm: okay, i'm not picky on that one15:05
wu_wenxiangdolphm: Thanks, and https://review.openstack.org/#/c/39317/15:05
dolphmstevemar: not sure what you mean by branch out15:06
*** bashok has quit IRC15:06
stevemardolphm: put all the code in another function15:06
dolphmwu_wenxiang: work with ayoung to unblock first15:06
dolphmstevemar: what code15:06
*** topol has quit IRC15:06
dolphmstevemar: what can't go into a plugin?15:06
*** topol_ is now known as topol15:06
wu_wenxiangayoung: https://review.openstack.org/#/c/39317/, I update my commit, could you help to re-check?15:06
stevemardolphm: we'll i'd have to verify the oauth request15:07
*** iartarisi has quit IRC15:07
stevemardolphm: let me look at plugins15:07
stevemardolphm: told you yesterday this part would be the tricky part :)15:08
*** redbeard2 has joined #openstack-dev15:08
*** sushils has quit IRC15:08
*** boris-42 has quit IRC15:08
ayoungwu_wenxiang, will do.  I'm in the middle of a review right now,  yours will be next15:09
stevemardolphm: hmm, so all the plugins just have authenticate calls :O15:09
dolphmstevemar: i know... i figure you might need some extra info passed down the wsgi pipeline or something15:09
stevemardolphm: i can make this work15:09
*** danwent has joined #openstack-dev15:09
stevemardolphm: i think so anyway...15:09
dolphmmaybe auth in middleware and the pass down via remote user?15:09
dolphmREMOTE_USER15:09
*** lukego has quit IRC15:09
*** mrodden has quit IRC15:10
*** dkranz has joined #openstack-dev15:11
*** rnirmal has joined #openstack-dev15:11
*** sushils has joined #openstack-dev15:11
*** mestery_ is now known as mestery15:12
*** lukego has joined #openstack-dev15:12
*** lexinator has quit IRC15:12
*** krtaylor has quit IRC15:15
*** gargya has quit IRC15:15
*** aelkikhia has joined #openstack-dev15:16
*** danjared has quit IRC15:17
*** cppcabrera is now known as cppcabrera_afk15:17
*** dhellmann_ has quit IRC15:18
*** pasquier-s_ has quit IRC15:19
*** mrodden has joined #openstack-dev15:19
*** dhellmann has joined #openstack-dev15:19
*** SergeyLukjanov has quit IRC15:20
*** dina_belova has joined #openstack-dev15:20
*** dina_belova has quit IRC15:20
*** mmagr has quit IRC15:21
*** hartsocks has quit IRC15:22
*** hartsocks has joined #openstack-dev15:23
*** ifarkas has joined #openstack-dev15:24
*** SergeyLukjanov has joined #openstack-dev15:25
*** danjared has joined #openstack-dev15:27
*** dina_belova has joined #openstack-dev15:27
*** kenperkins_ has quit IRC15:28
*** lukego has quit IRC15:28
openstackgerritA change was merged to openstack/swift: Clarify staticweb configuration with keystone.  https://review.openstack.org/4022315:30
*** pabelanger has quit IRC15:30
*** lukego has joined #openstack-dev15:31
*** kbrierly has joined #openstack-dev15:31
*** rpodolyaka has joined #openstack-dev15:32
*** ruhe has joined #openstack-dev15:32
* Alexei_987 sigh15:33
*** stackKid has quit IRC15:33
*** briancurtin has joined #openstack-dev15:35
*** topol has quit IRC15:35
*** yaguang has quit IRC15:36
*** yolanda has quit IRC15:36
*** topol has joined #openstack-dev15:36
*** ajyounge has quit IRC15:39
*** msmedved has quit IRC15:39
*** pnavarro has quit IRC15:40
*** pnavarro has joined #openstack-dev15:40
*** ajyounge has joined #openstack-dev15:41
*** markmcclain has quit IRC15:41
*** topol has quit IRC15:41
*** kenperkins has joined #openstack-dev15:43
*** Alexei_987 has quit IRC15:43
*** jmontemayor has joined #openstack-dev15:44
*** pabelanger has joined #openstack-dev15:44
openstackgerritA change was merged to openstack/python-keystoneclient: Make TestResponse properly inherit Response.  https://review.openstack.org/4036315:45
*** dina_belova has quit IRC15:45
openstackgerritA change was merged to openstack-dev/devstack: Add call trace in error message  https://review.openstack.org/3988715:45
*** krtaylor has joined #openstack-dev15:45
ayoungwu_wenxiang, review is done15:45
*** jonesld has quit IRC15:46
*** topol has joined #openstack-dev15:46
*** briancurtin has quit IRC15:46
*** martyntaylor has joined #openstack-dev15:47
*** dina_belova has joined #openstack-dev15:47
*** aeperezt has joined #openstack-dev15:47
*** hemna has joined #openstack-dev15:48
*** aelkikhia1 has joined #openstack-dev15:49
*** aelkikhia has quit IRC15:49
*** cppcabrera_afk is now known as cppcabrera15:49
*** yaguang has joined #openstack-dev15:49
*** cppcabrera has left #openstack-dev15:49
*** gongysh has quit IRC15:50
*** garyk has quit IRC15:50
*** odyssey4me has quit IRC15:52
*** jmontemayor has quit IRC15:52
ayoungstevemar, we started having a conversation about access tokens as keystone tokens, but I don't think we got very far.15:53
*** nachi has joined #openstack-dev15:53
*** nachi_ has joined #openstack-dev15:53
*** nachi_ has quit IRC15:53
dolphmayoung: i had initially had a similar thought... but when i thought through it, they're really discrete concepts that can't be merged15:54
dolphmayoung: keystone token's can't stand in for *either* oauth keys or secrets15:54
*** anniec has quit IRC15:54
dolphmayoung: the keys are basically public identifiers, and the secrets shouldn't be passed around... at all15:55
*** mkollaro has quit IRC15:57
*** martine_ has quit IRC15:57
*** lucasagomes has quit IRC15:57
*** hemanth has quit IRC15:57
*** jpich has quit IRC15:57
*** derekh has quit IRC15:57
*** eglynn has quit IRC15:57
*** hemanth has joined #openstack-dev15:57
*** markmc has quit IRC15:58
ayoungdolphm, I don't think that matters.  All that stuff is on the consumer, right?15:58
*** lexinator has joined #openstack-dev15:58
*** rpodolyaka has left #openstack-dev15:59
ayoungso the access token is what you get when you pass in a request token15:59
*** dina_belova has quit IRC15:59
ayoungI don't see why you need to then convert a request token into a keystone token15:59
ayoungit is a one for one exchange15:59
*** galstrom_zzz is now known as galstrom15:59
*** jistr has quit IRC16:00
*** xchu has quit IRC16:00
dolphmayoung: because access keys are basically public16:00
dolphmayoung: you could theoretically list them for another user, for example16:01
dolphmayoung: stevemar had a more significant blocker... but i'm failing to remember it off hand16:01
*** anteaya has quit IRC16:01
*** xga__ has joined #openstack-dev16:02
*** markwash has joined #openstack-dev16:02
openstackgerritA change was merged to openstack/nova: Remove unsafe XML parsing  https://review.openstack.org/4087916:02
openstackgerritA change was merged to openstack/nova: Remove dead capabilities code  https://review.openstack.org/4004416:02
openstackgerritA change was merged to openstack/nova: xenapi: no image upload retry on certain errors  https://review.openstack.org/3906016:02
*** dina_belova has joined #openstack-dev16:03
ayoungdolphm, was the oauth api change abandonded?16:03
dolphmayoung: no?16:03
dolphmayoung: https://review.openstack.org/#/c/36613/16:03
ayoungI'm looking for it, not seeing it...16:03
ayoungthanks16:03
*** lukego has quit IRC16:04
*** datsun180b has quit IRC16:04
*** stevemar has quit IRC16:04
*** dina_belova has quit IRC16:04
*** xga_ has quit IRC16:04
*** jtomasek has quit IRC16:07
*** nijaba has quit IRC16:07
*** xga__ has quit IRC16:07
*** emagana has joined #openstack-dev16:07
openstackgerritA change was merged to openstack/cinder: Use utils.safe_minidom_parse_string in extensions  https://review.openstack.org/4088116:07
openstackgerritA change was merged to openstack/nova: Update BareMetal driver to current nova.network.model  https://review.openstack.org/3829716:08
*** lucasagomes_ has joined #openstack-dev16:08
*** qba73 has joined #openstack-dev16:08
*** ruhe has quit IRC16:09
*** gordc has quit IRC16:09
*** qba73 has quit IRC16:09
ayoungdolphm, http://oauth.net/core/1.0a/#auth_step3  the consumer needs to sign the request to get the access token.  Assuming that there is some validation of this key from the earlier step, I think that this is better than "give me a token and I'll give you a token."16:09
*** alop has joined #openstack-dev16:10
*** SergeyLukjanov has quit IRC16:11
dolphmayoung: it's not "give me a token and i'll give you a token", it's "give me an authorized token and a signing key, and i'll make a signed request for an identity token to both identify myself and receive my delegated authorization"16:12
dolphme.g. POST /v3/auth/tokens becomes a signed oauth request16:12
*** ytwu1 has joined #openstack-dev16:13
*** ytwu has quit IRC16:13
dolphmayoung: body = {'auth': {'identity': {'methods': ['oauth1']}}} + standard oauth authorization header16:13
*** mkollaro has joined #openstack-dev16:13
*** lexinator has quit IRC16:14
*** litong has quit IRC16:14
*** lexinator has joined #openstack-dev16:14
*** fbo is now known as fbo_away16:14
ayoungdolphm, maybe I am missing something.  If a consumer has a request token, and they exchange that for an access token, they sign that request.16:15
dolphmayoung: yes16:15
ayoungand only the consumer can sign that request, so why not just give them a keystone token at that point?16:16
*** SumitNaiksatam has quit IRC16:16
dolphmayoung: because the resulting access token is not a secret16:16
*** wu_wenxiang has quit IRC16:16
ayoungdolphm, it probably should be16:16
ayoungwhy would it be public?16:17
dolphmayoung: because it's just an identifier16:17
*** lucasagomes_ has quit IRC16:17
dolphmayoung: it's like a randomly generated name16:17
ayoungdolphm, I'm not sure that the Oauth spec determines that.  let me look16:18
dolphmayoung: thanks; if there's room in the spec for it to be private, i'd be interested (i'd love to find a clever way to merge this with our existing tokens as well)16:19
*** tiamar has joined #openstack-dev16:19
*** bismigalis has left #openstack-dev16:19
*** aelkikhia has joined #openstack-dev16:20
dolphmayoung: "The Consumer Secret and Token Secret function the same way passwords do in traditional authentication systems." <-- the fact that keys are not considered in that statement is a red flag to me16:20
*** safchain has quit IRC16:20
*** pmathews has quit IRC16:21
ayoungdolphm, aside from the fact that our tokens a gigantic, I think that they would fit in fine as the access token.   The final step, http://oauth.net/core/1.0a/#anchor12  accessing protected resources, is really what Keystone tokens are doing now anyway.  So, with oauth, we link our tokens with a signature mechanism.  Not much different than the token binding jamielennox was working on16:21
*** reed has joined #openstack-dev16:21
*** pschaef has quit IRC16:21
*** jcoufal has quit IRC16:22
*** kenperkins has quit IRC16:22
dolphmayoung: i understand the idea :) literally the exact same line of thinking i had16:22
*** aelkikhia1 has quit IRC16:23
ayoungdolphm, I would guess because access tokens are ephemeral, and not expected to be persisted at all16:23
*** comay has quit IRC16:23
*** MaxV has quit IRC16:23
ayoungdolphm, since there is no secret passed in step 7, it must be the access token that acts as the secret.16:24
*** garyk has joined #openstack-dev16:24
dolphmayoung: what's step 7?16:24
ayounghttp://oauth.net/core/1.0a/#anchor12 dolphm16:24
*** bswartz has quit IRC16:25
dolphmayoung: oh no, the access token secret from 6.3.2 applies there16:25
*** gordc has joined #openstack-dev16:25
dolphmayoung: that's how step 7 requests are signed16:25
*** epim_ has joined #openstack-dev16:25
dolphmayoung: (the secret is never passed back to anyone, ever)16:26
*** gordc has left #openstack-dev16:26
dolphmit's just transmitted ocne16:26
dolphmfrom service provider to consumer16:26
*** jistr has joined #openstack-dev16:26
dolphmayoung: maybe section 11.3 helps explain that a bit better?16:26
dolphmayoung: the secret ensures integrity, but the access key is passed without any confidentiality16:27
*** svarnau has joined #openstack-dev16:27
dolphmayoung: logging for a bit to relocate16:27
dolphmayoung: bbl16:27
*** dolphm has quit IRC16:27
*** gordc has joined #openstack-dev16:27
*** jimfehlig has joined #openstack-dev16:27
*** xBsd has quit IRC16:28
*** martyntaylor has quit IRC16:28
*** __cyril__ has joined #openstack-dev16:30
*** ydacheville_ has joined #openstack-dev16:31
*** yaguang has quit IRC16:31
*** yaguang has joined #openstack-dev16:31
*** moted has quit IRC16:31
*** ytwu has joined #openstack-dev16:31
*** moted has joined #openstack-dev16:32
*** lexinator has quit IRC16:32
*** ydacheville has quit IRC16:32
openstackgerritA change was merged to openstack/oslo-incubator: Don't attempt to patch eventlet without the patch  https://review.openstack.org/4089916:32
*** pmathews has joined #openstack-dev16:33
*** lexinator has joined #openstack-dev16:33
*** ytwu1 has quit IRC16:33
*** Ryan_Lane has joined #openstack-dev16:35
*** kpavel_ has joined #openstack-dev16:38
*** yaguang has quit IRC16:38
*** jimjiang has quit IRC16:38
*** jimjiang has joined #openstack-dev16:39
*** bdpayne has joined #openstack-dev16:40
*** kpavel has quit IRC16:40
* __cyril__ could definitely use some reviews on trivial patches (https://review.openstack.org/#/c/37030/ , https://review.openstack.org/#/c/39705/ , https://review.openstack.org/#/c/39944/ )16:41
*** markmcclain has joined #openstack-dev16:42
*** xqueralt is now known as xqueralt-afk16:42
*** kpavel_ has quit IRC16:43
*** SumitNaiksatam has joined #openstack-dev16:43
*** stevemar has joined #openstack-dev16:44
mordredmarkwash, iccha: most important, https://review.openstack.org/#/c/40300/ and a new release - but also https://review.openstack.org/#/c/27222/ and https://review.openstack.org/#/c/40274/ please?16:45
markwashmordred: thanks for the heads up!16:45
mordredmarkwash: sure thing! it's my week to chase down finishing this crud up :)16:46
*** Thor^^ is now known as Thor16:47
*** anteaya has joined #openstack-dev16:47
*** emagana has quit IRC16:48
hartsocksmordred: I gave my 2-bits on a the last two… they were small enough.16:49
mordredflaper87: ^^ also perhaps you on the three reviews above? if you're around?16:50
*** ruhe has joined #openstack-dev16:51
*** lucasagomes has joined #openstack-dev16:53
*** otherwiseguy has quit IRC16:53
*** ytwu1 has joined #openstack-dev16:54
*** mrodden has quit IRC16:55
*** ytwu has quit IRC16:55
*** mrodden has joined #openstack-dev16:56
*** jgriffith has quit IRC16:57
*** ytwu has joined #openstack-dev16:57
*** eglynn has joined #openstack-dev16:58
*** pabelanger has quit IRC16:58
*** ytwu1 has quit IRC16:58
*** SumitNaiksatam has quit IRC16:58
*** jgriffith has joined #openstack-dev16:58
*** dolphm has joined #openstack-dev17:01
*** lexinator has quit IRC17:01
*** pabelanger has joined #openstack-dev17:01
*** ifarkas has quit IRC17:03
apevecttx, adam_g, draft relnotes, please review https://wiki.openstack.org/wiki/ReleaseNotes/2013.1.317:04
*** lexinator has joined #openstack-dev17:04
*** SumitNaiksatam has joined #openstack-dev17:05
*** dina_belova has joined #openstack-dev17:05
*** obondarev_ has quit IRC17:07
*** comay has joined #openstack-dev17:07
*** dina_belova has quit IRC17:08
*** alop_ has joined #openstack-dev17:08
*** alop has quit IRC17:09
*** gkotton has joined #openstack-dev17:09
*** rwsu-away is now known as rwsu17:12
*** garyk has quit IRC17:12
*** gkotton is now known as garyk17:12
stevemarayoung: I had ISP troubles :( did dolphm answer you questions?17:12
dolphmayoung: stevemar: o/17:12
ayoungstevemar, we were not there yet17:12
ayoungstevemar, I think that 1)  access tokens stay secret and 2) access tokens *are* Keystone tokens17:13
ayoungI think the whole system will work better.  THe killer argument is this17:13
ayoungwe can then use the step 7 signing apporach for requests throughout openstack17:13
ayounghttp://oauth.net/core/1.0a/#anchor1217:14
ayoungright now, a keystone token is not associated with a pkey17:14
*** alop_ has quit IRC17:14
morganfainbergdolphm: if you don't mind, i'm going to upload a fix to your configurable password length path to address both bknudson's and my issues17:14
morganfainbergs/path/patch17:14
ayoungnow, I am not a huge fan of reimplementing TLS at the application layer17:14
ayoungbut since Oauth seems to be the most sensible way to do that for HTTP, we should be able to take advantage of it17:15
*** wfoster is now known as wfoster_away17:15
ayoungand yes, IU realize it is not really TLS17:15
*** dina_belova has joined #openstack-dev17:15
ayoungjust that it does the signing, which provides a degree of proof that the the token is held by someone that is authorized to hold it17:15
stevemarayoung: reading step7, 1 sec17:16
ayoungstevemar, I would suspect that a reasonable extension to Keystone tokens in support of OAuth would be to embed the publivc key inside the CMS token  body.17:16
openstackgerritA change was merged to openstack/nova: xenapi: remove propagate xenapi_use_agent key  https://review.openstack.org/3863717:17
*** fbo_away is now known as fbo17:17
ayoungstevemar, otherwise, we require an additional round trip to keystone, and I don't see the value.17:18
*** xmltok has joined #openstack-dev17:19
dolphmayoung: i'd like to have some oauth_token middleware to support step 7 across OS as well :)17:19
dolphmayoung: thoughts for icehouse!17:19
ayoungdolphm, +117:19
stevemarayoung: yeah, this all seems a bit too late for H :)17:19
dolphmmorganfainberg: please do17:19
*** nati_ueno has joined #openstack-dev17:19
morganfainbergdolphm: sounds good.17:19
stevemarayoung: I'm not sure I like access tokens being keystone tokens17:19
ayoungdolphm, that is what we are trying to do with the binding stuff:  both oauth and SSL make use of PKI, and that makes tokens more secure, but it means we need to deal with delegations17:20
*** emagana has joined #openstack-dev17:20
*** dina_belova has quit IRC17:20
*** alexb_ has joined #openstack-dev17:20
*** bswartz has joined #openstack-dev17:20
ayoungstevemar, another argument is that with 3 types of tokens, we have 3 things we could lose and we need to control.  We can keep that down to two.17:21
dolphmayoung: a user can "delegate" to themselves (make themselves a consumer)17:21
dolphmayoung: i see that as an argument for keeping them seperated17:21
openstackgerritA change was merged to openstack/python-glanceclient: Show a pretty progressbar when uploading and downloading an image.  https://review.openstack.org/2695517:21
dolphmayoung: if you start mixing them up, compromising one compromises them all17:21
ayoungdolphm, yep, and I can see value of that.  I was referring to the fact that a token is right now carried along with a long workflow17:21
ayoungdolphm, no, I don't think that is the case17:22
morganfainbergdolphm: oh yes, oauth middleware +1!17:22
ayoungdolphm, if I make myself a consumer, I need to use my consumer id etc to get another token17:22
dolphmayoung: well, by keeping them separate, you increase security by some margin... by combining them you just maintain the status quo17:22
dolphm(at the very least)17:22
ayoungI would state that oauth tokens should be hed to the same rule as turst tokens:  you can;t use one to get another keystone token.17:23
ayoungadded complexity often decreses security, not increases it.  I think that might be the case here17:23
dolphmayoung: consumer_id is our thing; you'd really be using consumer_key + consumer_token, which any oauth lib is already equipped to handle17:23
dolphmconsumer_key + consumer_secret **17:23
dolphmand access_key + access_secret, if you have them17:24
*** HenryG has quit IRC17:25
*** spzala_ has joined #openstack-dev17:26
*** Ryan_Lane has quit IRC17:26
*** ifarkas has joined #openstack-dev17:27
ayoungdolphm, assume for a momenth that step 7 refers not just to Keystone, but to any system in openstack.  That system would then need to call back to keystone to confiurm the token Id.  THis is just like UUID tokens.  Now, we can optimie that with PKI...which leads us to PKI tokens.  I think they are the same thing, the same level of abstraction17:28
*** gkotton has joined #openstack-dev17:28
*** networkstatic has joined #openstack-dev17:28
*** ruhe has quit IRC17:28
*** cmark has quit IRC17:29
ayoungstevemar, think about it.  It makes Oauth more of a first class citizen in the OpenStack world, which is what we are driving for.17:29
*** garyk has quit IRC17:30
*** gkotton is now known as garyk17:30
*** spzala has quit IRC17:30
dolphmayoung: you can sign access keys too, and get the existing offline validation benefits of PKI17:31
ayoungdolphm, absolutely.17:31
ayoungdolphm, the thing is, this is really what Keystone tokens should have been all along17:32
dolphmayoung: yep17:32
*** spzala_ has quit IRC17:32
ayoungbut we still need to carry a token along on workflow from machine to machine17:32
dolphmayoung: the current API proposal doesn't prevent any of this: correct?17:32
ayoungdolphm, correct.  It just adds the step where you exchange an access token for a Keystone token17:32
ayoungand I actually don't like that17:32
ayoungwell17:33
dolphmayoung: the spec doesn't block you from implementing that differently17:33
ayoungI want to make sure that you can only get a keystone token scoped to the oauth consumer as based on the access token17:33
ayoungI don't want an elevation of proivs17:33
dolphmayoung: i don't follow?17:33
*** gkotton has joined #openstack-dev17:33
dolphmayoung: the keystone token is scoped to the project as requested by the consumer and explicitly authorized by the identity user17:34
ayoungdolphm, if I can turn a token into another token, with different roles, it violates the delegation setup of the consumer/access key17:34
ayoungright, this is the same thing as trust tokens, and I think his mechanism is fine.17:34
ayoungSorry to lead off on a tangent17:34
dolphmayoung: definitely cannot, unless you start the process over (a consumer could have many access tokens with different authz)17:34
simodolphm: with delegations you drop a number of privileges so that the app you deleate can do only what it is supposed to do17:35
dolphmayoung: not at all17:35
dolphmayoung: tear this apart! let's get it right17:35
simoif you return a ful token the application has all the privileges back17:35
dolphmsimo: correct17:35
ayoungdolphm, so, the real question is "does splitting access tokens and keystone tokens provide any value" and so far I see none.  And, with that, it isjust added complexity17:35
*** gkotton_ has joined #openstack-dev17:35
*** datsun180b has joined #openstack-dev17:36
ayoungsimo, we guard against that.  It was addressed ion an earlier review17:36
*** mrodden1 has joined #openstack-dev17:36
*** garyk has quit IRC17:36
*** mrodden has quit IRC17:36
*** gkotton_ is now known as garyk17:36
dolphmstevemar: i swear you had a really good point about why keystone tokens couldn't serve as access token keys... remember it?17:37
stevemardolphm: totally breaks any oauth library from the client point of view?17:37
*** crazed has quit IRC17:37
ayoungstevemar, nope17:37
dolphmstevemar: my argument is just based on paranoia (access token id's *could* be publicly readable, depending on policy impl)17:37
ayoungstevemar, a keystone token is just a blob17:37
ayoungan oauth token is as well17:37
dolphmstevemar: how?17:37
dolphmayoung: agree there, for sure17:37
*** Hien has quit IRC17:38
*** dprince has quit IRC17:38
*** gkotton has quit IRC17:38
stevemarin most oauth libraries an oauth access token is just a key/secret that is supplied, and it's used during signing.17:39
*** SergeyLukjanov has joined #openstack-dev17:39
ayoungdolphm, and, actually, even that paranoia goes away with PKI.  So what if it is world readable, if it needs to be used in conjunction with a private key that signs the request?17:39
dolphmayoung: but existing keystone tokens are NOT17:40
*** xmltok has quit IRC17:40
*** xmltok has joined #openstack-dev17:40
ayoungdolphm, I know.  and I contemplated putting one in there...I was half way to reimplementing this and I stopped17:40
*** gkotton has joined #openstack-dev17:40
dolphmayoung: i mean they're not public... they're secrets that grant authz... and we'll need to support both methods side by side for quite a while17:41
ayoungdolphm, the better solution is to tie to the certificate used to set up TLS.  THen you get security.  on MIM attacks, etc17:41
dolphmayoung: oauth + existing tokens, etc17:41
ayoungyep.17:41
*** malini1 has joined #openstack-dev17:41
stevemardolphm: ayoung: if we start returning keystone token at /access_token, then we run the risk of not following the spec17:41
dolphmayoung: oauth already protects against mim -- not sure what you're suggesting on adding?17:42
ttxapevec: lookign at rel notes17:42
*** sarob has joined #openstack-dev17:42
ayoungdolphm, I'm going to let this settle for a bit.  T his is pretty much where we ended up with trusts.17:42
dolphm(protects against mim after consumer creation, at least)17:42
dolphm(... which is out of scope for oauth actually)17:42
ttxapevec: looks good at first glance17:42
apevecttx, thanks for the review17:43
ayoungdolphm, sorry, should have been more specific.  I merely meant that it protects against a broader class of attacks than just MIM.  No snooping, and also short term tokens provide authorization suport, not just authentication.  You rally need both together, and TLS provides the best basis for it17:43
*** garyk has quit IRC17:43
*** gkotton is now known as garyk17:43
ayoungas the Oauth spec states outright17:43
dolphmayoung: right17:43
dolphmayoung: still, oauth is better than where we're at today17:44
ayoungdolphm, well, trusts and token binding are both there, but oauth is a good tool in the toolbox as well17:44
radezCould anyone lend a hand with Trove? I'm working through setting it up outside of devstack and having some trouble with figuring out how it's doing authentication17:44
ayoungnone of this means jack without client support17:44
*** xmltok_ has joined #openstack-dev17:44
stevemarayoung: i've been updating keystone client too :O17:45
markwashmordred: ttx: I will release a new python glanceclient this afternoon. . no more excuses from me!17:45
ayoungdolphm, I took a first stab at dealing with the "carry the token along the workflow" problem here: https://blueprints.launchpad.net/keystone/+spec/delegation-workplans17:46
ttxmarkwash: awesome!17:46
ayoungstevemar, we really would want a middleware comparable to auth_token.  If oauth tokens are keystone tokens, we can just add the signing support into that17:46
*** xmltok has quit IRC17:47
mordredmarkwash: yay! thanks!17:47
ayoungstevemar, otherwise, when we go to use a keystone token, and it comes from oauth, we lose the chain of the pki signing17:47
ayoungor we need to include the oauth key anyway17:47
dolphmayoung: client support is actually really easy17:47
dolphmayoung: it's this stuff that's complicated :)17:47
*** avishay has joined #openstack-dev17:48
dolphmfood time! bbl17:48
*** dolphm has quit IRC17:48
*** ayoung is now known as ayoung-afk17:48
stevemargah, i was just going to ask dolphm something!17:49
stevemarno food for him17:49
*** lucasagomes has left #openstack-dev17:50
stevemarmorganfainberg: congrats (hope i'm not jinxing it) on your impending core level of excellence17:50
*** freedomhui has quit IRC17:50
*** annegentle is now known as annegentle_vacay17:53
*** eglynn has quit IRC17:54
*** _TheDodd_ has quit IRC17:55
*** jprovazn has quit IRC17:56
*** bashok has joined #openstack-dev17:56
*** nachi has quit IRC17:57
*** mrodden has joined #openstack-dev17:57
*** mdomsch has joined #openstack-dev17:59
*** ytwu1 has joined #openstack-dev17:59
*** mrodden1 has quit IRC18:01
*** ytwu has quit IRC18:02
*** xqueralt-afk is now known as xqueralt18:02
*** _TheDodd_ has joined #openstack-dev18:02
morganfainbergstevemar: i am sure you're not jinxing it :P18:03
*** xqueralt is now known as xqueralt-afk18:03
stevemardidn't think so either :P18:03
*** kevinconway has joined #openstack-dev18:04
*** krtaylor has quit IRC18:04
*** kpavel has joined #openstack-dev18:04
*** matel has joined #openstack-dev18:04
morganfainbergdolphm: the configurable length password changeset went to abandoned, I don't think I can revive it from the dead.  in these cases, it's just easier to make a new changeid, right?18:04
openstackgerritA change was merged to openstack/nova: Fix typo in compute.rpcapi comments  https://review.openstack.org/4050618:05
*** matel has quit IRC18:05
*** eglynn has joined #openstack-dev18:07
*** ndipanov is now known as ndipanov_gone18:07
*** crazed has joined #openstack-dev18:08
morganfainbergi did a new-changeset, least path of resistence i think.18:08
*** jbresnah has quit IRC18:08
*** xqueralt-afk is now known as xqueralt18:10
*** ayoung-afk has quit IRC18:13
*** alexb_ has quit IRC18:14
openstackgerritA change was merged to openstack/tempest: Change logging in stress test  https://review.openstack.org/4056618:15
*** stevemar has quit IRC18:15
*** stevemar has joined #openstack-dev18:15
*** jpich has joined #openstack-dev18:15
*** dina_belova has joined #openstack-dev18:15
*** Rafael_Gomes has quit IRC18:16
*** dina_belova has quit IRC18:20
*** alexb_ has joined #openstack-dev18:20
*** otherwiseguy has joined #openstack-dev18:20
*** aelkikhia has quit IRC18:20
*** mikal has quit IRC18:22
*** mikal has joined #openstack-dev18:23
*** zaitcev has joined #openstack-dev18:25
*** sushils has quit IRC18:27
*** zul has quit IRC18:28
*** sarob has quit IRC18:29
*** sarob has joined #openstack-dev18:29
*** aelkikhia has joined #openstack-dev18:33
*** portante|afk is now known as portante18:33
*** ytwu has joined #openstack-dev18:34
*** nachi has joined #openstack-dev18:34
*** sarob has quit IRC18:34
*** ytwu1 has quit IRC18:35
*** alop has joined #openstack-dev18:37
*** danwent has quit IRC18:38
*** berendt has quit IRC18:40
*** jruzicka has quit IRC18:42
*** ytwu1 has joined #openstack-dev18:43
*** pabelanger has quit IRC18:43
*** markwash has quit IRC18:44
*** dolphm has joined #openstack-dev18:45
*** ytwu has quit IRC18:45
*** ytwu has joined #openstack-dev18:45
*** mfer has joined #openstack-dev18:45
openstackgerritA change was merged to openstack/cinder: Set lock_path in tests  https://review.openstack.org/4066218:45
*** alexb_ has quit IRC18:46
*** pabelanger has joined #openstack-dev18:47
cburgessjgriffith: *ping*18:47
*** ytwu1 has quit IRC18:48
*** psedlak has quit IRC18:48
*** ytwu1 has joined #openstack-dev18:49
*** novas0x2a|laptop has joined #openstack-dev18:49
*** garyk has quit IRC18:49
*** ytwu has quit IRC18:49
jgriffithcburgess: pong18:52
*** garyk has joined #openstack-dev18:53
*** malini1 has left #openstack-dev18:54
openstackgerritA change was merged to openstack/cinder: Refactoring of create_volume to use taskflow.  https://review.openstack.org/2986218:54
*** bdpayne has quit IRC18:54
cburgessjgriffith: Can I pm you?18:54
jgriffithcburgess: sure18:54
stevemargordc: test ping18:54
*** epim_ has quit IRC18:55
stevemargordc: test ping number 2!18:56
*** wolfdreamer has joined #openstack-dev18:57
*** mkollaro has quit IRC18:57
*** morazi has quit IRC18:58
*** jcoufal has joined #openstack-dev18:58
*** mdomsch has quit IRC18:58
*** jonesld has joined #openstack-dev18:59
*** aloga has quit IRC19:00
*** melwitt has joined #openstack-dev19:02
*** ruhe_ has joined #openstack-dev19:02
*** mdomsch has joined #openstack-dev19:03
*** lcheng has joined #openstack-dev19:03
*** mdomsch has quit IRC19:04
*** _TheDodd_ has quit IRC19:04
*** dina_belova has joined #openstack-dev19:04
*** alexb_ has joined #openstack-dev19:05
roaetGood day. Is anyone available to explain SampleAPI tests and how to properly create one?19:05
roaetMaybe it's a nova specific thing.19:05
*** sarob has joined #openstack-dev19:06
*** sarob has quit IRC19:07
*** sarob has joined #openstack-dev19:08
*** martine_ has joined #openstack-dev19:09
*** qba73 has joined #openstack-dev19:09
*** kenperkins has joined #openstack-dev19:09
*** _TheDodd_ has joined #openstack-dev19:11
*** bashok has quit IRC19:11
*** ytwu has joined #openstack-dev19:11
*** bashok has joined #openstack-dev19:11
*** ytwu1 has quit IRC19:11
*** FunnyLookinHat has quit IRC19:12
*** sarob has quit IRC19:12
*** alexb_ has quit IRC19:13
*** numero8 has joined #openstack-dev19:13
*** jmontemayor has joined #openstack-dev19:14
*** ruhe_ has quit IRC19:14
*** radez is now known as radez_g0n319:15
*** alexb_ has joined #openstack-dev19:17
*** briancurtin has joined #openstack-dev19:17
*** jcoufal has quit IRC19:18
*** radez_g0n3 is now known as radez19:18
*** jbresnah has joined #openstack-dev19:19
*** briancurtin has quit IRC19:19
stevemardolphm ping19:20
dolphmstevemar: pong19:20
stevemardolphm: moving the keystone token generation to /auth/tokens is causing all sorts of crazy19:21
dolphmstevemar: how so19:21
stevemarerr, moving the 'getting an oauth based token... "19:21
stevemarthe 'scope' seems to be an issue19:21
lifelessjprovazn: pong19:21
dolphmstevemar: can you post broken code or something?19:22
stevemardolphm: done lunch right?19:22
stevemaryeah19:22
*** ruhe has joined #openstack-dev19:22
*** bdpayne has joined #openstack-dev19:22
*** dina_belova has quit IRC19:23
stevemardolphm: changes i've been tinkering with19:26
stevemarhttp://paste.openstack.org/show/43626/19:26
*** ytwu1 has joined #openstack-dev19:26
*** ytwu has quit IRC19:27
*** msmedved has joined #openstack-dev19:27
*** FunnyLookinHat has joined #openstack-dev19:28
*** adalbas has quit IRC19:29
*** romcheg has quit IRC19:31
*** mfer has quit IRC19:33
*** mrodden1 has joined #openstack-dev19:35
*** mrodden has quit IRC19:36
*** sarob has joined #openstack-dev19:36
*** dina_belova has joined #openstack-dev19:37
*** sarob has quit IRC19:39
*** _TheDodd_ has quit IRC19:39
*** sarob has joined #openstack-dev19:39
*** nayward has quit IRC19:40
*** portante is now known as portante|afk19:40
*** dina_belova has quit IRC19:41
*** sarob has quit IRC19:43
*** adalbas has joined #openstack-dev19:44
*** ytwu has joined #openstack-dev19:44
*** ifarkas has quit IRC19:45
*** ytwu1 has quit IRC19:45
openstackgerritA change was merged to openstack/nova: Catch ldap ImportError  https://review.openstack.org/4026119:45
*** kenperkins has quit IRC19:46
*** vipul is now known as vipul-away19:46
*** kenperkins has joined #openstack-dev19:46
dolphmstevemar: cool, will play with it in a minute19:47
*** gyee has joined #openstack-dev19:47
*** changbl has quit IRC19:48
*** _TheDodd_ has joined #openstack-dev19:48
*** jistr has quit IRC19:50
*** changbl has joined #openstack-dev19:50
stevemardolphm: did you want the delegated auth core.py file split into routers/controllers?19:51
*** safchain has joined #openstack-dev19:52
*** safchain has quit IRC19:52
*** annegentle_vacay has quit IRC19:53
*** bdpayne has quit IRC19:53
*** ytwu1 has joined #openstack-dev19:55
*** bdpayne has joined #openstack-dev19:55
*** pcm__ has quit IRC19:55
*** ytwu has quit IRC19:56
*** markwash has joined #openstack-dev19:57
*** drewlander has quit IRC19:58
*** sandywalsh has quit IRC19:59
*** kenperkins has quit IRC20:00
*** vipul-away is now known as vipul20:02
*** bashok has quit IRC20:02
*** dvarga has quit IRC20:02
*** pixelbeat has quit IRC20:03
*** mfer has joined #openstack-dev20:05
*** mfer has quit IRC20:05
*** pabelanger has quit IRC20:06
*** diogogmt has quit IRC20:06
*** aelkikhia1 has joined #openstack-dev20:07
*** networkstatic has quit IRC20:10
*** briancurtin has joined #openstack-dev20:10
*** vkmc has quit IRC20:10
*** jkyle has quit IRC20:10
*** emagana has quit IRC20:10
*** aelkikhia has quit IRC20:10
*** sandywalsh has joined #openstack-dev20:10
*** emagana has joined #openstack-dev20:11
*** radez is now known as radez_g0n320:12
*** noslzzp has joined #openstack-dev20:13
*** locke105 has quit IRC20:13
*** morazi has joined #openstack-dev20:14
*** briancurtin has quit IRC20:15
*** radix has left #openstack-dev20:15
*** alop has quit IRC20:17
*** FunnyLookinHat has quit IRC20:17
*** mrodden has joined #openstack-dev20:17
*** alexpilotti has joined #openstack-dev20:19
*** locke105 has joined #openstack-dev20:19
*** mrodden1 has quit IRC20:20
*** vipul is now known as vipul-away20:22
*** dkranz has quit IRC20:23
*** READ10 has quit IRC20:23
*** aelkikhia1 has quit IRC20:24
*** topol has quit IRC20:25
*** READ10 has joined #openstack-dev20:26
*** FunnyLookinHat has joined #openstack-dev20:33
*** tmclaugh[work] has quit IRC20:33
*** alop has joined #openstack-dev20:36
*** sarob has joined #openstack-dev20:39
*** ytwu has joined #openstack-dev20:40
*** ruhe has quit IRC20:41
*** ytwu1 has quit IRC20:41
*** dina_belova has joined #openstack-dev20:42
*** vipul-away is now known as vipul20:43
*** READ10 has quit IRC20:43
*** READ10 has joined #openstack-dev20:45
*** danwent has joined #openstack-dev20:45
*** dina_belova has quit IRC20:46
*** woodspa has quit IRC20:47
openstackgerritA change was merged to openstack/glance: BaseException.message is deprecated since Python 2.6  https://review.openstack.org/3853220:48
*** dani4571 has joined #openstack-dev20:49
*** xqueralt is now known as xqueralt-afk20:49
*** alunduil has quit IRC20:50
*** mfer has joined #openstack-dev20:51
*** noslzzp has quit IRC20:51
openstackgerritA change was merged to openstack/neutron: Imported Translations from Transifex  https://review.openstack.org/4095020:51
*** dina_belova has joined #openstack-dev20:52
*** ayoung_ has joined #openstack-dev20:52
*** noslzzp has joined #openstack-dev20:52
*** jpich has quit IRC20:52
*** SergeyLukjanov has quit IRC20:54
*** SergeyLukjanov has joined #openstack-dev20:54
*** jmontemayor has quit IRC20:56
*** markwash has quit IRC20:56
*** dina_belova has quit IRC20:56
*** svarnau has quit IRC21:01
*** dolphm has quit IRC21:01
*** sarob has quit IRC21:01
*** sarob has joined #openstack-dev21:02
*** mfer has quit IRC21:03
*** briancurtin has joined #openstack-dev21:03
*** Hien has joined #openstack-dev21:03
*** redbeard2 has quit IRC21:04
*** rfolco has quit IRC21:06
*** pnavarro has quit IRC21:06
*** topol has joined #openstack-dev21:07
*** sarob has quit IRC21:07
*** galstrom is now known as galstrom_zzz21:07
*** msbrown has quit IRC21:08
*** apevec has quit IRC21:09
*** bswartz has quit IRC21:10
*** redbeard2 has joined #openstack-dev21:11
*** numero8 has quit IRC21:12
*** krtaylor has joined #openstack-dev21:13
*** qba73 has quit IRC21:13
*** briancurtin has quit IRC21:15
*** hellome has quit IRC21:17
*** hartsocks has quit IRC21:17
*** jf-jenni has quit IRC21:17
*** hartsocks has joined #openstack-dev21:17
*** litong has joined #openstack-dev21:18
*** martine_ has quit IRC21:18
*** hellome has joined #openstack-dev21:19
*** mfer has joined #openstack-dev21:23
openstackgerritA change was merged to openstack-dev/devstack: Add tools/install_pip.sh  https://review.openstack.org/3982721:23
*** henrynash has quit IRC21:24
*** sarob has joined #openstack-dev21:25
*** dansmith has quit IRC21:28
openstackgerritA change was merged to openstack/nova: Fix instance_usage_audit_log v3 follow REST principles  https://review.openstack.org/3904121:31
*** vipul is now known as vipul-away21:31
stevemardolphm: ping21:32
*** bugsduggan has quit IRC21:32
*** jayg is now known as jayg|g0n321:33
*** boden has quit IRC21:33
*** bugsduggan has joined #openstack-dev21:33
*** dansmith_ has joined #openstack-dev21:34
*** dansmith_ is now known as dansmith21:35
*** alunch has quit IRC21:35
*** nayward has joined #openstack-dev21:36
*** neelashah has quit IRC21:39
*** annegentle has joined #openstack-dev21:40
*** nayward has quit IRC21:40
*** kbringard has quit IRC21:42
*** pixelbeat has joined #openstack-dev21:42
*** litong has quit IRC21:45
*** beagles is now known as beagles_biab21:48
*** numero8 has joined #openstack-dev21:48
*** numero8 has quit IRC21:49
*** nachi has quit IRC21:49
*** __cyril__ has quit IRC21:50
*** topol has quit IRC21:52
*** dina_belova has joined #openstack-dev21:52
*** redbeard2 has quit IRC21:52
*** nachi has joined #openstack-dev21:53
*** nachi_ has joined #openstack-dev21:53
*** rharwood has quit IRC21:54
*** markmcclain has quit IRC21:54
openstackgerritA change was merged to openstack/cinder: Add minimum features in HDS driver (for Havana & Icehouse)  https://review.openstack.org/3984121:56
*** dina_belova has quit IRC21:57
*** mfer has quit IRC21:59
*** SergeyLukjanov has quit IRC21:59
*** romcheg has joined #openstack-dev22:00
*** vipul-away is now known as vipul22:01
*** hellome has quit IRC22:02
*** dani4571 has quit IRC22:03
*** kenperkins has joined #openstack-dev22:04
*** nachi_ has quit IRC22:04
*** nachi has quit IRC22:04
*** burt has quit IRC22:07
*** jecarey has quit IRC22:07
*** gordc_ has joined #openstack-dev22:09
*** hellome has joined #openstack-dev22:09
*** gordc_ has quit IRC22:09
*** gordc_ has joined #openstack-dev22:09
openstackgerritA change was merged to openstack/glance: Fixes Opt types in glance/notifier/notify_kombu.py  https://review.openstack.org/3717822:09
openstackgerritA change was merged to openstack/nova: Spelling correction in test_glance.py  https://review.openstack.org/4073722:09
*** briancurtin has joined #openstack-dev22:11
*** lbragstad has quit IRC22:14
*** gordc_ has quit IRC22:14
*** noslzzp has quit IRC22:15
*** romcheg has quit IRC22:15
*** markmcclain has joined #openstack-dev22:16
*** jmontemayor has joined #openstack-dev22:16
*** esheffield1 has quit IRC22:16
*** changbl has quit IRC22:18
*** briancurtin has quit IRC22:18
*** jmontemayor has quit IRC22:20
*** cdub_ has quit IRC22:22
*** ytwu1 has joined #openstack-dev22:24
*** otherwiseguy has quit IRC22:25
*** ytwu has quit IRC22:26
openstackgerritA change was merged to openstack/nova: Enhance object inheritance  https://review.openstack.org/3996522:26
openstackgerritA change was merged to openstack/neutron: Externalize error messages in the API  https://review.openstack.org/3959122:26
openstackgerritA change was merged to openstack/tempest: Added negative tests for server  https://review.openstack.org/4081322:26
*** FunnyLookinHat has quit IRC22:27
*** fbo is now known as fbo_away22:29
*** mrda has joined #openstack-dev22:29
*** ytwu has joined #openstack-dev22:32
*** ayoung_ has quit IRC22:32
*** utlemming has joined #openstack-dev22:33
*** ytwu1 has quit IRC22:34
*** ytwu1 has joined #openstack-dev22:35
*** ytwu has quit IRC22:36
*** sushils has joined #openstack-dev22:36
openstackgerritA change was merged to openstack/ceilometer: Doc: measurements: add doc on Cinder/Swift config  https://review.openstack.org/3967622:37
*** ytwu has joined #openstack-dev22:37
*** kenperkins has quit IRC22:38
*** gmurphy has quit IRC22:38
*** ytwu1 has quit IRC22:40
*** afazekas has quit IRC22:41
*** adalbas has quit IRC22:43
*** afazekas has joined #openstack-dev22:44
*** ytwu1 has joined #openstack-dev22:44
*** ytwu has quit IRC22:44
*** gordc has quit IRC22:44
*** morazi has quit IRC22:44
*** networkstatic has joined #openstack-dev22:45
*** sarob has quit IRC22:45
*** datsun180b has quit IRC22:45
*** sarob has joined #openstack-dev22:46
*** dolphm has joined #openstack-dev22:46
*** _TheDodd_ has quit IRC22:47
*** alunduil has joined #openstack-dev22:47
*** prad has quit IRC22:47
*** sarob has quit IRC22:49
*** ytwu has joined #openstack-dev22:51
*** ayoung_ has joined #openstack-dev22:51
*** itzikb has joined #openstack-dev22:53
*** dina_belova has joined #openstack-dev22:53
*** ytwu1 has quit IRC22:54
itzikbHi, suppose I want to test a patch submitted by someone else to gerrit - How do I do it?22:54
*** rcleere has quit IRC22:54
*** branen__ has quit IRC22:55
*** vipul is now known as vipul-away22:55
*** vipul-away is now known as vipul22:55
clarkbitzikb: jenkins will test it. If you want to do testing on your end you can `git review -d $CHANGE_NUMBER` to fetch the change or copy and paste the fetch string provided by gerrit in the change on the web ui22:56
clarkbitzikb: the other potential route if you want to automate it is to set up a gerrit event stream listener to listen to the gerrit event stream and test things as necessary22:57
*** henrynash has joined #openstack-dev22:57
*** dina_belova has quit IRC22:58
itzikbI'll try the git review22:59
itzikbThanks22:59
*** leif has joined #openstack-dev22:59
*** leif is now known as Guest5654722:59
mroddenso i'm pretty sure this (https://github.com/openstack/neutron/commit/a9560a9cc03c2d00ba5db4f28eb9405aa854b5a6) is causing zero output on test failure on my tox runs for neutron tests23:00
clarkbmrodden: you should get the test failure output with traceback23:01
mroddeni get nothing... its very odd23:01
clarkbmrodden: check in .testrepository/$ID23:01
mroddenits probably because the test case leads to some manager.py calling sys.exit(1)23:01
clarkboh that is bad23:02
mroddenyea23:02
mroddeni dont know how that is acceptable23:02
*** electrichead has quit IRC23:02
clarkbsys.exit has caused problems in neutron tests before (and recently too)23:02
clarkbit shouldn't be acceptable imo. Using sys.exit liberally makes things not unittest able23:03
mroddenthis is what i'm running into23:03
mroddenhttps://bugs.launchpad.net/neutron/+bug/119709423:03
uvirtbotLaunchpad bug 1197094 in neutron "unit tests consistently fail against master in test_network_add_to_dhcp_agent" [Undecided,Invalid]23:03
*** branen has joined #openstack-dev23:03
mroddenfirst comment for details of where the sys.exit call is23:03
*** redbeard2 has joined #openstack-dev23:03
clarkbenikanorov: ^ is that the same thing you were looking at the other day?23:03
mroddenyeah apparently the mix between sys.exit and the FakeLogger fixture doesnt let any output get printed23:06
clarkbThe fake logger should still be logging into the subunit capture stream though23:07
*** sarob has joined #openstack-dev23:07
clarkbmrodden: I would look in .testrepository/$ID where $ID is the test run ID reported by testr23:07
mroddenk23:07
mroddenis it just a text file23:07
mrodden?23:07
clarkbthey are sequentially numbered so you can pick the highest number for the most recent test run23:07
clarkbmrodden: yup23:07
mroddenyeah not much23:08
mroddenlet me pastebin23:09
mroddenhttp://paste.openstack.org/show/43635/23:10
lifelessmrodden: it is a subunit file; v1 atm still, but upgrading to v2 soonish - so interrogating with subunit tools is probably best.23:10
*** alop has quit IRC23:11
mroddenk23:11
*** alop_ has joined #openstack-dev23:11
*** ayoung_ has quit IRC23:11
lifeless(future reference, what you did is fine :))23:11
*** jgriffit_ has joined #openstack-dev23:11
*** ayoung_ has joined #openstack-dev23:11
mroddenwhat i did?23:11
lifelessjust pastebining the file :)23:11
mroddenok23:11
clarkblooks like it is bombing out early...23:11
mroddenyeah idk23:11
*** ytwu has quit IRC23:12
mroddenyeah if i take out the sys.exit() or comment out the line in base.py wehre it sets up the FakeLogger fixture23:12
mroddeni get output like normal23:12
clarkbmrodden: where is the sys.exit?23:12
mroddenlet me get a link23:13
*** ytwu has joined #openstack-dev23:13
*** rnirmal has quit IRC23:13
lifelessyou're calling sys.exit in a test? That blows through everything immediately :)23:13
lifelessnot entirely surprising that its exiting23:13
clarkblifeless: ya, I am 99.99% sure it is a bug23:13
mroddenhttps://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/managers.py#L7323:13
clarkbneutron has had a couple of these where sys.exit has found its way deep in a emthod that is then unittested which caused the whole thing to bail out early23:13
mroddenyeah i'm sure thats it23:14
mroddeni have no idea why its there...23:14
lifelessfinally clauses should still run; if we're not capturing the output of that test to the stream, there is a bug there. Possibly we don't flush the stream on every write (which is good from a perf perspective)23:14
mroddenif you can't handle a case raise an exception23:14
mroddenthats what they are for23:14
mroddendon't bomb out the python runtime23:14
clarkbmrodden: ++23:14
lifelessmrodden: 100% agreement23:14
lifelessI'd go as far as to say that outside of entrypoint code - the code generating entrypoints - nothing we write should have sys.exit, or SystemExit, in it.23:15
lifeless*that* could be a hacking check. IMNSHO.23:15
*** alop_ has quit IRC23:15
mroddenupon further inspection, with the log output i have now its because stevedore is having issues with a requests version conflict on this system23:15
*** armax has quit IRC23:15
mroddenbut still23:16
mroddenthat took way too much effort to find....23:16
*** alop has joined #openstack-dev23:16
itzikbclarkb: Thamks for the help - I used git review -d changeid23:16
mroddenthink i should open up a neutron bug for this?23:16
clarkbitzikb: no proble,23:16
clarkbmrodden: definitely23:17
mrdalifeless: +1 great idea23:17
mroddenoh nvm23:18
mroddenfound this https://review.openstack.org/#/c/40873/23:18
*** vuntz has quit IRC23:20
*** ayoung_ has quit IRC23:22
*** galstrom_zzz is now known as galstrom23:22
*** pabelanger_ has quit IRC23:23
*** pabelanger has joined #openstack-dev23:23
*** huats has quit IRC23:24
*** hartsocks has quit IRC23:24
*** hartsocks has joined #openstack-dev23:25
*** bswartz has joined #openstack-dev23:25
*** hartsocks1 has joined #openstack-dev23:26
mroddenhow long are things on lodgeit (paste.openstack.org)23:27
*** hartsocks1 has quit IRC23:27
*** ayoung_ has joined #openstack-dev23:27
*** hartsocks1 has joined #openstack-dev23:28
lifelessmrodden: for ever AFAIK23:28
*** hartsocks1 has quit IRC23:28
*** ytwu1 has joined #openstack-dev23:28
*** alop has quit IRC23:28
mroddenoh... whops23:28
mroddenoh well23:28
*** hartsocks1 has joined #openstack-dev23:28
lifelessinfra might be able to delete something for you23:28
*** hartsocks1 has quit IRC23:28
lifelessno guarantee it's not cached somewhere else (e.g. google, wayback machine etc)23:28
*** huats has joined #openstack-dev23:29
*** huats has joined #openstack-dev23:29
lifelessNSA23:29
*** kbrierly has quit IRC23:29
*** alop has joined #openstack-dev23:29
*** vuntz has joined #openstack-dev23:29
*** sdake_ has quit IRC23:29
*** ytwu has quit IRC23:29
*** hartsocks has quit IRC23:30
*** utlemming has quit IRC23:31
*** hartsocks has joined #openstack-dev23:31
*** venkatesh has joined #openstack-dev23:32
*** vipul is now known as vipul-away23:33
*** ytwu has joined #openstack-dev23:35
openstackgerritA change was merged to openstack/nova: Fix deferred delete use of objects  https://review.openstack.org/4085823:36
*** pmathews has quit IRC23:36
*** ytwu1 has quit IRC23:36
*** changbl has joined #openstack-dev23:36
*** nayward has joined #openstack-dev23:37
*** galstrom is now known as galstrom_zzz23:38
*** markwash has joined #openstack-dev23:38
*** ytwu1 has joined #openstack-dev23:39
*** ytwu has quit IRC23:39
*** fifieldt has joined #openstack-dev23:40
*** nayward has quit IRC23:41
*** Guest56547 has quit IRC23:42
*** ayoung_ has quit IRC23:42
*** ayoung_ has joined #openstack-dev23:42
*** galstrom_zzz is now known as galstrom23:43
*** ytwu1 has quit IRC23:43
*** ytwu has joined #openstack-dev23:43
*** vipul-away is now known as vipul23:44
*** branen_ has joined #openstack-dev23:45
*** itzikb has quit IRC23:46
ayoung_henrynash, I just read Markmc's comment.  I am scared how closely I came to the same conclusions separately.23:47
henrynashayoung: hi, have not seen it…let me check23:48
jamielennoxayoung_: regarding?23:48
ayoung_jamielennox, config setup for his recent domain specific backends23:48
*** henrynash has quit IRC23:50
*** Ryan_Lane has joined #openstack-dev23:51
*** jpeeler has quit IRC23:52
*** zul has joined #openstack-dev23:53
*** dina_belova has joined #openstack-dev23:53
*** ytwu1 has joined #openstack-dev23:54
*** ytwu has quit IRC23:55
*** hellome has quit IRC23:56
*** gongysh has joined #openstack-dev23:56
*** dina_belova has quit IRC23:57
*** ytwu has joined #openstack-dev23:57
*** ayoung_ has quit IRC23:58
*** ytwu1 has quit IRC23:58
*** hellome has joined #openstack-dev23:58

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