Wednesday, 2011-08-10

*** vladimir3p has quit IRC00:06
*** devcamcar_ has quit IRC00:07
*** mszilagyi has quit IRC00:08
*** devcamcar_ has joined #openstack-dev00:08
*** devcamcar_ has quit IRC00:10
*** devcamcar_ has joined #openstack-dev00:11
*** devcamcar_ has quit IRC00:15
openstackjenkinsProject burrow build #28: SUCCESS in 11 sec: http://jenkins.openstack.org/job/burrow/28/00:16
openstackjenkinsTarmac: Backend unittest and cleanup party!00:16
*** devcamcar_ has joined #openstack-dev00:17
*** heckj has quit IRC00:31
*** anotherjesse has quit IRC00:33
*** devcamcar_ has quit IRC00:34
*** deshantm_laptop has joined #openstack-dev00:35
*** devcamcar_ has joined #openstack-dev00:35
*** bengrue has quit IRC00:40
*** devcamcar_ has quit IRC00:40
*** devcamcar_ has joined #openstack-dev00:41
*** bengrue has joined #openstack-dev00:42
*** mgius has quit IRC00:44
*** dolphm_ has quit IRC00:48
*** hisaharu_ has joined #openstack-dev00:48
*** hisaharu has quit IRC00:51
*** devcamcar_ has quit IRC00:54
*** devcamcar_ has joined #openstack-dev00:55
*** dragondm has quit IRC01:01
*** anotherjesse has joined #openstack-dev01:05
*** devcamcar_ has quit IRC01:08
*** devcamcar_ has joined #openstack-dev01:09
*** jdurgin has quit IRC01:18
*** devcamcar_ has quit IRC01:18
*** devcamcar_ has joined #openstack-dev01:19
*** hisaharu_ has quit IRC01:21
*** devcamcar_ has quit IRC01:23
*** devcamcar_ has joined #openstack-dev01:24
*** devcamcar_ has quit IRC01:27
*** devcamcar_ has joined #openstack-dev01:28
*** anotherjesse has quit IRC01:28
*** devcamcar_ has quit IRC01:36
*** devcamcar_ has joined #openstack-dev01:36
bengruehey guys, I'm having a bizzare bzr problem.  (I am more of a svn/git guy)01:37
bengrueI just did a bzr branch lp:~mcgrue/nova/volume-cleanup01:38
bengruebut… I have no nova directory.01:38
*** devcamcar_ has quit IRC01:42
*** devcamcar_ has joined #openstack-dev01:42
*** devcamcar_ has quit IRC01:47
*** cg01 has quit IRC01:48
*** devcamcar_ has joined #openstack-dev01:48
*** mattray has joined #openstack-dev01:50
bengrue(same happens for bzr checkout lp:~mcgrue/nova/volume-cleanup)01:52
*** devcamcar_ has quit IRC01:52
*** devcamcar_ has joined #openstack-dev01:53
*** devcamcar_ has quit IRC01:56
*** devcamcar_ has joined #openstack-dev01:58
*** bengrue has quit IRC01:59
*** cg01 has joined #openstack-dev02:02
*** devcamcar_ has quit IRC02:05
*** devcamcar_ has joined #openstack-dev02:06
*** dragondm has joined #openstack-dev02:09
*** devcamcar_ has quit IRC02:09
*** devcamcar_ has joined #openstack-dev02:10
*** mdomsch has joined #openstack-dev02:16
*** devcamcar_ has quit IRC02:16
*** devcamcar_ has joined #openstack-dev02:17
openstackgerritA change to openstack/glance has been rejected: Addresses glance/+spec/i18n  https://review.openstack.org/17602:23
*** tsuzuki has joined #openstack-dev02:24
*** devcamcar_ has quit IRC02:26
*** devcamcar_ has joined #openstack-dev02:27
*** devcamcar_ has quit IRC02:42
*** devcamcar_ has joined #openstack-dev02:43
*** devcamcar_ has quit IRC02:44
*** devcamcar_ has joined #openstack-dev02:46
*** mattray has quit IRC02:52
*** mattray has joined #openstack-dev03:00
*** devcamcar_ has quit IRC03:00
*** mattray has quit IRC03:00
*** devcamcar_ has joined #openstack-dev03:02
*** devcamcar_ has quit IRC03:06
*** devcamcar_ has joined #openstack-dev03:08
*** devcamcar_ has quit IRC03:09
*** devcamcar_ has joined #openstack-dev03:10
*** troytoman-away is now known as troytoman03:14
*** devcamcar_ has quit IRC03:18
*** devcamcar_ has joined #openstack-dev03:18
*** devcamcar_ has quit IRC03:24
*** devcamcar_ has joined #openstack-dev03:24
*** martine has quit IRC03:27
*** jakedahn has quit IRC03:28
*** devcamcar_ has quit IRC03:29
*** devcamcar_ has joined #openstack-dev03:31
*** devcamcar_ has quit IRC03:43
*** devcamcar_ has joined #openstack-dev03:45
*** devcamcar_ has quit IRC03:48
*** devcamcar_ has joined #openstack-dev03:49
*** devcamcar_ has quit IRC03:53
*** devcamcar_ has joined #openstack-dev03:54
*** cg01 has quit IRC03:54
*** devcamcar_ has quit IRC04:07
*** viveksnv has joined #openstack-dev04:07
*** devcamcar_ has joined #openstack-dev04:08
*** devcamcar_ has quit IRC04:10
*** devcamcar_ has joined #openstack-dev04:11
*** anotherjesse has joined #openstack-dev04:15
*** devcamcar_ has quit IRC04:15
*** devcamcar_ has joined #openstack-dev04:17
*** jakedahn has joined #openstack-dev04:24
*** devcamcar_ has quit IRC04:24
*** jakedahn has quit IRC04:24
*** jakedahn has joined #openstack-dev04:24
*** devcamcar_ has joined #openstack-dev04:25
*** devcamcar_ has quit IRC04:28
*** anotherjesse has quit IRC04:30
*** deshantm_laptop has quit IRC04:50
*** deshantm_laptop has joined #openstack-dev04:54
*** zaitcev has quit IRC04:59
jaypipeshmm, suppose I should get to bed now...05:01
*** BK_man has quit IRC05:05
*** BK_man has joined #openstack-dev05:05
*** deshantm_laptop has quit IRC05:06
*** openpercept_ has joined #openstack-dev05:09
viveksnvhi all05:23
viveksnvi am trying to configure openstack with ESXi05:23
*** anotherjesse has joined #openstack-dev05:24
viveksnvanybody having experience on this..05:24
viveksnvespecially in "network" related configuration..05:25
*** mdomsch has quit IRC05:26
viveksnvVLAN or Flatdhcp ?05:26
*** nmistry has joined #openstack-dev05:32
*** HugoKuo__ has quit IRC05:42
*** nmistry has quit IRC06:00
*** nickon has joined #openstack-dev06:00
openstackjenkinsProject burrow build #29: SUCCESS in 11 sec: http://jenkins.openstack.org/job/burrow/29/06:02
openstackjenkinsTarmac: Added HTTP backend unit tests that work against a running server (auto started/killed with test).06:02
*** nmistry has joined #openstack-dev06:08
*** anotherjesse has quit IRC06:26
viveksnvhi all06:27
viveksnvi am getting this error when enable VLAN model - " CRITICAL nova [-] 'module' object has no attribute 'init_host' "06:28
*** nmistry has quit IRC06:28
*** dragondm has quit IRC06:28
viveksnvanother error "AttributeError: 'module' object has no attribute 'init_host'"06:41
*** tsuzuki has quit IRC06:52
*** tsuzuki has joined #openstack-dev06:52
openstackjenkinsProject burrow build #30: SUCCESS in 12 sec: http://jenkins.openstack.org/job/burrow/30/07:31
openstackjenkinsTarmac: Pushed wait functionality down into backend, removed frontend tests since this is replaced with HTTP backend test now.07:31
*** yamahata_dt has quit IRC07:39
*** TREllis has joined #openstack-dev08:04
*** viveksnv has left #openstack-dev08:17
*** zul has joined #openstack-dev08:21
*** yamahata has joined #openstack-dev09:06
*** darraghb has joined #openstack-dev09:08
*** Daviey has quit IRC09:47
*** RobertLaptop has quit IRC09:47
*** sandywalsh has quit IRC09:48
*** RobertLaptop has joined #openstack-dev09:49
*** Daviey has joined #openstack-dev09:54
*** zigo has joined #openstack-dev09:59
*** sandywalsh has joined #openstack-dev10:06
*** tudamp has joined #openstack-dev10:22
*** mwhooker_ has joined #openstack-dev10:26
*** sandywalsh has quit IRC10:27
*** mwhooker has quit IRC10:27
*** mancdaz has quit IRC10:27
*** chemikadze has quit IRC10:27
*** mancdaz has joined #openstack-dev10:34
*** sandywalsh has joined #openstack-dev10:35
*** tsuzuki has quit IRC10:36
*** cian_ has quit IRC10:40
*** troytoman is now known as troytoman-away10:42
*** lorin1 has joined #openstack-dev10:42
*** lorin1 has left #openstack-dev11:20
*** markvoelker has joined #openstack-dev11:24
*** zigo has quit IRC11:41
*** jakedahn has quit IRC11:50
*** jakedahn has joined #openstack-dev11:51
*** mnour has joined #openstack-dev11:54
*** mnour has quit IRC11:55
*** mnour has joined #openstack-dev11:55
openstackgerritA change to openstack/glance has been rejected: Addresses glance/+spec/i18n  https://review.openstack.org/17611:56
*** martine has joined #openstack-dev12:12
*** mfer has joined #openstack-dev12:19
*** kbringard has joined #openstack-dev12:34
*** lts has joined #openstack-dev12:46
*** bsza has joined #openstack-dev12:55
*** lpatil has joined #openstack-dev13:38
*** bcwaldon has joined #openstack-dev13:45
openstackgerritJay Pipes proposed a change to openstack/glance: Adds SSL configuration params to the client classes  https://review.openstack.org/19013:46
jaypipesbcwaldon, blamar_: hey Brian^2 :) https://review.openstack.org/190 if you have a chance.14:09
openstackgerritJustin Shepherd proposed a change to openstack/glance: Addresses glance/+spec/i18n  https://review.openstack.org/17614:10
bcwaldonyep14:11
*** openpercept_ has quit IRC14:12
bcwaldonjaypipes: general question about glance code14:23
bcwaldonjaypipes: what's the value in having code in files like registry/__init__.py that maps to registry client methods?14:23
*** mdomsch has joined #openstack-dev14:23
*** rnirmal has joined #openstack-dev14:28
*** vladimir3p has joined #openstack-dev14:33
openstackjenkinsProject nova build #1,233: SUCCESS in 3 min 43 sec: http://jenkins.openstack.org/job/nova/1233/14:35
openstackjenkinsTarmac: Pass py_modules=[] to setup to avoid installing run_tests.py as a top-level module.14:35
*** jkoelker has joined #openstack-dev14:45
*** dragondm has joined #openstack-dev14:49
*** mattray has joined #openstack-dev14:54
*** nickon has quit IRC14:54
*** vladimir3p has quit IRC14:56
*** martine has quit IRC14:56
*** martine has joined #openstack-dev14:58
*** martine has quit IRC14:58
*** martine has joined #openstack-dev14:59
*** amccabe has joined #openstack-dev14:59
openstackjenkinsProject nova build #1,234: SUCCESS in 3 min 31 sec: http://jenkins.openstack.org/job/nova/1234/15:00
openstackjenkinsTarmac: These fixes are the result of trolling the pylint violations here15:00
openstackjenkinshttps://jenkins.openstack.org/job/nova-pylint-errors/violations/15:00
*** cp16net has joined #openstack-dev15:01
kbringardthat's a fun bug15:02
kbringard2011.3~d4~20110809.1411-0ubuntu0ppa1~natty115:02
kbringarddoesn't look to filter out terminated instances properly15:02
kbringardso when you euca-describe-instances it shows everything, they're all just "terminating"15:02
jaypipesbcwaldon: not much. I eventually wanted to refactor that out...15:04
bcwaldonjaypipes: Okay, I had the same though15:04
jaypipesbcwaldon: and just use object-oriented approach..15:04
bcwaldonthat's a good direction to go15:04
openstackgerritDolph Mathews proposed a change to openstack/keystone: Fix console and debug logging.  https://review.openstack.org/16115:09
*** gavin_b has quit IRC15:11
openstackgerritA change was merged to openstack/keystone: Fix console and debug logging.  https://review.openstack.org/16115:13
bcwaldonjaypipes: (gerrit feedback) It would be awesome if we could view the inline comments in the main review comments area15:14
jaypipesbcwaldon: indeed. mtaylor, jeblair: is that a possibility in the templates perhaps?15:14
jeblairi don't think that's a trivial change15:16
jaypipesjeblair: k. was just a thought :)15:16
jeblairhttp://code.google.com/p/gerrit/issues/detail?id=9315:17
ttxDaviey: Kombu is actually needed for Glance notification stuff15:17
ttxDaviey: we should push that to Oneiric if not done already15:18
ttxmtaylor filed an ITP for Debian, fwiw15:18
mtaylorDaviey: I'll push my packaging branch somewhere ... gimme a sec15:18
jeblairbcwaldon, jaypipes: it looks like they've thought that out some.15:19
ttxmtaylor: we discussed packaging branch handling here and settled on doing branch merge proposals / reviews rather than direct commits. Does that work for you ?15:20
bcwaldonjeblair: that's good news. Unfortunately it's blocked and doesn't seem to have much interest15:20
jeblairbcwaldon: yes, and the approach they want to take looks like a moderately sized job.15:21
ttxmtaylor: /me wonders if we should have a tarmac bot for that :)15:21
bcwaldonjeblair: yeah, I can deal without it for now. Just wastes my button-clicks15:21
mtaylorttx: well... given ppb decision yesterday, I plan on discontinuing tarmac support in our infrastructure - but I _do_ think we can set up a gerrit project for it15:21
ttxmtaylor: I wonder if using git for Ubuntu packaging branches would actually work.15:22
ttxor do I misunderstand what you're suggesting ?15:23
mtaylorttx: sure. tons of people do it15:23
ttxmtaylor: doesn't that prevent you from doing UDD magic ?15:23
openstackgerritJay Pipes proposed a change to openstack/glance: Adds SSL configuration params to the client  https://review.openstack.org/19015:24
jaypipesbcwaldon: fixes made in https://review.openstack.org/#change,19015:24
bcwaldonjaypipes: yep, just opened it back up15:24
jaypipescoolio.15:24
* ttx wonders if manual merges isn't simpler, in that precise case.15:24
mtaylorttx: possibly. should look in to it - I'm not 100% convinced that UDD magic is as wonderful as people make it out to be, tbh - in this case, it has _not_ made it any easier for people who are not you, me, soren or working at canonical to work on packaging with us15:25
ttxmtaylor: do you expect anyone else would ?15:25
mtaylorttx: yes, actually. I very much want the rackspace deployment folks and jesse and his folks to work on and then use our packages rather than maintaining their own15:26
mtaylorttx: in any case- I totally agree on reviewing changes to packaging - I think we can chat about how we do that15:29
ttxmtaylor: we could set up a phone call before tomorrow, so that the crew here syncs with you15:29
ttxmtaylor: I might sponsor python-kombu into Oneiric if I find some time15:29
mtaylorttx: awesome15:29
ttxmtaylor: would you be ok for a call ? Like in one hour, or tomorrow morning ?15:30
*** mnour has quit IRC15:30
mtayloreither one15:30
jaypipesmtaylor, jeblair: so, we had a failure on latest build from shep's i18n branch: https://jenkins.openstack.org/job/glance-pylint/176/15:31
jaypipesmtaylor, jeblair: problem is, how can I tell what the pylint violations were? :(15:31
ttxmtaylor: ok, let me talk to people here15:31
* Daviey checks in15:32
mtaylorjaypipes: ew. good point ... so - if the branch was CLEAN to start with, it would be easy15:32
jaypipesmtaylor: indeed :)15:32
mtaylorjaypipes: should I perhaps turn that off as a blocker until you've cleaned the branch?15:32
ttxDaviey: we should have a call with mtaylor to sync on decisions/actions -- when would you feel comfortable for that ?15:32
Davieyyes please15:32
ttxDaviey: in one hour, or tomorrow (afternoon for us) ?15:32
jaypipesmtaylor: yes please15:32
*** zaitcev has joined #openstack-dev15:33
Davieyttx: either suites me well15:34
openstackgerritA change was merged to openstack/glance: Addresses glance/+spec/i18n  https://review.openstack.org/17615:34
mtaylorjaypipes: I raised your threshold. you're at 1618 right now - if you go above 2000 I'm going to start failing you :)15:35
*** lorin1 has joined #openstack-dev15:37
*** RobertLaptop has quit IRC15:37
ttxDaviey: let's do tomorrow -- we'll have the whole outcome to discuss then.15:38
*** openstackjenkins has quit IRC15:38
Davieyttx: splendid15:38
openstackgerritDolph Mathews proposed a change to openstack/keystone: Moved password check logic to backend  https://review.openstack.org/16015:38
*** openstackjenkins has joined #openstack-dev15:38
ttxmtaylor: 1400 UTC ?15:38
ttxDaviey: mtaylor: call tomorrow 1400 UTC ?15:39
mtaylorttx: sounds great!15:48
*** RobertLaptop has joined #openstack-dev15:51
ttxmtaylor: ok15:52
*** heckj has joined #openstack-dev15:54
mtaylorttx: I mean- I'm deleting - I just wanted to make sure15:55
mtaylorttx: python-amqplib is already there ... why won't it build?15:55
ttxmtaylor: probably a timing issue15:55
ttxmtaylor: not published when the other ran15:55
ttxif you delete/reupload it should work, then we can trigger rebuilds on the other two15:56
Davieymtaylor / ttx: good time for me aswell.15:56
*** tudamp has left #openstack-dev15:57
ttxmtaylor: oh, hrm.15:57
ttxmtaylor: the oneiric python-kombu doesn't build because there is no amqplib 1.0 uploaded for Oneiric in PPA15:58
ttxthe others might fail for other reasons, lemme check15:58
ttxmtaylor: right. the others fail because of some sphinx failure, probably a missing builddep15:59
*** markvoelker has quit IRC16:00
mtaylorttx: ok - uloading amqplib-1.0 to the ppas. oops16:01
ttxmtaylor: fix the versioning there as well, plz :)16:01
mtayloryup. done16:01
ttxmtaylor: that amqplib 1.0 looks very similar to 0.6.1.16:07
mtaylorttx: hahaha. you're right :)16:08
heckjmtaylor: who from the quantum team did you add to the openstack-ci-admin group yesterday?16:09
mtaylorheckj: carlp16:09
ttxmtaylor: sounds like it's not worth creating a debian delta over such a change ? Why would you depend on 1.0 if 0.6.1 is similar ?16:09
mtaylorttx: ok - well, I should have a fix for the sphinx thing ... lemme purge and re-upload things real quick16:10
mtaylorttx: no - I mean I _actually_ uploaded 0.6.1 instead of 1.0.016:10
ttxmtaylor: what ?16:10
ttxI'm confused now16:10
mtaylorttx: sorry - I'm so used to bzr-bulddeb pulling down tarballs that I forgot I was just editing someone elses package ... silly mistake on my part16:11
mtaylorttx: I uploaded the 0.6.1 tarball as 1.0.0. totally bogus16:11
ttxmtaylor: unfortunately, you just broke everyone that is using nova-core ppa.16:11
ttxnow that they have a 1.0 installed, they won't get any upgrade. ever.16:12
mtaylorttx: well poop16:12
ttxmtaylor: I'm still confused. Why upload a python-amqplib if ubuntu already contains the right one ?16:13
ttxor... do you really want 1.0 ?16:14
ttxoh, I think I understand now.16:14
mtaylorttx: actually, no - all of those have ~oneiric0 on them - so I can bump the ppa version and people will be fine - and when the repo gets 1.0 they'll get that16:14
ttxright -- I thought you actually wanted 0.6.1 and 1.0 was totally bogus.16:15
ttxIn fact, you need 1.0, so things should be solved in the end16:15
ttxwith a correct 1.0 everywhere.16:15
* ttx will wait for your uploads to filter through16:15
ttxand reassess the situation.16:16
*** mdomsch has quit IRC16:21
*** viveksnv has joined #openstack-dev16:22
*** mattray has quit IRC16:31
*** jdurgin has joined #openstack-dev16:33
*** bengrue has joined #openstack-dev16:35
*** ironcame12 is now known as ironcamel216:46
openstackjenkinsProject nova build #1,235: SUCCESS in 3 min 35 sec: https://jenkins.openstack.org/job/nova/1235/16:50
openstackjenkinsTarmac: Removed verbose debugging output when capabilities are reported. This was clogging up the logs with kbytes of useless data, preventing actual helpful information from being retrieved easily.16:50
*** anotherjesse has joined #openstack-dev16:52
*** zul has quit IRC16:53
bengruehey guys, I'm having a bizzare bzr problem.  (I am more of a svn/git guy)16:54
bengrueI just did a bzr branch lp:~mcgrue/nova/volume-cleanup16:54
bengruebut… I have no nova directory.16:54
bengrue(same happens for bzr checkout lp:~mcgrue/nova/volume-cleanup)16:54
mtaylorbengrue: did you do "cd volume-cleanup" ?16:55
bengrueyes, it's ./volume-cleanup/ that lacks a nova dir.16:55
openstackgerritDolph Mathews proposed a change to openstack/keystone: Add wrapper for real LDAP connection with logging and type converting.  https://review.openstack.org/16216:56
mtaylorbengrue: there seems to be no nova dir in that branch16:57
mtaylorbengrue: one of your commits removed it16:58
openstackgerritA change was merged to openstack/keystone: Add wrapper for real LDAP connection with logging and type converting.  https://review.openstack.org/16216:59
bengrueO_o16:59
mtaylorbengrue: rev 135116:59
mtaylorbengrue: I don't know why you removed all of those files ... but you did. :)16:59
*** KnuckleSangwich has joined #openstack-dev16:59
mtaylorbengrue: if you're getting started with bzr - have you read http://wiki.openstack.org/LifeWithBzrAndLaunchpad ?16:59
bengrueNo, I hadn't read that yet.17:03
mtaylorbengrue: I'm guessing that you want something that looks like this: lp:~mordred/nova/volume-cleanup17:03
mtaylorbengrue: but definitely check that wiki page out - it will walk you through getting a few things set up that will be helpful (for instance - a shared repo)17:03
mtaylorbengrue: go in to your volume-cleanup dir and do bzr pull --overwrite lp:~mordred/nova/volume-cleanup and you should be good to go17:04
*** dprince has joined #openstack-dev17:05
bengruecool.  Thanks for the sanity check.  It looks like I fumbled that one while resetting up my sandbox.17:06
mtaylorbengrue: it totally happens :)17:08
bengrueHmmm.17:08
bengrueUpon attempting the overwrite: bzr: ERROR: bzrlib.errors.TooManyConcurrentRequests: The medium 'SmartSSHClientMedium(bzr+ssh://mcgrue@bazaar.launchpad.net/)' has reached its concurrent request limit. Be sure to finish_writing and finish_reading on the currently open request.17:08
mtaylorbengrue: wow. I have literally never seen that17:08
bengrueCan't I just revert the offending commit?17:08
mtayloryes17:08
mtaylordo this:17:08
mtaylorbzr uncommit ; bzr shelve # then hit f ; bzr uncommit ; bzr revert ; bzr unshelve ; bzr commit -m"removed extraneous line from docs"17:09
mtaylorand then bzr merge lp:nova ; bzr commit -m"Merged latest trunk"17:09
mtaylor(which, as best as I can tell it, puts the tree into the state you were trying to get it in)17:10
*** mgius has joined #openstack-dev17:12
bengruesweet; looks like this is working.17:13
bengrueThanks for the assistance, and for the article link.17:13
*** jakedahn has quit IRC17:13
*** Tushar has joined #openstack-dev17:14
mtaylorany time!17:15
* mtaylor shall now venture forth for the coffee...17:15
annegentlecoffee! yes.17:16
openstackgerritDolph Mathews proposed a change to openstack/keystone: Add LDAP schema.  https://review.openstack.org/16317:17
*** markvoelker has joined #openstack-dev17:18
openstackgerritA change was merged to openstack/keystone: Add LDAP schema.  https://review.openstack.org/16317:22
*** darraghb has quit IRC17:25
sandywalshdolphm, ping?17:37
dolphmsandywalsh: what's up17:37
sandywalshdolphm, hey! So, I'm getting pretty close on this thing ... nova bounces novaclient back to keystone. keystone gives token and service catalog, novaclient hits nova, but the middleware token check fails with a 401. It can't find the token that was issued.17:38
sandywalshdolphm, any idea what would cause that?17:38
dolphmwhich middleware is throwing the 401?17:38
sandywalshdolphm, __get_dauth_data() fails to find the token in api.token.get() in keystone17:39
sandywalshdolphm, in keystone/logic/service.py17:39
dolphmsandywalsh: how old is your keystone code? (the snippets above appear to be dated if you were copy/pasting)17:40
sandywalshhmm, perhaps a couple of days ... lemme freshen up17:41
sandywalshnope, up to date17:41
sandywalshdolphm, lemme paste how I'm creating the data ...17:42
sandywalshdolphm, do I need to explicitly create the token via keystone-manage? http://paste.openstack.org/show/2140/17:43
*** martine_ has joined #openstack-dev17:43
*** martine has quit IRC17:46
dolphmsandywalsh: keystone should generate the token by itself17:46
sandywalshdolphm, that's what I thought ... I'm getting a good token back17:46
dolphmare you using sqlite?17:47
sandywalshdolphm, yup ... here's the nova --debug trace http://paste.openstack.org/show/2141/17:47
dolphmsandywalsh: looking through everything..17:49
dolphmsandywalsh: i assume you passed 'sandy' to keystone-manage as your $NAME17:50
sandywalshyup17:50
sandywalshbrb17:51
*** jakedahn has joined #openstack-dev17:51
dolphmsandywalsh: P.S. Why is nova-dependent middleware in the keystone codebase? lol17:54
sandywalshdolphm, dunno really17:55
*** viveksnv has left #openstack-dev18:01
*** mattray has joined #openstack-dev18:04
dolphmsandywalsh: well, the cause of the exception was easy, but i don't understand the intention behind the implementation18:04
dolphmsandywalsh: so i don't know where the fix should go18:04
sandywalshdolphm, well let's start with the easy part ... what was the cause?18:04
sandywalshdolphm, I thought the token was created by keystone ... shouldn't it be available?18:05
dolphmsandywalsh: it probably is, but doesn't get that far...18:05
dolphmin keystone.middleware.nova_auth_token, line 56 (in __call__) immediately checks for a X-User header, which the nova client didn't provide, and immediately throws a 40118:05
dolphmsandywalsh: nevermind the token..18:06
sandywalshdolphm, hmm, lemme check something18:06
openstackgerritYogeshwar Srikrishnan proposed a change to openstack/keystone: Changes to delete dependencies when services,endpoint_templates,roles are being deleted. PEP8 and Pylint fixes.Also do ldap related changes.  https://review.openstack.org/19718:07
dolphmsandywalsh: is this nova_auth_token middleware duplicated in nova somewhere? i can't imagine this is the latest code (and by extension, the nova client would be that out of sync with this middleware)18:07
sandywalshdolphm, I'll freshen up nova again, but it's clearly failing in keystone/logic/service.py __validate_token() on the 'if not token:' check (907)18:08
*** KnuckleSangwich has quit IRC18:09
sandywalshdolphm, so, wouldn't that mean that the middleware is ok, but keystone is complaining?18:09
dolphmsandywalsh: where's the traceback that shows the above?18:09
dolphmsandywalsh: did you paste it somewhere i missed?18:09
sandywalshdolphm, I put a bunch of print statements in keystone to trace the flow18:09
sandywalshdolphm, lemme try and annotate it ...18:11
openstackgerritJames E. Blair proposed a change to openstack/openstack-ci-puppet: Add an account for termie to the rackspace bare metal jenkins slave.  https://review.openstack.org/19818:12
openstackgerritYogeshwar Srikrishnan proposed a change to openstack/keystone: Changes to delete dependencies when services,endpoint_templates,roles are being deleted. PEP8 and Pylint fixes.Also do ldap related changes.  https://review.openstack.org/19718:13
*** jakedahn has quit IRC18:13
*** jakedahn has joined #openstack-dev18:13
sandywalshdolphm, put some breaks in there to show where the statements are http://paste.openstack.org/show/2144/18:14
sandywalshdolphm, the main trace if "VALIDATE TOKEN 2" ... it raises after that (service.py:__validate_token() "if not token:")18:15
sandywalshs/if/is/18:16
jeblairdolphm: ping18:21
dolphmjeblair: yep18:21
jeblairso glance has been working fine without the ability to upload merge commits18:22
dolphmjeblair: so has keystone, i think18:22
jeblairand i see there are a few problems with pending keystone patches due to merge commits18:22
jeblairhttps://review.openstack.org/#change,15718:22
jeblairwell, at least, that one is a merge and it didn't work out18:22
jeblairbut perhaps you're saying that when people use a workflow that does not generate merge commits, it works.  i would agree with that. :)18:23
dolphmjeblair: yeah, i tried playing with that patch and i have no idea what ziad was trying to commit18:23
jeblairat this point, i'm totally convinced that disallowing merge commits is the right thing to do.18:23
dolphmjeblair: i don't have any reason to disagree18:24
jeblairif you generate one, it means you did not follow the instructions in the wiki, and your patch is almost certainly not going to merge.18:24
jeblairso i'm going to turn it off for keyston, which means that if someone tries to do that again, they'll get an error early on saying merge commits are not allowed.18:24
jeblairthat's probably better than going through the review process and then finding out your tree is fubar.18:24
dolphmjeblair: i thought it was already off :)18:25
dolphmjeblair: can you block reviews with dependencies on other reviews, too? ha18:25
jeblairi don't think so.  but perhaps they'll break less with fewer weird merge commits in the queue.18:27
dolphmjeblair: several changes were unnecessarily dependent on https://review.openstack.org/#change,160 (which caused unit test failures by itself) so it's been a pain to cherry pick and rebase the dependent patches to get them in18:27
dolphmjeblair: just venting :)18:27
*** jbweeks has joined #openstack-dev18:28
dolphmsandywalsh: (i haven't forgotten about your issue)18:28
jeblairdolphm: actually, yes18:28
sandywalshdolphm, no worries, I'm still looking18:29
*** vladimir3p has joined #openstack-dev18:30
*** martine_ has quit IRC18:33
anotherjessedprince: are you around to talk about "Others have gone down this path.... Just wondering what our long term plans are as far as mixing some of the more specific features in the EC2 and OS API's."18:34
sandywalshdolphm, I think the token_id is getting lost between auth.py and service.py ... still looking18:36
dprinceanotherjesse: Yes. I'm here.18:38
anotherjessedprince: vish commented on why key pairs don't mean ami-style images18:39
anotherjessebut I wanted to address the question of other features of EC2 and OS18:39
anotherjessewe are actively porting/using: keypairs, security groups & floating ips18:40
dprinceanotherjesse: Sure. I got that now. I suppose I considered the cloud-init stuff AMI'ish but sure. It could be installed in any old image.18:40
dprinceanotherjesse: Cool. Is this a dashboard thing?18:40
anotherjessedashboard is just a view of it18:41
anotherjessefloating ups are needed because you can't even get enough public IPs for 1 per vm anymore18:41
anotherjessefloating ips (need to turn off lion auto-correct)18:41
sandywalshdolphm, hmm, could be that the admin token is invalid (both call __validate_admin_token)18:42
anotherjesseregarding cloud-init, it is currently the way to get to the data, but there is a blueprint called cloudconfig drive - that we have talked with pvo and others at the last design summit18:42
anotherjesseabout making it more openstacky18:43
dolphmsandywalsh: can you paste a little more context leading up to http://paste.openstack.org/show/2141/18:43
sandywalshdolphm, yup, pulling it together now18:43
dprinceSUre. Okay. We'll thanks for the clarifications. Your branch looks fine to me code wise BTW.18:44
dprinces/We'll/Well/18:44
anotherjessesandywalsh: who is in charge of clicking "merge pull request" on novaclient?18:45
sandywalshanotherjesse, I think most of ozone18:46
sandywalshanotherjesse, just need one more approve18:47
anotherjessewho on ozone is the easiest to bribe to get 56, 65 clicked :)18:47
sandywalshjk0 likes beer :)18:48
sandywalshanotherjesse, I just gave the second on 6518:48
sandywalshanotherjesse, only 56 to go18:49
anotherjessecool, now I'll update 5618:49
anotherjessesince that makes the merges conflict18:49
jk0I can look18:50
jk0approved, awaiting update before merging18:52
anotherjessedo we care about rebase for cleanliness?18:53
jk0we haven't so much in the past18:53
jk0but it's something we should probably start paying more attention to18:54
*** jbweeks has quit IRC18:58
anotherjessejk0: pushed merge -- clean to pull18:58
jk0anotherjesse: done19:00
*** dprince has quit IRC19:01
anotherjesseis there a reason the user should chose the client api?  Should they just auth against keystone/idm and then based on the version in the endpoint returned we choose the proper v1_1 vs v1_0?19:01
sandywalshdolphm, yeah, it's the admin token check failing http://paste.openstack.org/show/2145/19:02
sandywalshdolphm, looking now to see when/why/how the admin token is created19:02
dolphmsandywalsh: query your keystone.db to ensure the token exists in the db?19:03
sandywalshdolphm, I suspect I'm not setting up the db correctly here http://paste.openstack.org/show/2140/19:04
dolphmsandywalsh: "999888777666" is a token some of the docs refer to, and it probably should have been created by keystone-manage, but it's not in your script19:05
sandywalshdolphm, ah ... ok, I'll compare it to sample_data.sh ... thanks19:05
kbringardyea, I think it's in sample_data.sh19:06
kbringardat least it was in the branch I checked out a week or so ago19:06
sandywalshdolphm, so, is it hard coded within keystone to use or something?19:06
openstackgerritA change was merged to openstack/openstack-ci-puppet: Add an account for termie to the rackspace bare metal jenkins slave.  https://review.openstack.org/19819:07
kbringarda lot of things at this point assume that "permanent" admin token has been created… the sample_data.sh creates it using keystone-manage19:08
kbringardthings being docs and default conf files (I'm thinking dashboard)19:08
kbringardit's not "required", though as far as I know19:09
dolphmsandywalsh: it should only be in docs and examples19:09
sandywalshyup, there it is, it's in the nova/keystone paste19:10
sandywalshok, I'll tweak my novadata.sh to add one19:10
sandywalshlet's see what that does19:10
dolphmsandywalsh: nova-api-paste.ini? it looks like it's in all the example ini files19:10
sandywalshdolphm, well, that's the one the middleware uses19:10
sandywalsh(specifically)19:10
dolphmsandywalsh: i would think the middleware should perform a standard auth using credentials from the ini...19:11
dolphmand *then* validate the incoming token, with it's own token.. because hey! that's what the admin api is *for*19:12
sandywalshdolphm, agreed ... for now I'll just get it working. We can tweak from there.19:12
openstackjenkinsProject nova build #1,236: SUCCESS in 3 min 22 sec: https://jenkins.openstack.org/job/nova/1236/19:15
openstackjenkinsTarmac: Adding keypair support to the openstack contribute api19:15
*** jbweeks has joined #openstack-dev19:16
sandywalshdolphm, got it working ... had to add the 1234 tenant, the admin user and the "magic" token. I'll file a bug.19:22
sandywalshdolphm, thanks for your eyes on this!19:22
dolphmsandywalsh: yeah, that's dumb - thanks for the bug!19:23
*** martine has joined #openstack-dev19:25
openstackgerritRick Harris proposed a change to openstack/glance: Improves logging, tests webob body handling functionally  https://review.openstack.org/19919:31
*** yogirackspace has joined #openstack-dev19:33
openstackgerritRick Harris proposed a change to openstack/glance: Improves logging, tests webob body handling functionally  https://review.openstack.org/19919:34
openstackgerritYogeshwar Srikrishnan proposed a change to openstack/keystone: Changes to delete dependencies when services,endpoint_templates,roles are being deleted. PEP8 and Pylint fixes.Also do ldap related changes.  https://review.openstack.org/19719:34
*** lts has quit IRC19:39
openstackgerritVerification of a change to openstack/keystone failed: Moved password check logic to backend  https://review.openstack.org/16019:41
openstackgerritA change was merged to openstack/keystone: Changes to delete dependencies when services,endpoint_templates,roles are being deleted. PEP8 and Pylint fixes.Also do ldap related changes.  https://review.openstack.org/19719:46
openstackgerritJohannes Erdfelt proposed a change to openstack/glance: Add some documentation for notifications  https://review.openstack.org/20019:51
*** bcwaldon has quit IRC19:58
*** bcwaldon has joined #openstack-dev20:00
*** Tushar has quit IRC20:08
*** lts has joined #openstack-dev20:17
bcwaldonjaypipes: Assuming you know, who handles the core review day scheduling?20:20
jaypipesbcwaldon: I believe soren is your man20:20
bcwaldonsoren: around?20:20
jaypipesbcwaldon: he's at ubuntu server sprint, so might be a delay20:21
bcwaldonjaypipes: ok, just wanted to point out that it is a couple of days behind20:21
bcwaldonso we have no core review days, atm20:21
jaypipesbcwaldon: hmm. ok. might also want to grab vishy and manually schedule in the meantime...20:22
bcwaldonvishy: are YOU around?20:23
kbringardI'm here… but I'm fairly useless in most things20:24
kbringard;-)20:24
*** Tushar has joined #openstack-dev20:29
*** lorin1 has quit IRC20:32
*** jbweeks has quit IRC20:47
openstackgerritKevin L. Mitchell proposed a change to openstack/glance: Add support for shared images  https://review.openstack.org/20120:55
*** kbringard has quit IRC20:55
yogirackspaceis monty there?20:55
*** kbringard has joined #openstack-dev20:56
*** sandywalsh has quit IRC20:57
jeblairmtaylor: ping20:57
mtaylorjeblair: hey!20:57
mtaylorhi yogirackspace20:57
yogirackspacesorry keep forgetting ur id my bad!20:57
yogirackspacejust to remind the memcache set up stuff20:58
openstackgerritDolph Mathews proposed a change to openstack/keystone: Moved password check logic to backend  https://review.openstack.org/16021:02
mtayloryogirackspace: thank you! just a moment ...21:02
yogirackspacethanks21:02
*** lpatil has quit IRC21:04
openstackgerritA change was merged to openstack/keystone: Moved password check logic to backend  https://review.openstack.org/16021:06
*** jhtran has joined #openstack-dev21:09
mtayloryogirackspace: all you need is memcached? no python-memcached package or anything?21:11
yogirackspacethe python package is part of dependencies specified21:12
yogirackspacein pip-requires21:12
mtayloryogirackspace: so - just so you know, we do not use pip-requires on the build slaves - we install everything from distro packages - so if you want to add something to that file, we must also add it to the config for the slave21:13
yogirackspacemtaylor: then we need # Optional backend: Memcache21:14
yogirackspacepython-memcached21:14
*** mfer has quit IRC21:15
*** mfer has joined #openstack-dev21:16
*** mattray has quit IRC21:16
*** mattray has joined #openstack-dev21:21
*** cp16net has quit IRC21:22
*** mdomsch has joined #openstack-dev21:22
*** bengrue has quit IRC21:28
*** bengrue has joined #openstack-dev21:29
*** rnirmal has quit IRC21:31
*** yogirackspace has left #openstack-dev21:33
*** jhtran has quit IRC21:35
*** jkoelker_ has joined #openstack-dev21:38
*** bcwaldon has quit IRC21:40
*** lts has quit IRC21:40
*** jbweeks has joined #openstack-dev21:45
*** jkoelker has quit IRC21:48
*** bsza has quit IRC21:51
openstackgerritMonty Taylor proposed a change to openstack/openstack-ci-puppet: Added memcached to the keystone slave.  https://review.openstack.org/20221:54
*** mnour has joined #openstack-dev22:02
*** mfer has quit IRC22:07
*** markvoelker has quit IRC22:08
*** zul has joined #openstack-dev22:25
*** kbringard has quit IRC22:33
*** jbweeks has quit IRC22:37
*** zul has quit IRC22:38
*** mattray has quit IRC22:44
*** mdomsch has quit IRC23:01
*** heckj has quit IRC23:02
*** mnour has quit IRC23:05
*** vladimir3p has quit IRC23:14
*** amccabe has quit IRC23:26
*** mgius has quit IRC23:26
*** mgius has joined #openstack-dev23:28
*** mgius has quit IRC23:53

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