Friday, 2011-09-23

*** nati has joined #openstack-dev00:14
*** nati_ has quit IRC00:16
*** bengrue has quit IRC00:32
dysingermtaylor: vishy: mistake was mine this morning. I didn't turn on backward compat auth.  it cascaded through our automation.00:39
*** Jaesang has joined #openstack-dev00:55
*** nati has quit IRC01:20
*** rods has quit IRC01:22
*** dysinger has quit IRC01:27
*** xtor_ has quit IRC01:27
*** extor has joined #openstack-dev01:27
*** joonwon has joined #openstack-dev01:30
*** blueblade has joined #openstack-dev01:34
*** blueblade has quit IRC01:36
*** stanchan has quit IRC01:37
*** cp16net has joined #openstack-dev01:41
*** nati has joined #openstack-dev01:42
*** hugokuo has joined #openstack-dev01:45
natiWhen I use gerrit , i got a error ;) https://gist.github.com/8ee6025442325db6493902:03
natiThen I tried to set my username on gerrit, I got application errors http://gyazo.com/a75ef95c69e7adeb730d132b9468924c02:04
natiHow can I fix this..02:05
*** HugoKuo_ has joined #openstack-dev02:09
*** hugokuo has quit IRC02:13
*** HugoKuo__ has joined #openstack-dev02:22
*** HugoKuo_ has quit IRC02:25
*** medberry is now known as med_out02:45
rmkI'm seeing failure conditions I thought were resolved based on the bugs I read..02:53
*** nati has quit IRC02:57
*** martine has joined #openstack-dev03:02
*** toluene has joined #openstack-dev03:03
*** RobertLaptop has joined #openstack-dev03:10
*** joonwon has quit IRC03:11
*** nati has joined #openstack-dev03:13
*** jdag has quit IRC03:15
*** martine_ has joined #openstack-dev03:22
*** martine has quit IRC03:22
openstackgerritA change was merged to openstack/keystone: Fix for bug 856846 - cast ints to string in users_get_by_tenant_get_page so that they can be joined  https://review.openstack.org/54603:25
uvirtbotLaunchpad bug 856846 in keystone "TypeError: sequence item 0: expected string in users_get_by_tenant_get_page" [Undecided,New] https://launchpad.net/bugs/85684603:25
openstackgerritA change was merged to openstack/keystone: Fix for bug 856857 - add user.name to User() constructor to re-align param  https://review.openstack.org/54703:27
uvirtbotLaunchpad bug 856857 in keystone "Incorrect invocation of types.user.User constructor" [Undecided,New] https://launchpad.net/bugs/85685703:27
*** dragondm has joined #openstack-dev03:29
*** reed has quit IRC04:29
*** joonwon has joined #openstack-dev04:35
*** zns has quit IRC04:37
*** wwkeyboard has joined #openstack-dev04:38
*** wwkeyboard has quit IRC04:48
*** stanchan has joined #openstack-dev05:07
*** martine_ has quit IRC05:11
*** naehring has joined #openstack-dev05:15
*** zaitcev has quit IRC05:37
*** hbetts has quit IRC05:43
*** joonwon has quit IRC05:47
*** toluene has quit IRC06:05
rmkJust tested the new block_migration feature and it's corrupting the vm data06:09
*** yeming has joined #openstack-dev06:21
*** dragondm has quit IRC06:24
vishyjeblair, mtaylor: I think if we change rfc.sh slightly we could make it support reviewing from a branched repo.  We could make it add a new remote for the openstack repo called os/$PROJECT and rebase on to os/$branch instead of origin/$branch .  That way you could fork from gethub / use a team repo and still submit reviews without having to have openstack/$branch be your origin.  Thoughts?06:42
*** User has joined #openstack-dev06:44
*** sanjay400 has joined #openstack-dev06:44
sanjay400Hello, i have source code installation of D3 on 3 nodes (api/schd, compute, network) , to upgrade to Diablo2011.3, should i just kill the services, untar the source and start again in the same way?06:49
openstackgerritsleepsonthefloor proposed a change to openstack/keystone: Reorder params in User() constructor  https://review.openstack.org/54906:54
openstackgerritA change was merged to openstack/keystone: Reorder params in User() constructor  https://review.openstack.org/54906:56
Davieyrmk: you got further than me then..06:56
vishyrmk: I got it to work, but I must say I haven't tested it extensively06:57
vishythere is a new patch to copy backing files as well...06:57
rmkDaviey: Where did you get stuck?06:58
vishysanjay400: upgrading between milestones like that isn't really supported but it should work06:59
Davieyvishy / rmk: did you use carrot or kombu?06:59
rmkvishy: I was super excited to see the feature, just need to make it not destroy the VM :)06:59
vishysanjay400: you will have to run a nova-manage db sync06:59
rmkLooks like it's using kombu (Ubuntu 11.04)06:59
*** nati has quit IRC06:59
Davieyrmk: interesting06:59
*** nati has joined #openstack-dev07:00
rmkvishy: New patch not in diablo?07:00
vishyrmk: keeping in mind that it is a pretty new feature in libvirt/kvm, so it may not be totally bug free there yet either07:00
vishyrmk: yes it didn't make it in07:00
vishyrmk: do you see the corruption right away?07:00
rmkyeah immediately07:00
rmkreproducable every time too07:00
vishyrmk: I was able to block migrate tty images just fine, but I haven't done full size ones07:00
rmkI've only tried it with one image so far so I can try other guest OSes07:00
vishyrmk: did you change any flags?07:01
rmknope I was looking at them though07:01
rmkthere's no documentation anywhere about the flags, I just see code references, so I'm not sure what they do07:01
Davieyrmk: Can you write up your entire steps from fresh install?07:01
vishyrmk: so you made libvirtd listen via tcp?07:01
DavieyI assume you made the libvirt config changes aswell?07:01
rmkDaviey: Yeap I am in the process of that actually07:02
rmkYes, libvirt changes07:02
rmkOtherwise it doesn't work at all07:02
rmkBasically turning off auth and turning on the tcp listener07:02
vishyright07:02
DavieyThe instance got torn down on the dest for me. :(07:02
vishyyou can also share a root and nova key07:02
vishyand use qemu+ssh07:03
rmkvishy: Figured I'd do that in the future once it's working07:03
DavieyWell, unauth'd is a good first step :)07:03
rmkBut yeah going to use unencrypted ssh keys for this once it works07:03
DavieyHmm, i'm not sure you can migrate over ssh - i think you need to use psk's07:03
ttxmtaylor: https://bugs.launchpad.net/ubuntu/+source/glance/+bug/85702107:03
rmkThe functionality is awesome, it eliminates the primary reason for having NAS in our environment07:03
uvirtbotLaunchpad bug 857021 in glance "glance (2011.3-0ubuntu1) fails to install, error in .postinst" [Undecided,New]07:04
ttxmtaylor: dunno if it applies to our ppa07:04
vishyrmk: https://code.launchpad.net/~nttdata/nova/850602/+merge/7548007:04
ttxvishy: earth still standing ?07:04
vishydon't know07:05
rmkAh so something isn't being copied now07:05
vishyrmk: in my usage, it didn't copy the backing file, but I didn't notice corruption07:05
vishyrmk: but you could try merging that branch and see if it fixes your issue07:06
rmkyeah I may do that07:06
rmkI'll just apply the patch to my active install07:07
rmkits just a lab environment right now anyway07:07
*** reidrac has joined #openstack-dev07:07
vishyrmk: cool, hopefully it applies cleanly against diablo07:07
comstudare merges on hold ?07:07
comstudfor moving to github/gerrit ?07:08
vishyrmk: please share what you find.  I would love to see block migration stable07:08
vishycomstud: yes07:08
comstudok07:08
vishywe're moving!07:08
comstudthere's been *no* email to the openstack list07:08
comstudunless i missed one?07:08
vishyi just sent one!07:08
comstudah07:08
comstudwell thank you07:08
comstud:)07:08
comstudnot in my inbox yet07:08
comstudthere's a merge prop approved07:09
comstudthat if it hits trunk will conflict with one of mine07:09
comstudso I want it to hit trunk :-/07:09
comstudok, got your email07:09
comstudwhat does this mean for outstanding merge props?07:10
vishythey will have to be moved07:10
rmkvishy: Tests didn't apply cleanly but the part I needed did.07:10
comstudk, PITA07:10
Davieyrmk / vishy: I am seeing, http://pb.daviey.com/FwCi/07:11
Davieyhmm, there is another error i see.. one moment07:12
rmkhmm that's odd07:12
rmkall rabbit chatter issues07:12
rmksuppose that's why you asked about carrot vs kombu07:12
Davieyyup :)07:13
rmkhere goes my test with the patch07:13
rmkthat fixed it07:15
Davieyrmk: Something like, $ sudo nova-manage vm block_migration --ec2_id=i-28 --dest=sapodilla  ?07:15
rmkyeap07:15
DavieyBTW, that log is the dest.07:16
rmkyeah that's where you'd expect the action07:17
rmkseems like your scheduler and compute nodes are disagreeing about where queues are07:17
Davieyrmk: 2011-09-23 03:15:56,163 DEBUG nova.virt.libvirt.firewall [-] The nwfilter(nova-instance-instance-00000028-secgroup) for instance-00000028 is not found. from (pid=1138) unfilter_instance /usr/lib/python2.7/dist-packages/nova/virt/libvirt/firewall.py:32007:18
rmkinconsistent host naming would be my guess07:18
Davieybut via virsh i can grab that nwfilter :?07:18
rmkI think that's ok -- checking my logs07:18
rmknope I dont have that error07:20
rmkah wait07:20
rmkyes that's fine I see it too, even on successes07:20
Davieygah07:20
rmkvishy: Any way this patch can get into an official diablo package?07:21
Davieyrmk: nothing changed, started fresh instance and migrated - http://pb.daviey.com/HnYc/07:22
Davieyrmk: Diablo is released now.. which means it is up to distros to carry it, if suitable.07:22
rmkinteresting07:23
Davieyrmk: where is your patch?07:23
rmkDaviey: see if you can actually use the instance07:23
Davieyrmk: no, the migration still failed.07:23
rmknot my patch but here's the one vishy pointed me at ...07:24
rmkhttps://code.launchpad.net/~nttdata/nova/850602/+merge/75480/+preview-diff/+files/preview.diff07:24
winston-dvish: hi, i am wondering how OSAPI determine which project to use, when one user belongs to multiple projects.07:24
winston-dvishy : hi, i am wondering how OSAPI determine which project to use, when one user belongs to multiple projects.07:25
Davieyrmk: there is a good chance Ubuntu will carry that fwiw.07:25
Davieyrmk: did you change your flags at all?07:26
rmkNo flag changes07:27
rmkDaviey: Which version of Ubuntu are you on?07:27
Davieyrmk: Oneiric with milestone packages07:27
rmkI'm using natty with release packages07:27
rmkI thought I read something about live migrations issues with oneiric07:28
Davieyrmk: wait, what packages?07:28
rmk 2011.3-0ubuntu2~ppa1~natty107:28
Davieyok07:29
rmkI didn't do anything special for the live migration part, just followed the docs regarding libvirt config changes07:31
rmkwhat a great feature07:33
Davieyrmk: Yah!  It just worked.. i think it was because i did add flags :)07:37
rmkahh good deal07:37
rmknow check if your VMs have corrupted disks, mine did before that patch07:37
comstud*sigh*07:40
*** AhmedSoliman has joined #openstack-dev07:40
Davieyrmk: think it is ok07:40
comstudnova's rfc.sh seems to be broken07:41
Davieyrmk: ah no, there is corruption07:41
Davieyrmk: it's not finding the kernel07:42
rmkthe whole disk is borked actually :)07:42
rmkI was on the system and couldn't even ls after migrating07:42
Davieyrmk: so, following reboot - grub certainly still works.. that is as far as i am atm07:42
sorenOh, noes! Checking stuff out with bzr is soo slow. http://paste.openstack.org/show/2538/  Oh, wait. *grumble*07:45
Davieyrmk: i suspect it's a qcow issue.. that the backing file resolves.07:47
Davieysoren: add --go-faster-stripes07:47
sorenTo git?07:47
sorenSorry. My joke detector isn't on yet.07:48
Davieysure, why not07:48
comstudhaha07:48
comstudwell07:48
comstudthis rfc.sh is broken07:48
comstudit doesn't detect project correctly07:48
comstudso it seems i hack it.. or I set the 'gerrit' remote up manually.07:49
comstudafter reading the workflow, i'm already annoyed.07:49
comstudsoren: your test is 46s for git and 61s for bzr for me07:51
sorencomstud: I'm trying it from a cloud server now to compare.07:52
comstudnot that I really care07:52
comstudI mean07:52
sorencomstud: I'm sure there's some sort of locality bias.07:52
comstudsoren: Yeah07:52
*** yeming has quit IRC07:52
*** nati_ has joined #openstack-dev07:52
comstudI'm not saying it to argue for git or anything, because that's certainly not my intent07:53
comstudI'm just giving a comparison07:53
comstud:)07:53
sorenI just checked out nova for the first time, was rather surprised how long it took and then I did the same with bzr just to compare... and then I just wanted to sprinkle a bit of actual data on top of the "bzr is unusably slow. git is faster than the road runner. You don't believe me? Serious, man, try checking out *anything* with bzr. Add launchapd to mix and it's basically at a stand still" nonsense.07:53
comstudI tend to think LP is a bit slow in some cases, but mostly it's a non-issue07:54
comstudfor me07:55
*** nati has quit IRC07:55
Davieysoren: not to mention that Launchpad were looking to add regional end points for the slowness in Japan.07:55
comstudfor bzr, branching seems slower than it should be, also.. but it really doesn't bother me much07:55
DavieyMainly due to concerns openstack raised.07:56
DavieyI hope github bend over to help when needed.07:56
sorencomstud: Yeah. I did it *once* for Nova. Ever. How much of a issue can it really be, then? (even if it were actually slower)07:56
vishycomstud: where does origin point on your git repo07:57
Davieysoren: The main problem was that people didn't use shared-branches.07:57
sorenOk, git from a cloud server (i.e. same datacenter!): 18 seconds. bzr: 88 seconds.07:57
comstudvishy: the full URL that ends in 'nova.git'07:57
*** AhmedSoliman has quit IRC07:57
comstudso it tries to use 'nova.git' as the project07:57
* Daviey tries branching from the same dc as bzr :)07:58
comstudit's not stripping .git off07:58
vishycomstud: did you clone following the instructions?07:58
comstudyep07:58
vishyweird07:58
*** rbasak has joined #openstack-dev07:58
comstudthis seems like an obvious problem07:58
comstudwhat is your origin?07:58
vishyrmk: we haven't discussed point releases on diablo07:59
comstudthe doc says to clone openstack/nova.git07:59
comstudso the origin is openstack/nova.git07:59
vishycomstud: one sec07:59
comstudthen it tries to match 'nova.git' against the list of projects @ review.openstack.org08:00
comstudwhich fails, of course08:00
rmkhttps://bugs.launchpad.net/nova/+bug/794627 -- I don't think this is actually working08:00
uvirtbotLaunchpad bug 794627 in nova "Handle RabbitMQ crash and attempt to reestablish connections and queues" [High,Fix released]08:00
comstudi modified rfc.sh to strip off the '.git' from the 'show origin' that it does.. and then ran 'git review'...08:03
comstudwhich worked08:03
vishyinteresting08:04
comstudnow it thinks my master branch is 2 commits ahead of origin/master08:04
comstuddunno why08:04
vishycomstud: trying to replicate08:04
vishygithub is slow from europe :(08:05
comstudvishy: i'm guessing the script used to look at $PROJECT... because otherwise there's not much reason to set it... although the docs say to do so08:05
comstudbut i bet it was updated to try to get it from 'show origin'08:05
comstudand updated wrongly08:05
comstudjust a theory.08:05
vishymy keystone origin is right: originhttps://github.com/openstack/keystone08:06
comstudhrm08:06
vishymaybe it was switched recently to use git remote instead of https...08:06
comstudwell08:07
comstudit appears the doc needs updated08:07
comstudgit clone git://github.com/openstack/$PROJECT.git08:07
comstudneeds the '.git' removed maybe08:07
vishyyeah I think that would work08:08
comstudit works without it for me08:08
comstudi just cloned openstack/nova08:08
vishygood thing it is a wiki08:08
comstudhrm08:08
vishyupdated08:08
comstudthanks08:09
vishydoesn't look like there is a guide for moving branches either08:09
vishyi guess you could just do a cp08:10
comstudyeah, i was looking for that also08:10
comstudwhat we do about current merge props, etc08:10
vishyif we don't care about history, i think a cp -r will work :)08:11
vishyjust testing08:11
comstudyeah, i don't like losing history08:11
comstudbut it may be the only choice08:11
comstudi was going to do this:08:11
Davieyerr08:11
comstuddiff -cr --exclude .bzr trunk mybranch > diff08:11
Davieybzr mv ?08:12
comstudthen cd into my git branch08:12
vishycomstud: no it isn't the only choice08:12
comstudand patch -p1 < diff08:12
vishycmstud: you can use git-bzr-ng08:12
comstudok08:12
vishywow what happened to trunk?08:13
comstud?08:14
vishylp:nova is not based off of old lp:noa08:14
comstudare you trying to branch lp:nova by chance?08:14
comstudyes08:14
vishywell that makes it even harder08:14
comstudwe saw this earlier08:14
vishysigh08:14
comstudbut08:15
vishyok i guess we are losing history for outstanding branches08:15
comstudi always branch lp:nova/trunk08:15
vishyoh, they are different?08:15
comstudyeah08:15
comstudwhich I don't quite understand, but08:15
comstudlp:nova/trunk has everything like it should08:15
comstudlp:nova seems to have stopped at end of Aug08:15
*** jeffjapan has quit IRC08:15
vishyweird08:16
comstudactually08:16
comstudlp:nova synced up08:16
comstudit's missing at least 1 commit from trunk tho08:16
comstudi guess i should say.. it's synced up more than it was earlier today08:16
comstudearlier today it stopped at end of aug08:17
comstudugh08:17
comstudthis is fucked up08:17
vishyif lp:nova is a git mirror we are in trouble08:17
comstudtrunk has a 1617 from johannes.. the last thing that made it08:18
comstudlp:nova has a 1617 which is the addition of rfc.sh08:18
comstudi think lp:nova is a git mirror.08:18
comstudlp:nova is missing 1 merge from trunk08:18
comstudyeah08:19
comstuda merge from johannes is missing from github08:19
vishycomstud: it is worse than that08:20
vishythe branches are heavily diverged08:20
vishymerging lp:nova 'splodes badly08:20
comstudyeah, ok08:20
vishyi'm trying to do a rebase with git bzr, we'll see how it goes08:20
comstudthat matches what tr3buchet saw earlier08:20
comstudalthough it was at a time when lp:nova was many many commits behind08:20
DavieyOh, lp:nova is now a git mirror... good times end.08:21
comstudfor me, pretty much08:22
ttxvishy: looks like we should put out an ML post saying the branches are busted -- at least until mtaylor and jeblair have a look into it08:23
comstudi'll deal.  i'm still really disappointed in the lack of communication on the openstack mailing list, though.08:23
vishyttx: good point08:23
comstudnot everyone is able to make the meetings every time08:23
vishycomstud: my bad. I should have sent out an announcement earlier08:23
vishyabout the planned move date08:23
comstudand I already bitched about the lack of communication about gerrit in general a couple weeks ago08:23
DavieyThe issue is a missing commit on lp:nova compared to git?08:23
comstudand now nova moves without any notice there08:24
vishyDaviey: no08:24
comstud:-/08:24
vishyDaviey: the issue is that lp:nova from git is completely diverged from bzr history08:24
Davieyah08:24
vishy* well the mirror is diverged, I haven't verified if the git repo is diverged08:24
Davieyvishy: did the other core projects encounter this?08:25
vishyttx: should I make an announcement? or do you want to do it?08:25
comstudvishy: do a couple shots with me in 10 days and i'll forget about it for a short while.08:25
vishycomstud: deal!08:25
comstud:)08:25
Davieyvishy is buying everyone drinks?08:26
ttxvishy: please do08:28
* ttx is under heavy drugs to feel happiness all around him08:28
ttxand survive sleep deprivation08:29
Davieyvishy / ttx: Might also be worth commenting how people can still get there bzr based branches and merge proposals to the new world order?08:30
Davieytheir*08:30
vishycomstud: fwiw git bzr ng works, unfortunately review doesn't because it can't rebase properly08:30
comstudvishy: Ok.  I haven't used git-bzr08:32
comstudI'm a lot more comfortable with bzr... but I'm also familiar with what I'd call the normal github workflow08:33
comstudSo either way... this is a pain for me.08:33
comstudBut I'll figure it out and live.08:33
Davieygit-bzr is for using git against bzr, right?  How does that help?08:34
comstudI don't think it helps me08:34
comstud:)08:34
vishygit-bzr-ng lets you import bzr branches into git08:39
zykes-is dev still going on bzr with nova vishy ?08:41
vishyzykes-: nope08:44
comstudwell08:50
comstudi'll say that it is08:50
comstudbecause people don't know not to use it anymore.08:51
comstud:)08:51
comstudok, ~2am ... beds time08:53
Davieyvishy: bzr based merge proposals are dropped, unless the requestor moves them to git?09:02
vishyyeah09:07
*** darraghb has joined #openstack-dev09:12
zykes-why does endpointTemplates now use id instead of name ?09:14
vishysigh, looks like squashing is the only option09:21
vishythat sucks09:21
markmcvishy, this is for moving a merge prop to git ?09:22
markmcvishy, how about git-bzr import09:23
markmcvishy, then git rebase --onto origin/master ...09:23
* markmc experimenting now09:23
sorenWhy do you care about lp:nova anymore?09:23
*** darraghb has quit IRC09:24
*** darraghb has joined #openstack-dev09:24
markmcsoren, anyone who has a pending merge prop needs to import it to git and rebase it onto master09:24
sorenmarkmc: How does that pertain to lp:nova ?09:25
markmcsoren, perhaps vishy tried to merge lp:nova into a merge prop before rebasing09:26
* markmc guesses09:26
vishymarkmc: yeah that would be great09:29
vishyif the branches weren't diverged09:29
sorenCan someone explain what the problem is?09:29
vishyrebasing is painful09:29
sorenOr rather: What are we trying to achieve?09:29
vishysoren: I'm trying to import a branch from bzr09:29
soren"import"?09:30
vishywithout losing all of the history09:30
vishyinto git09:30
sorenWhy?09:30
vishyso that i can propose it09:30
sorenWith git, we don't want the history anymore.09:30
sorenAll the workflow docs tell you to rebase.09:30
sorenI.e. discard history.09:30
vishyi don't mind rebasing09:30
vishythat doesn't squash all existing commits though09:30
sorenWell, if you don't, why rebase?09:31
vishysigh, whatever I guess all the other people that helped with this branch won't get any credit09:31
sorenOk, so you want to take the commits you have in bzr and get them into git.09:31
sorenRight?09:31
vishyno i have no problem doing that09:31
sorenOk.09:32
vishyunfortunately it seems that the git branch is not really based off of the bzr branch09:32
sorenWhat's it based off of then?09:32
vishywell that is the question09:32
vishyperhaps my rebase is just too complex for it to handle09:32
sorenOk, sorry, enver mind that for alittle bit.09:32
sorenWhy does it matter if it's based off of one or the other if you're rebasing anyway?09:32
sorenThe history doesn't need to lign up.09:33
markmcsoren, it does if you're rebasing merge commits09:33
markmcvishy, it looks to me like 'git bzr import' of a merge prop doesn't have divergent history from the github repo09:33
DavieyYou must be kidding me... http://pb.daviey.com/xSB6/09:34
markmcvishy, e.g. if you do 'git merge-base my-merge-prop origin/master' you'll get the commit where the merge prop forked from master09:35
Davieycase sensitive... for EMAIL address?09:35
markmcvishy, so a 'git merge origin/master' works just fine09:35
sorenAs far as I can see the only problem is that a single patch managed to land on the old trunk before tarmac was shut off, but after the migration was done.09:36
sorenRight?09:37
vishysoren: could be09:37
sorenIt's not like they're completely different.09:37
*** Tribaal has joined #openstack-dev09:38
sorenPardon me for sounding like a broken record... But what's so important about what lp:nova points to?09:38
sorenLet's pretend it pointed somewhere else... What would you do?09:38
sorenI.e. if it pointed just where you wanted it to point.09:39
vishymarkmc: I can merge the branch, I just can't propose it09:39
markmcsoren, ah09:39
vishymarkmc: because it tries to rebase it09:39
* markmc tries that09:39
sorenvishy: No, Gerrit refuses merge commits, afaik.09:39
sorenOr does it just frown upon them?09:39
vishysoren: well i think i can use merge commits09:41
vishyif i ammend all of the commits to have a change id09:41
vishybut i'm not sure09:41
* soren has no idea.09:41
sorenI'm pretty good with bzr and launchpad, though, so if you can explain what it is that you want them to do, I'd be happy to help. I just tsill haven't entirely worked that out.09:42
sorenMaybe if you can start by explaining why it's a problem that lp:nova points to a git mirror now?09:42
sorena) The original trunk is still on Launchpad and b) if it weren't, *every* one of us has a copy of it. It's a dvcs, after all.09:43
vishysoren: my issue is more with gerrit and git09:47
Tribaalsorry to jump in, but: does this imply that there is an effort going on to move nova's "main" to git/github?09:48
markmcvishy, think you mentioned the "not a known project" issue earlier09:49
sorenTribaal: The *was*. It's done.09:49
markmcvishy, we need e.g.09:49
vishysoren: although i think it is odd09:49
markmc-        if echo $project_list | grep $project >/dev/null09:49
markmc+        if echo $project_list | grep ${project%.git} >/dev/null09:49
Tribaalsoren: ohhhh shiny :)09:49
vishythat if i do (in bzr) bzr merge lp:nova with an old branch09:49
vishyit blows up badly09:49
openstackgerritDave Walker proposed a change to openstack/nova: contrib/nova.sh: Updated to latest 'upstream' commit:6a8433a resolves bug 857209  https://review.openstack.org/55009:49
uvirtbotLaunchpad bug 857209 in nova "contrib/nova.sh is broken, due to syntax changes" [Undecided,New] https://launchpad.net/bugs/85720909:49
sorenvishy: So don't? Merge with the old trunk.09:49
* Daviey raises a merge of vishy's 'upstream' work :)09:50
sorenvishy: bzr merge lp:~openstack-hudson/nova/trunk09:50
*** sanjay400 has quit IRC09:50
vishysoren: ok so the answer is don't do that09:50
vishysoren: i did that, hoping that it would make my rebase function09:50
vishyit doesn't09:50
sorenvishy: Well, sure. You're trying to merge something that's an entirely different repository. Probably with no common ancestry.09:51
*** AhmedSoliman has joined #openstack-dev09:52
openstackgerritCarlos Marin proposed a change to openstack/keystone: Modified apiKeyCredentials to extend single entity and use restriction  https://review.openstack.org/55109:52
Tribaalsoren, would you mind giving me the "main" git repository's url? Should I take the time to update the wiki while I'm at it?09:53
sorenTribaal: http://github.com/openstack/nova.git should be the main one, IIUC.09:53
sorenTribaal: Sure, if the wiki is wrong, fix it.09:53
Tribaalsoren alright, excellent! Just FYI - the repository's title on github states it's a mirror, it would probably help if it said "this is the main repository" or something09:56
Tribaal(that's why I asked in the first place)09:56
Tribaalso are github pull requests an accepted way to send code / features?09:57
Tribaalsorry for all theses questions :)09:57
openstackgerritVish Ishaya proposed a change to openstack/nova: Pull volume-cleanup-2 from bzr  https://review.openstack.org/55209:58
sorenNo, we use Gerrit.09:58
vishywell i got a review in09:58
vishythat was painful09:58
sorenSee http://wiki.openstack.org/GerritWorkflow09:58
* soren tries, too09:59
Tribaalsoren: thanks, that link is golden10:00
vishyand that was a failure10:00
vishyso not trying that again10:00
*** sanjay400 has joined #openstack-dev10:04
Davieyvishy: What was it you were trying to do, i couldn't follow.10:10
Davieyvishy: you used git-bzr previously, and you wanted to push that to change where you were pushing, usng straight git?10:11
*** AhmedSoliman has quit IRC10:12
vishyDaviey: no it is very simple10:14
vishyDaviey: i'm trying to pull an old branch from bzr into git and propose it10:14
Davieyah10:14
vishyit is surprisingly difficult for this old nasty branch10:14
Davieyvishy: Well git workflow seems to not care about having multiple commits, ie, folding into one patch.. that being the case, i'd bzr diff -r-1..$WHERE_YOU STARTED > patch :)10:16
openstackgerritVish Ishaya proposed a change to openstack/nova: Pull volume-cleanup-2 from bzr  https://review.openstack.org/55210:18
vishywell there we go i managed to get all of the changes in10:18
vishythat was ugly though10:18
vishyDaviey: yeah that was probably the easier version10:18
Davieyvishy: although, Ben McGraw has lost his name in the commit history.10:19
Davieyoh no10:19
Davieyscrub that10:19
openstackgerritVish Ishaya proposed a change to openstack/nova: Pull volume-cleanup-2 from bzr  https://review.openstack.org/55210:19
vishythere were commits from 3 different people in there10:19
vishyI don't know how to keep them10:20
Davieyscrew it. :(.. short term pain.10:20
markmcvishy, okay, how does this look for instructions? http://pastebin.com/d7MVdQYw10:21
vishymarkmc: looks ok, might want to have an alternate version10:22
soren?!?!?!?10:22
sorenWhy did we remove BaseImageService?10:22
markmcvishy, an alternate version that just squashes into a single commit ?10:23
vishyi.e: bzr diff lp:nova/trunk > patchfile10:23
vishycat patchfile | patch -p010:23
sorenbzr diff --old lp:nova/trunk10:23
vishyerr10:23
vishyyeah forgot the --old10:23
vishy:)10:23
sorenOr: Go to your trunk checkout and do: bzr merge --preview ../the-other-branch10:23
Davieyls10:25
vishymarkmc: can you put that on the wiki, then we can send out an email on how to get your old branch in10:26
markmcvishy, will do10:27
*** wwkeyboard has joined #openstack-dev10:30
markmcvishy, http://wiki.openstack.org/MigrateMergePropFromLaunchpadToGerrit10:34
markmcvishy, added alternate version too10:41
*** rods has joined #openstack-dev10:49
markmcyou can't submit other people's patches to gerrit?10:52
markmcremote: ERROR:  In commit b7430a2d0fbf3cbcf2f22c61a6a30d5c1e92703e10:52
markmcremote: ERROR:  author email address zulcss@ubuntu.com10:52
markmcremote: ERROR:  does not match your user account.10:52
Davieymtaylor: is it possible to fix, http://pb.daviey.com/xSB6/ ?10:57
markmcDaviey, you can add multiple accounts in your gerrit settings10:57
markmcDaviey, https://review.openstack.org/#settings,contact10:57
* markmc is reluctant to add zul's address to his account though :)10:58
zykes-in the initial keystone auth, is it only global endpoints that are retrieved then ?10:59
Davieymarkmc: so i need to add a uppercase version of the email address it already knows about? :)11:00
Davieyor CamelCase i suppose.11:00
markmcDaviey, looks like it11:00
*** bsza has joined #openstack-dev11:02
*** Jaesang has quit IRC11:05
openstackgerritMark McLoughlin proposed a change to openstack/nova: Allow the user to choose either ietadm or tgtadm  https://review.openstack.org/55311:05
openstackgerritMark McLoughlin proposed a change to openstack/nova: Remove VolumeDriver.sync_exec method  https://review.openstack.org/55411:05
openstackgerritMark McLoughlin proposed a change to openstack/nova: Refactor ietadm/tgtadm calls out into helper classes  https://review.openstack.org/55511:05
markmcwell now, that was an ordeal11:06
*** HugoKuo__ has quit IRC11:15
*** AhmedSoliman has joined #openstack-dev11:15
openstackgerritMark McLoughlin proposed a change to openstack/nova: Fix rfc.sh's check for the project  https://review.openstack.org/55611:21
openstackgerritMark McLoughlin proposed a change to openstack/nova: Add INPUT chain rule for EC2 metadata requests  https://review.openstack.org/55711:24
openstackgerritMark McLoughlin proposed a change to openstack/nova: Have nova-api add the INPUT rule for EC2 metadata  https://review.openstack.org/55811:24
openstackgerritMark McLoughlin proposed a change to openstack/nova: Have nova-api add the INPUT rule for EC2 metadata  https://review.openstack.org/55811:32
openstackgerritMark McLoughlin proposed a change to openstack/nova: Add INPUT chain rule for EC2 metadata requests  https://review.openstack.org/55711:32
openstackgerritMark McLoughlin proposed a change to openstack/nova: Remove VolumeDriver.sync_exec method  https://review.openstack.org/55411:34
openstackgerritMark McLoughlin proposed a change to openstack/nova: Refactor ietadm/tgtadm calls out into helper classes  https://review.openstack.org/55511:34
*** wwkeyboard has quit IRC11:45
*** bsza3 has joined #openstack-dev12:04
*** bsza3 has quit IRC12:06
*** bsza has quit IRC12:06
*** bsza has joined #openstack-dev12:08
*** mfer has joined #openstack-dev12:09
*** mdomsch has quit IRC12:24
zykes-any keystone folks here ?12:24
zykes-http://paste.openstack.org/show/2539/ error when using unscoped token towards a tenant that doesn't exist.12:26
*** ameade has joined #openstack-dev12:27
*** neogenix has quit IRC12:30
*** chomping has joined #openstack-dev12:31
*** lts has joined #openstack-dev12:34
*** zns has joined #openstack-dev12:37
*** zns has quit IRC12:51
*** wwkeyboard has joined #openstack-dev12:56
*** naehring has quit IRC12:59
Davieyttx: Is diablo packaging that openstack cares about now static?13:02
Davieyas in the PPA?13:02
ameadeI am following http://wiki.openstack.org/MigrateMergePropFromLaunchpadToGerrit13:08
ameadeand getting a problem when i git review13:08
ameadeThe current project name, openstack/nova.git, is not a known project.13:08
ameadePlease either reclone from github/gerrit or create a13:08
ameaderemote named gerrit that points to the intended project.13:08
ameadeCan't infer where gerrit is - please set a remote named13:08
ameadegerrit manually and then try again.13:08
*** chomping has quit IRC13:10
markmcameade, just do:13:11
markmc-        if echo $project_list | grep $project >/dev/null13:11
markmc+        true13:11
markmcameade, in tools/rfc.sh13:11
markmcameade, then run tools/rfc.sh and revert the hack13:11
markmcameade, see https://review.openstack.org/#change,55613:11
openstackgerritMark McLoughlin proposed a change to openstack/nova: Allow the user to choose either ietadm or tgtadm  https://review.openstack.org/55313:15
openstackgerritAlex Meade proposed a change to openstack/nova: Add minDisk and minRam to OSAPI image details  https://review.openstack.org/55913:15
ameade! thanks13:15
openstackameade: Error: "thanks" is not a valid command.13:15
markmcameade, w00t! :)13:15
*** bcwaldon has joined #openstack-dev13:16
ameademarkmc: i liked the step by step docs13:16
markmcameade, thanks13:16
*** joesavak has joined #openstack-dev13:18
*** AhmedSoliman has quit IRC13:18
*** joesavak has quit IRC13:18
*** med_out is now known as medberry13:20
*** AhmedSoliman has joined #openstack-dev13:22
*** zns has joined #openstack-dev13:26
*** sanjay400 has quit IRC13:33
*** zns has quit IRC13:35
*** bcwaldon has quit IRC13:43
*** bcwaldon has joined #openstack-dev13:43
vishymarkmc: so we can't prop for other users?13:50
vishymarkmc: that seems like it needs to be fixed.  What about collaborative branches?13:50
*** bcwaldon has quit IRC13:50
markmcvishy, totally13:50
markmcvishy, I couldn't find any docs confirming it or anything but ...13:51
*** bcwaldon has joined #openstack-dev13:51
vishymarkmc: i had the same issue13:51
markmcah13:51
vishymarkmc: we should check with the ci team13:51
vishythough13:51
vishyI managed to prop with a different author though13:51
vishyso maybe you just have to change yourself to committer and keep the original author13:52
markmcalmost certain I was the committer13:52
markmccommitter changes when you rebase13:52
markmcAFAIR13:52
vishymarkmc: hmm, maybe i was mistaken13:53
*** Binbin has joined #openstack-dev13:53
vishymarkmc: btw, the sync_exec was from back when the code was using twisted!!!13:54
markmcvishy, yeah, saw that in the logs13:54
markmcvishy, looks like we never really wanted to run these commands async though?13:54
vishymarkmc: we needed a sync exec method because init_host was called before the reactor started13:54
markmcah13:55
vishymarkmc: so we had to have a version of exec that didn't do callbacks13:55
vishymarkmc: with eventlet, the callbacks are all magic so the same method works always13:55
markmccool13:55
*** troytoman-away is now known as troytoman13:56
*** kbringard has joined #openstack-dev13:57
ttxDaviey: You mean, shoud we refresh the packages in the Release PPA ?13:58
Davieyttx: yes13:58
ttxDaviey: if they are badly broken, I'd say yes13:58
*** martine_ has joined #openstack-dev13:58
ttxDaviey: if tey are just "different" no13:58
ttxDaviey: in particular I don't see the point of updating the Oneiric one13:59
Davieyttx: yeah13:59
ttxsince you guys will ship the "Ubuntu" one13:59
DavieyThat was my thought.13:59
*** cmagina has joined #openstack-dev13:59
zulhmm?14:01
bcwaldonvishy: yo, we can't get anything into nova trunk due to pep8 errors14:01
bcwaldonvishy: mtaylor has a branch in to fix some of them, but not all, so that can't even go in14:02
bcwaldonvishy: what do you propose we do14:02
ttxbcwaldon: apparently pep8 was disabled the last days of LP/tarmac14:02
jk0s/days/weeks/14:02
ttxI did push pep8 fixed in the milestone-proposed branch14:02
vishyyeah way was just looking at it14:02
ttxjust so that it passes14:02
bcwaldonhttps://jenkins.openstack.org/job/nova-pep8/1378/console14:02
ttxbut probably more crept in14:02
bcwaldonthats the output of mtaylor's pep8 fixes branch14:02
vishybcwaldon someone take mtaylors branch and make the rest of the changes and propose?14:03
bcwaldonI can do it, but will I just have to do it in a second review?14:03
bcwaldonI can't push to his review, right?14:03
*** reed_ has joined #openstack-dev14:06
jeblairbcwaldon: i believe you _can_ push to his review14:13
bcwaldonok, I'll try14:13
*** mdomsch has joined #openstack-dev14:13
ttxadam_g: you sure the glance bug applies to our Glance in PPA as well ? I looked at the debian.tar.gz and couldn't find /dev/nul references in the postinst14:14
*** reed_ is now known as reed14:16
jeblairvishy: the nova-core team can push changes to gerrit not authored by them (in gerrit ACL terminology, they can forge author and committer identity).  that seemed like a good compromise between giving the -core team the flexibility to push any patch (maybe even received by email or something), but maintaining some notion of identity for everyone else (since anyone can propose a patch it's good to at least know the email on the patch is r14:16
*** nati has joined #openstack-dev14:16
vishyjeblair: ah so markmc couldn't because he is not in core, gotcha14:17
vishyi wonder if i should try and actually rebase my patch and keep original authors then14:17
jeblairvishy: sorry i didn't document that.  i'll add something to the gerritworkflow wiki page.14:17
vishycool thx14:18
*** clayg_ has joined #openstack-dev14:18
*** troytoman is now known as troytoman-away14:18
*** clayg has quit IRC14:19
*** clayg_ is now known as clayg14:19
*** clayg_ has joined #openstack-dev14:20
*** nati_ has quit IRC14:20
vishyjeblair: did you see the issue in rfc.sh where it uses .git from origin and fails?14:20
*** zns has joined #openstack-dev14:24
bcwaldonjeblair: anything special I need to do to push to a branch not owned by me?14:25
bcwaldonjeblair: I checked it out locally and made the changes14:25
bcwaldonjeblair: now can I just commit --amend and review again?14:25
jeblairvishy: yes.  I think Mark's change looks good.  Would you like to bypass code review on that to get it around the pep8 problem?14:26
bcwaldonjeblair: I've got a branch that fixes all pep8 errors right now14:27
jeblairbcwaldon: or there's that. :)14:27
jeblairbcwaldon: i don't think there's anything special, go for it14:27
openstackgerritBrian Waldon proposed a change to openstack/nova: Fix outstanding pep8 errors for a clean trunk.  https://review.openstack.org/54814:27
vishyjeblair: lets try brians first14:27
bcwaldonkk, looks like it worked14:27
bcwaldonfeel free to send that review in14:27
jeblaircool.  i like this way better too. :)14:28
*** code_franco has joined #openstack-dev14:28
*** rbasak has quit IRC14:29
*** zns has quit IRC14:30
*** z has joined #openstack-dev14:31
*** AhmedSoliman has quit IRC14:31
bcwaldonvishy: some old code made it back into trunk14:33
bcwaldonvishy: https://github.com/openstack/nova/tree/37100f5653960b7f898e91663839feed51e14419/nova/api14:33
bcwaldonvishy: there's a 'rackspace' folder again14:33
*** rbasak has joined #openstack-dev14:33
openstackgerritBrian Waldon proposed a change to openstack/nova: Removing old code that snuck back in  https://review.openstack.org/56014:35
*** dwalleck has joined #openstack-dev14:40
*** dwalleck has quit IRC14:42
*** neogenix has joined #openstack-dev14:42
*** AhmedSoliman has joined #openstack-dev14:43
*** nati_ has joined #openstack-dev14:45
*** nati has quit IRC14:47
*** rnorwood has joined #openstack-dev14:57
*** heckj has joined #openstack-dev15:02
openstackgerritMark McLoughlin proposed a change to openstack/nova: Don't use GitPython for authors check  https://review.openstack.org/56115:02
*** stanchan has quit IRC15:02
*** dolphm has joined #openstack-dev15:02
*** reidrac has quit IRC15:04
*** mdomsch has quit IRC15:07
*** cp16net has joined #openstack-dev15:07
*** heckj has quit IRC15:07
*** heckj has joined #openstack-dev15:07
vishyjeblair: remote: ERROR: missing Change-Id in commit message15:09
vishyjeblair: after rebasing a whole mess of commits15:09
vishyjeblair: that is the first rebased commit15:09
jeblairvishy: does it make sense to squash the commits into one to make one gerrit change?15:10
vishyjeblair: i don't mind one change, but we lose the original authors for all the commits then15:11
vishyjeblair: it seems harsh :)15:11
*** rnirmal has joined #openstack-dev15:11
jeblairvishy: oh.  so just so i understand, you have a bunch of commits all on one branch you want to push, and none of them have change-ids?15:11
*** troytoman-away is now known as troytoman15:12
sandywalshvishy, HAHAHA15:12
sandywalshsorry15:12
sandywalsh:D15:12
vishyjeblair: right15:12
jeblairvishy: so 'git commit --amend' will update the commit message of the most recent commit; doing so will trigger the change-id hook and add a change-id.  but i don't know if there's a way to do that for older commits in the series15:14
jeblair(any git experts here know the answer to that?)15:14
vishyjeblair i guess i could --amend all the commits15:14
bcwaldoncan somebody send this in: https://review.openstack.org/#change,54815:15
bcwaldonwe need it to be able to get anything done today15:15
* sandywalsh grabs a beer to watch this15:15
bcwaldonvishy: thanks, bud15:15
* tr3buchet brings some chips15:15
kbringardoh man, crisps and beer, can i join in?15:16
sandywalshpull up a chair15:16
tr3buchetvishy: i ran intot he same problem when i first tried out the gerrit stuff15:16
jeblairvishy: failing that, we can turn off the change-id requirement temporarily.  the downside to that is that if anyone wants to update one of these changes, they'd need to manually add the Change-Id to their commit messages when uploading a new patchset.15:17
tr3buchetdoing an amend to get the change-id worked fine to solve for me15:17
tr3buchetjeblair: isn't change-id the one thing keeping this all together?15:17
jeblairtr3buchet: it's used when you upload a second patchset to a change (to supercede a previous one, like if you're responding to comments in a review)15:18
tr3buchetright, i'm just seeing how terrible it would be if we had second patchsets that were not related to the first in gerrit15:19
tr3buchetthat would be a mess15:19
jeblairtr3buchet: yes, which is why i'm in favor of the requirement being there generally, but i think we could turn it off to handle the backlog of changes vishy needs to push.  however, if you know how to amend commit messages other than the one on the top of the stack, i like that much better.15:20
vishyjeblair: it seems like the rebase would add change ids to all the branches15:20
tr3buchetand vishy: jeblair: you shouldn't have to worry about the change id on all of them individually if you do a rebase15:21
bcwaldonjaypipes: ping15:21
jeblairtr3buchet: i think vishy has more than one commit on his branch that he he wants to push, and does not want to squash them since they have different authors and are different changes.15:21
tr3buchethmmm15:22
tr3buchetso what happened when he did the --amend as far as gerrit is concerned?15:22
*** mdomsch has joined #openstack-dev15:22
openstackgerritA change was merged to openstack/nova: Fix outstanding pep8 errors for a clean trunk.  https://review.openstack.org/54815:25
mtayloryay!15:25
bcwaldonmtaylor: I cleaned it up for you :)15:26
mtaylorbcwaldon: I saw - and thanks!15:26
bcwaldonyou're very welcome15:26
jeblairmy understanding of git is that when you amend a commit, you make a new one, so if you ammend commit #2, you make #2b, while #1 still has #2 as it's parent.15:27
tr3buchetyou're right jeblair15:27
ameadeif you do git commit -a --ammend this it makes a new one15:28
jeblairi think you could do this by amending the oldest commit N getting N', checkout N+1, rebase N+1 on N', then ammend N+1 getting (N+1)' and so on.15:28
ameadedoes it do that if you dont have the -a?15:28
jeblairyikes.15:28
jaypipesbcwaldon: pong15:28
bcwaldonjaypipes: gonna redo the git-authors branch in glance to remove the GitPython dep. There's a branch in for nova I am just going to copy15:28
bcwaldonjaypipes: you cool with that?15:29
bcwaldonjaypipes: https://review.openstack.org/#change,56115:29
jaypipesbcwaldon: yuppers. followed Mark's comments on the nova one...15:29
jeblairbcwaldon, jaypipes: i think that's a gerat idea, btw. :)15:29
tr3buchetthe -a just commits all changes instead of those that are staged15:29
mtaylorbcwaldon, jaypipes just to be clear - I will kill both of you, although I do think it's a great idea15:29
notmynamevishy: are all of these commits approved and tested?15:29
bcwaldonmtaylor: yeah, I thought you would say that ;)15:30
tr3buchetah i see what happened with my branch. i squashed everything and only picked 1. that's why the amend was a simple fix15:31
tr3bucheti'm guess you picked several vishy15:31
vishynotmyname: no15:31
vishynotmyname: so I had an outstanding branch contributed by a bunch of people15:32
vishynotmyname: it was collaborative15:32
jeblairvishy: pep8 is clean now; might be a good time to approve the rfc.sh fix before too many devs have a borked version: https://review.openstack.org/#change,55615:32
notmynamevishy: gotcha15:32
dolphmanyone know who I need to pester to register for the design summit, now that registration is officially closed at http://summit.openstack.org/ ?15:32
vishynotmyname: if I squash them i lose the original author etc.15:32
*** vladimir3p has joined #openstack-dev15:34
*** jdag has joined #openstack-dev15:34
jaypipesman, git cloning nova takes forever...15:35
notmynamevishy: and since the work was done before gerrit, there are not change-ids on any of the individual commits to tie them together15:35
jaypipesjeblair: what did you think was a great idea? the removal of the GitPython dep?15:36
jeblairyes15:36
jaypipesjeblair: ya, agreed :)15:36
*** stuntmachine has joined #openstack-dev15:37
jeblairokay, here's the best thing i've come up with on how to ammend all those commit messages: http://paste.openstack.org/show/2542/15:37
vishyjeblair: magic: git rebase -i origin/master and change pick to reword15:38
jeblairyay magic!15:38
mtaylorvishy: score!15:38
tr3buchetvishy: then just add the change-id to the commit msg?15:38
sandywalshtr3buchet, won't work unless you squash first, or it will complain of too many change-id's15:39
jeblairwon't that edit all the messages at once?15:39
tr3buchetsandywalsh: even if it's the same change-id on them all?15:39
sandywalshtr3buchet, the commit msg only shows from the last commit15:39
jeblairno!15:39
jeblairi'm wrong15:39
jeblairit edits them one by one15:39
sandywalshif it's the same change-id you should be ok ... *should be*15:39
mtayloryes. that's the magic15:39
jeblairletting the change-id hook run on each15:39
jeblairso it is exactly what vishy needs.15:40
tr3buchetwell i guess we're about to find out15:40
mtayloryeah - it's perfect15:40
jeblairsandywalsh: vishy wants a different change-id for each commit, because he wants each commit to be a change in gerrit.15:40
vishythen a bunch of ZZ in vim15:40
sandywalshhmm15:40
*** AhmedSoliman has quit IRC15:41
notmynamehow does rfc.sh determine the change-id? the branch name?15:41
vishytr3buchet it adds it automatically15:41
tr3buchetvishy: when you reword?15:41
sandywalshjeblair, so wouldn't it have to be 'branch/review/branch/review/...'?15:41
jeblairnotmyname: the gerrit change-id hook runs on commit15:41
openstackgerritVish Ishaya proposed a change to openstack/nova: Killed AOEVolumeDriver.  https://review.openstack.org/56215:41
openstackgerritVish Ishaya proposed a change to openstack/nova: Adding myself to the authors.  https://review.openstack.org/56315:42
openstackgerritVish Ishaya proposed a change to openstack/nova: removed extraneous line from docs  https://review.openstack.org/56415:42
*** AhmedSoliman has joined #openstack-dev15:42
openstackgerritVish Ishaya proposed a change to openstack/nova: Renamed discover_volume to prepare_attach, undiscover_volume to prepare_detach.  https://review.openstack.org/56515:42
openstackgerritVish Ishaya proposed a change to openstack/nova: Killed 'num_shelves' flag; No use for it now that AOE is removed.  https://review.openstack.org/56615:42
openstackgerritVish Ishaya proposed a change to openstack/nova: killed blades_per_shelf flag; no longer needed since AOE has been removed.  https://review.openstack.org/56715:42
openstackgerritVish Ishaya proposed a change to openstack/nova: Killing more dead code from removing AOE  https://review.openstack.org/56815:42
openstackgerritVish Ishaya proposed a change to openstack/nova: more removal of aoe stuff  https://review.openstack.org/56915:42
openstackgerritVish Ishaya proposed a change to openstack/nova: rip out more aoe  https://review.openstack.org/57015:42
openstackgerritVish Ishaya proposed a change to openstack/nova: one more  https://review.openstack.org/57115:42
openstackgerritVish Ishaya proposed a change to openstack/nova: Removing export_devices table.  https://review.openstack.org/57215:42
openstackgerritVish Ishaya proposed a change to openstack/nova: splitting up volume and compute coupling  https://review.openstack.org/57315:42
openstackgerritVish Ishaya proposed a change to openstack/nova: fixing some pep8 errors.  https://review.openstack.org/57415:42
openstackgerritVish Ishaya proposed a change to openstack/nova: fix log string and detach_volume  https://review.openstack.org/57515:42
openstackgerritVish Ishaya proposed a change to openstack/nova: change attach_volume to pass in connection_info  https://review.openstack.org/57615:42
openstackgerritVish Ishaya proposed a change to openstack/nova: Adding new field to the block_device_mapping model.  https://review.openstack.org/57715:42
openstackgerritVish Ishaya proposed a change to openstack/nova: Adding a migration file to add a device_path field to block_device_mapping.  https://review.openstack.org/57815:42
openstackgerritVish Ishaya proposed a change to openstack/nova: more decoupling  https://review.openstack.org/57915:42
openstackgerritVish Ishaya proposed a change to openstack/nova: WIP changes being handed off to vish.  https://review.openstack.org/58015:42
vishyfail15:42
openstackgerritVish Ishaya proposed a change to openstack/nova: finish rewriting initialize and terminate  https://review.openstack.org/58115:42
openstackgerritVish Ishaya proposed a change to openstack/nova: split out code into driver classes  https://review.openstack.org/58215:42
tr3buchetyowza!15:42
openstackgerritVish Ishaya proposed a change to openstack/nova: continue to cleanup volume attach code  https://review.openstack.org/58315:42
openstackgerritVish Ishaya proposed a change to openstack/nova: move login code to libvirt volume driver  https://review.openstack.org/58415:42
openstackgerritVish Ishaya proposed a change to openstack/nova: add an exception for libvirt volume driver  https://review.openstack.org/58515:42
notmynameopenstackgerrit: use the pastebin!! ;-)15:42
openstackgerritVish Ishaya proposed a change to openstack/nova: renumber migration scripts  https://review.openstack.org/58615:42
openstackgerritVish Ishaya proposed a change to openstack/nova: add libvirt volume drivers  https://review.openstack.org/58715:42
openstackgerritVish Ishaya proposed a change to openstack/nova: fix method signature typos  https://review.openstack.org/58815:42
openstackgerritVish Ishaya proposed a change to openstack/nova: happy path finished  https://review.openstack.org/58915:42
openstackgerritVish Ishaya proposed a change to openstack/nova: fix xen tests/code  https://review.openstack.org/59015:42
openstackgerritVish Ishaya proposed a change to openstack/nova: fix/speedup cloud test cases  https://review.openstack.org/59115:42
openstackgerritVish Ishaya proposed a change to openstack/nova: fixing block device info in terminate  https://review.openstack.org/59215:42
openstackgerritVish Ishaya proposed a change to openstack/nova: disconnect from boot volumes on terminate  https://review.openstack.org/59315:42
openstackgerritVish Ishaya proposed a change to openstack/nova: fix typo  https://review.openstack.org/59415:42
openstackgerritVish Ishaya proposed a change to openstack/nova: no need to terminate volumes from hostless instance.  If it has no host, they never got created  https://review.openstack.org/59515:42
vishyof course that apparently submits all of them as separate reviews15:42
openstackgerritVish Ishaya proposed a change to openstack/nova: cascade deletes for block device mapping instead of iterating through and deleting  https://review.openstack.org/59615:42
openstackgerritVish Ishaya proposed a change to openstack/nova: keep error traceback. Fixed double use of mount_device  https://review.openstack.org/59715:42
openstackgerritVish Ishaya proposed a change to openstack/nova: missed one reference to connection  https://review.openstack.org/59815:42
openstackgerritVish Ishaya proposed a change to openstack/nova: write some volume driver tests and fix typos  https://review.openstack.org/59915:42
openstackgerritVish Ishaya proposed a change to openstack/nova: live migration/boot-from-volume test completed  https://review.openstack.org/60015:42
openstackgerritVish Ishaya proposed a change to openstack/nova: change migrate numbers  https://review.openstack.org/60115:42
openstackgerritA change was merged to openstack/nova: Add minDisk and minRam to OSAPI image details  https://review.openstack.org/55915:42
sandywalshisn't that what you wanted? or are these dups?15:42
openstackgerritVish Ishaya proposed a change to openstack/nova: fix remote error to come from nova exception and test_compute  https://review.openstack.org/60215:42
openstackgerritVish Ishaya proposed a change to openstack/nova: fix the fake volume driver  https://review.openstack.org/60315:42
openstackgerritVish Ishaya proposed a change to openstack/nova: fix bdm delete and add back discover  https://review.openstack.org/60415:42
openstackgerritVish Ishaya proposed a change to openstack/nova: use stubs instead of setattr  https://review.openstack.org/60515:42
openstackgerritVish Ishaya proposed a change to openstack/nova: fix virt driver test  https://review.openstack.org/60615:42
openstackgerritVish Ishaya proposed a change to openstack/nova: pull in changes from manager  https://review.openstack.org/60715:43
openstackgerritVish Ishaya proposed a change to openstack/nova: changes from volume api  https://review.openstack.org/60815:43
bcwaldonvishy: :| and every one sends me an email, too15:43
openstackgerritVish Ishaya proposed a change to openstack/nova: fix scheduler test  https://review.openstack.org/60915:43
openstackgerritVish Ishaya proposed a change to openstack/nova: fix integrated attach volume test  https://review.openstack.org/61015:43
openstackgerritVish Ishaya proposed a change to openstack/nova: compare as string instead of converting to int  https://review.openstack.org/61115:43
openstackgerritVish Ishaya proposed a change to openstack/nova: fix rescan and messed up permissions  https://review.openstack.org/61215:43
openstackgerritVish Ishaya proposed a change to openstack/nova: renumber migrations  https://review.openstack.org/61315:43
vishysandywalsh: i think what i want just doesn't work15:43
openstackgerritVish Ishaya proposed a change to openstack/nova: use tuples for login and logout  https://review.openstack.org/61415:43
openstackgerritVish Ishaya proposed a change to openstack/nova: make it work when we are on the same host  https://review.openstack.org/61515:43
openstackgerritVish Ishaya proposed a change to openstack/nova: Fix rebasing errors  https://review.openstack.org/61615:43
openstackgerritVish Ishaya proposed a change to openstack/nova: remove non-existing terminate_volumes  https://review.openstack.org/61715:43
vishysorry for the spam guys15:43
heckjyep, getting spammed in stereo!15:43
glencmmmmm, spam15:43
mtaylorwow. that was impressive15:43
bcwaldonI'm not even mad...15:43
heckjvishy: all good - better to take the hit up front15:43
tr3buchetyeah i'm thinking 1 branch 1 merge15:43
vishyok well I guess i know what not to do now15:43
vishytr3buchet: ok can we specify multiple authors?15:43
notmynamevishy: mute openstackgerrit first? ;-015:43
jeblairvishy: you _didn't_ want separate changes?15:43
kbringardholy gerrit flood batman15:44
vishyjeblair: I'm just used to people getting credit for what they actually do, but I guess there is no way to do that in this setup15:44
sandywalshI assumed that's what was intended ... gerrit per commit15:44
vishyi will stop spamming people now15:44
ameademan, you get a lot of work done15:45
tr3buchetthe author shouldn't change15:45
tr3buchetvishy ^15:45
sandywalshvishy, you have a long way to go to beat ttx15:45
notmynamejeblair: I was wondering how a particular change id is generated. IOW, how does it know to keep a change id or generate a new one?15:45
jeblairnotmyname: it generates and adds one if it there is not one in the commit message.15:46
jeblairnotmyname: so, ideally, if it's a new commit, it adds one.  if you are amending a commit to, say, implement changes suggested in a code review, it will already be there and nothing needs to happen.15:47
sandywalshjeblair, in the *last* commit msg, correct?15:47
notmynamejeblair: ah. that's right. new patcheset have the same because they are a squash on top of the existing one (and the dev is responsible for keeping the changeid in the commit message)15:47
jeblairnotmyname: yep15:47
jeblairsandywalsh: the change-id hook is a commit hook, so runs every time a commit message is saved15:48
notmynamejeblair: which unfortunately makes vishy right: with gerrit it's hard to have a collaborative branch merged and let everyone get appropriate creadit/blame15:48
sandywalshjeblair, gotcha ... what I was suggesting in the email was if it could look back to where the branch diverged from trunk and scan from there.15:48
sandywalshi guess not required if the rebase works correctly15:49
mtaylornotmyname: that is correct15:49
sandywalshthe squash merge/rebase seems the be the main culprit here15:50
openstackgerritA change was merged to openstack/nova: Fix rfc.sh's check for the project  https://review.openstack.org/55615:51
johan_-_how did my branch make it into lp:nova yesterday but now it's not there anymore?15:53
*** Binbin has quit IRC15:54
*** zns has joined #openstack-dev15:55
openstackgerritTroy Toman proposed a change to openstack/nova: Fix bug 856664 overLimit errors now return 413  https://review.openstack.org/61915:57
uvirtbotLaunchpad bug 856664 in nova "When hitting the absolute limit I am getting a 403 instead of 413" [Undecided,New] https://launchpad.net/bugs/85666415:57
johan_-_lp:~johannes.erdfelt/nova/lp822982 got merged into lp:nova yesterday, but it's not on github it seems and it's not in lp:nova anymore (which i understand is a mirror of github now?)15:59
johan_-_it's there in lp:nova/diablo15:59
tr3buchetvishy: i think your best bet is to take your branch with all the chances in it and clone it, then do a git rebase and pull out each set of changes then gerrit them one at a time15:59
tr3buchetclone so as not to worry16:00
mtaylorvishy: should we make all of the changes you just uploaded as abandoned? I'm guessing you don't want to review each of them individually16:02
*** lorin1 has joined #openstack-dev16:02
*** lorin1 has left #openstack-dev16:02
wwkeyboardCould I get someone to look over https://review.openstack.org/#change,545 ?16:02
wwkeyboardI'm want to make sure I'm following the gerrit process correctly.16:03
*** zns has quit IRC16:03
wwkeyboards/I'm/I/ sorry, insufficient coffee this morning.16:04
ameadewwkeyboard: are you in the authors file?16:05
mtaylorwwkeyboard: yes. I agree. not enough coffee.16:05
wwkeyboardameade: I doubt it as this is the first I've heard of an authors file.16:05
kbringardI'm glad I got in the authors file way back when we let any old schmoe in ;-)16:05
ameadewwkeyboard: well that's one thing you gotta do, just add yourself in the Authors file16:06
mtaylorgood call ameade. wwkeyboard, you're going to want to amend your patch to add yourself to the Authors file16:06
* mtaylor shuts up - ameade has got this under control :)16:06
ameadelol16:06
comstudjeblair, mtaylor: Is someone able to move over johannes's merge that made it into nova/trunk around the time of the cutover, but didn't make it to github?16:06
wwkeyboardThanks for the info!16:06
comstudsee his comments above16:06
mtaylorcomstud: looking16:06
ameadecomstud: my branch was in the same posistion16:07
ameadecomstud: i just did this http://wiki.openstack.org/MigrateMergePropFromLaunchpadToGerrit16:07
comstudameade: johannes's actually merged16:07
vishymtaylor: no you can delete them16:08
comstudit looks like there was one from titan that was approved...16:08
ameadecomstud: ah alrighty then16:08
comstudbut didn't merge16:08
mtaylorvishy: ok16:08
bcwaldoncomstud: which16:08
comstudbcwaldon: sec16:08
comstudbcwaldon: minram16:08
mtaylorvishy: for what it's worth, here's the script I'm going to run to do that: http://paste.openstack.org/show/2543/  (there's an ssh/command line interface that I like to pimp out whenever I  can)16:08
bcwaldoncomstud: we got one in (minram-mindisk) in earlier today16:08
bcwaldoncomstud: you're so behind!16:08
comstudbcwaldon: it's going to need to be copied over to hit and re-reviewed i guess16:08
comstudahh ok16:08
comstudwell16:08
comstudit's 9am16:08
comstudsue me16:08
mtaylorwell - I'm going to do that script _without_ the echo16:08
comstud:)16:09
comstudi just woke up!16:09
bcwaldoncomstud: Wrong. It is 12pm16:09
vishymtaylor (or anyone) is it possible to set multiple authors in a commit?16:09
comstudbcwaldon WRONG!16:09
comstudhehe16:09
wwkeyboardohh snap! the Authors file is alphabetical16:09
bcwaldonwwkeyboard: you jerk!16:09
vishyto answer my question: apparently no you cant16:10
ameadeI am slowly moving down the Authors file :(16:10
comstudaaron has turned into a keyboard?16:10
notmynamevishy: different author and commiter but only one of each, I think, in git16:10
mtaylorvishy: from what I can tell, it seems no, but people will put in notes into the commit message: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=45188016:10
uvirtbotDebian bug 451880 in git "git-core: Git should support multiple authors for a commit" [Wishlist,Open]16:10
vishymtaylor, notmyname: well i guess shared branches are a little hamstrung16:10
vishyat least for people feeling good about their commits16:11
Davieyls16:11
ameadecould always just stick names in the commit message16:12
ameadelol16:12
mtaylorvishy: yes. well, the current model is to ensure that every commit that hits trunk is gold - so merging in a shared branch like that would get us with all of those subcommits in the mainline, which would make bisecting more difficult in the future16:12
vishymtaylor: true ok, just hadn't wrapped my head around our new plan16:13
mtaylorvishy: totally. and I hadn't really contemplated group branches like that - I'm wondering if there's a way that we could leverage gerrit's branch ability to do something16:14
comstudameade: but that won't update github karma!.....  oh wait.16:14
ameadecomstud: you read my mind!16:14
comstudameade: yes, and your other thoughts are very disturbing.16:15
* comstud stops reading minds.16:16
notmynamemtaylor: it comes back to merge commits vs ff commits, right?16:16
ameadecomstud: yeah you should tread softly16:16
mtaylorvishy: ok. those are all cleaned out16:16
mtaylornotmyname: well, it comes back to that blog post you shared a while back16:16
mtaylornotmyname: about wanting each trunk commit to describe a discreet and solid unit of work16:16
mtaylornotmyname: and therefore discarding the intermediary commits that got you there.16:17
openstackgerritAaron Lee proposed a change to openstack/nova: bug lp845714  https://review.openstack.org/54516:18
notmynamemtaylor: we have to be careful not to fall into another holy war here ;-)16:18
mtaylortotally16:18
ameadewwkeyboard: looks like you are doing it right16:19
mtaylorwell... that blog post helped me understand the motivation behind the design well ... at the end of the day though, gerrit winds up being designed well for implementing that approach16:19
*** nati_ has quit IRC16:19
wwkeyboardameade: thanks16:19
openstackgerritVish Ishaya proposed a change to openstack/nova: Remove AoE, Clean up volume code  https://review.openstack.org/62016:23
openstackgerritVish Ishaya proposed a change to openstack/nova: Remove AoE, Clean up volume code  https://review.openstack.org/62016:25
*** chomping has joined #openstack-dev16:30
*** BK_man has joined #openstack-dev16:31
*** neogenix has quit IRC16:34
openstackgerritCarlos Marin proposed a change to openstack/keystone: Modified apiKeyCredentials to extend single entity and use restriction  https://review.openstack.org/55116:42
openstackgerritBrian Waldon proposed a change to openstack/nova: Moving admin actions to extension  https://review.openstack.org/62116:44
vladimir3pvishy: ping16:45
vishyvladimir3p: pong16:48
vladimir3pvishy: Hi, some time ago you mentioned on our BP that there is a team working on block-storage. Can't find any ref to it... ?16:48
vishyvladimir3p: a lot has been held up on our end due to my volume cleanup branch16:48
vladimir3pvishy: yeah, I see you resubmitted it16:49
vishyvladimir3p: speaking of which, I'm not sure that I merged your stuff correctly so I would appreciate if you check it16:49
vishyvladimir3p: part of your stuff was using discover_volume, which i moved into the compute side16:49
vishyvladimir3p: so i copied it into your class, but I'd prefer if it were removed from that class completely16:49
*** nati has joined #openstack-dev16:49
vladimir3pvishy: sure, I will give it a shot16:50
*** joesavak has joined #openstack-dev16:50
zulis there a reason why we are getting email for every commit in gerrit16:51
vishyzul: that was my bad16:52
vishyzul: i tried some magic and end up propping a review for every commit in my branch history16:52
zuloops16:52
openstackgerritA change was merged to openstack/keystone: Modified apiKeyCredentials to extend single entity and use restriction  https://review.openstack.org/55117:00
*** ameade has quit IRC17:01
comstudwhoever made that commit for the rfc.sh fix...17:02
*** stuntmachine has quit IRC17:03
comstudAuthor: Jenkins <jenkins@review.openstack.org>17:03
comstudwhich is not in the Authors file, of course17:03
jeblaircomstud: is that breaking the authors test?17:04
comstudyes17:04
pvoyes17:04
jeblairJenkins will be listed as the author for merge commits when the tree can't be fast forwarded, so we should either add jenkins to the authors file or change the test to ignore Jenkins commits17:05
comstudjeblair: also, vishy updated the wiki last night to clone from just $PROJECT instead of $PROJECT.git.. because of rfc.sh not matching the doc17:06
comstudjeblair: So now the wiki might need updated again17:06
jeblair(i like the second solution)17:06
openstackgerritVerification of a change to openstack/nova failed: Fix bug 856664 overLimit errors now return 413  https://review.openstack.org/61917:06
uvirtbotLaunchpad bug 856664 in nova "When hitting the absolute limit I am getting a 403 instead of 413" [Undecided,In progress] https://launchpad.net/bugs/85666417:06
jeblaircomstud: thanks, i'll go look17:06
adam_gttx: regarding bug #857021, you're right. looks bug was introduced to ubuntu packaging branch only.. must have peaked at the wrong PPA late last night.17:06
*** nhm has quit IRC17:06
uvirtbotLaunchpad bug 857021 in glance "glance (2011.3-0ubuntu1) fails to install, error in .postinst" [High,Fix released] https://launchpad.net/bugs/85702117:06
comstudjeblair: The 2nd solution makes sense17:06
*** benrodrigue has joined #openstack-dev17:07
pvojeblair: that last jenkins failure is the authors issue17:08
vishyjeblair: on gerrit, doe jenkins verify after +2, or does it try to verify branches in advance?17:08
mtaylorvishy: after +217:09
*** rbasak has quit IRC17:09
jeblairvishy: after +2 (it's triggered by setting +2)17:09
jeblairvishy: two reasons for that: a) so that Jenkins is testing the code as it will be merged (since if it tested earlier, HEAD could change)17:09
mtaylorcomstud, jeblair: you want me to do the authors patch? or is someone already doing it?17:09
jeblairb) so we're not running arbitrary un-reviewed code on the jenkins slaves17:10
comstudmtaylor: I'm not quiet set up yet17:10
comstudquite17:10
jeblairmtaylor: i'm not either, that would be great. :)17:10
mtaylork. I'll get it17:10
comstudthnx17:10
pvomtaylor: is that what we want though? Won't that mask who actually did the commit?17:11
vishyjeblair: it would be nice to have a second version that would just run through and comment red or green on a patch set17:11
mtaylorpvo: nope. you'll still get the real author on the real commit - the merge commit is the thing that gets jenkins as the author17:12
vishyjeblair, mtaylor: so that there would be a bit of advance notice if it was going to fail17:12
jeblairhttps://github.com/openstack/nova/commit/48bc6645da2f12a6c1667d2db49afe1d5417de9f17:12
jeblairpvo: that's the real commit17:12
vladimir3pvishy: ping17:12
vladimir3pvishy: just reviewed your volume_cleanup17:12
*** stanchan has joined #openstack-dev17:12
*** nhm has joined #openstack-dev17:13
pvogithub says "Jenkins authored about an hour ago"17:13
vladimir3pvishy: the only reason we called discovery is because there was a distinction between "local_path" and remote volume17:13
pvohttps://github.com/openstack/nova/commit/b020a057724cdf3cff59e168058ec9eb11a347ba17:13
pvoam I looking at it wrong?17:13
bcwaldonmarkmc: can you add something to your authors branch?17:13
jeblairpvo: that's the merge commit, it merged the real commit and trunk17:14
bcwaldonmarkmc: https://jenkins.openstack.org/job/nova/121527/console17:14
openstackgerritWilliam Wolf proposed a change to openstack/nova: Add next links to images requests  https://review.openstack.org/62217:14
vladimir3pvishy: it was in setup_compute_volume(). Now I see that you removed this code, which means that we could probably get rid of local_path() method in volume driver completely17:14
jeblairpvo: if you look here  https://github.com/openstack/nova/commits/master17:14
jeblairyou can see both commits17:14
vladimir3pit seems like nobody will be calling it anymore17:14
pvoah, I see it further back... sorry.17:14
vishyvladimir3p: nice17:14
jeblair(this would make more sense if you looked at it in a tree view)17:14
pvo"git log --graph --oneline --all"17:15
*** heckj has quit IRC17:15
jeblairpvo: indeed!  cool. :)17:16
vladimir3pvishy: btw, I definitely understand the rationale of previous "local_path" functionality. It definitely complicates things a bit, but was probably a nice optimization. Do you plan to implement something like that later?17:17
openstackgerritMonty Taylor proposed a change to openstack/nova: Don't use GitPython for authors check  https://review.openstack.org/56117:19
mtaylorcomstud, jeblair ^^17:19
*** dolphm has quit IRC17:20
vladimir3pvishy & all: We periodically experience a ResourceClosedError while calling db.volume_allocate_iscsi_target(). Any idea what might be causing it? Was it because DB is locked at that time by .with_lockmode('update')?17:22
openstackgerritBrian Lamar proposed a change to openstack/nova: Re-declared the reclaim_instance_interval flag to avoid test failure when not running the entire test suite. Fixed bug 857580.  https://review.openstack.org/62317:22
uvirtbotLaunchpad bug 857580 in nova "reclaim_instance_interval must be re-declared to use in OSAPI" [Undecided,New] https://launchpad.net/bugs/85758017:22
*** darraghb has quit IRC17:23
markmcbcwaldon, ah, okay - think changing it to 'git log --format=%ae HEAD^' will fix that17:25
markmcbcwaldon, bbiab and will fix then17:25
mtaylormarkmc: I think I gotcha already17:26
bcwaldonmarkmc: yeah, thank you sir17:26
bcwaldonmtaylor: you have a fix for that?17:26
mtaylorbcwaldon: https://review.openstack.org/56117:27
markmcmtaylor, looking at HEAD^ is actually more inline with what the original code did17:27
markmcmtaylor, hmm, maybe not17:28
mtaylormarkmc: should we add that in as well?17:28
markmcmtaylor, nm - go for it :)17:28
bcwaldonmtaylor: looks good17:28
markmcmtaylor, right, the merge commits that get pushed are actually by jenkins@review.openstack.org17:29
bcwaldonjust approve it17:29
bcwaldonapproved*17:29
comstud"Once a review is voted up to +2 (two reviewers, or one core-team reviewer voting +2), Jenkins will run the proposed change and verify the merge"17:31
comstudif i read that correctly, it says that only 1 core team reviewer can force something to merge?17:32
bcwaldonThat doesn't seem entirely true17:32
bcwaldonthere *has* to be a +2 from a core dev17:33
mtaylorwell, nobody can _force_ something to merge17:33
comstudwell17:33
jeblaircomstud:  where is that text from?17:33
bcwaldonbut only one core dev is required to approve it and it will go in17:33
mtaylorcomstud: hrm - that may be worded confusingly17:33
comstudi mean.. that doc above implies if a single core dev votes +2, jenkins will try to merge17:33
mtaylorcomstud: where is that?17:33
comstudgerrit workflow on wiki17:33
comstudhttp://wiki.openstack.org/GerritWorkflow17:34
mtaylorjeblair: you on it? or you want me to?17:34
jeblaircomstud: the text is not quite right17:34
jeblairmtaylor: i'll fix it17:34
comstudI also cannot find any reference to how to use this UI17:35
mtaylorcomstud: the general confusion here comes from two +1s not being equivilent to a +217:35
comstudother than "click review"17:35
mtaylorcomstud: a +1 or a -1 is equivilent to a review vote in launchpad. +2 is similar to someone setting the overall status to Approved17:35
mtaylorand only the folks in the core team have the power to do that - waiting until there are enough votes on the review before approving something is a policy item at the moment17:36
comstudok, so a core dev should vote '+1' until one sees another core dev has already voted +1?17:36
bcwaldoncan we re-word that wiki?17:36
bcwaldoncomstud is on it17:36
mtayloryes. jeblair is working on that right now17:36
bcwaldondamn17:36
comstudbcwaldon: slow poke17:37
bcwaldonmtaylor: why is nova-coverage disabled?17:37
westmaashey can we get that wiki page updated?  its a little confusing.17:37
mtaylorwestmaas: yes. it's in work17:37
comstudwestmaas: LOL17:37
bcwaldontroll17:37
westmaaswat17:37
mtaylorwestmaas: you wanna do it?17:37
westmaas:P17:37
mtaylorwestmaas: no, wait, someone is working on it17:37
westmaashaha, no I'm good, just teasing bcwaldon17:38
comstudi'd do it, but I have no idea what it should be!17:38
mtaylor:)17:38
openstackgerritA change was merged to openstack/nova: Don't use GitPython for authors check  https://review.openstack.org/56117:38
comstudspending 2 hours learning something new is not what I planned to do today17:38
bcwaldonmtaylor: did you see my q about nova-coverage?17:39
mtaylorbcwaldon: oh, yeah - we disabled a few of the jobs while we were doing the transition because we need to transition how the jobs are getting their stuff17:39
bcwaldonmtaylor: kk, and is there any way to prevent two people from kicking off jenkins jobs by +2'ing twice?17:40
bcwaldonmtaylor: like you and I did for this git authors branch17:40
mtaylorbcwaldon: oh! I would not have expected jenkins to have fired twice. I shall file a bug about that17:40
bcwaldonmtaylor: yeah, it's happened twice now today17:41
mtaylorbcwaldon: actually - hrm, it is listening for events17:41
mtayloryeah - I don't know the answer to that - but I will file a bug so that we know to investigate17:41
jeblairhttp://wiki.openstack.org/GerritWorkflow#Reviewing_a_Change17:49
mtaylorjeblair: looks great17:50
mtaylorcomstud: ^^ make more sense?17:50
*** dragondm has joined #openstack-dev17:51
comstudlooking17:52
*** dprince has joined #openstack-dev17:53
*** joesavak has quit IRC17:53
*** joesavak has joined #openstack-dev17:53
comstudi'd almost throw "(even core reviewers)" after " reviewers should vote +1 to indicate they approve of the change"17:53
comstudto make it extremely clear that core reviewers should note vote +2 until at least one other core member has voted +117:54
comstudI get what it means17:54
jeblaircomstud: good idea.  you want to make that change?17:54
comstudI think core reviewers might still ask for clarification based on how it's written.17:54
comstudif I can remember my login17:54
comstudsec17:55
comstudhrm17:56
jeblairi can do it if you like17:56
comstudi can't seem to login17:57
comstudlogins were FirstLast name right?17:57
openstackgerritVerification of a change to openstack/nova failed: Fix bug 856664 overLimit errors now return 413  https://review.openstack.org/61917:57
uvirtbotLaunchpad bug 856664 in nova "When hitting the absolute limit I am getting a 403 instead of 413" [Undecided,In progress] https://launchpad.net/bugs/85666417:57
*** mdomsch has quit IRC17:57
jeblaircomstud: yep17:57
comstudooh17:57
comstudi got in17:57
comstudyou editing already or?17:58
jeblairgo for it17:58
comstudk17:58
troytomanso jenkins failed after my patch got reviewed because jenkins is not in the authors file. do i just need to rebase?17:58
jeblairtroytoman: as long as nothing has changed in the trunk that would conflict with your change, you shouldn't need to rebase (but it wouldn't hurt).  just your patch needs to get +2 again now that the fix to the jenkins/authors problem has gone in.18:01
mtaylortroytoman: which change was your change?18:01
troytomanmtaylor: https://review.openstack.org/61918:01
*** mgius has joined #openstack-dev18:03
jeblairtroytoman: i'll retrigger jenkins for your change18:04
* jaypipes stabs sqlalchemy-migrate18:04
jeblairtroytoman: it's running again now https://jenkins.openstack.org/job/nova/121531/console18:05
*** Vek has quit IRC18:06
* mtaylor is SO happy that changes are directly running in jenkins now and now off in a tmp dir in a tarmac build18:10
openstackgerritVerification of a change to openstack/nova failed: Fix bug 856664 overLimit errors now return 413  https://review.openstack.org/61918:13
uvirtbotLaunchpad bug 856664 in nova "When hitting the absolute limit I am getting a 403 instead of 413" [Undecided,In progress] https://launchpad.net/bugs/85666418:13
comstudhttp://wiki.openstack.org/GerritWorkflow#Reviewing_a_Change18:14
comstudhopefully i got it right18:14
*** nati has quit IRC18:14
troytomanjeblair, mtaylor: got the same author/jenkins failure on the build https://jenkins.openstack.org/job/nova/121531/console18:16
mtaylortroytoman: hrm. grr. one sec - lemme look18:16
markmcjenkins merges master before doing the build, right?18:17
vladimir3pfolks, have anybody had opinion on sqlalchemy's with_lockmode() functionality? May it return ResourceClosedError exception in case of concurrent access?18:17
mtaylormarkmc: yes18:18
markmcmtaylor, k, thanks18:18
*** bsza has quit IRC18:19
mtaylortroytoman: ok, so LOCALLY I get a different authors error (your email not being in the Authors file)18:19
mtaylortroytoman: BUT - that does not explain to me why the jenkins job is showing the jenkins author fail18:20
mtaylorso there may be more than one thing at play here18:20
troytomanmtaylor: interesting. i should be there from a previous bug fix. but, let me know what you find and i'll look again18:21
mtaylortroytoman: you are in the authors file as troy.toman@rackspace.com ... that commit is by ttcl@mac.com18:22
troytomanmtaylor: could it be that I am in there under my rackspace email but this commit was done from my non-rack email?18:22
mtaylortroytoman: yup18:22
mtaylortroytoman: you can add your non-rackspace email to the .mailmap file18:22
troytomanmtaylor: OK. thanks for sorting that out18:23
mtaylortroytoman: sure thing!18:23
mtaylortroytoman: also, we discovered another setup bug, so you were very helpful :)18:23
troytomanmtaylor: always happy to help :-)18:23
openstackgerritTroy Toman proposed a change to openstack/nova: Fix bug 856664 overLimit errors now return 413  https://review.openstack.org/61918:27
uvirtbotLaunchpad bug 856664 in nova "When hitting the absolute limit I am getting a 403 instead of 413" [Undecided,In progress] https://launchpad.net/bugs/85666418:27
*** bsza has joined #openstack-dev18:32
openstackgerritAaron Lee proposed a change to openstack/nova: bug lp845714  https://review.openstack.org/54518:32
mtaylortroytoman: I don't believe you picked up that .mailmap changes ... did you git add .mailmap before doing the commit --amend?18:38
openstackjenkinsProject nova-docs build #1,413: SUCCESS in 3 min 19 sec: https://jenkins.openstack.org/job/nova-docs/1413/18:39
*** wwkeyboard has quit IRC18:40
troytomanmtaylor: hehe. worse actually, i made the change in my old bzr branch not in the git branch. will try again. thanks for catching it18:40
openstackgerritTroy Toman proposed a change to openstack/nova: Fix bug 856664 overLimit errors now return 413  https://review.openstack.org/61918:41
uvirtbotLaunchpad bug 856664 in nova "When hitting the absolute limit I am getting a 403 instead of 413" [Undecided,In progress] https://launchpad.net/bugs/85666418:41
mtaylortroytoman: hahahah!18:42
mtaylorthere it is18:42
openstackgerritA change was merged to openstack/nova: Fix bug 856664 overLimit errors now return 413  https://review.openstack.org/61918:55
uvirtbotLaunchpad bug 856664 in nova "When hitting the absolute limit I am getting a 403 instead of 413" [Undecided,In progress] https://launchpad.net/bugs/85666418:55
vishycomstud, bcwaldon, dprince, soren, tr3buchet, etc.: Is something like this interesting to anyone?18:56
vishyhttps://gist.github.com/123815218:56
vishy(it runs all of the nova services in one process)18:56
comstudhm18:58
comstudthat could make testing a bit easier18:58
markmcvishy, nice19:01
vishyI'm just wondering if i should prop it19:02
vishyI can run everything on my mac with: ./nova-all --verbose --fake_rabbit --compute_driver=nova.virt.fake.get_connection --volume_driver=nova.volume.driver.FakeISCSIDriver19:02
vishyand api commands work.19:03
comstudi always use a VM on my mac19:04
comstudin fact, i'm running xenserver under vmware fusion19:04
openstackjenkinsProject nova-docs build #1,414: SUCCESS in 3 min 38 sec: https://jenkins.openstack.org/job/nova-docs/1414/19:04
openstackjenkinsttcl: Fix bug 856664 overLimit errors now return 41319:04
comstudwhich works surprisingly well if you have 8GB19:04
uvirtbotLaunchpad bug 856664 in nova "When hitting the absolute limit I am getting a 403 instead of 413" [Undecided,Fix committed] https://launchpad.net/bugs/85666419:04
vishycomstud: I do too, but it might be nice to be able to kick the tires without going to the vm19:04
comstudoh sure.. i know ppl who would appreciate things that make life easier on native osx19:05
openstackgerritNaveed Massjouni proposed a change to openstack/nova: Adding xml schema validation for /versions resource.  https://review.openstack.org/62419:06
openstackgerritVish Ishaya proposed a change to openstack/nova: Clean up service launching, add nova-all to run all services  https://review.openstack.org/62519:08
vishywell it is propped now :)19:09
openstackgerritJay Pipes proposed a change to openstack/glance: Fixes LP Bug #824794  https://review.openstack.org/62619:10
uvirtbotLaunchpad bug 824794 in glance "Tables are generated outside of migration process" [Low,In progress] https://launchpad.net/bugs/82479419:10
*** pvo has left #openstack-dev19:12
tr3buchetvishy: it's interesting to me19:12
*** pvo has joined #openstack-dev19:12
*** markvoelker has quit IRC19:13
mtaylorvishy: would nova-all be something that we should consider writing a jenkins test around? like, run nova-all and then run one of the sets of api tests against it? early smoke testing?19:13
vishymtaylor: it seems like it is way easier than starting all of the services, but it doesn't really stop you from having do do config19:15
vishymtaylor: so it isn't really any more magical than starting them all in screen with something like nova.sh19:16
mtaylorvishy: hrm. yeah. good point19:16
mtaylorvishy: and given that we already have both vpc spinning up and testing things and the bare-metal boxes - probably not a huge win from jenkins side - but cool for devs!19:17
comstudmtaylor: is there a way to reply to someone's comments in gerrit, quoting the original comment?19:17
mtaylorcomstud: hrm.19:18
comstudseems difficult to have a 'conversation', if not.19:18
mtaylorcomstud: no - I shall put that on the todo list19:19
comstudand sounds like you'd need to continue -1'ing a review while you converse, ATM19:19
openstackgerritJay Pipes proposed a change to openstack/glance: Fixes LP Bug #824794  https://review.openstack.org/62619:19
uvirtbotLaunchpad bug 824794 in glance "Tables are generated outside of migration process" [Low,In progress] https://launchpad.net/bugs/82479419:19
comstudmtaylor: thnx19:19
vishycomstud: if you comment on a line, you should be able to respond on the same line19:19
comstudi can comment on a particular line?19:20
comstudi looked to do this in your review19:20
mtaylorcomstud: https://bugs.launchpad.net/openstack-ci/+bug/85767519:20
uvirtbotLaunchpad bug 857675 in openstack-ci "Gerrit should allow replying to comments and/or quoting their contents" [Undecided,New]19:20
mtaylorcomstud: and yeah - just double click on the line that you want to comment on19:20
comstudok, double click19:21
comstudis there a document on the UI portion somewhere? :)19:21
mtaylorcomstud: this will queue up that line as a thing to go in to your review - just note that you will still need to go up to the top level review and submit the overall review19:21
comstudthe link to the manual was not too helpful19:21
comstudmtaylor: Ok cool19:21
mtayloryeah - the docs for the command line tools are much more complete ... not so much on the UI19:22
*** dragondm has quit IRC19:25
openstackgerritA change was merged to openstack/nova: Adding xml schema validation for /versions resource.  https://review.openstack.org/62419:27
openstackjenkinsProject nova-docs build #1,415: SUCCESS in 3 min 37 sec: https://jenkins.openstack.org/job/nova-docs/1415/19:34
openstackjenkinsnaveedm9: Adding xml schema validation for /versions resource.19:34
*** wwkeyboard has joined #openstack-dev19:34
*** z has quit IRC19:38
*** wwkeyboard has quit IRC19:38
*** wwkeyboard has joined #openstack-dev19:39
markmcmtaylor, if you're taking gerrit feature requests ... :)19:43
markmcmtaylor, it'd be cool to be able to query the patch sets through the ssh interface19:44
markmcmtaylor, and e.g. get the refs/changes/NN/NNN/N path19:44
markmcmtaylor, so you can fetch and checkout without hitting the UI19:44
smoseris doc on how i propose merges now ?19:47
smoseri assume it goes through gerrit/review.openstack.org, but i'm not really sure how.19:47
mtaylormarkmc: yup. you should be able to do that19:47
markmcsmoser, http://wiki.openstack.org/GerritWorkflow19:48
mtaylormarkmc: have you explored this yet: https://review.openstack.org/Documentation/cmd-index.html ?19:48
*** code_franco has quit IRC19:48
markmcmtaylor, yep; the query command only gives you info on the change, but not the patch sets it contains19:48
markmcmtaylor, you could take e.g. number: 555 and guess that will map to refs/changes/55/555/1 .. but that sucks19:49
*** code_franco has joined #openstack-dev19:49
mtaylormarkmc: hrm. k. I agree that would be excellent (and I imagine it's possible) - I'll look in to it19:49
markmcmtaylor, cheers19:50
mtaylormarkmc: if you like, file a bug against launchpad.net/openstack-ci so I don't forget?19:50
markmcmtaylor, will do19:50
mtaylorthanks!19:50
smoserthank you markmc19:51
markmcsmoser, np19:51
mtaylormarkmc: well, it's certainly supported in the json output: https://review.openstack.org/Documentation/json.html#patchset19:52
markmcmtaylor, huh, interesting19:52
markmcmtaylor, ah! gerrit query --patch-sets19:53
markmcdoh19:53
markmcthanks :)19:53
mtaylorsilly me19:53
mtayloryay! there they are19:54
markmcvery nice, me likey19:54
* mtaylor is excited to see what crazy command line scripts folks cook up19:54
*** dragondm has joined #openstack-dev19:57
Davieymtaylor: did you see my ping earlier?19:59
mtaylorDaviey: not at all19:59
*** dragondm has joined #openstack-dev19:59
mtaylorDaviey: what's up?19:59
Davieymtaylor: this makes me sad, http://pb.daviey.com/xSB6/20:00
DavieyCase sensitive email address.20:00
mtaylorDaviey: hrm. yes. that's crappy20:00
mtaylorlemme look at that real quick20:01
Davieymtaylor: no hurry20:01
*** sandywalsh_ has joined #openstack-dev20:02
mtaylorDaviey: yeah - fixing that shouldn't be terrible20:03
jeblairmtaylor: email addresses are case-sensitive20:03
mtaylorjeblair: they are?20:04
* mtaylor defers absolutely to jeblair on this20:04
*** AhmedSoliman has quit IRC20:05
westmaasnot for actual delivery20:05
bcwaldonI don't think they are20:05
mtaylorah. as one should expect - jeblair is correct20:05
bcwaldonwaaaat20:05
mtaylormost email providers do not enforce it20:05
jeblairfrequenty they are implemented by hosts in a case-insensitive manner.20:05
mtaylorfrom rfc 2821 "The local-part of a mailbox MUST BE treated as case sensitive."20:05
jeblairbut the specs say you can't assume that20:05
markmcinterestingly, 'git log --format=%aE' lowercases the address from .mailmap20:05
* markmc got bitten by that earlier20:06
*** Vek has joined #openstack-dev20:06
jeblair(the domain, of course, is not case-sensitive since DNS is not)20:06
mtaylorI love it when the standard is "it must be this way, but also nobody is doing that" :)20:07
openstackgerritVish Ishaya proposed a change to openstack/nova: Clean up service launching, add nova-all to run all services  https://review.openstack.org/62520:07
jeblairyes, but that's one of those 'generous in what you accept' situations...20:08
mtaylorjeblair: so, the standard notwithstanding, should we do case insensitive lookups for people's commit ids in terms of commit blocking?20:08
*** dprince has quit IRC20:08
*** AhmedSoliman has joined #openstack-dev20:10
jeblairmtaylor: the risk of abuse does seem very small.  however, it is important to store exactly what the user input for use in outgoing mail.20:13
jeblairmtaylor: ie, changing a collation setting is cool, but lowercasing on database insert, not so much.20:14
jeblairmtaylor: one second before you do anything.20:14
Davieyjeblair: So you think that gerrit should be case sensitive?20:15
jeblairDaviey: no, sorry, i'm agreeing that case-insensitivity on the author/committer checks is okay.20:16
mtaylorjeblair: it's easy to do at check time20:17
mtaylorjeblair: rather than changing what is stored20:17
jeblairmtaylor: currently account_external_ids.email_address column is COLLATE latin1_general_cs have you looked at how it does the check?  is it in sql or java?  (ie, would changing the collation fix the problem)?20:20
mtaylorthe check is in java.20:20
mtaylorjeblair: http://pastebin.com/cFMqcYBR should do the trick I believe20:20
mtaylorthe java pulls a java Set<String> of addresses, and then does Set.contains checks ... changing the set doing the contains checks to have a case insensitive comparator should, you know, in theory, work20:21
jeblairi wonder if upstream would accept that, or require a config option?20:23
*** mfer has quit IRC20:23
jeblairmtaylor: i'd like to avoid supporting a patch like that locally, so lets see if we can get feedback from the gerrit devs first.20:24
mtaylorjeblair: good point. I'm guessing they'd probably want a config option20:24
mtaylorjeblair: that's a google group, right?20:25
jeblairhttp://code.google.com/p/gerrit/20:25
smoserso, bugs are on launchpad still, right?20:25
smoserwhen i submit a review and mark it with a bug, will it tag the bug somehow ?20:25
mtaylorsmoser: yes.20:25
smoserthat rocks, mtaylor20:26
mtaylorsmoser: http://wiki.openstack.org/GerritWorkflow#Committing_Changes20:26
mtaylorsmoser: you can also reference blueprints20:26
smoseri'd seen that.20:26
smoserbut will it mark the bug? so that if i look at the bug i'll see a link to the review ?20:27
_cerberus_Anyone seen this? Patch does not have a valid e-mail address20:27
_cerberus_Specifically on a rebase20:27
mtaylorsmoser: yes20:27
mtaylor_cerberus_: pastebin?20:28
smosercool. thank you sir.20:28
_cerberus_That's it20:28
_cerberus_rebase20:28
Davieymtaylor: hmm, if someone pushes a branch now with the correct bug syntax, the LP bug doesn't get a comment to show there is a gerrit review 'HERE' does it?20:29
Daviey(i think that is what smoser was asking)20:30
openstackgerritBrian Lamar proposed a change to openstack/glance: Do not allow min_ram or min_disk properties to be NULL and if they are None, make sure to default to 0. Fixes bug 857711  https://review.openstack.org/62720:30
uvirtbotLaunchpad bug 857711 in glance "min_ram and min_disk shouldn't ever be NULL" [Undecided,New] https://launchpad.net/bugs/85771120:30
jeblairDaviey: https://bugs.launchpad.net/nova/+bug/85666420:30
uvirtbotLaunchpad bug 856664 in nova "When hitting the absolute limit I am getting a 403 instead of 413" [Undecided,Fix committed]20:30
mtaylorDaviey: yes. the launchpad bug gets updated20:31
jeblairDaviey: check out the message that gets added when the change gets merged20:31
mtaylorDaviey: as does the launchpad blueprint if you reference a blueprint20:31
mtayloroh, jeblair got to it with an actual example :)20:32
*** sandywalsh_ has quit IRC20:32
jeblairDaviey: currently it doesn't update the bug when the patch is proposed, but not merged.  That's possible though if people want that.20:32
* mtaylor thinks of "fix committed" as "patch proposed" and "fix releaesd" as "merged" ... but knows that jml and others disagree with him on that20:33
*** dolphm has joined #openstack-dev20:34
jeblairmtaylor: then what is a patch that is in a released version of openstack?20:34
mtaylorDaviey: see also: https://blueprints.launchpad.net/openstack-ci/+spec/ci-git-support to see blueprint integration that our gerrit does20:34
mtaylorjeblair: yeah - that's the argument20:34
mtaylorjeblair: perhaps patch submitted pops it to "in Progress" if it's not already there?20:35
openstackgerritTrey Morris proposed a change to openstack/nova: moved floating ip db access and sanity checking from network api into network manager added floating ip get by fixed address added fixed_ip_get moved floating ip testing from osapi into the network tests where they belong  https://review.openstack.org/62820:35
jeblairmtaylor: if we did that, that would be my recommendation too.  i'm not sure how much bugspam people want from gerrit.20:35
Davieymtaylor: Others might not agree, but it's nice to be able to go to a bug and see that there is a branch in progress20:36
jeblairmtaylor: (hopefully the bug is _already_ set to in-progress by the developer, and gerrit would only effectively be leaving a comment)20:36
Davieyjeblair: you can be selective in the bug mail you get... :)20:36
mtayloryes. /me gets almost no bug mail20:37
* Daviey rarely sets in progress for any bugs.20:37
Davieyor triaged20:37
DavieyNew -> Confirmed -> Fix*20:37
mtayloryes. this is quite commonly my process too20:37
mtaylorwell - and I usually hope that code tools are setting the Fix* for me20:38
openstackgerritMatt Dietz proposed a change to openstack/nova: Adds disk config  https://review.openstack.org/62920:38
jeblairDaviey: want to file a bug on openstack-ci requesting the in-progress notice?20:39
openstackgerritBrian Waldon proposed a change to openstack/nova: Fixing bug 857712  https://review.openstack.org/63020:40
uvirtbotLaunchpad bug 857712 in nova "Compute API casting minram None to int fails" [High,In progress] https://launchpad.net/bugs/85771220:40
vishycomstud, blamar, bcwaldon: bug 85771420:40
uvirtbotLaunchpad bug 857714 in nova "sqlalchemy replies with ResourceClosedError in case of concurrent allocations of IP addresses or volume creations" [Undecided,New] https://launchpad.net/bugs/85771420:40
vishythat is annoying20:40
bcwaldonvishy: I bet it is :)20:40
mtaylorvishy: http://groups.google.com/group/repo-discuss/browse_thread/thread/e6846b6bfb4b28c0 <--- looks like folks are working on ability to have gerrit work with patchsets and not just changes in a sensible manner20:40
*** lts has quit IRC20:41
blamarvishy: Yeah :( sqlalchemy + eventlet really don't seem to like each other20:41
comstudhrm20:42
vishymtaylor: intresting20:42
markmcbcwaldon, I was about to propose a fix for 857712 ... have you one in progress too?20:43
bcwaldonmarkmc: yeah, its in gerrit20:44
bcwaldonmarkmc: that's why I assigned the bug to me :)20:44
markmcbcwaldon, k :)20:44
Davieyjeblair: ok20:44
openstackgerritScott Moser proposed a change to openstack/nova: put fully qualified domain name in 'local-hostname' of metadata (bug 854614)  https://review.openstack.org/63120:45
uvirtbotLaunchpad bug 854614 in nova "metadata service local-hostname is not fqdn" [Medium,Confirmed] https://launchpad.net/bugs/85461420:45
openstackgerritScott Moser proposed a change to openstack/nova: put fully qualified domain name in 'local-hostname' of metadata (bug 854614)  https://review.openstack.org/63120:45
cp16netbcwaldon: maybe you can answer this... why does the v1.1 api require a new XMLSerializer for web service calls like flavors now? I have noticed that some of my add on calls have no XML attributes any more everything is an element.20:47
cp16netcan you shed some light?20:47
bcwaldoncp16net: the default serializer will encode dict key/values into entities like that if they aren't found in the 'metadata' dict provided in serializer instantiation20:47
bcwaldoncp16net: you essentially need to provide a list of keys to encode to attributes20:48
bcwaldoncp16net: does that make sense?20:48
cp16netbcwaldon: yeah our api has a metadata dict that describes the object how it should look and since our last rebase it looks like things changed20:49
bcwaldoncp16net: what appears to have changed?20:49
bcwaldoncp16net: specifically the flavors serialization?20:49
cp16netbcwaldon: all the values that are suppose to be attributes have become elements of the parent element in XML20:49
bcwaldoncp16net: in *all* xml entities returned by the api?20:50
cp16netbcwaldon: yeah no attributes existed in the xml any more other than xmlns20:50
bcwaldoncp16net: can you show me the request you made and the output you are seeing?20:51
bcwaldoncp16net: paste.openstack.org20:51
cp16netmaybe something in the metadata object changed that we send to the XMLDictSerializer20:51
bcwaldoncp16net: I'm sorry I don't understand the scope of the problem. Is this a custom controller?20:51
cp16netyes20:51
bcwaldoncp16net: ok, can you show me the code snippet that instantiates the serializer?20:52
cp16nethttp://paste.openstack.org/show/2552/20:52
openstackgerritAnne Gentle proposed a change to openstack/openstack-manuals: Fixes nova-manage network create label command and removes nova-core/release PPA reference  https://review.openstack.org/63220:52
bcwaldoncp16net: hmm, looks like a problem with v1.0 flavors xml serialization20:54
bcwaldoncp16net: I can reproduce it in my env20:54
bcwaldoncp16net: can you file a bug, or would you like me to?20:54
cp16nethmm i'd like to try to file it20:54
cp16netit will be my first bug :)20:54
bcwaldoncp16net: have at it :)20:54
jk0how do you tell if the other reviewers are nova-core in gerrit? (without already knowing them obviously)20:55
bcwaldonjk0: unforunately, I don't think there is a way20:55
jk0:(20:55
cp16netbcwaldon: yeah so the 1.0 is messed up but 1.1 worked20:55
bcwaldoncp16net: yep, the serializers are set up independently20:55
cp16netbcwaldon:  why would there be separate serializers for each tho?20:56
bcwaldoncp16net: 1.0 and 1.1 are actually major versions (while the version numbers themselves are only minor diferences)20:56
bcwaldoncp16net: so we have different representations depending on the version20:57
bcwaldoncp16net: we moved away from a generic serializer when we discovered it would be too painful to make it cover *all* the cases we had20:57
*** wwkeyboard has quit IRC20:57
cp16netbcwaldon: ahh yeah booo to xml with python20:58
bcwaldoncp16net: yep, hopefully we will get rid of xml in v2.0 of the api20:58
bcwaldoncp16net: we'll see ;)20:58
*** markmc has quit IRC20:58
cp16netbcwaldon: hah doubtful...20:58
openstackgerritScott Moser proposed a change to openstack/nova: put fully qualified domain name in local-hostname  https://review.openstack.org/63121:00
*** wwkeyboard has joined #openstack-dev21:00
openstackgerritBrian Lamar proposed a change to openstack/glance: Do not allow min_ram or min_disk properties to be NULL and if they are None, make sure to default to 0. Fixes bug 857711  https://review.openstack.org/63321:00
uvirtbotLaunchpad bug 857711 in glance "min_ram and min_disk shouldn't ever be NULL" [Medium,In progress] https://launchpad.net/bugs/85771121:00
smoserok. stupid question.21:00
smoserin git noew, i do 'git commit -a --amend' and then 'git review'21:01
bcwaldonsmoser: yep21:01
smoserafter hte initial reivew, it showed me a url to the review21:01
*** bsza has quit IRC21:01
smoserbut after that, say i forgot...21:01
smoser(just pretending, of course i remember all such things)21:01
smoserhow would i find that url again ?21:01
smoseri'm hoping to do so from cmdline i realize i could probably go to gerrit and look21:01
bcwaldongo to review.openstack.org21:02
bcwaldonsmoser: yep, thats all I konw21:02
openstackgerritBrian Lamar proposed a change to openstack/glance: Do not allow min_ram or min_disk properties to be NULL and if they are None, make sure to default to 0. Fixes bug 857711  https://review.openstack.org/62721:04
uvirtbotLaunchpad bug 857711 in glance "min_ram and min_disk shouldn't ever be NULL" [Medium,In progress] https://launchpad.net/bugs/85771121:04
jeblairsmoser: check out the command line tools: https://review.openstack.org/Documentation/cmd-index.html21:04
jeblairsmoser: and https://review.openstack.org/Documentation/cmd-query.html21:04
smoserthank you.21:05
jeblairsmoser: i've set up an ssh alias, so I can type things like "ssh review gerrit query 'owner:corvus'"21:05
jeblairthere's json output options too, so very scriptable.21:05
*** joesavak has quit IRC21:15
openstackgerritVerification of a change to openstack/glance failed: Do not allow min_ram or min_disk properties to be NULL and if they are None, make sure to default to 0. Fixes bug 857711  https://review.openstack.org/62721:20
uvirtbotLaunchpad bug 857711 in glance "min_ram and min_disk shouldn't ever be NULL" [Medium,In progress] https://launchpad.net/bugs/85771121:20
mtaylorhaha. "AssertionError: True is not false"21:21
bcwaldonmtaylor: real useful ;)21:21
mtayloryup21:21
mtayloralthough I do agre21:22
mtaylorTrue, is not, in fact, false21:22
openstackgerritA change was merged to openstack/glance: Do not allow min_ram or min_disk properties to be NULL and if they are None, make sure to default to 0. Fixes bug 857711  https://review.openstack.org/62721:22
uvirtbotLaunchpad bug 857711 in glance "min_ram and min_disk shouldn't ever be NULL" [Medium,In progress] https://launchpad.net/bugs/85771121:22
*** AhmedSoliman has quit IRC21:24
dolphm(regarding the openstack summit..) is there a particular airline/plane to select for guaranteed in-flight power?21:25
openstackgerritVerification of a change to openstack/nova failed: * Rework osapi to use network API not FK backref * Fixes lp854585  https://review.openstack.org/61821:26
bcwaldonmtaylor: I think we need a more robust fix for this authors test: https://jenkins.openstack.org/job/nova/121534/console21:28
mtaylorbcwaldon: HAHAHAHAHAHA21:29
openstackgerritJay Pipes proposed a change to openstack/glance: Fixes LP Bug #850685  https://review.openstack.org/63421:30
uvirtbotLaunchpad bug 850685 in glance "Glance client not properly catching HTTP 300 Multiple Choice" [Medium,In progress] https://launchpad.net/bugs/85068521:30
mtaylorbcwaldon: yes. yes I think so.21:30
mtayloralso, why is that showing up at jenkins@nova-1. bother21:30
mtayloroh - it's because of the local merge-before-test. gotit21:31
rmkI am still admiring the live block migration.21:31
rmkToo freaking cool.21:31
vishyrmk: all working great after the fix?21:33
mtaylorbcwaldon: I'm trying a config setting on jenkins - so I retriggered that job21:33
rmkvishy: Yes perfect, thanks for pointing me at it21:33
bcwaldonmtaylor: kk21:33
rmkvishy: Daviey confirmed he had issues before the patch also21:33
bcwaldonmtaylor: actually, looks like jkoelker pushed again21:34
openstackgerritA change was merged to openstack/nova: Fixing bug 857712  https://review.openstack.org/63021:34
uvirtbotLaunchpad bug 857712 in nova "Compute API casting minram None to int fails" [High,In progress] https://launchpad.net/bugs/85771221:34
bcwaldonmtaylor: can you kill that job?21:35
mtaylorbcwaldon: yup21:35
openstackgerritVerification of a change to openstack/nova failed: * Rework osapi to use network API not FK backref * Fixes lp854585  https://review.openstack.org/61821:35
bcwaldonmtaylor: okay, should be good21:36
bcwaldonmtaylor: just a trunk merge21:36
bcwaldonmtaylor: the diff for the new patchset just looked odd21:36
openstackgerritMonty Taylor proposed a change to openstack/nova: Made jenkins email pruning more resilient.  https://review.openstack.org/63521:38
mtaylorbcwaldon: how's that look?21:38
cp16netbcwaldon: thanks for your help!21:38
bcwaldonbcwaldon: you're very welcome, do you want someone to address that bug, or are you going to do it21:38
openstackjenkinsProject nova-docs build #1,416: SUCCESS in 3 min 18 sec: https://jenkins.openstack.org/job/nova-docs/1416/21:39
openstackjenkinsbrian.waldon: Fixing bug 85771221:39
bcwaldonha, cp16net ^21:39
uvirtbotLaunchpad bug 857712 in nova "Compute API casting minram None to int fails" [High,In progress] https://launchpad.net/bugs/85771221:39
bcwaldonmtaylor: looks good21:39
bcwaldonmtaylor: just have to be careful with email address allocation now21:39
bcwaldonmtaylor: don't give someone a *jenkins@openstack.org email21:39
cp16netbcwaldon: not sure if i will be able to get around to it very soon21:40
mtaylorbcwaldon: I will try my best not to21:40
bcwaldoncp16net: okay, we can take care of it for you21:40
bcwaldoncp16net: just didn't want to steal it21:40
cp16netbcwaldon: well i'd like to get on the authors some time :-)21:40
bcwaldoncp16net: okay, it's a v1.0 bug so it isn't top of the list21:40
bcwaldoncp16net: just assign it to yourself21:41
cp16netbcwaldon: alright sounds good have a good weekend.21:41
bcwaldoncp16net: yep, you too21:41
*** cp16net has quit IRC21:41
bcwaldonmtaylor: you want me to send in your branch?21:41
mtaylorbcwaldon: yeah21:42
*** chomping has quit IRC21:43
bcwaldonmtaylor: on its way in21:43
mtaylorbcwaldon: awesome21:43
mtaylorI'm porting the change in to glance as well...21:43
bcwaldonmtaylor: we can send in koelker's branch afterwards21:43
mtaylor++21:43
bcwaldonmtaylor: thanks, I was going to do it later but you go right ahead21:43
bcwaldonmtaylor: can you just replace the whole authors test?21:43
mtayloryup21:44
mtaylorin fact, I did21:44
bcwaldonkk, i'll go delete my old review21:44
openstackgerritMonty Taylor proposed a change to openstack/glance: Port Authors test to git.  https://review.openstack.org/63621:44
openstackgerritVerification of a change to openstack/glance failed: Fixes LP Bug #824794  https://review.openstack.org/62621:45
uvirtbotLaunchpad bug 824794 in glance "Tables are generated outside of migration process" [Low,In progress] https://launchpad.net/bugs/82479421:45
mtayloroh bother. I missed a chunk21:45
*** chomping has joined #openstack-dev21:45
bcwaldonmtaylor: your port to git doesn't work :(21:46
bcwaldonmtaylor: removed everyone from Authors and it still passes21:46
mtaylorbcwaldon: yeah - I did something done21:46
mtaylordumb21:46
bcwaldonmtaylor: gotta head out, I'll get on later and get caught up with this21:47
mtaylork21:47
*** bcwaldon has quit IRC21:48
adam_gvishy:  were there specific changes to recent dnsmasq versions that required http://bazaar.launchpad.net/~nova-core/nova/github/revision/1607 ?21:50
vishyadam_g: yes21:50
vishyadam_g: well there is a bug, and the workaround requires that21:51
vishyadam_g: why?21:51
mtaylorhow do I run a specific unit test in glance?21:53
mtaylorlike, if I want to run glance.tests.unit.test_misc.AuthorsTestCase ... what do I pass to run_test.sh -N ?21:53
mtaylornm. got it21:53
vishyif it is like nova you do that only replace the last . with a :21:53
openstackgerritMonty Taylor proposed a change to openstack/glance: Port Authors test to git.  https://review.openstack.org/63621:55
openstackgerritA change was merged to openstack/nova: Made jenkins email pruning more resilient.  https://review.openstack.org/63521:55
*** rnirmal has quit IRC22:02
adam_gvishy: just curious, i had never run into any issues before22:03
openstackjenkinsProject nova-docs build #1,417: SUCCESS in 3 min 5 sec: https://jenkins.openstack.org/job/nova-docs/1417/22:03
openstackjenkinsMonty Taylor: Made jenkins email pruning more resilient.22:03
vishyadam_g: there is apparently an issue with --bind_interfaces, libvirt and ipv622:04
mtayloroh shit. libvirt22:04
vishy* --bind_interface=eth022:04
vishyor whatever22:04
openstackgerritDave Walker proposed a change to openstack/nova: contrib/nova.sh: Updated to latest 'upstream' commit:6a8433a resolves bug 857209  https://review.openstack.org/63722:05
uvirtbotLaunchpad bug 857209 in nova "contrib/nova.sh is broken, due to syntax changes" [Undecided,New] https://launchpad.net/bugs/85720922:05
rmkDamn Cactus dashboard is coming back with no projects defined for me22:05
rmkNo errors that I can see in the logs22:05
adam_gvishy: ah thanks22:06
Davieybah, is it possible to rm a gerrit review which was posted by accident?22:06
vishyadam_g: it tries to bind the ipv6 interface and goes boom22:06
vishyadam_g: so we had to switch back to --listen_address22:06
vishyadam_g: and listen_address only works when it is the first address on the interface22:07
mtaylorDaviey: yes22:07
mtaylorDaviey: you can click Abandon on the review - or, if you're going to come back to it, you can just leave it and push an amended change later22:07
vishyadam_g: hence that fix (which btw in early diablo, it did something similar)22:07
Davieymtaylor: it was pushed as a dupe...22:07
vishybefore we added --bind_interface22:07
Davieyi've abandoned it22:07
mtaylorcool22:08
mtaylorvishy: http://nova.openstack.org/tarballs/libvirtdebs.tgz22:10
mtaylorhrm. I suppose I could just upload something to a specific ppa - might make it easier for people to test those22:10
* mtaylor goes to do that right now22:10
vishyawesome22:10
Davieymtaylor: perhaps i'm being daft, but it's not clear to me how to switch to a pristine topic for a new feature?22:10
Davieymtaylor: as in using the same git checkout with multiple branches.22:11
mtaylorDaviey: git checkout master ; git pull --ff-only ; git checkout -b topic/my-topic-name22:11
mtaylorDaviey: checkout is how you switch branches - checkout -b tells it to make a branch of that name if it doesn't exist and then change to it22:12
mtaylorDaviey: making a new branch is always based off of the branch you're in - thus the change to master first22:12
Davieymtaylor: yeah, i did git checkout master ; git checkout -b something-new22:12
mtaylorcool.22:12
Davieybut that oddly didn't work22:12
mtaylortell me what didn't work22:13
vishyDaviey: does your master has other commits in it?22:13
Davieyvishy: That might have been it.. i'm tired, probably did that.22:13
mtaylorDaviey: try this ...22:13
mtaylorDaviey: git checkout master ; git checkout -b save-master ; git checkout master ; git reset --hard origin/master22:14
vishygit checkout master; git reset --hard origin/master ???22:14
Davieymtaylor: I'll probably leave it for when i'm less tired now :/22:14
mtaylorDaviey: that should get anything you've accidentally on master into another branch so you don't lose track of it22:14
mtaylorDaviey: and gets your master back to being a clean copy of origin/master22:14
Davieymtaylor: thanks, i'll grep for that later22:14
mtaylorDaviey: cool22:14
mtaylorDaviey: I'm as amazed as anyone, but I seem to have gotten to the point where I grok all of the git foo now - so please feel free to bug me any time if it doesn't make sense22:15
Davieywilco, thanks.22:16
jeblairmtaylor: _all_ of the git-fu?22:16
mtaylorjeblair: yes. all of it22:17
mtaylorjeblair: I understand and have memorized every flag22:17
DavieyI have fallen in love with git bisect run22:17
mtaylor++22:17
DavieyI want to elope with it22:18
mtaylorDaviey: something tells me that's illegal where you live22:18
Daviey:)22:20
*** benrodrigue has quit IRC22:22
mtaylorvishy: I'm uploading those libvirt packages to https://launchpad.net/~mordred/+archive/libvirt as well22:23
*** elastic_dog has quit IRC22:26
vishysweet22:28
*** code_franco has quit IRC22:29
vishymtaylor: I'm going to try to do lxc + nova in cloudservers22:31
vishyon demand nova clusters for training!22:32
mtaylorvishy: neat!22:38
*** wwkeyboard has quit IRC22:40
openstackgerritAdam Gandelman proposed a change to openstack/nova: flags.py: Use '--optional_flagfile' to specify a flagfile that may not exist  https://review.openstack.org/63822:43
rmkAny idea what would cause the project list to be blank with the cactus dashboard against diablo's nova?22:43
vishyrmk: are you using deprecated auth?22:56
* Daviey wonders how well hosts_up() scales, seems expensive for a large cloud.22:57
rmkWell I figured it out22:59
rmkYeah I am22:59
rmkdashboard username needs to match the nova username23:00
vishyrmk: cool23:01
vishydoes cactus dashboard actually still work?23:02
rmkI'm just reluctant to use keystone until it's more documented23:02
vishythat is kind of impressive23:02
rmkvishy: It seems to :)23:02
vishyrmk: I'm relected to use keystone until it works...23:02
vishy* reluctant23:02
dolphm:)23:02
rmkthere's that too23:02
rmkdolphm: Can you type faster?23:03
rmk:)23:03
dolphmi personally wouldn't use it until the API was stationary for at least a couple days in a row...23:03
*** dragondm has quit IRC23:03
rmkyeah dep auth is fine for now23:03
rmkfor me at least23:03
rmknova-vncproxy package never got fixed23:03
rmkstill trying to bind to 843 as the nova user23:04
rmkshould I just bug it?23:04
vishyrmk: hmm, yes please23:11
vishyit is a packaging bug23:11
rmkyep23:11
*** jeffjapan has joined #openstack-dev23:17
*** rnorwood has quit IRC23:31
*** stanchan has quit IRC23:41
*** errr has quit IRC23:43
*** errr has joined #openstack-dev23:43
rmkDo the compute nodes care about vncproxy_url23:52
rmk?23:52
*** hbetts has joined #openstack-dev23:53

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