Tuesday, 2012-02-28

dtroyerjaypipes, heckj: the logic problem seems to be an assumption that the admin_token can be obtained via the API.  This particular usage doesn't allow that as there is no username/password available for _get_admin_auth_token() to do its thing.00:00
*** Mandell has quit IRC00:01
dtroyerlooks like this commit that introduced the behavior: https://github.com/openstack/keystone/commit/08a3060bade8f14c2f81d4d502d27f097b016b9300:01
dtroyerI'm not sure the right way to allow both to work...00:02
*** deshantm_ has joined #openstack-dev00:04
termiejeblair: i think one of my patches added -L to the screen, which is supposed to log it i think00:04
jeblairtermie: sweet, where do those logs go?00:04
*** anotherjesse has quit IRC00:05
*** deshantm has quit IRC00:05
*** deshantm_ is now known as deshantm00:05
jeblairdolphm: i think the failure of build 1876 is due to my devstack launch script not cleaning up the repo correctly (i'll improve that), but 1877 is probably a real merge conflict.00:06
*** bencherian has quit IRC00:08
heckjdtroyer: the logic that leads there already looks to see if the middleware was configured with an admin token, and uses that if it is.00:08
*** mfer has joined #openstack-dev00:08
*** andrewsben has joined #openstack-dev00:08
*** dtroyer has quit IRC00:09
*** torgomatic has quit IRC00:10
heckjdtroyer: so short path to workaround the issue for Nati and Jay might be to configure the middleware with ADMIN_TOKEN=…, but longer term looks like we need to support getting an admin token through the API - or more appropriately a token with sufficient privs so that glance can be configured with a username/password instead of an admin token.00:10
*** Mandell has joined #openstack-dev00:11
jeblairtermie: I don't see a -L option in stack.sh00:12
*** dolphm has quit IRC00:12
*** torgomatic has joined #openstack-dev00:12
*** kbringard has quit IRC00:15
*** jakedahn has joined #openstack-dev00:16
*** gabrielhurley has quit IRC00:16
*** Yak-n-Yeti has joined #openstack-dev00:17
*** heckj has quit IRC00:17
termiejeblair: possibly somebody took it out, used to be in here: https://github.com/cloudbuilders/devstack/blob/master/stack.sh#L130500:19
*** andrewsmedina_ has joined #openstack-dev00:20
termiei never made use of it, but screen docs say it turns on automatic logging00:20
termiejeblair: never figured out where it logged to, however00:21
comstudvishy: thnx00:21
*** andrewsmedina has quit IRC00:23
*** andrewsmedina_ is now known as andrewsmedina00:23
*** heckj has joined #openstack-dev00:25
*** andrewsben has quit IRC00:25
*** andrewsben has joined #openstack-dev00:26
*** anotherjesse has joined #openstack-dev00:30
*** anotherjesse has quit IRC00:31
termiehmm, i wonder why role tests started failing00:32
*** aweiss has joined #openstack-dev00:33
heckjtermie: on master? mine are working OK (only expected skips, etc)00:35
*** aweiss has left #openstack-dev00:36
*** Ryan_Lane has quit IRC00:37
openstackgerritVerification of a change to openstack-dev/devstack failed: Add a helper method to volumes test to get fields  https://review.openstack.org/460000:37
*** andrewsben has quit IRC00:46
*** Mandell has quit IRC00:46
termieheckj: no in the ldap branch00:48
termieheckj: the delete role test wasn't failing on work computer, but did on jenkins and this computer00:49
termieoh, totally my fault, 2.7 vs 2.6 thing00:50
*** mfer has quit IRC00:51
*** hub_cap has joined #openstack-dev00:52
*** bencherian has joined #openstack-dev00:52
*** mfer has joined #openstack-dev00:53
jaypipesheckj, dtroyer: but I thought the whole point of a service token was to allow a service to have a non-username/password way of communicating with another service?00:55
jaypipesheckj: how does it make sense to have a service token value AND a username/password for the admin?00:55
*** Mandell has joined #openstack-dev00:55
*** dolphm has joined #openstack-dev00:56
heckjjaypipes: Not entirely sure myself - I think the intention was an "either/or" scenario, which with poor test coverage on that middle we broke.00:56
heckjjaypipes: I'm cleaning a VM and re-devstacking it right now to jump in there. dtroyer is offline, although grue seems to have picked up the bug on LP00:57
heckjjaypipes: there's a if/then logic in the middleware that I'm surprised it getting invoked since you have admin_token defined in glance, so I want to track down why it's happening.00:58
heckjs/it/is/00:58
jaypipesheckj: k, thx. I'll keep at it as well...00:58
*** gabrielhurley has joined #openstack-dev01:00
termiejaypipes: the "service token" is roughly the same as it was before, it is just a free pass to being an admin, for whatever reason somebody wanted to make an admin user and use their username and password also01:02
termiejaypipes: the admin token isn't as well tested for things that are contextual based on the token because it isn't expected to be used for things like "what tenants are available for me01:02
*** davidkranz has quit IRC01:02
jaypipestermie: all I know is that the service token stopped workin' :)01:05
*** Ryan_Lane has joined #openstack-dev01:05
*** jdg has quit IRC01:08
termiejaypipes: one would assume that the devstack tests would be catching that01:08
heckjtermie: yeah - apparently not :-/ Surprised the hell outa me. Can't wait until we get tempest fully online and in the mix as well.01:10
jaypipestermie: yeah, I know :) that's what nati found earlier... that you could call the same commands in devstack that use glance (the calls that add a ramdisk/kernel/disk image at the end), then as soon as you call glance without the -A option, from then on, all commands trigger a stacktrace from keystone. very bizarre...01:10
jaypipestermie: in fact, what's really odd is that I used the token generated from my latest stack.sh run and that didn't work... right after the script completed successfully. :(01:12
termiejaypipes: i do somewhat suspect that this might fix it, not sure how to generate a test-case though01:12
termiejaypipes: the tokens are not persisted in the default setup, there is a backend now but it hasn;t been made the default01:12
termiehttps://review.openstack.org/#change,4438 (is what may fix it)01:13
*** dolphm has quit IRC01:13
termiedo you think you can generate a test-case or walk somebody like dtroyer though it enough that he can help write one?01:13
termieit would be an exercise in devstack, i believe01:13
jaypipestermie: I'll see what I can do, yes :)01:14
termieand just re-approved that patch, so you may be able to check shortly01:15
adam_gtermie: https://review.openstack.org/#change,4464 replied there, gutting the OS-KSADM stuff now.01:17
*** Ryan_Lane has quit IRC01:18
*** pixelbeat has quit IRC01:22
openstackgerritVerification of a change to openstack/keystone failed: Set tenantName to 'admin' in get_admin_auth_token.  https://review.openstack.org/443801:22
*** andrewbogott has quit IRC01:22
*** andrewbogott has joined #openstack-dev01:22
*** bengrue has quit IRC01:25
heckjtermie: failed unit tests, but oddly - looks like something leftover in the venv: https://jenkins.openstack.org/job/gate-keystone-unittests/543/console01:25
openstackgerritVerification of a change to openstack/keystone failed: Set tenantName to 'admin' in get_admin_auth_token.  https://review.openstack.org/443801:27
heckjor not… dunno. trying to replicate now.01:30
*** vladimir3p has quit IRC01:32
termieheckj: yeah, duno either, rebased on master just to be safe, and tests pass locally for me01:33
termieadam_g: awesome thanks01:33
termiethis might be a job for jeblair or mtaylor to look at :/01:36
openstackgerritVerification of a change to openstack/keystone failed: Set tenantName to 'admin' in get_admin_auth_token.  https://review.openstack.org/443801:36
termiejeblair, mtaylor: looks like https://jenkins.openstack.org/job/gate-keystone-unittests/545/ is missing a library in the venv or something01:37
*** mfer has quit IRC01:37
*** emmasteimann has joined #openstack-dev01:38
termiejeblair, mtaylor: doesn't appear to be getting it from pip-requires(-test)01:38
*** mikeyp has left #openstack-dev01:39
termiein other news, i think my housemate is asleep on my couch so i can't play video games in there :(01:40
termieattempts at slacking off: shattered01:40
*** dillon-w has joined #openstack-dev01:42
*** reed has quit IRC01:53
*** rods has quit IRC01:55
*** stuntmachine has joined #openstack-dev01:56
*** Yak-n-Yeti has quit IRC01:59
*** dtroyer has joined #openstack-dev02:01
*** PotHix has quit IRC02:01
*** Yak-n-Yeti has joined #openstack-dev02:06
*** shevek__ has quit IRC02:08
*** maplebed has quit IRC02:10
mtaylortermie: looking02:11
heckjmtaylor: thank you02:12
mtaylordid ldap get recently added to pip-requires?02:12
heckjmtaylor: yeah, today02:13
mtaylorhrm. ok. lemme look at the venv job then02:13
heckjtermie: do both need to be nailed to that specific version? (2.3.13)?02:13
mtaylorwell, that would be that ...02:13
heckjmtaylor: did we miss something>?02:14
mtaylorits url trigger is not configured properly02:14
mtaylornope. it's on my02:14
mtaylorme02:14
*** cp16net has joined #openstack-dev02:14
heckjtermie: nm, just saw your inline comment02:15
mtaylorheckj: okie. https://jenkins.openstack.org/view/Keystone/job/keystone-venv/32/02:15
*** danwent has quit IRC02:15
mtaylorheckj: when that's finished, your other patch should go in properly02:15
mtaylorheckj: and I fixed the bit where it wasn't building02:16
heckjcool - I'll keep an eye and retrigger when complete02:16
*** vladimir3p has joined #openstack-dev02:16
*** vizsla has joined #openstack-dev02:18
*** mfer has joined #openstack-dev02:18
*** mszilagyi has quit IRC02:22
*** bencherian has quit IRC02:24
*** jakedahn has quit IRC02:27
*** dolphm has joined #openstack-dev02:28
adam_gtermie: done and done.  https://review.openstack.org/#change,446402:29
*** jdurgin has quit IRC02:29
*** nati has quit IRC02:42
*** hub_cap has quit IRC02:43
*** hub-cap has joined #openstack-dev02:43
*** mattray has joined #openstack-dev02:44
termieadam_g: thanks, looking again now02:44
heckjjaypipes, nati: https://review.openstack.org/#change,4438 merged in now - will hopefully resolve that issue02:45
*** hub-cap has quit IRC02:45
*** hub_cap has joined #openstack-dev02:46
*** mnewby has quit IRC02:47
*** dolphm has quit IRC02:47
*** vincentricci has quit IRC02:50
*** danwent has joined #openstack-dev02:54
*** ncode has joined #openstack-dev02:59
*** ncode has joined #openstack-dev02:59
*** novas0x2a|laptop has quit IRC03:05
*** gabrielhurley has quit IRC03:07
*** danwent has quit IRC03:14
*** jog0 has quit IRC03:17
*** adjohn has quit IRC03:18
*** stuntmachine has quit IRC03:19
*** bencherian has joined #openstack-dev03:22
openstackgerritVerification of a change to openstack/keystone failed: renaming pip-requires-test to test-requires  * (per request from jeblair)  * version of python-ldap match between    test and requires  * pinned to 2.3.13 to let tests work in macosx  * separating dependencies between deps and test  https://review.openstack.org/460803:23
*** blamar_ has joined #openstack-dev03:25
*** mszilagyi_ has joined #openstack-dev03:25
*** lzyeval has joined #openstack-dev03:30
jeblairi'm shutting down jenkins to upgrade it, several plugins, and to install a new version of the gerrit-trigger plugin03:31
*** openstackjenkins has quit IRC03:33
*** emmasteimann has quit IRC03:33
*** openstackjenkins has joined #openstack-dev03:34
*** dtroyer has quit IRC03:34
*** andrewsmedina_ has joined #openstack-dev03:37
*** andrewsmedina has quit IRC03:37
*** andrewsmedina_ is now known as andrewsmedina03:37
*** nati has joined #openstack-dev03:37
*** openstackjenkins has quit IRC03:40
*** andrewsmedina has quit IRC03:41
*** openstackjenkins has joined #openstack-dev03:41
*** vladimir3p has quit IRC03:42
*** dtroyer has joined #openstack-dev03:42
*** mfer has quit IRC03:44
*** asdfasdf has joined #openstack-dev03:46
*** lzyeval has quit IRC03:48
*** nati has quit IRC03:48
*** blamar_ has quit IRC03:48
*** heckj has quit IRC03:53
*** openstackjenkins has quit IRC03:56
*** openstackjenkins has joined #openstack-dev03:57
*** openstackjenkins has quit IRC03:58
*** openstackjenkins has joined #openstack-dev04:00
*** reed has joined #openstack-dev04:01
*** jakedahn has joined #openstack-dev04:03
*** hub_cap has quit IRC04:03
*** openstackjenkins has joined #openstack-dev04:05
*** mjfork has quit IRC04:05
*** deshantm has quit IRC04:05
termiejeblair: do you think the jenkins restart thingee will fix our issues with https://review.openstack.org/#change,4608 ?04:06
jeblairtermie: i don't think so; i haven't looked at that, but we're not upgrading to fix any issues04:07
*** openstackjenkins has quit IRC04:12
*** sandywalsh has quit IRC04:13
*** dolphm has joined #openstack-dev04:13
*** nati has joined #openstack-dev04:13
*** openstackjenkins has joined #openstack-dev04:13
*** mdomsch has quit IRC04:14
*** openstackjenkins has quit IRC04:14
*** asdfasdf has quit IRC04:15
*** openstackjenkins has joined #openstack-dev04:16
*** mdomsch has joined #openstack-dev04:17
*** danwent has joined #openstack-dev04:19
termieah04:22
jeblairokay, i'm done with jenkins tonight.  everything is upgraded except the gerrit-trigger plugin; i got an error that didn't show up in my testing04:24
*** andrewsmedina has joined #openstack-dev04:25
dolphmjeblair: thanks, from way earlier04:25
*** sandywalsh has joined #openstack-dev04:26
jeblairdolphm: you're welcome; i changed the devstack git merge code so hopefully we won't see that particular false negative again04:27
dolphmjeblair: awesome04:27
*** gyee has quit IRC04:33
*** asdfasdf has joined #openstack-dev04:33
*** nati has quit IRC04:35
termiejeblair: "except the gerrit trigger" so i can't make builds happen by approving things?04:39
openstackgerritVerification of a change to openstack/keystone failed: renaming pip-requires-test to test-requires  * (per request from jeblair)  * version of python-ldap match between    test and requires  * pinned to 2.3.13 to let tests work in macosx  * separating dependencies between deps and test  https://review.openstack.org/460804:40
jeblairtermie: no, i mean i rolled it back to the previous version, everything should be as it was before04:44
*** nati has joined #openstack-dev04:54
*** asdfasdf has quit IRC04:56
*** ncode has quit IRC04:57
*** mattray has quit IRC04:58
*** dayou has joined #openstack-dev05:01
*** Yak-n-Yeti has quit IRC05:02
termiejeblair: did the change to test-requires get reflected somehow in jenkins?05:03
termiehttps://jenkins.openstack.org/job/gate-keystone-unittests/551/console05:03
termiethis would appear to me to be dying instantly of an import error05:04
termiei would expect the tox changes to cover it05:09
*** vincentricci has joined #openstack-dev05:10
*** andrewsmedina has quit IRC05:11
*** vincentricci has quit IRC05:15
openstackgerritVerification of a change to openstack/python-keystoneclient failed: Fix ec2-credentials-list to print 'access'.  https://review.openstack.org/456705:27
openstackgerritVerification of a change to openstack/keystone failed: renaming pip-requires-test to test-requires  * (per request from jeblair)  * version of python-ldap match between    test and requires  * pinned to 2.3.13 to let tests work in macosx  * separating dependencies between deps and test  https://review.openstack.org/460805:31
*** nati has quit IRC05:32
*** nati has joined #openstack-dev05:33
*** anotherjesse has joined #openstack-dev05:49
*** Ryan_Lane has joined #openstack-dev05:54
*** nati has quit IRC05:59
*** nati has joined #openstack-dev06:00
*** danwent has quit IRC06:03
openstackgerritVerification of a change to openstack/python-quantumclient failed: Adds client side functions for quantum 'detail' actions.  https://review.openstack.org/458006:04
*** ches has quit IRC06:12
*** ches has joined #openstack-dev06:12
*** nati has quit IRC06:15
*** dtroyer has quit IRC06:17
*** dayou has quit IRC06:31
*** dayou has joined #openstack-dev06:31
*** zigo has joined #openstack-dev06:33
*** bepernoot has joined #openstack-dev06:38
*** cp16net has quit IRC06:42
*** lory_yang has joined #openstack-dev06:56
*** bepernoot has quit IRC06:57
*** lory_yang has quit IRC06:57
*** anotherjesse has quit IRC07:01
*** anotherjesse has joined #openstack-dev07:01
*** dayou has quit IRC07:03
*** dayou has joined #openstack-dev07:05
*** anotherjesse1 has joined #openstack-dev07:15
openstackgerritVerification of a change to openstack/nova failed: Add utils.tempdir() context manager for easy temp dirs  https://review.openstack.org/461507:16
*** anotherjesse has quit IRC07:18
*** sleepsonthefloo has joined #openstack-dev07:20
*** jakedahn has quit IRC07:21
*** littleidea has quit IRC07:34
mtaylortermie: looking07:41
*** Mkenneth has joined #openstack-dev07:41
*** jeroenhn has joined #openstack-dev07:42
*** Mkenneth has quit IRC07:44
*** Mkenneth1 has joined #openstack-dev07:44
*** Mkenneth1 has quit IRC07:47
openstackgerritVerification of a change to openstack/keystone failed: renaming pip-requires-test to test-requires  * (per request from jeblair)  * version of python-ldap match between    test and requires  * pinned to 2.3.13 to let tests work in macosx  * separating dependencies between deps and test  https://review.openstack.org/460807:50
*** adjohn has joined #openstack-dev07:53
openstackgerritVerification of a change to openstack/keystone failed: renaming pip-requires-test to test-requires  * (per request from jeblair)  * version of python-ldap match between    test and requires  * pinned to 2.3.13 to let tests work in macosx  * separating dependencies between deps and test  https://review.openstack.org/460807:58
openstackgerritVerification of a change to openstack/keystone failed: renaming pip-requires-test to test-requires  * (per request from jeblair)  * version of python-ldap match between    test and requires  * pinned to 2.3.13 to let tests work in macosx  * separating dependencies between deps and test  https://review.openstack.org/460807:59
*** jeroenhn has quit IRC08:00
*** eglynn has quit IRC08:06
openstackgerritVerification of a change to openstack/keystone failed: renaming pip-requires-test to test-requires  * (per request from jeblair)  * version of python-ldap match between    test and requires  * pinned to 2.3.13 to let tests work in macosx  * separating dependencies between deps and test  https://review.openstack.org/460808:11
openstackgerritVerification of a change to openstack/keystone failed: renaming pip-requires-test to test-requires  * (per request from jeblair)  * version of python-ldap match between    test and requires  * pinned to 2.3.13 to let tests work in macosx  * separating dependencies between deps and test  https://review.openstack.org/460808:12
*** dolphm has quit IRC08:13
openstackgerritVerification of a change to openstack/keystone failed: renaming pip-requires-test to test-requires  * (per request from jeblair)  * version of python-ldap match between    test and requires  * pinned to 2.3.13 to let tests work in macosx  * separating dependencies between deps and test  https://review.openstack.org/460808:14
*** bepernoot has joined #openstack-dev08:16
openstackgerritVerification of a change to openstack/keystone failed: renaming pip-requires-test to test-requires  * (per request from jeblair)  * version of python-ldap match between    test and requires  * pinned to 2.3.13 to let tests work in macosx  * separating dependencies between deps and test  https://review.openstack.org/460808:20
*** dillon-w has quit IRC08:23
*** anotherjesse1 has quit IRC08:26
openstackgerritVerification of a change to openstack/nova failed: Fixes cloudpipe extension to work with keystone  https://review.openstack.org/452608:26
comstuddoh08:26
*** jaypipes has quit IRC08:27
*** Ryan_Lane has quit IRC08:28
comstud+ '[' -f tools/test-requires ']'08:28
comstud+ TEST_REQUIRES='-r tools/test-requires'08:28
comstud/tmp/hudson6712158871250064430.sh: line 8: syntax error near unexpected token `-f'08:28
comstudhuh08:28
*** bepernoot has quit IRC08:28
comstudhttps://jenkins.openstack.org/job/gate-nova-unittests/1216/console08:28
*** ss7pro has joined #openstack-dev08:31
ss7proHi, can anyone could tell me how can I download latestes e4 keystone code ?08:31
openstackgerritVerification of a change to openstack/keystone failed: renaming pip-requires-test to test-requires  https://review.openstack.org/460808:33
comstudgit clone git@github.com:openstack/keystone.git08:34
comstude4 isn't quite out08:34
ss7proyes08:35
ss7proBut I'am trying to find manage2 source code08:35
ss7proin keystone08:35
ss7proI can't find tree where it's present08:35
ss7prohttps://github.com/openstack/keystone/commit/8b3df32298953e4906d1471430cb794ffb575ce908:36
ss7proI'am looking for a tree where I can download those files08:36
*** dillon-w has joined #openstack-dev08:36
*** tomoe_ has quit IRC08:37
comstudthat commit is in master08:37
ss7proBut those files are not present in master ;(08:38
comstudyeah08:38
comstudthings have changed a lot since 2 months ago :)08:38
*** bepernoot has joined #openstack-dev08:38
openstackgerritVerification of a change to openstack/nova failed: Fixes cloudpipe extension to work with keystone  https://review.openstack.org/452608:38
ss7proBut ubuntu is shipping those files in latest packages for precise08:39
comstudah08:39
ss7proAnd I can't find any logs where those files where droped08:39
ss7proin master08:39
comstudthis might have split into python-keystoneclient08:40
comstudi don't know enough to say08:40
comstudtrying to look08:40
*** jaypipes has joined #openstack-dev08:41
comstudah08:42
comstudthings were refactored into keystone/cli.py08:42
ss7prothanks :-)08:43
ss7proso ubuntu is shipping old code J08:43
comstudbut i'm not sure everything is there you're looking for08:43
ss7proin their precise release J08:43
ss7prothat's all :-)08:43
comstudwell, keystone was essentially completely rewritten08:43
comstudand replaced recently08:43
ss7proI'am building own openstack packages08:43
ss7probased on ubuntu sources08:43
ss7proand I was wondering why there's a difference08:43
ss7proin code :-)08:43
ss7pronow everything is clear for me :-)08:44
comstudyeah... a re-write was merged very recently08:44
ttxss7pro: they are working on updating that08:44
comstudto hit essex-408:44
ttx(ubuntu)08:44
ss7prosure but that's strange that they are shipping in precise code which is older than in oneiric08:45
ttxss7pro: they are not08:45
comstudttx: know anything about the nova-unittests gate being broken?08:45
ss7prottx: keystone in precise is older then that one in oneiric08:45
ss7pro:-)08:45
ss7proofcourse in ppa08:45
ttxss7pro: I doubt that08:45
ttxkeystone | 1.0~d4~20110909.1108-0ubuntu3.1 | oneiric-updates/universe | source, all08:45
ttxkeystone | 2012.1~e4~20120203.1574-0ubuntu3 | precise/universe | source, all08:46
comstudmtaylor: gate-nova-unittests issues? https://jenkins.openstack.org/job/gate-nova-unittests/1217/console08:46
*** shevek__ has joined #openstack-dev08:46
comstudjeblair: ^^08:47
ss7prokeystone (2012.1~e4~20120224.2023-0ubuntu0ppa1~oneiric1) oneiric; urgency=low08:47
*** hashar has joined #openstack-dev08:47
*** bepernoot has quit IRC08:47
ttxss7pro: this one is not official "ubuntu"...08:47
*** bepernoot has joined #openstack-dev08:48
ttxss7pro: and that same PPA ships a precise package08:48
ttxso it's not "precise ships older than oneiric", it's "ppa ships newer than official"08:49
ttxwhich is quite understandable.08:49
ss7prottx you're right08:50
ss7pro:-)08:50
ttxss7pro: that said... they should definitely update their "official" precise package :)08:50
ttxss7pro: if they haven't, it's probably because that pckage in PPA is not nearly as usable as it seems to be08:51
mtaylorcomstud: looking09:03
comstudmtaylor: thnx09:03
openstackgerritVerification of a change to openstack/nova failed: Fixes cloudpipe extension to work with keystone  https://review.openstack.org/452609:06
*** ghe_rivero has quit IRC09:07
comstudthat's not actually the review i care about09:07
comstudi happened to paste the link from the wrong review, but.. same error09:07
mtaylorcomstud: yup. should be fixed now - retriggered. sorry bout that - collateral damage from a keystone thing09:07
*** ghe_ has joined #openstack-dev09:07
comstudok09:08
mtaylorcomstud: ok. I'll re-kick the other one too09:08
*** dillon-w has quit IRC09:08
comstudthanks09:08
mtaylorcomstud: can you paste me the one you do care about?09:08
comstudhttps://jenkins.openstack.org/job/gate-nova-unittests/1216/09:08
comstudwhoops09:08
comstudlol09:09
comstudhttps://jenkins.openstack.org/job/gate-nova-unittests/1217/09:09
comstudsorry, too many emails and i'm not paying attention09:09
comstudargh09:09
comstudthat's still not it09:09
comstudoh wait09:09
comstudall of those were it09:09
comstudi guess vish has a pep8 error too09:09
comstudah, same error on the pep8 gate09:10
* comstud thinks he should go to bed09:10
mtayloryup. both re-kicked09:10
comstudanyways, thanks :)09:10
vishyi don't seem to get pep8 running locally09:11
*** darraghb has joined #openstack-dev09:11
comstudvishy: yeah, it's the gate09:11
vishybuilder just having trouble?09:11
vishyah ok09:11
comstudi didn't know that gate was broken also09:11
comstudshould go thru soon09:11
comstudthen I can rebase my fix09:11
comstudyou won the race ;(09:12
comstudvishy: hopefully you're cool with this too: https://review.openstack.org/#change,462409:12
vishycomstud: does that actually work?09:13
comstudthe renames?09:13
vishycomstud: no need to do fancy stuff for sqlite?09:13
comstudthe migration test passes09:14
vishycool09:14
comstudand i tested with mysql also09:14
comstud(up and down)09:14
*** ss7pro has quit IRC09:15
comstudthnx09:15
*** paulormg has joined #openstack-dev09:20
*** anotherjesse has joined #openstack-dev09:24
*** anotherjesse has quit IRC09:25
*** eglynn has joined #openstack-dev09:30
*** derekh has joined #openstack-dev09:34
* mtaylor is happy to see that he is not the only crazy person still awake09:35
mtaylorcomstud, vishy: gate should be fixed09:35
vishygratzi09:35
comstudmtaylor: yep.. it is.. thnx!09:37
comstudi'm out.. later dudes09:37
*** adjohn has quit IRC09:37
*** rbasak has joined #openstack-dev09:38
*** vizsla has quit IRC09:43
*** zigo has quit IRC09:47
*** hashar_ has joined #openstack-dev09:57
*** hashar_ has joined #openstack-dev09:57
*** hashar has quit IRC09:59
*** hashar_ is now known as hashar09:59
*** Mandell has quit IRC09:59
*** bencherian has quit IRC10:04
*** Mandell has joined #openstack-dev10:08
*** adrian17od has joined #openstack-dev10:28
*** hashar has left #openstack-dev10:29
*** kbringard has joined #openstack-dev10:42
*** armaan has joined #openstack-dev10:42
*** sleepsonthefloo has quit IRC10:46
*** oneiroi has joined #openstack-dev10:49
*** Mandell has quit IRC11:02
*** kbringard has quit IRC11:10
*** kbringard has joined #openstack-dev11:10
*** rods has joined #openstack-dev11:20
*** rods_ has joined #openstack-dev11:22
*** rods has quit IRC11:25
*** CatKiller has joined #openstack-dev11:28
*** pixelbeat has joined #openstack-dev11:40
*** maploin has joined #openstack-dev11:41
*** maploin has quit IRC11:41
*** maploin has joined #openstack-dev11:41
*** bsza has joined #openstack-dev11:47
*** mjfork has joined #openstack-dev11:47
*** pixelbeat has quit IRC11:49
*** pixelbeat has joined #openstack-dev11:50
*** apevec has joined #openstack-dev11:51
*** rkukura has left #openstack-dev11:52
*** bepernoot has quit IRC12:01
*** bepernoot has joined #openstack-dev12:03
*** bepernoot has quit IRC12:04
*** zigo has joined #openstack-dev12:09
*** rods_ has quit IRC12:10
*** adrian17od has quit IRC12:15
*** armaan has left #openstack-dev12:20
*** paulormg has quit IRC12:22
*** zigo has quit IRC12:25
*** markvoelker has joined #openstack-dev12:39
*** sandywalsh has quit IRC12:55
*** bepernoot has joined #openstack-dev12:58
*** dprince has joined #openstack-dev13:01
*** zigo has joined #openstack-dev13:03
*** bepernoot has joined #openstack-dev13:05
*** bepernoot has quit IRC13:06
*** vizsla has joined #openstack-dev13:11
*** bepernoot has joined #openstack-dev13:11
*** andrewsmedina has joined #openstack-dev13:13
*** stuntmachine has joined #openstack-dev13:16
*** stuntmachine has quit IRC13:21
*** ayoung has quit IRC13:23
*** ches has quit IRC13:26
*** ches has joined #openstack-dev13:27
*** mdomsch has quit IRC13:34
*** stuntmachine has joined #openstack-dev13:44
*** mattray has joined #openstack-dev13:51
*** zigo has quit IRC13:53
*** davidkranz has joined #openstack-dev13:54
*** littleidea has joined #openstack-dev13:57
*** bepernoot has joined #openstack-dev13:59
*** lts has joined #openstack-dev14:06
*** ayoung has joined #openstack-dev14:24
*** dtroyer has joined #openstack-dev14:27
*** mikemowgli has joined #openstack-dev14:28
*** paulormg has joined #openstack-dev14:32
*** dneary has joined #openstack-dev14:35
*** hashar has joined #openstack-dev14:39
*** rkukura has joined #openstack-dev14:40
jaypipeseglynn: https://review.openstack.org/#change,435014:44
jaypipeseglynn: if you could give that a quick once-over?14:44
eglynnjaypipes: yep, will do now14:44
jaypipesbcwaldon: ^^ u too :)14:44
jaypipeseglynn: ah, cheers mate14:44
*** mdomsch has joined #openstack-dev14:57
*** dayou has quit IRC15:02
openstackgerritVerification of a change to openstack/glance failed: Allow region selection when using V2 keystone  https://review.openstack.org/435015:03
*** bepernoot has quit IRC15:03
openstackgerritA change was merged to openstack/nova: Handle case where instance['info_cache'] is None  https://review.openstack.org/462315:04
*** popux has joined #openstack-dev15:09
*** zzed has joined #openstack-dev15:13
*** danwent has joined #openstack-dev15:18
*** emmasteimann has joined #openstack-dev15:18
*** bepernoot has joined #openstack-dev15:20
*** andrewbogott has quit IRC15:21
*** andrewbogott has joined #openstack-dev15:21
*** emmasteimann has quit IRC15:22
*** popux has quit IRC15:23
*** mdomsch has quit IRC15:23
*** andrewsmedina has quit IRC15:23
*** dprince has quit IRC15:23
*** tryggvil has quit IRC15:23
*** TREllis has quit IRC15:23
*** tserong has quit IRC15:23
*** Vek has quit IRC15:23
*** ttx has quit IRC15:23
*** ogelbukh has quit IRC15:23
*** aa has quit IRC15:23
*** ttx has joined #openstack-dev15:23
*** ttx has quit IRC15:23
*** ttx has joined #openstack-dev15:23
*** dprince has joined #openstack-dev15:23
*** popux has joined #openstack-dev15:23
*** TREllis has joined #openstack-dev15:23
*** tserong has joined #openstack-dev15:23
*** Vek has joined #openstack-dev15:23
*** ogelbukh has joined #openstack-dev15:24
*** mdomsch has joined #openstack-dev15:24
*** Yak-n-Yeti has joined #openstack-dev15:25
*** davidkranz has quit IRC15:26
*** bepernoot has quit IRC15:26
*** Yak-n-Yeti has quit IRC15:27
*** nati has joined #openstack-dev15:29
*** dtroyer has quit IRC15:29
*** dolphm has joined #openstack-dev15:29
*** danwent has quit IRC15:30
jaypipesnati: so, I figured out the glance index problem...15:34
natijaypipes: Cool. What's the matter?15:34
jaypipesnati: it's a perfect storm of issues: devstack's keystone_data.sh removed the call to add a servicetoken in a recent commit and the keystone-manage CLI command to add a token (token add) was removed from that tool, and there is no way to add a service token now other than manually inserting a record into MySQL :(15:35
jaypipesThis is absolutely NOT a good thing the day before E4 is supposed to be rolled out. :(15:35
natiLet's me confirmed, is this devstack issue or keystone cli change issue?15:36
natiIt sounds there is no add service token cli in current keystone15:37
jaypipesit is both.15:37
jaypipesnati: https://github.com/openstack-dev/devstack/commit/d1f5243d91de2756fecd52c3b3a15a4f0a488fdf15:38
jaypipesnati: notice that removed the call to keystone-manage token add (near end of commit)15:38
jaypipesnati: well, unfortunately, around the time of this commit, the ability to add a long-lived token was just entirely removed from the keystone-manage utility and not replaced with any other functionality in keystoneclient! :(15:39
natiAhhh, so glance it self use long-lived token15:40
natiSome changes also needed for essex glance?15:40
jaypipesnati: nope, Glance isn't the problem (and neither is the auth_token middleware)15:41
natiI have one more puzzle.  glance client can take username and password option15:41
natiIt sounds, keystone changes the design15:41
jaypipesnati: the problem is that one cannot add a long-lived token anymore :( and glance uses that (-A <TOKEN> is the service token.15:41
natiYes. so keystone changes the design to remove long-lived token function15:42
jaypipesyes, glance can still take user/password. In that case, the auth_token middlware uses that user/pass to request a SHORT-lived token from keystone to use15:42
jaypipesdolphm: is that true? no more long-lived service tokens?!15:42
natijaypipes: Do glance-api use long-time token?15:43
jaypipesnati: absolutely.15:44
jaypipesnati: to talk with glance-registry15:44
jaypipesnati: sorry, no, that's not the case... I meant Nova talking with Glance API15:44
natiSO that's why the nova image-list stops after I issue glance command.15:45
natiMay be token is updated15:45
natiIf keystone remove longtime token function, many changes needed for each project15:46
*** berendt has quit IRC15:47
jaypipesnati: yes, exactly, which is why I've labeled both related bugs Critical...15:48
jaypipesnati: it's essentially stopped my Essex upgrade testing in its tracks :(15:48
natiDejavu...15:52
* ttx tries to stay calm15:52
*** Gordonz has joined #openstack-dev15:52
*** sandywalsh has joined #openstack-dev15:52
*** bepernoot has joined #openstack-dev15:54
*** aweiss has joined #openstack-dev15:56
*** bepernoot has joined #openstack-dev16:00
*** hhoover has joined #openstack-dev16:08
*** hub_cap has joined #openstack-dev16:08
*** vladimir3p has joined #openstack-dev16:11
*** danwent has joined #openstack-dev16:11
*** griff has joined #openstack-dev16:13
*** griff is now known as jdg16:13
*** Yak-n-Yeti has joined #openstack-dev16:15
andrewbogottCan EC2 metadata be used to communicate with an instance while its running?  Or can it only be set on startup?16:16
*** vladimir3p has quit IRC16:17
*** aweiss has quit IRC16:19
*** cp16net has joined #openstack-dev16:19
*** aweiss has joined #openstack-dev16:20
*** reed has quit IRC16:21
*** popux has quit IRC16:21
YorikSarWhy is IPv6 verified even if it is not supported py the system?16:24
apevecjaypipes,16:24
apevecjaypipes, sorry for asking, but could you check admin_token is set in glance config?16:24
jaypipesapevec: set to servicetoken.16:25
apevecdprince, are you watching bug 942247 - that's your code in backtrace :)16:25
uvirtbot`Launchpad bug 942247 in keystone "Admin token auth completely broken" [Critical,Confirmed] https://launchpad.net/bugs/94224716:25
jaypipesapevec: the problem is that keystone no longer has any way to add a long-lived token :(16:25
apevecyeah, that needs to be fixed16:25
jaypipesapevec: yeah, like right now :)16:26
apevecI just don't see why you get into this codepath shown in backtrace16:26
apevecthat's what dprince added, when you don't want to set admin_token16:26
jaypipesapevec: no idea. should return a 404.16:27
YorikSarAnd one more question - is there any SQLAlchemy guru around?16:27
jaypipesapevec: for the Not Found token...16:27
* dprince dprince feels blamed16:27
dprinceapevec: looking now! :)16:27
jaypipesdprince: it's not your fault at all, dude16:27
*** bencherian has joined #openstack-dev16:28
andrewbogottsmoser (or, really, anyone):   I'm confused by this doc page: http://docs.openstack.org/api/openstack-compute/2/content/MetadataSection.html  <- that implies that metadata can be changed after an instance is running.  But I have the impression from reading elsewhere that metadata is fixed as of instance startup.  Am I confusing two kinds of metadata?16:29
*** andrewsmedina has joined #openstack-dev16:30
annegentleandrewbogott: hm. Possibly that is a spec document, as in, it should work that way (you should be able to change instance metadata) but it's not implemented yet? bcwaldon may know.16:30
*** bsza has quit IRC16:31
*** PotHix has joined #openstack-dev16:32
jaypipesjeblair: many thanks for those two stable branches. w00t.16:33
jeblairjaypipes: no problem!16:35
dprinceapevec/jaypipes: just read over the ticket. Doesn't look like the root cause was the admin_pass middleware change... but as was pointed out we should handle the error case a bit better. Not throwing a KeyError if the JSON doesn't exist or match what we think it should.16:35
jaypipesdprince: right.. not the root cause, but would be helpful..16:35
dprincedprince: I can at least do that... Let me see if ben is working on it.16:35
jaypipesjeblair: FYI, all devstack-vm jobs are going to fail until the above bug 942247 bug is fixed (and the related bug 942684) :(  You will see crap like this: https://jenkins.openstack.org/job/gate-integration-tests-devstack-vm/1905/console16:36
uvirtbot`Launchpad bug 942247 in keystone "Admin token auth completely broken" [Critical,Confirmed] https://launchpad.net/bugs/94224716:36
uvirtbot`Launchpad bug 942684 in keystone "keystone_data.sh no longer adding service token - No CLI command to add a token" [Critical,Confirmed] https://launchpad.net/bugs/94268416:36
*** nati has quit IRC16:36
jaypipesdprince: talkin' to yo'self agin'? ;P16:36
dprincejaypipes: apparently so!16:37
* dprince dprince gets lonely16:37
jaypipesdprince: I'll update the description of 942247 to talk about the KeyError...16:37
jaypipesdone..16:38
dprincegrue: are you working on this? ^^^ I'm going to jump in and fix this KeyError....16:38
*** aweiss has quit IRC16:39
*** kbringard has quit IRC16:39
*** heckj has joined #openstack-dev16:40
*** tryggvil_ has joined #openstack-dev16:42
*** kbringard has joined #openstack-dev16:43
*** maplebed has joined #openstack-dev16:43
*** maplebed_ has joined #openstack-dev16:44
*** apevec has quit IRC16:45
jaypipesheckj: time to talk, my friend :)16:46
heckjjaypipes: word16:46
*** maplebed is now known as Guest2761216:47
*** maplebed_ has quit IRC16:48
*** maplebed_ has joined #openstack-dev16:48
*** Guest27612 has quit IRC16:48
*** maplebed_ is now known as maplebed16:48
*** kbringard has quit IRC16:48
*** kbringard has joined #openstack-dev16:51
*** andrewbogott is now known as andrewbogott_afk16:52
*** jdg has quit IRC16:53
*** oneiroi has quit IRC16:53
*** jdg has joined #openstack-dev16:54
ayoungheckj, I want to default a boolean value out of the Keystone config file.  Is there a clean way to do that?16:56
ayoungMost places do something like16:57
ayoungself.object_class = (getattr(conf.ldap, objclass)16:57
ayoung                                 or self.DEFAULT_OBJECTCLASS)16:57
ayoungBut I don't think that works with Boolean values,  as they get defaulted to False16:57
eglynnbcwaldon: if you get a chance, could you cast your eye over the latest patch set on https://review.openstack.org/#change,4602 ?16:58
* eglynn would like to get the fix merged before the E4 proposed-milestone branch is cut ...16:59
dprincejaypipes/apevec: https://review.openstack.org/#change,463416:59
dprinceapevec: Thanks for pointing that out to me.17:00
*** maploin has quit IRC17:00
*** pixelbeat has quit IRC17:01
*** cdub has quit IRC17:07
*** derekh has quit IRC17:08
*** cdub has joined #openstack-dev17:09
*** Mandell has joined #openstack-dev17:09
*** andrewsben has joined #openstack-dev17:10
*** reed has joined #openstack-dev17:10
*** dalang has joined #openstack-dev17:14
*** eglynn has quit IRC17:14
heckjdprince: question for you - if the admin_token is specified in the config, doesn't it route entirely around that code (i.e. https://github.com/openstack/keystone/blob/master/keystone/middleware/auth_token.py#L270)?17:16
heckjdprince: from what I've heard from jaypipes, it's routing into that code, even though it's defined. Haven't tracked that down myself, but found it confusing.17:17
dprinceheckj: yes.17:17
dprinceheckj: the root cause of the devstack failure is that it isn't setting admin_token to begin with.17:18
dprinceheckj: since it wasn't getting set the get_admin_token method is getting called... causing the KeyError.17:18
*** crobinso has joined #openstack-dev17:18
heckjdprince: in the config file, or on the command line? jay indicated that when he invoked glance with the "-a" option (which I'm assuming sets the admin_token) it's getting set. Digging in there make sense?17:19
heckjdprince: reviewed https://review.openstack.org/#change,4634 - want another set of eyes, but looks good17:19
dprinceheckj: Not sure if it is the config file or command line.17:21
dprinceheckj: Thanks.17:21
heckjdprince: wrong way - thank you!17:22
*** dtroyer has joined #openstack-dev17:24
*** hashar has quit IRC17:29
*** bepernoot has joined #openstack-dev17:30
*** bepernoot has quit IRC17:36
*** dneary has quit IRC17:48
*** jdurgin has joined #openstack-dev17:53
*** zns has joined #openstack-dev17:56
*** Ryan_Lane has joined #openstack-dev17:58
andrewbogott_afkbcwaldon, do you know the answer to my metadata question?  (In the backscroll)17:59
*** bepernoot has joined #openstack-dev18:01
* YorikSar waiting for nova ipv6 or SQLAlchemy guru to appear18:01
*** HugoKuo_ has joined #openstack-dev18:01
*** andrewbogott_afk is now known as andrewbogott18:02
*** shevek__ has quit IRC18:04
*** hugokuo has quit IRC18:05
heckjttx: ping - you around?18:05
*** jdg has quit IRC18:06
westmaasandrewbogott: you can change metadata after the instance is started18:06
westmaasvia os api, that is18:06
andrewbogottwestmaas:  And the instance has access to those changes?18:06
westmaasthis metadata is different than the data available in the ec2 metadata service18:07
andrewbogottAhah!  That is my confusion.18:07
westmaasso yes, but you need an api key, etc to access it.18:07
*** dalang has quit IRC18:07
YorikSarvishy, bcwaldon, clayg and anyone interested: Volume API and Volumes extension unification here: https://review.openstack.org/463318:07
*** gyee has joined #openstack-dev18:07
*** jdg has joined #openstack-dev18:08
andrewbogottwestmaas:  Hang on, not sure I understand.  1) ec2 metadata is can only be set at startup, correct?18:08
znsttx?18:09
westmaasandrewbogott: I believe so, but honestly I'm not sure.18:09
andrewbogott2)  There's another kind of data ('nova metadata'?)  That can be changed at runtime.  But to access that data the instance needs to communicate with the nova server via the nova api <- ?18:09
westmaasyes on 218:10
westmaasnova meta data is a bit more outward facing than ec2 metadata, I would say, at least in its current implementation.18:10
andrewbogottHaving an instance talk to the nova api is unusual isn't it?  Or are there services/established patters for setting that access up automatically?18:11
*** RobertLaptop has joined #openstack-dev18:12
*** RobertLaptop has left #openstack-dev18:12
*** jakedahn has joined #openstack-dev18:13
westmaasandrewbogott: yeah, its not an ideal method for getting that data to the server, as it would mean giving full access to the account to anything on that server.18:13
andrewbogottok.18:13
andrewbogottMostly, knowing that the 'metadata' in that doc is different from ec2 metadata is what I needed.  Thanks, westmaas.18:13
westmaasdepends what you are trying to do exactly, but if you only want to use the OS API, you might try doing file injection to get the data that you need on the server.18:14
andrewbogottIsn't file injection also only at startup?18:15
westmaasyes, that is only at startup, heh18:16
*** davidkranz has joined #openstack-dev18:17
*** bengrue has joined #openstack-dev18:18
*** bepernoot has quit IRC18:18
*** zns1 has joined #openstack-dev18:22
*** zns has quit IRC18:23
*** dalang has joined #openstack-dev18:25
*** joesavak has joined #openstack-dev18:25
jaypipesheckj: narrowing things down... almost there I think with the auth_token stuff18:25
*** AlanClark has joined #openstack-dev18:28
*** eglynn has joined #openstack-dev18:29
*** mjfork has quit IRC18:29
jaypipesdprince, heckj: OK, yeah, so here's why the _get_admin_auth_token() was a bit confusing... what is happening is that the admin token is indeed set to the correct admin_token from the config file during __init__(). However, because no such token was ever added to Keystone (the call to add a service token was removed from keystone_data.sh), that means that the initial call to GET /v2.0/tokens/<SERVICE_TOKEN> (line 285 i18:31
jaypipesn auth_token middleware) returns a 404 Not Found, which then goes to line 293, where the middleware then sets self.admin_token = None and retries _validate_claims(), which then hits the get_admin_auth_token() routine and bombs out on the KeyError...18:31
dprincejaypipes: Sure. That should be better with my branch right? I mean you will now just get a 404 right?18:32
jaypipesdprince: well, I'm actually not sure what else to do at this point, since the root of the issue is that there are no longer any long-lived tokens18:33
dprincejaypipes: use admin_password and admin_username?18:33
dprincejaypipes: If we switch devstack over to take advantage of that feature it should run fine.18:33
dprincejaypipes: Want me to throw up a changeset to do that?18:34
jaypipesdprince: one sec18:34
*** armaan has joined #openstack-dev18:34
jaypipesdprince: running one more experiment...18:36
*** mnewby has joined #openstack-dev18:36
*** mjfork has joined #openstack-dev18:38
*** zul has quit IRC18:38
*** zns1 is now known as zns18:38
bengrue.18:39
*** novas0x2a|laptop has joined #openstack-dev18:39
*** bepernoot has joined #openstack-dev18:41
*** darraghb has quit IRC18:42
*** jakedahn has quit IRC18:48
*** jakedahn has joined #openstack-dev18:48
*** zul has joined #openstack-dev18:50
*** bencherian has quit IRC18:50
*** ncode has joined #openstack-dev18:52
*** jakedahn has quit IRC18:53
*** bepernoot has quit IRC18:53
*** anotherjesse has joined #openstack-dev18:54
*** anotherjesse has left #openstack-dev18:54
*** jakedahn has joined #openstack-dev18:54
*** anotherjesse has joined #openstack-dev18:54
*** jakedahn has quit IRC18:57
jaypipesdprince: ugh, I'm at the end of my rope with this auth_token middleware... I added admin_user and admin_password to the glance-api-paste.ini filter:authtoken section. Then, when I did a glance index -A servicetoken, now instead of the KeyError I get an Unauthorized, yet if I issue a call to POST /v2.0/tokens with the admin user and pass, get a token, and do glance index -A THATTOKENID, it works fine. Very frustrating,18:59
jaypipes as there's no insight inside the middleware what's happening. Just have to add random raise Exception()s in there to try and glean what is going on.18:59
jaypipeshistory | grep mysql19:00
dprinceHmm.. Can you paste your config file?19:00
jaypipesgah, wrong computer...19:00
dprincejaypipes: paste your config file?19:00
jaypipesdprince: config file or paste ini for glance?19:00
dprincedprince: paste ini19:00
jaypipesk, one sec.19:00
jaypipesdprince: http://paste.openstack.org/show/534319:01
*** hub-cap has joined #openstack-dev19:01
dprincejaypipes: Looks fine. When did it start failing for you? Today?19:02
dprinceOr last night?19:02
jaypipesdprince: not quite sure... been a while since I had run tempest, and then I pulled new devstack couple days ago and nothing's worked since..19:03
*** joesavak has quit IRC19:04
jaypipesespecially weird is there's no tokens in the keystone database at all now... and I *just* used one successfully...19:04
anotherjessejaypipes: in old keystone the "service token" was a hack19:05
anotherjesseit was a regular token that was treated special by users19:05
*** joesavak has joined #openstack-dev19:05
dprincejaypipes: is your keystone installation using a 'sql' (database) backend. Or a key value store?19:05
jaypipesanotherjesse: hey, I just need stuff to work. Right now, nova image-list and anything glance-related is entirely broken.19:05
*** hub_cap has quit IRC19:05
*** hub-cap is now known as hub_cap19:05
jaypipesdprince: hmm, lemme double check...19:05
dolphmjaypipes: in the current keystone, i don't think the admin token is stored in a backend19:06
anotherjesseright - the service token is specified in a config19:06
termieit isn't, it isn't a real token in that it isn't attached to any users19:06
dprincedolphm: right. Its in the config.19:06
termieit is just admin rights to perform aftions19:06
termiesuch as make a user19:06
*** vizsla has quit IRC19:07
jaypipeswell, what used to be working is now not working at all...19:07
termiewhich, i think, was one reason why people wanted to switch to user/pass for an admin user19:07
termiejaypipes: those statements aren't the most helpful, do you know what it used to be doing?19:08
termiejaypipes: or what the code isi trying to do with it?19:08
jaypipeshttps://bugs.launchpad.net/devstack/+bug/94268419:08
termiejaypipes: does it work with a username and password?19:08
anotherjessejaypipes: it used to do a hack, which was treat the service token as a user token just because it didn't exist yet19:08
uvirtbot`Launchpad bug 942684 in keystone "keystone_data.sh no longer adding service token - No CLI command to add a token" [Critical,Confirmed]19:08
jaypipeshttps://bugs.launchpad.net/keystone/+bug/94224719:09
uvirtbot`Launchpad bug 942247 in keystone "auth_token middleware should properly handle KeyError" [Critical,In progress]19:09
termiejaypipes: while those bugs may seem related, i don't think they are19:09
*** hub_cap has quit IRC19:09
*** jakedahn has joined #openstack-dev19:09
*** hub_cap has joined #openstack-dev19:10
*** ncode has quit IRC19:10
termieor rather "handling of keyerror"19:10
anotherjessejaypipes: keystone wasn't supposed to have the nova service validate as if it was the keystone admin user19:10
anotherjessejaypipes: it was supposed to have service tokens - but it wasn't implemented until redux19:10
jaypipestermie, anotherjesse: bottom line is I used to be able to do: glance index -A SERVICETOKEN, and now I can't.19:11
anotherjessejaypipes: what is expected if you use servicetoken to communicate to glance?19:11
termiejaypipes: what does glance index do?19:11
anotherjesseas a user why would you use the service token?19:11
jaypipesanotherjesse: and nova image-list is broken, which means every devstack-vm test run in Jenkins is borked.19:11
anotherjessejaypipes: the tests all run as a user - not with the service token19:11
anotherjessejaypipes: so they get a user token19:11
jaypipesanotherjesse: how does nova communicate with glance (as an admin?)19:12
anotherjesseit doesn't19:12
anotherjesseit uses the calling user's token19:12
jaypipesanotherjesse: then how do I communicate with glance as an admin (i.e. do admin things... see all imaghes, etc)19:12
anotherjesseuse an admin user?19:13
jaypipesugh19:13
anotherjesseservice tokens are for services to validate tokens19:13
anotherjessethey weren't meant to do anything else19:13
anotherjessein legacy the fact that they were attacked to a user was a hack19:13
anotherjessejaypipes: what is the ugh?19:13
anotherjessetrying to help here19:14
jaypipesanotherjesse: the ugh is the fact that right now no code can get into any of the trunks because nova image-list and glance index -A <SERVICETOKEN> doesn't work.19:14
*** jakedahn has quit IRC19:14
jaypipesanotherjesse: and it *was* working until recently.19:14
anotherjessejaypipes: they work for me with a user token19:14
*** jakedahn has joined #openstack-dev19:14
*** Gordonz has quit IRC19:15
termieand our code (keystone) uses the same gates, right?19:15
jaypipestermie: I don't understand what you're asking.19:16
jaypipeshttps://jenkins.openstack.org/job/gate-integration-tests-devstack-vm/1905/console19:16
*** Gordonz has joined #openstack-dev19:16
jaypipesthe above is what is being hjit...19:16
anotherjessejaypipes: http://paste.openstack.org/show/5346/19:16
jaypipesbecause KeyError stacktraces are being dumped by the auth_token middleware.19:16
termiejaypipes: i think keystone uses that same test, but i feel like our code has been going in19:16
anotherjessejaypipes: if you send the service token to glance as a user, then it will fail becauase there is no user/tenant associated with the service token (there is a bug that there is a stacktrace)19:17
*** sandywalsh has quit IRC19:18
anotherjessejaypipes: I think I see the bug with glance -A token19:20
jaypipesanotherjesse, termie: I think I am understanding better now...19:21
anotherjessejaypipes: there is an issue with token based auth when you send in a tenant19:21
anotherjesseI'm updating the bug with it19:22
jaypipesanotherjesse: I'm just frustrated because there was no communication (at least as far as I can tell) that the functionality of the service token was going away or changing... there are docs, etc, in glance that need to change because of these changes19:22
anotherjessejaypipes: the service token was never doc'd to be a user token19:22
anotherjesseit was supposed to be different19:22
termiejaypipes: in our defense, as far as we knew we were implementing what the docs said19:22
anotherjesseit was another example of docs and reality not being at the same place19:22
jaypipesanotherjesse: http://glance.openstack.org/authentication.html19:23
jaypipesanotherjesse: that was what I was going from... clearly I think you can tell that at a minimum the "how to set up authh in the server" won't work now that you also need admin_user/admin_pass in the authtoken filter section19:24
anotherjessejaypipes: you don't19:24
jaypipes"The admin_token variable specifies the administrative token that Glance uses in its query to the Keystone Admin service."19:24
anotherjessethe admin_user/pass shouldn't be needed - I'm uncertain of why it should even exist19:25
anotherjessebut let's take this 1 step at a time19:25
anotherjessewe have 2 bugs:19:25
anotherjesse1) tracebacks!19:25
anotherjesse2) the flow of sending a token doesn't work19:25
dprinceanotherjesse: I think my branch fixes the traceback.19:26
termiejaypipes: for my own sanity, when you say all projects can't commit code because of this test: https://jenkins.openstack.org/job/gate-integration-tests-devstack-vm/19:27
termiejaypipes: were you refering to something else? it appears to be passing most of the time so i am little confused19:28
*** bencherian has joined #openstack-dev19:28
jaypipestermie: my apologies.19:28
*** jog0 has joined #openstack-dev19:28
jaypipestermie: I'm confusing clearly not being able to get passed this in my testing with blocking trunk gates19:29
jaypipess/passed/past19:29
*** shevek__ has joined #openstack-dev19:29
termiejaypipes: okies, was worried that there was some other factor at play that i wasn't aware of19:29
anotherjessetermie/jaypipes/dprince for those who want to follow along I think this is the steps? https://bugs.launchpad.net/keystone/+bug/94283819:29
uvirtbot`Launchpad bug 942838 in keystone "using glance with token auth doesn't work" [Undecided,New]19:29
jaypipestermie: no... just that nati and I have been completely dead in the water in our Essex upgrade testing of TryStack because we can't figure this stuff out.19:30
*** adjohn has joined #openstack-dev19:32
termiejaypipes: got it, well hopefully we can get it resolved quickly then19:32
dprinceanotherjesse: Are you taking that ticket then?19:32
YorikSarbcwaldon: around?19:32
dprinceanotherjesse: Or should someone else jump in?19:33
bcwaldonYorikSar: yep19:33
jaypipesdprince: I think it's a different ticket now :)19:33
anotherjessedprince: I think we can get it - just want to make sure we have the correct repo steps19:33
dprincejaypipes: gotcha. I meant the one Jesse just filed.19:33
anotherjessejaypipes: I think you found 2 or 3 issues all at once - so once we get this resolved I need to look at your tickets19:33
anotherjessesince there will be other issues19:34
YorikSarbcwaldon: Which community did you suggest? This channel, today meeting or Thursday's meeting?19:34
jaypipesanotherjesse: so... looks like the issue it that the tenant returned in keystone token-get is incorrect?19:34
bcwaldonYorikSar: I was just going to let that comment sit for a little bit and poke a few people19:35
bcwaldonYorikSar: specifically the volumes community and vish19:35
anotherjessejaypipes: it is the tenant-id not the tenant-name :(19:35
anotherjessewhich is pretty ugly19:35
jaypipesanotherjesse: ah, doh. sorry.19:35
anotherjessenames are mutable - so shouldn't be used for reference19:36
YorikSarbcwaldon: Ok, I'll send my thoughts on this to Gerrit then19:36
*** hashar has joined #openstack-dev19:36
bcwaldonYorikSar: go for it19:36
jaypipesanotherjesse: did you see that the request body is wrong?19:37
anotherjesseyep19:37
jaypipesanotherjesse: k...19:37
anotherjessejaypipes: looking into that now19:37
anotherjesseI'll look to resolve this - regarding the traceback issue - dprince is there a review open?19:37
jaypipesanotherjesse: yes, there is.19:38
jaypipeshttps://review.openstack.org/#change,463419:38
*** jsavak has joined #openstack-dev19:38
jaypipesdprince: I think what I was saying in that review comment was that instead of returning None, could we raise the error that is returned (in Jesse's new bug, shows as Invalid user/password 401.19:39
*** sandywalsh has joined #openstack-dev19:39
*** joesavak has quit IRC19:40
dprincejaypipes: sure. I'd be fine with that.19:40
jaypipesanotherjesse, dprince, termie, heckj: and sorry to make such a kurfuffle about this...19:40
jaypipesdprince: cool, ty!19:40
anotherjessejaypipes: it is frsutrating :)19:40
anotherjesseunderstand19:40
jaypipesyeah, but I've made it more frustrating by getting on everyone's case... apologies.19:41
ttxzns: the E4 branch is not cut yet. It's EOB today (read: very early tomorrow)19:41
*** jsavak has quit IRC19:43
bcwaldonjeblair: could use some help debugging this failure: https://jenkins.openstack.org/job/gate-nova-unittests/1220/console19:43
*** joesavak has joined #openstack-dev19:44
jeblairbcwaldon: ack19:44
*** bepernoot has joined #openstack-dev19:44
bcwaldonjeblair: the change doesn't seem to be related to the failure19:44
anotherjessetermie: oddness - so now my glance index / nova list is doing the same thing19:45
bcwaldonjeblair: and this code has already make it into master, this is just a backport to diablo19:46
termieanotherjesse: i'm not following along at home19:46
termieanotherjesse: you seemed to have it under control19:46
termieanotherjesse: should i switch tracks?19:46
anotherjessetermie: ooh, so nova list was failing - and then when I restarted nova it started working again19:46
anotherjessenah19:46
anotherjesseI'm just rambling as I figure out19:46
jeblairmtaylor: ^19:46
jaypipesanotherjesse: did you figure out why it was failing?19:46
anotherjessenot yet - but I feel close19:46
anotherjessejaypipes: can you ctrl-c your glance-api and restart it19:47
anotherjesseit made it start working for me19:47
openstackgerritVerification of a change to openstack/keystone failed: Handle KeyError in _get_admin_auth_token.  https://review.openstack.org/463419:48
*** sandywalsh has quit IRC19:48
jaypipesanotherjesse: yeah, one sec19:48
*** sandywalsh has joined #openstack-dev19:49
anotherjessedprince: your verification failed due to python26/27 jobs19:50
*** jsavak has joined #openstack-dev19:51
jaypipesanotherjesse: everything seemingly working fine now... weird.19:51
dprinceanotherjesse: whatever does that mean?19:51
jaypipesanotherjesse: I'm thinking perhaps there is something to do with env variables being a bit wrong -- I know that we've gone through some renames of those variables...19:52
anotherjessejaypipes: I think it I know the issue19:52
jaypipesanotherjesse: please do tell :)19:52
anotherjessejaypipes: something causes an exception/validation to fail, which leads the auth_token middleware to try the admin user/pass to get a new token (it thinks it should try that)19:52
anotherjesse(which was added recently iirc)19:52
anotherjessewhich fails leaving it in an odd state19:53
jaypipesanotherjesse: yes, that's precisely the behaviour I've noticed.19:53
anotherjessestill investigating...19:53
jaypipesanotherjesse: but now that I've sourced openrc I can't seem to kill it again :)19:53
anotherjessedprince: what is the reasoning behind wanting admin_user/pass in the auth_middleware19:53
jaypipesgonna try from scratch and re-run stack.sh in a clean env19:53
anotherjessejaypipes: perhaps try sending an invalid token19:53
*** joesavak has quit IRC19:53
jaypipesanotherjesse: yeah...19:54
anotherjesseor invalid password19:54
*** jdg has quit IRC19:54
jaypipesanotherjesse: LOL. if I do glance index -A ASSBAG, it works still ;)19:54
jaypipeshow nice :)19:54
* annegentle snorts19:54
anotherjessejaypipes: my ASSBAG causes a stack exception19:55
jaypipesmust be picking up the user/pass in environs and ignoring the -A19:55
kbringardlol19:55
jaypipesanotherjesse: lol19:55
dprinceanotherjesse: well. When tokens expire this would just provide a way to refresh them.19:55
kbringardyou guys crack me up19:55
anotherjessejay started it!19:55
jaypipeshehe19:55
*** nati has joined #openstack-dev19:56
dprinceanotherjesse: That code has been sort of hanging around but not entirely implemented in auth_token for awhile. Do you you dislike?19:56
jaypipesanotherjesse: well, trying other (non -A) authentication options with various curse words seems to correctly spit back Not authorized errors, which is good...19:56
anotherjessedprince: I think it is the root of the issue is a mis-understanding of what the servicetoken/auth token is19:56
anotherjessedprince: in legacy keystone the "service token" (token used by auth_middleware in other services) was attached to a user and a regular token19:57
jeblairbcwaldon: so that's using novaclient 2.6.019:57
bcwaldonjeblair: oh, wow19:58
jeblairbcwaldon: because that's what's in pip-requires in nova's stable/diablo19:58
jeblairbcwaldon: it's worth noting that 2.6.0 appears to have a bug:19:58
jeblairbcwaldon:     Sorry: IndentationError: ('unindent does not match any outer indentation level', ('/home/jenkins/workspace/gate-nova-unittests/.venv/lib/python2.7/site-packages/novaclient/v1_1/servers.py', 152, 49, '   def create_image(self, image_name, metadata):\n'))19:58
*** gyee has quit IRC19:58
anotherjessedprince: it was always meant to eventually be different than a regular token (so you can attach additional information to it)19:58
bcwaldonjeblair: nice, well I think we can use latest novaclient19:59
bcwaldonjeblair: let me ask vishvananda19:59
anotherjessedprince: in keystone redux we followed the docs and made it a service token19:59
openstackgerritVerification of a change to openstack/glance failed: Disallow file:// sources on location or copy-from.  https://review.openstack.org/460219:59
jeblairbcwaldon: but based on everything else that's been going on, maybe ... yes what you just said.  :)19:59
anotherjessedprince: which doesn't timeout in the normal way - so getting a new token via admin user/pass isn't the same thing19:59
mtaylorbcwaldon: ok. good. I thought I'd broken something19:59
anotherjessedprince: given that service tokens now persist until the configuration is manually changed, should we roll back the admin user/pass thing?19:59
dprinceanotherjesse: Okay. So using a user/password for a service is now undesirable then? Seems like user/pass could just get back the special token and it would be fine?19:59
bcwaldonmtaylor: well you're not off the hoook yet, why did that keystone review fail?19:59
jaypipesanotherjesse: but there's no longer any need to keep track of the admin_token (in conf files), right? Just admin user and pass?20:00
*** dolphm has quit IRC20:00
anotherjessejaypipes: actually the goal is the oposite - not to put user/pass in the conf20:00
jaypipesanotherjesse: hmm...20:00
anotherjesseto put a service token - and eventually a different service token per service deploy20:00
dprincejaypipes: I think you are talking about keystone. In which case yes.20:01
*** jmckenty has joined #openstack-dev20:01
openstackgerritVerification of a change to openstack/glance failed: Disallow file:// sources on location or copy-from.  https://review.openstack.org/460220:01
anotherjessedprince / jaypipes - do either of you have a preference for user/pass instead of a token?20:01
anotherjessein the auth_middleware20:01
bcwaldonmtaylor: unittest jobs are blowing up with 'too many links'20:02
jaypipesanotherjesse: I think user/pass would make the whole thing more consistent.20:02
jaypipesanotherjesse: in other words, not storing the admin_token in conf files -- instead, using an admin user/pass (or service user/pass) in the conf files that retrieves a long-lived (24+ hours) token in the middleware and stores it in memory only.20:03
jaypipesanotherjesse: which is almost what is currently happening (only there is still the admin_token in conf files)20:03
jaypipesdprince: would the above meet your expectations as well?20:04
dprinceanotherjesse: long lived tokens seem problematic for same auth backends. That was the initial driver for user/password.20:04
dprincejaypipes: I think so.20:04
anotherjessedprince / jaypipes - our goal was to meet the spec and move away from the user/password hack20:05
anotherjessedprince / jaypipes: what if there was an api/... for listing service tokens20:05
*** rbasak has quit IRC20:05
dprinceanotherjesse: does this mean I implemented a hack?20:05
anotherjessedprince: ya20:06
jaypipesanotherjesse: heh, that would be fine, too... but we're supposed to release E4 tomorrow ;)20:06
* dprince hangs head20:06
anotherjesseoverriding the user model with "service" validation abilities is "ugly"20:06
mtaylorbcwaldon: ok. jkeystone is me20:06
*** rkukura has quit IRC20:06
bcwaldondprince: it'll be okay little guy20:06
anotherjessedprince: only you can save mankind!20:06
*** adjohn has quit IRC20:06
* heckj reads scrollback20:06
jaypipesanotherjesse: I think getting rid of the admin_token hack and keeping admin_user/admin_pass in the conf files only for Essex is a good goal, and adding API features to Identity in Folsom that would allow services to query for special service tokens20:06
dprincebcwaldon: I'm your senior. Please address me as sir!20:07
mtaylorbcwaldon: shold be fixed and re-triggered20:07
bcwaldondprince: you're not my real dad!20:07
*** troytoman-away is now known as troytoman20:07
anotherjessejaypipes: keeping in conf files is something new - it wasn't in diablo20:07
anotherjessejaypipes: keeping user/pass20:07
jaypipesanotherjesse: let's not discuss identity in Diablo :)20:07
anotherjessejaypipes: removing the admin user/pass is the cleanest thing for getting E4 done20:08
dprinceanotherjesse/jaypipes: I'm more concerned with the end user API not changing than I am with the service configs.20:08
anotherjesseand post E4 (either in an RC or folsom) we can add the ability to have multiple tokens20:08
jaypipesanotherjesse: honestly, I could go either way... as long as it's consistent -- in the conf files for all projects in the same way -- and it works, I think I'm good :)20:08
dprinceanotherjesse/jaypipes: But I could go either way as well. Don't want people to be unhappy on account of me.20:09
anotherjessedprince: I don't think having or not having the user/pass in service config changes the user API20:09
dprinceanotherjesse: Correct.20:09
dprinceanotherjesse: Which is why I wouldn't mind keeping it.20:10
dprinceanotherjesse: Sorry. Misworded that.20:10
anotherjessedprince: can you propose removing it (and write a patch)20:10
jaypipesanotherjesse: then I think removing the admin user/pass and using service_token ONLY in conf files is a good choice. (obviously refactoring the auth_token middleware in the process to remove the user/pass stuff in _get_admin_auth_token()?20:10
*** dwalleck has joined #openstack-dev20:11
jaypipesanotherjesse: PPB...20:11
anotherjessejaypipes: k - for folsom we will flesh out the service token stuff to have more20:11
jaypipesanotherjesse: ++20:11
anotherjessejaypipes: ya, tripple tasking :(20:11
jaypipesanotherjesse: ya, me too :)20:12
dprincewestmass: Please see ^^^^20:13
dprincewestmaas:20:13
dprinceanotherjesse: yes. I'll do it.20:13
anotherjessedprince: thanks!20:13
termiei'm going to walk to some coffee20:14
westmaasdprince: user/pass getting removed?20:14
termieIN CASE ANYBODY WAS WONDERING20:14
westmaastermie: thx20:14
dprincewestmaas: yes20:14
westmaashow do I get a new token?20:15
westmaasread this conversation?20:15
westmaas:)20:15
anotherjessewestmaas: why do you need a new token20:16
anotherjessewestmaas: the token is set in a config file and used until you restart20:16
anotherjessewith a new config20:16
termie... actually, it's cold out side, walk retracted20:16
westmaashow about when the token expires?20:16
openstackgerritVerification of a change to openstack/glance failed: Disallow file:// sources on location or copy-from.  https://review.openstack.org/460220:16
anotherjessewestmaas: the service token doesn't expire20:16
anotherjessewestmaas: in keystone legacy the service token was a repurposed user token20:17
anotherjessewestmaas: in redux it is a service token that lives until the operator decides to change it20:17
westmaasok.20:17
anotherjessewestmaas: we need to add the ability to have multiple service tokens (and an api for generating/...)20:17
* heckj finally catches up20:19
bcwaldonjeblair: are you looking into the 'too many links' issues w/ glance tests? https://jenkins.openstack.org/job/gate-glance-python27/50/console20:19
bcwaldonjeblair: can't remember20:19
heckjanotherjesse: thanks for helping drive out the details20:20
*** nati has quit IRC20:20
termieheckj: i'll vote for you if you vote for me :-*20:22
termieheckj: (just got the email to vote)20:22
heckjtermie: sounds good!20:22
heckjah, not yet - but I'm backlogged a bit20:22
termiebetter karma for both of us that way20:22
termiedizzone20:23
termiedevcamcar: did you really not do a candidate page?20:23
jakedahnlulz, i voted for devcamcar20:23
heckjtermie: he totally slacked on it20:23
heckjanotherjesse, jaypipes, termie, dprince - I create a blueprint to capture some of this scrollback related to service tokens and where we want to go for folsom.20:24
heckjanotherjesse: I "assigned" it to you, since you mediated this out - and as a placeholder so that I keep it around. :-)20:24
jaypipesheckj: cheers20:25
anotherjessedprince: if you haven't started yet20:28
vishyjohan_-_: saw that you assigned yourself the memory leak20:28
dprinceanotherjesse: I have... but whats up?20:28
openstackgerritVerification of a change to openstack/glance failed: Allow region selection when using V2 keystone  https://review.openstack.org/435020:28
*** nati has joined #openstack-dev20:29
vishyjohan_-_: it occurred to me the other day that we could probably just monkeypatch the DummyThread in eventlet while we wait for an upstream patch.20:29
ttxheckj: about your keystone meeting question -- E4 milestone-proposed branch will be cut EOB today (i.e. very early tomorrow US time)20:29
ttxheckj: so you still have a few hours for features :) Then it's only targeted bugfixes.20:30
heckjttx: thanks - caught that in the scrollback.20:30
jeblairbcwaldon: i can fix that20:30
natiWoooot. I could run Essex on precise with nested_kvm option. I could test OpenStack on OpenStack.20:30
termiei am going to add so many features20:31
termieyou guys don't even know20:31
bcwaldontermie: noooooo!20:31
termieit's going to be like featurepalooza up in this20:31
termieapi "colors"20:31
termiecontent "personality types"20:31
*** statik has quit IRC20:31
bcwaldontermie: ooh ooh do horoscopes!20:32
termietoken "astrology"20:32
bcwaldontermie: yeaaaaah20:32
termie"We're sorry, your token is Oraclean and doesn't work well with Stallmanian services"20:33
termie"why am i getting this error?" "where was the moon in teh sky for you when you got it?"20:33
jakedahnhttp://stsh.me/1JE20:33
termiejakedahn: nice!20:34
*** x86brandon has joined #openstack-dev20:34
annegentlejakedahn: that is awesome!20:34
*** adjohn has joined #openstack-dev20:37
termiei don't even know where i could display that20:37
termiedamnit20:37
jeblairbcwaldon: "too many links" should be fixed20:37
*** rods has joined #openstack-dev20:38
eglynnmtaylor: any lightbulbs flash with you on this apparently TOX-related glance build failure?20:38
eglynnmtaylor: https://jenkins.openstack.org/job/gate-glance-python27/50/console20:38
*** bencherian has quit IRC20:39
mtayloreglynn: looking20:40
jeblaireglynn: try it again, i just fixed that20:40
mtaylorjeblair: was it tox related?20:40
jeblairmtaylor: no, tmp filled20:40
eglynnjeblair, mtaylor: thanks!20:40
eglynnbcwaldon: can you re-approve https://review.openstack.org/#change,4602 ?20:41
bcwaldoneglynn: done. Just had to retrigger the jenkins job20:41
*** fesnel has joined #openstack-dev20:42
eglynnbcwaldon: thx!20:42
*** johngarbutt has joined #openstack-dev20:45
*** adjohn has quit IRC20:46
mtaylorjeblair: eek. well, I guess jclouds-plugin solves that for us long term20:48
*** sandywalsh has quit IRC20:48
*** johngarbutt has quit IRC20:51
*** apevec has joined #openstack-dev20:51
*** johngarbutt has joined #openstack-dev20:55
*** dolphm has joined #openstack-dev20:56
openstackgerritVerification of a change to openstack/glance failed: Disallow file:// sources on location or copy-from.  https://review.openstack.org/460220:58
*** jdg has joined #openstack-dev20:59
*** kbringard1 has joined #openstack-dev20:59
*** lloydde has joined #openstack-dev20:59
*** Kiall has quit IRC21:00
*** kbringard has quit IRC21:00
jeblairmtaylor: we don't have to wait that long.  we can run tmpwatch.  bug 92577421:00
uvirtbot`Launchpad bug 925774 in openstack-ci "jenkins slaves should run tmpwatch" [High,Confirmed] https://launchpad.net/bugs/92577421:00
mtaylorjeblair: awesome21:01
*** rkukura has joined #openstack-dev21:01
jeblairmtaylor: that bug is unassigned.  :/21:01
*** bepernoot has quit IRC21:02
*** Kiall has joined #openstack-dev21:04
anotherjessedolphm: https://bugs.launchpad.net/keystone/+bug/93032121:12
uvirtbot`Launchpad bug 930321 in keystone "ksl: GET /v2.0/ returns {}" [High,Confirmed]21:12
anotherjesseany ideas on that21:12
dolphmlooking21:13
*** armaan has left #openstack-dev21:13
dolphmi don't think there was a spec for what to return, but i would assume a single entry from the GET / multiple choice list would be most appopriate21:14
*** mjfork has quit IRC21:16
*** bengrue has quit IRC21:16
*** cdub has quit IRC21:16
*** tryggvil_ has quit IRC21:16
*** mdomsch has quit IRC21:16
*** Vek has quit IRC21:16
*** openstackjenkins has quit IRC21:16
*** pmyers has quit IRC21:16
*** justinsb has quit IRC21:16
*** bodepd_ has quit IRC21:16
*** nikhil__ has quit IRC21:16
*** 13WAAGXMU has quit IRC21:16
*** fesnel has quit IRC21:16
*** comstud has quit IRC21:16
*** jsavak has quit IRC21:16
*** novas0x2a|laptop has quit IRC21:16
*** mnewby has quit IRC21:16
*** mancdaz1203 has quit IRC21:16
*** LinuxJedi has quit IRC21:16
*** jmckenty has quit IRC21:16
*** AlanClark has quit IRC21:16
*** lts has quit IRC21:16
*** mattray has quit IRC21:16
*** dubsquared has quit IRC21:16
*** pknouff_ has quit IRC21:16
*** _cerberus_ has quit IRC21:16
*** root____1 has quit IRC21:16
*** zns has quit IRC21:16
*** heckj has quit IRC21:16
*** utlemming has quit IRC21:16
*** winston-d has quit IRC21:16
*** michaelchapman has quit IRC21:16
*** kaz___ has quit IRC21:16
*** pquerna has quit IRC21:16
*** hyakuhei has quit IRC21:16
*** rha has quit IRC21:16
*** retr0h has quit IRC21:16
*** dwalleck has quit IRC21:16
*** jog0 has quit IRC21:16
*** crobinso has quit IRC21:16
*** andrewsben has quit IRC21:16
*** Mandell has quit IRC21:16
*** maplebed has quit IRC21:16
*** CatKiller has quit IRC21:16
*** jeremy has quit IRC21:16
*** cweidenkeller has quit IRC21:16
*** YorikSar has quit IRC21:16
*** westmaas has quit IRC21:16
*** bourke has quit IRC21:16
*** hashar has quit IRC21:16
*** Gordonz has quit IRC21:16
*** andrewsmedina has quit IRC21:16
*** Yak-n-Yeti has quit IRC21:16
*** xtoddx has quit IRC21:16
*** jeremyb has quit IRC21:16
*** Drakiz has quit IRC21:16
*** markwash_ has quit IRC21:16
*** benner has quit IRC21:16
*** hazmat has quit IRC21:16
*** jdurgin has quit IRC21:16
*** PotHix has quit IRC21:16
*** TREllis has quit IRC21:16
*** ghe_ has quit IRC21:16
*** andrewbogott has quit IRC21:16
*** zykes- has quit IRC21:16
*** zaitcev has quit IRC21:16
*** akscram has quit IRC21:16
*** seats has quit IRC21:16
*** thrawn01 has quit IRC21:16
*** agy has quit IRC21:16
*** clayg has quit IRC21:16
*** ohnoimdead has quit IRC21:16
*** mattstep has quit IRC21:16
*** stokachu has quit IRC21:16
*** Kiall has quit IRC21:16
*** mikemowgli has quit IRC21:16
*** ayoung has quit IRC21:16
*** mortman has quit IRC21:16
*** medberry has quit IRC21:16
*** n0ano has quit IRC21:16
*** wwkeyboard has quit IRC21:16
*** guaqua has quit IRC21:16
*** nikhil_ has quit IRC21:16
*** Daviey has quit IRC21:16
*** yamahata__ has quit IRC21:16
*** yamahata_ has quit IRC21:16
*** jkoelker has quit IRC21:16
*** pvo has quit IRC21:16
*** russellb has quit IRC21:16
*** Adri2000 has quit IRC21:16
*** pasik has quit IRC21:16
*** tr3buchet has quit IRC21:16
*** johan_-_ has quit IRC21:16
*** negronjl has quit IRC21:16
*** kbringard1 has quit IRC21:16
*** apevec has quit IRC21:16
*** paulormg has quit IRC21:16
*** mikal has quit IRC21:16
*** soren has quit IRC21:16
*** jeblair has quit IRC21:16
*** blamar has quit IRC21:16
*** bcwaldon has quit IRC21:16
*** jcapel has quit IRC21:16
*** jakedahn has quit IRC21:16
*** ahale has quit IRC21:16
*** kpepple_ has quit IRC21:16
*** ipl31 has quit IRC21:16
*** mtaylor has quit IRC21:16
*** villep_ has quit IRC21:16
*** openstackgerrit has quit IRC21:16
*** glenc has quit IRC21:16
*** termie has quit IRC21:16
*** jaypipes has quit IRC21:16
*** ohnoimdead has joined #openstack-dev21:18
*** jpipes has joined #openstack-dev21:18
*** Kiall has joined #openstack-dev21:18
*** kbringard1 has joined #openstack-dev21:18
*** apevec has joined #openstack-dev21:18
*** fesnel has joined #openstack-dev21:18
*** dwalleck has joined #openstack-dev21:18
*** 52AAAJ562 has joined #openstack-dev21:18
*** jsavak has joined #openstack-dev21:18
*** hashar has joined #openstack-dev21:18
*** jog0 has joined #openstack-dev21:18
*** Gordonz has joined #openstack-dev21:18
*** jakedahn has joined #openstack-dev21:18
*** novas0x2a|laptop has joined #openstack-dev21:18
*** mjfork has joined #openstack-dev21:18
*** mnewby has joined #openstack-dev21:18
*** AlanClark has joined #openstack-dev21:18
*** bengrue has joined #openstack-dev21:18
*** jdurgin has joined #openstack-dev21:18
*** crobinso has joined #openstack-dev21:18
*** andrewsben has joined #openstack-dev21:18
*** Mandell has joined #openstack-dev21:18
*** cdub has joined #openstack-dev21:18
*** maplebed has joined #openstack-dev21:18
*** tryggvil_ has joined #openstack-dev21:18
*** PotHix has joined #openstack-dev21:18
*** andrewsmedina has joined #openstack-dev21:18
*** Yak-n-Yeti has joined #openstack-dev21:18
*** Vek has joined #openstack-dev21:18
*** TREllis has joined #openstack-dev21:18
*** paulormg has joined #openstack-dev21:18
*** mikemowgli has joined #openstack-dev21:18
*** ayoung has joined #openstack-dev21:18
*** lts has joined #openstack-dev21:18
*** mattray has joined #openstack-dev21:18
*** CatKiller has joined #openstack-dev21:18
*** ghe_ has joined #openstack-dev21:18
*** openstackjenkins has joined #openstack-dev21:18
*** andrewbogott has joined #openstack-dev21:18
*** zykes- has joined #openstack-dev21:18
*** utlemming has joined #openstack-dev21:18
*** dubsquared has joined #openstack-dev21:18
*** zaitcev has joined #openstack-dev21:18
*** mancdaz1203 has joined #openstack-dev21:18
*** winston-d has joined #openstack-dev21:18
*** LinuxJedi has joined #openstack-dev21:18
*** michaelchapman has joined #openstack-dev21:18
*** mikal has joined #openstack-dev21:18
*** xtoddx has joined #openstack-dev21:18
*** jeremy has joined #openstack-dev21:18
*** benner has joined #openstack-dev21:18
*** markwash_ has joined #openstack-dev21:18
*** Drakiz has joined #openstack-dev21:18
*** hazmat has joined #openstack-dev21:18
*** jeremyb has joined #openstack-dev21:18
*** cweidenkeller has joined #openstack-dev21:18
*** pmyers has joined #openstack-dev21:18
*** mortman has joined #openstack-dev21:18
*** YorikSar has joined #openstack-dev21:18
*** medberry has joined #openstack-dev21:18
*** n0ano has joined #openstack-dev21:18
*** wwkeyboard has joined #openstack-dev21:18
*** justinsb has joined #openstack-dev21:18
*** akscram has joined #openstack-dev21:18
*** comstud has joined #openstack-dev21:18
*** 13WAAGXMU has joined #openstack-dev21:18
*** nikhil__ has joined #openstack-dev21:18
*** bodepd_ has joined #openstack-dev21:18
*** soren has joined #openstack-dev21:18
*** jeblair has joined #openstack-dev21:18
*** guaqua has joined #openstack-dev21:18
*** kaz___ has joined #openstack-dev21:18
*** mattstep has joined #openstack-dev21:18
*** blamar has joined #openstack-dev21:18
*** Daviey has joined #openstack-dev21:18
*** nikhil_ has joined #openstack-dev21:18
*** negronjl has joined #openstack-dev21:18
*** stokachu has joined #openstack-dev21:18
*** yamahata__ has joined #openstack-dev21:18
*** yamahata_ has joined #openstack-dev21:18
*** bcwaldon has joined #openstack-dev21:18
*** pquerna has joined #openstack-dev21:18
*** pknouff_ has joined #openstack-dev21:18
*** agy has joined #openstack-dev21:18
*** jkoelker has joined #openstack-dev21:18
*** seats has joined #openstack-dev21:18
*** jcapel has joined #openstack-dev21:18
*** root____1 has joined #openstack-dev21:18
*** _cerberus_ has joined #openstack-dev21:18
*** westmaas has joined #openstack-dev21:18
*** pvo has joined #openstack-dev21:18
*** ahale has joined #openstack-dev21:18
*** hyakuhei has joined #openstack-dev21:18
*** niven.freenode.net sets mode: +vv soren _cerberus_21:18
*** russellb has joined #openstack-dev21:18
*** Adri2000 has joined #openstack-dev21:18
*** rha has joined #openstack-dev21:18
*** bourke has joined #openstack-dev21:18
*** thrawn01 has joined #openstack-dev21:18
*** retr0h has joined #openstack-dev21:18
*** pasik has joined #openstack-dev21:18
*** clayg has joined #openstack-dev21:18
*** kpepple_ has joined #openstack-dev21:18
*** tr3buchet has joined #openstack-dev21:18
*** ipl31 has joined #openstack-dev21:18
*** mtaylor has joined #openstack-dev21:18
*** villep_ has joined #openstack-dev21:18
*** johan_-_ has joined #openstack-dev21:18
*** openstackgerrit has joined #openstack-dev21:18
*** glenc has joined #openstack-dev21:18
*** termie has joined #openstack-dev21:18
*** niven.freenode.net sets mode: +v mtaylor21:18
*** jog0 has quit IRC21:18
*** jog0 has joined #openstack-dev21:18
*** heckj has joined #openstack-dev21:18
*** mikal has quit IRC21:20
comstudbah21:20
comstudyou guys are too fast21:20
comstudlamar's branch needed work21:20
comstud:)21:21
*** dprince has quit IRC21:21
bcwaldoncomstud: I unapproved it21:21
bcwaldoncomstud: don't you worry21:21
*** mikal has joined #openstack-dev21:22
*** johngarbutt has quit IRC21:22
comstudcools thnx..21:23
comstudi think i'll head in tomorrow21:23
comstudfyi21:23
comstudit's been a while21:23
*** markvoelker has quit IRC21:25
Kialljeblair: ping21:26
*** zykes- has quit IRC21:27
jeblairKiall: pong21:27
KiallJust gave a build of the latest gerrit-trigger jenkins plugin a go, failed at first as you mentioned in -meeting.. wiping the plugin completely from the plugins dir, and dropping it back in someone did the trick21:27
Kiallsomehow*21:28
jeblairKiall: awesome!21:28
KiallDon't ask me why it worked.. All I know is, it did ;)21:28
jeblairKiall: i had begun to suspect (based on the problems i had rolling it back) that there could be something in that directory causing it21:28
Kialltrigger on ref changed was an interesting enough feature for me to at least try and update it ;)21:29
jeblairKiall: I've just about finished setting up a dev server to try to dig deeper into this21:29
notmynameanotherjesse: getting the cli args taken care of21:29
jeblairKiall: knowing the answer (so to speak) ahead of time will help.21:29
Kiall(we use submodules, and gerrits built in auto-update superproject submodule pointer stuff.. Hopefully it triggers a ref-changed event ;)21:30
*** jeremy has quit IRC21:31
*** mikal has quit IRC21:32
jeblairKiall: let me know what you see; we're going to experimentally start using submodules in the openstack-ci-puppet module soon, that'll be the first time most of our setup has been exposed to submodules21:32
*** adjohn has joined #openstack-dev21:32
KiallHah - right so, be prepared for developer lashback and confusion ;)21:32
KiallSubmodules are probably the 1 part of git most people just dont seem to get..21:33
*** mikal has joined #openstack-dev21:34
KiallAnyway - cyas21:35
jeblairthanks!21:35
*** rods has quit IRC21:37
anotherjessenotmyname: thx!21:37
anotherjessedolphm: is https://bugs.launchpad.net/keystone/+bug/930321 something that needs addressed before e4?21:38
uvirtbot`Launchpad bug 930321 in keystone "ksl: GET /v2.0/ returns {}" [High,Confirmed]21:38
*** bhall has joined #openstack-dev21:39
*** bhall has quit IRC21:39
*** bhall has joined #openstack-dev21:39
dolphmanotherjesse: need, no. but we can, easily21:40
anotherjessedolphm: I'm working through this "admin" token issue21:40
dolphmwant me to implement that call?21:41
*** rods has joined #openstack-dev21:41
anotherjesseyes if  it need added before essex release21:41
*** stuntmachine has quit IRC21:42
*** rods has quit IRC21:48
*** jsavak has quit IRC21:52
*** paulormg has quit IRC21:54
*** Yak-n-Yeti has left #openstack-dev21:55
*** davlap has joined #openstack-dev21:55
*** asdfasdf has joined #openstack-dev21:56
*** asdfasdf has quit IRC21:58
*** nati has quit IRC21:58
*** aweiss has joined #openstack-dev21:58
*** nati has joined #openstack-dev21:58
*** novas0x2a|laptop has quit IRC22:00
*** hub_cap has quit IRC22:02
*** vincentricci has joined #openstack-dev22:02
*** jdg has quit IRC22:03
*** vincentricci has left #openstack-dev22:03
*** andrewsmedina has quit IRC22:04
*** vincentricci has joined #openstack-dev22:04
*** vincentricci has left #openstack-dev22:05
ohnoimdeadanotherjesse/termie/joe: want to talk about https://blueprints.launchpad.net/horizon/+spec/ext-roles for a minute?22:05
*** andrewsben has quit IRC22:06
termieohnoimdead: sure, i am magic multitasker22:06
termieohnoimdead: here is the answers22:07
ohnoimdeadtermie: hehe, sorry, just saw the etherpad on admin config22:07
termieohnoimdead: roles are assigned to user-tenant combos, you can configure them mostly however you'd like for the purposes of the dashboard22:07
termieohnoimdead: but you mention things like "granting users access to the project"22:07
termieohnoimdead: which is actually something controlled by keystone, not by horizon22:08
ohnoimdeadtermie: cool. as long as we have the ability to assign a role to a user-tenant combo we can close out this blueprint pretty quickly22:08
termieohnoimdead: so you are asking _keystone_ to change specific semantics22:08
anotherjesseohnoimdead: I think the issue would be making sure those roles are interpretted by nova/glance/...22:09
termieohnoimdead: in horizon land you may decide to block access to something because it is in "hardware" but realistically that is probably a nova option22:09
ohnoimdeadtermie: not for this specific blueprint. this is just about extending the roles (which is statically configured it sounds like) and the ability to assign a role to a use in a tenant.22:09
termieohnoimdead: an admin in the keystone system can change roles, if the user you are logged in as in horizon is considered an admin by keystone you will be able to change the roles on any user-tenant anywhere22:10
*** jdg has joined #openstack-dev22:10
heckjs/use in a tenant/users assocaited with a tenant/ ?22:10
termieohnoimdead: there will likely not be anything more granular than that for some time, and what the roles allow in different projects will also be defined by those projects for the time being22:10
termieohnoimdead: so until there is a full "rbac" api to keystone most of these thigns are just you deciding which parts of teh dashboard somebody can access22:11
termieohnoimdead: and you'll probably need to keep those in sync with the defaults in nova, and that may not be worth it22:11
ohnoimdeadtermie: that works for the purposes of this blueprint and is something we can probably implement quickly22:11
termieohnoimdead: once the rbac stuff lands and rules for which rules can perform which things are configured in keystone then you can do the things in this blueprint22:12
termieohnoimdead: i don't know about that, i think almost all of your use cases in this blueprint are things you have no control over22:12
termieohnoimdead: you are just the frontend to other services, you are not doing the authz on your side22:12
*** novas0x2a|laptop has joined #openstack-dev22:13
termieohnoimdead: so unless you have a portion of your stuff that is only authz'd to certain roles it doesn't seem to be much use22:14
termieohnoimdead: if you want to try to just match what orles the defaults are in a given service you could conceivably hide parts of the ui22:14
*** nati has quit IRC22:14
termieohnoimdead: but you wouldn't really know until you tried to make the request whether something was not authz'd22:14
ohnoimdeadtermie: i think we can call this case done if an admin user is able to assign a role to a user for a tenant, even if those roles/rules are statically defined. there's another conversation and probably several blueprints involved in actually providing ui for rbac and doing things like enabling/disabling functionality based on rules.22:14
termieohnoimdead: alright, well you can do that now, i guess ia m just saying don't get your hopes up because i don't think this blueprint has a lot of bearing on reality22:15
ohnoimdeadtermie: yeah, for now horizon will allow you to attempt anything then surface the authz error22:15
*** kbringard1 has quit IRC22:17
ohnoimdeadtermie: do you have any idea of what policy.py in keystone will look like?22:17
*** mfer has joined #openstack-dev22:18
termieohnoimdead: exactly like the one in nova22:19
termieohnoimdead: the policy.json will look like "rule:is_admin -> role:admin"22:19
*** mfer has quit IRC22:19
termieohnoimdead: for the moment keystone only cares whether you are an admin (can do anything in the system) or not an admin (can't do admin stuff)22:20
termieohnoimdead: that will rapidly blossom into more, but that is what is going on today22:20
ohnoimdeadtermie: so no "project admin" then...22:21
termieohnoimdead: correct, binary permission22:21
termieohnoimdead: admin or not admin22:22
ohnoimdeadtermie: hm, maybe you are right then and we just need to punt this one into folsom.22:22
termieohnoimdead: obviously we all want more stuff, but the point is that is not what is happening right now22:22
termieohnoimdead: the groundwork will be there to do it, and we can get wild and crazy and take our shirts off and drink beers two at a time22:22
termieohnoimdead: but today we are wearing business suits and grudgingly waiting for 5pm22:23
ohnoimdeadtermie: it's my damn birthday and what do i get? bupkis, that's what.22:23
termieohnoimdead: is it your birthday?22:23
termieohnoimdead: added you on facebook22:24
termieohnoimdead: we are going to be best friends22:24
*** lts has quit IRC22:24
ohnoimdeadtermie: O_o22:25
termieohnoimdead: o_022:26
* eglynn is stumped by https://jenkins.openstack.org/job/gate-glance-python26/49/console22:27
eglynndespite mutiple attempts, can't repro failures on oneiric with python 2.6 or 2.722:27
anotherjesseheckj: getting lunch but I think we've determined the 4 issues that cause the problem with tokens from earlier)22:28
eglynnbcwaldon: ^^^ smell to you like a transient failure, or?22:28
termieohnoimdead: sorry, we were already best friends22:28
* eglynn is grasping at straws ....22:28
bcwaldoneglynn: yes, retriggered22:29
ohnoimdeadtermie: facebook is full of lies.22:29
termiei am going to move this conversation to a cafe22:30
termieSEE Y'ALL NEVER22:30
ayoungtermie, before you go hog wild,  can you approve https://review.openstack.org/#change,463922:31
heckjanotherjesse: yep - are these tracked in bugs now? Need openin'?22:31
heckjI managed to snag lunch earlier - hence my need to real the scrollback while you were dissecting with termie, jaypipes, dprince, etc/22:32
*** tomoe_ has joined #openstack-dev22:34
jeblairKiall: the problem is that jenkins has started calling its plugins with a .jpi extension, but there are still .hpi files in the directory, so if you have an old gerrit-trigger.hpi and upload a new one (uplodaing through the web renames it on the fly), you'll have both in that directory, and jenkins doesn't seem to like that.  so the .hpi file should be removed before installing a .jpi22:34
*** hashar has quit IRC22:36
openstackgerritVerification of a change to openstack/glance failed: Disallow file:// sources on location or copy-from.  https://review.openstack.org/460222:37
*** andrewsmedina has joined #openstack-dev22:37
*** 52AAAJ562 has quit IRC22:38
*** cp16net has quit IRC22:40
aweisswas wondering if someone could quickly explain why I would receive a "tenant_usages" error when using keystone and python-novaclient?22:40
*** aweiss has quit IRC22:44
*** apevec has quit IRC22:48
*** dtroyer has quit IRC22:48
*** apevec has joined #openstack-dev22:53
apevecheckj, what's the conclusion re. auth_token bug 942895 ? I see dprince revoked his fix saying "still discussing this offline"22:54
uvirtbot`Launchpad bug 942895 in keystone "remove auth_token middleware support for admin_user/password" [Undecided,In progress] https://launchpad.net/bugs/94289522:54
openstackgerritVerification of a change to openstack/keystone failed: LDAP member defaults  https://review.openstack.org/463922:54
*** ayoung is now known as ayoung-goinhome22:55
heckjapevec: it's a collection of issues all at once, with a plan of attack to resolve. key elements:22:56
heckj*) auth_token should NOT be configured with the service token, it should use the tenant/user22:56
heckj*) the service should send 503 "service unavailable" when the service can't get a token via admin user/pass to validate with22:56
heckj*) the service tries to get a new admin token when the user's token fails to validated (should return 401 unauth)22:57
*** markvoelker has joined #openstack-dev22:57
*** markvoelker has left #openstack-dev22:57
heckjapevec: resolution for E4 will be to create users for each opestack service (nova, glance, quantum, etc), and update auth_token to behave appropriately.22:58
apevecsounds good22:58
heckjapevec: another part of the issue is auth_token is cleared after an attempt to validate any token fails under the (outdated) assumption that admin_token has expired and a new one is needed22:58
heckjhence the need for the service unavailable that also logs an error in keystone logs (when it happens) so that it's clear what's failing. It was previously all muddled together22:59
*** hub_cap has joined #openstack-dev22:59
*** Gordonz has quit IRC23:01
*** bhall has quit IRC23:02
Kialljeblair, ah.. I saw the jpi and was wondering what it was...23:05
*** zzed has quit IRC23:06
*** Mandell has quit IRC23:08
*** dtroyer has joined #openstack-dev23:11
*** hashar has joined #openstack-dev23:18
*** mfer has joined #openstack-dev23:18
*** Mandell has joined #openstack-dev23:22
*** hub_cap has quit IRC23:23
*** hub_cap has joined #openstack-dev23:23
*** nati has joined #openstack-dev23:38
*** AlanClark has quit IRC23:40
PotHixSomeone working with quantum-client?23:42
*** shang has joined #openstack-dev23:43
anotherjesseheckj: thanks for answering apevec - … need to create bugs and target E4 - some of them are devstack, some are keystone23:43
anotherjesseheckj: I'm going to driving home and continue working from there - have you have a chance to create/update bugs related to the doc, plz do - (update the etherpad) and I'll work at home soon23:44
*** danwent has quit IRC23:45
*** anotherjesse has quit IRC23:49
heckjanotherjesse: will do23:50
*** jakedahn has quit IRC23:52
*** mattray has quit IRC23:52
*** johngarbutt has joined #openstack-dev23:56

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