Thursday, 2011-11-10

*** bsza has joined #openstack-dev00:01
vishyjeblair: ping00:11
jeblairvishy: pong00:11
vishyhey so odd question00:11
vishysay i have two reviews where one depends on another00:11
vishyand they are two separate commits00:12
vishyif i amend the first commit to address review stuff00:12
vishywill i have to redo the second review via cherry-pick for it to merge properly?00:12
vishyjeblair: ^^00:13
jeblairi _believe_ that you would at least want to re-base the second onto the first00:13
openstackgerritVerification of a change to openstack/horizon failed: Added sanity checks and environment versioning to run_tests.sh.  https://review.openstack.org/147500:14
vishyjeblair: that is what i though00:14
vishyjeblair: but i wasn't sure00:14
KiallHeya - QQ re VLAN networking, I've noticed that once a floating IP is assigned to an instance, it can no longer talk to other nodes on its VLAN via their private IPs.. Is this normal?00:14
mtaylorjeblair, vishy: I think you will need to cherry pick rather than rebase00:14
jeblairi _assume_ that if you didn't then the dependency would never be satisfied00:14
*** nati2 has quit IRC00:14
jeblairmtaylor: why?00:14
vishyKiall: hmm i haven't noticed that00:14
mtaylorbecause the history of the second commit will still have the prior version of the first commit, so it'll try to rebase _both_ commits on to the new first commit00:15
mtaylorwhich is not what is wanted00:15
vishymtaylor: i was cherry-picking but i thought rebase does the same thing?00:15
Kiallvishy, it was the other day when I was testing .. Not actually sure it happens when both instances are on the same node..00:15
vishymtaylor: interesting00:15
openstackgerritVerification of a change to openstack/horizon failed: Added sanity checks and environment versioning to run_tests.sh.  https://review.openstack.org/147500:15
vishyKiall: i have noticed that you can't necessarily use the public ip from other instances00:15
*** nati2 has joined #openstack-dev00:15
vishyKiall: but afaik the private should still work00:15
mtaylorvishy: it's close - but the history story would be slightly different in this case, since you're creating a new commit out from under the old one, which means that you need to surgically remove the parent of the second commit00:15
openstackgerritVerification of a change to openstack/horizon failed: Added sanity checks and environment versioning to run_tests.sh.  https://review.openstack.org/147500:16
Kiallvishy, really? The public IPs worked fine for me -_-00:16
vishyKiall: i know the issue00:16
vishyKiall: it depends on whether you have set dmz_cidr to include the private range or not00:16
vishyif it includes the private range than privates should work, but publics probably won't00:17
*** bsza-I has joined #openstack-dev00:17
vishyotherwise the reverse00:17
KiallAh okay.. Kind of a pain then ;)00:17
*** Guest79151 is now known as med_out00:18
*** med_out has joined #openstack-dev00:18
*** bsza has quit IRC00:20
*** novas0x2a|laptop has quit IRC00:25
*** dtroyer has quit IRC00:25
*** astinus has joined #openstack-dev00:31
*** astinus has left #openstack-dev00:31
openstackgerritGabriel Hurley proposed a change to openstack/horizon: Added sanity checks and environment versioning to run_tests.sh.  https://review.openstack.org/147500:34
*** zns1 has quit IRC00:35
*** novas0x2a|laptop has joined #openstack-dev00:36
*** dragondm has quit IRC00:38
*** novas0x2a|laptop has quit IRC00:38
*** mszilagyi has quit IRC00:40
*** mwhooker_ has joined #openstack-dev00:40
*** mwhooker_ has quit IRC00:40
*** adjohn has joined #openstack-dev00:43
*** mwhooker has quit IRC00:44
*** jakedahn has quit IRC00:47
*** negronjl has quit IRC00:48
*** statik has joined #openstack-dev01:14
*** novas0x2a|laptop has joined #openstack-dev01:21
*** lorin1 has quit IRC01:22
*** lorin1 has joined #openstack-dev01:22
*** lorin1 has left #openstack-dev01:23
*** bsza-I has quit IRC01:24
*** lorin1 has joined #openstack-dev01:26
*** sleepsontheflo-1 has joined #openstack-dev01:29
*** reed has quit IRC01:40
*** dwalleck has joined #openstack-dev01:42
openstackgerritDan Prince proposed a change to openstack/glance: Update 'glance show' to print a valid URI. Fixes bug #888370.  https://review.openstack.org/148501:48
uvirtbotLaunchpad bug 888370 in glance "glance show prints invalid URI" [Low,In progress] https://launchpad.net/bugs/88837001:48
openstackgerritBrian Waldon proposed a change to openstack/glance: Gracefully handle image_cache_dir being undefined  https://review.openstack.org/148601:49
*** jakedahn has joined #openstack-dev01:55
*** bhall has quit IRC02:04
*** jdurgin has quit IRC02:17
openstackgerritBrian Waldon proposed a change to openstack/glance: Adding tests to check 'glance show <ID>' format  https://review.openstack.org/148702:17
openstackgerritBrian Waldon proposed a change to openstack/openstack-chef: Changing image_cache_datadir to image_cache_dir  https://review.openstack.org/148802:20
openstackgerritBrian Waldon proposed a change to openstack/openstack-chef: Updating OSAPI module paths for Admin API split  https://review.openstack.org/112602:20
*** novas0x2a|laptop has quit IRC02:21
*** rods has quit IRC02:26
*** vladimir3p has quit IRC02:27
*** novas0x2a|laptop has joined #openstack-dev02:29
*** gyee has quit IRC02:32
*** novas0x2a|laptop has quit IRC02:32
openstackgerritBrian Waldon proposed a change to openstack/openstack-chef: Updating Nova paste config with lazy serialization  https://review.openstack.org/112502:41
*** bsza has joined #openstack-dev03:15
*** nati2_ has joined #openstack-dev03:29
*** nati2 has quit IRC03:32
*** stuntmachine has joined #openstack-dev03:33
*** bsza has quit IRC03:37
*** bsza has joined #openstack-dev03:37
*** lorin1 has quit IRC03:56
openstackgerritJoe Gordon proposed a change to openstack/nova: More spelling fixes inside of nova  https://review.openstack.org/147703:57
*** jog0 has quit IRC04:01
openstackjenkinsProject nova-docs build #1,610: SUCCESS in 2 min 13 sec: https://jenkins.openstack.org/job/nova-docs/1610/04:03
openstackjenkinsRick Harris: Adding Chuck Short to .mailmap04:03
*** mmetheny has quit IRC04:08
openstackjenkinsProject nova-docs build #1,611: SUCCESS in 2 min 13 sec: https://jenkins.openstack.org/job/nova-docs/1611/04:08
openstackjenkinsKevin L. Mitchell: Get MAC addresses from Melange.04:08
*** mmetheny has joined #openstack-dev04:09
openstackgerritA change to openstack/nova has been rejected: Udpate the email contact in Author file.  https://review.openstack.org/145704:12
openstackjenkinsProject nova-docs build #1,612: SUCCESS in 2 min 17 sec: https://jenkins.openstack.org/job/nova-docs/1612/04:18
openstackjenkinsDerek Higgins: Undefine libvirt saved instances04:18
openstackjenkinsProject nova-docs build #1,613: SUCCESS in 2 min 16 sec: https://jenkins.openstack.org/job/nova-docs/1613/04:23
openstackjenkinsChuck Short: Replace socat with netcat.04:23
*** nati2 has joined #openstack-dev04:24
*** nati2_ has quit IRC04:24
*** rohitk has joined #openstack-dev04:27
*** stuntmachine has quit IRC04:31
openstackjenkinsProject nova-docs build #1,614: SUCCESS in 2 min 21 sec: https://jenkins.openstack.org/job/nova-docs/1614/04:33
openstackjenkinsjogo: More spelling fixes inside of nova04:33
*** rohit-karajgi has joined #openstack-dev04:33
openstackgerritBrian Lamar proposed a change to openstack/nova: Refactoring/cleanup of some view builders.  https://review.openstack.org/132404:34
*** rohitk has quit IRC04:34
*** rohit-karajgi has quit IRC04:42
*** rohitk has joined #openstack-dev04:43
*** bsza-I has joined #openstack-dev04:49
*** bsza has quit IRC04:50
*** bsza-I has quit IRC05:01
*** bhall has joined #openstack-dev05:07
*** bhall has joined #openstack-dev05:07
*** blamar has quit IRC05:11
*** bsza has joined #openstack-dev05:14
*** AlanClark has quit IRC05:16
*** rohit-karajgi has joined #openstack-dev05:34
*** bsza has quit IRC05:35
*** rohitk has quit IRC05:35
*** dwalleck has quit IRC05:54
*** dwalleck has joined #openstack-dev05:55
*** zaitcev has quit IRC05:56
*** zedas has quit IRC05:56
*** zedas has joined #openstack-dev06:00
*** chmouel_ has joined #openstack-dev06:02
*** statik has quit IRC06:02
*** jeffjapan has quit IRC06:02
*** chmouel has quit IRC06:02
*** n0ano has quit IRC06:02
*** n0ano has joined #openstack-dev06:02
*** jeffjapan has joined #openstack-dev06:02
*** pvo has quit IRC06:02
*** pvo has joined #openstack-dev06:03
*** markmc has joined #openstack-dev06:07
*** dwalleck has quit IRC06:09
openstackjenkinsProject nova-docs build #1,615: SUCCESS in 2 min 16 sec: https://jenkins.openstack.org/job/nova-docs/1615/06:18
openstackjenkinsyorik.sar: Fix exception reraising in volume manager.06:18
openstackgerritNeil Johnston proposed a change to openstack/horizon: blueprint: improve-user-experience Bug #884453 Ensured branding is contained and can't escape sidebar space/break layout by adding a CSS style #main_nav h1. This bounds the branding area and disables overflow. Additionally padding ot the right is adjueste  https://review.openstack.org/148906:21
uvirtbotLaunchpad bug 884453 in horizon "UX Improvements: Sidebar -  Ensure branding is contained (can't escape sidebar space/break layout)" [Low,Confirmed] https://launchpad.net/bugs/88445306:21
openstackjenkinsProject nova-docs build #1,616: SUCCESS in 2 min 19 sec: https://jenkins.openstack.org/job/nova-docs/1616/06:58
openstackjenkinsJason K?lker: Fixes LP87831906:58
*** johan_-_ has quit IRC07:00
*** Rajaram has joined #openstack-dev07:09
*** bhall has quit IRC07:14
openstackgerritEwan Mellor proposed a change to openstack/nova: nova-manage: exit with status 1 if an image registration fails  https://review.openstack.org/149007:26
*** nati2_ has joined #openstack-dev07:27
*** nati2 has quit IRC07:30
*** adjohn has quit IRC07:38
*** jeffjapan has quit IRC07:41
*** adjohn has joined #openstack-dev07:46
ttxvishy: pong07:51
*** adjohn has quit IRC08:06
*** mnour has joined #openstack-dev08:24
*** reidrac has joined #openstack-dev08:28
*** pixelbeat has joined #openstack-dev09:01
*** jakedahn has quit IRC09:06
*** sleepsontheflo-1 has quit IRC09:19
*** jakedahn has joined #openstack-dev09:23
*** darraghb has joined #openstack-dev09:43
openstackgerritSoren Hansen proposed a change to openstack/nova: Extend fake image service to let it hold image data  https://review.openstack.org/149109:49
openstackgerritSoren Hansen proposed a change to openstack/nova: Extend test_virt_driver to also test libvirt driver.  https://review.openstack.org/104309:49
*** ABK has joined #openstack-dev09:53
*** statik has joined #openstack-dev10:02
*** statik has joined #openstack-dev10:02
openstackgerritAhmad Hassan proposed a change to openstack/nova: Verify security group parameters  https://review.openstack.org/81510:06
sorenmarkmc: Are you around?10:09
openstackgerritAhmad Hassan proposed a change to openstack/nova:     Verify security group parameters  https://review.openstack.org/149210:10
sorenmarkmc: I'm reading that e-mail of yours. I don't really understand the last bit where you talk about making sure tests pass at each individual commit.10:12
sorenmarkmc: There seems to be a setup step missing.10:12
sorenmarkmc: Are you perhaps running "rebase -i" and then setting each commit to "edit"?10:12
sorenmarkmc: Otherwise I don't see how "rebase --continue" won't just apply the rest of the patches.10:13
soren    test_spawn_with_network_info                                OK  217.4310:20
soren*stab*10:20
openstackgerritAhmad Hassan proposed a change to openstack/nova: Verify security group parameters  https://review.openstack.org/81510:23
sorenOh, my goodness.10:38
sorenSo you can actually spend a lot of time and care making sure your patch works great.. then you run "git review" which rebases your patch, potentially completely breaking it, and push it to gerrit making you look like a complete arse. *ggrrrrr*10:40
*** nati2_ has quit IRC10:43
zykes-soren: can one make live changes to a security group and it will be applied asap ?10:46
*** jakedahn_ has joined #openstack-dev11:03
sorenzykes-: yES.11:03
sorenYes, even.11:04
openstackgerritThierry Carrez proposed a change to openstack/openstack-ci-puppet: Only master merges set bugs to FixCommitted  https://review.openstack.org/149311:05
*** jakedahn has quit IRC11:05
*** jakedahn_ is now known as jakedahn11:05
markmcsoren, ah yeah, need to run rebase -i and s/pick /edit /11:21
markmcsoren, and yeah, agree on git-review auto-rebasing11:22
markmcsoren, you should rebase before submitting and then test11:23
markmcsoren, but that done, you don't want a further rebase automatically happening11:23
*** cmagina has quit IRC11:33
*** cmagina has joined #openstack-dev11:34
sorenmarkmc: WEll, you're screwed either way, because gerrit will rebase your change on top of HEAD.11:38
sorenThis is probably my biggest gripe with git.11:38
markmcsoren, no, it'll merge it - end result is the same, but you can prove your commit actually worked :)11:38
sorenOh, it doesn't rebase?11:39
sorenWEll, that's at least something.11:39
markmcno, it merges11:39
markmcor is it actually jenkins doing the merging?11:40
markmceither way, what you push to jenkins gets merged into master11:40
openstackgerritSoren Hansen proposed a change to openstack/nova: Replace libvirt driver's use of libxml2 with ElementTree  https://review.openstack.org/149411:44
openstackgerritSoren Hansen proposed a change to openstack/nova: foo  https://review.openstack.org/149511:44
openstackgerritSoren Hansen proposed a change to openstack/nova: Extend test_virt_driver to also test libvirt driver.  https://review.openstack.org/104311:44
sorenGah.11:44
markmcyou know, I almost pushed accidentally pushed a patch to gerrit yesterday too11:46
openstackgerritSoren Hansen proposed a change to openstack/nova: Extend test_virt_driver to also test libvirt driver.  https://review.openstack.org/104311:46
markmccoincidentally, the commit message also was "foo"11:46
sorenThat's almost always how I amend an existing patch. I hack on the code, do "git commit -a -m 'foo'" and then squash it back into the previous commit using "git rebase -i master"11:47
sorenIt's a miracle I haven't screwed it up this way before now :)11:47
markmcyou don't just do --amend ?11:48
markmcgit commit --amend -a11:48
sorenI though that would only let me change the commit message.11:48
sorenDidn't try it with -a. I guess that's the trick.11:49
markmcno, -a will add all changes in the working directory11:49
markmcyeah11:49
sorenmarkmc: Cool. Thanks. That'll save me a bunch of time :)11:49
markmcalso, if you screw it up and want to go back to the previous version of the commit11:49
markmctake a look at 'git reflog show'11:49
markmce.g. you can do git reset --hard HEAD@{1}11:49
markmcit's a history of the HEAD reference11:49
* soren lunches11:55
*** rkukura has quit IRC12:12
*** rods has joined #openstack-dev12:17
*** reidrac has quit IRC12:18
*** reidrac has joined #openstack-dev12:21
sorenDoes anyone know how Gerrit guesses dependencies (and how I can tell it that it got it wrong)?12:25
*** mattstep has quit IRC12:27
Kiallsoren: i think its just the standard git history?12:27
markmcsoren, just from the Change-Id:, I assume12:27
markmcsoren, example of it getting it wrong?12:27
sorenHm... Perhaps this is a UI problem. https://review.openstack.org/#change,1491 and https://review.openstack.org/#change,1494 both say they're depended on by https://review.openstack.org/#change,104312:28
sorenbut https://review.openstack.org/#change,1043 only mentions a dependency on https://review.openstack.org/#change,149412:28
* markmc re-reads that a few times12:28
Kialllol12:29
sorenmarkmc: Try opening all three, expand the Dependencies field, and I think it'll be reasonably obvious that something doesn't add up.12:29
Kiallsoren: something is wrong there.. they show conflicting information12:29
sorenKiall: Excatly.12:29
sorenExactly, even.12:29
sorenI wonder if it's a UI error.12:29
sorenThe reverse dependencies are actually accurate. 1043 *does* depend on both.12:30
soren...but 1494 doesn't depend on 1491.12:30
markmcsoren, a previous version of 1043 depended on 1491, maybe?12:30
sorenmarkmc: Dunno.12:31
markmcsoren, patch set 2, I think : https://review.openstack.org/gitweb?p=openstack/nova.git;a=log;h=25a5b8b9e0cb545711e7348cc8abed241f3b0dc812:32
markmcsoren, that depends on Change-Id: I2d07baf24cab544e19521b9486feee3272d0407e12:32
markmcsoren, which is 149112:32
sorenYeah.12:32
markmcyou just want to abandon 1491?12:33
sorenAt any rate, there are three patches. I don't understand why they're not considered a sequence of dependencies.12:33
sorenmarkmc: Uh.. No. Why would I want to do that?12:33
markmcoh, I see12:34
markmc1494 should depend on 149112:34
markmcsoren, try making an arbitrary change to the patch in 1491 and re-pushing12:34
soren"should" is such a strong word. 1494 depending on 1491 is what I expected, yes.12:34
markmcsoren, even just rebasing it or whatever12:35
sorenRebasing without making any changes is a no-op.12:35
markmcsoren, that way 1491 will get a patch set 212:35
markmcsoren, and it'll probably work out the new dependency12:35
markmcsoren, ok, just change the commit message12:35
sorenDoing so :)12:35
markmcsoren, as an experiment ...12:35
markmccool12:35
openstackgerritSoren Hansen proposed a change to openstack/nova: Replace libvirt driver's use of libxml2 with ElementTree  https://review.openstack.org/149412:36
openstackgerritSoren Hansen proposed a change to openstack/nova: Extend fake image service to let it hold image data  https://review.openstack.org/149112:36
openstackgerritSoren Hansen proposed a change to openstack/nova: Extend test_virt_driver to also test libvirt driver.  https://review.openstack.org/104312:36
markmcthat looks right now12:36
sorenYup.12:36
sorenThat did the trick.12:36
sorenWerid.12:36
sorenWeird, even.12:36
markmcso, just gerrit dumbness12:36
markmcit records the dependencies when you submit, clearly12:36
sorenYeah.12:36
sorenAnd 1494 didn't exist last time 1491 was pushed.12:37
wwkeyboardso the dependency is through the branch?12:37
*** GheRivero has quit IRC12:37
markmcgit format-patch --stdout origin/master | sed '/Date: /d' > t.mbox12:37
wwkeyboardi.e. if they are all checked into the same branch they depend on each other?12:37
markmcgit reset --hard origin/master12:37
markmcgit am t.mbox12:37
markmcsoren, that's what I would have done, resets the dates on the commits12:37
sorenwwkeyboard: If I have a series of patches in a branch, and I submit them for review, gerrit daisy chains the dependencies according to the ordering of the patches in my branch.12:37
wwkeyboardThats what I thought12:38
sorenmarkmc: Erk.12:38
markmcsoren, :)12:38
wwkeyboardBut then if the first patch in that list gets rejected, can you amend that specific commit? I didn't thin git would let you do that.12:38
markmcwwkeyboard, take a look at 'git rebase -i'12:39
sorenmarkmc: I've wanted to do that so many times, but haven't found a good way. It looks really, really weird to my eye that they're dated backwards (and that the big patch there is dated in September, but accomodates a bunch of changes made in the month and half since then.12:39
markmcsoren, right, I often reset dates for similar reasons12:39
markmcsoren, don't know of a better way than that12:39
markmcsoren, oh, look 'git commit --amend --date=...'12:40
sorenYeah.12:40
markmcsoren, git keeps getting new features :)12:40
soren...but I don't want to specify it manually. I just want it reset.12:40
soren--date=`date -R` :)12:40
markmcgit commit --amend --date=$(date) ?12:40
markmcah12:41
sorensnap12:41
soren:)12:41
markmccool12:41
sorenI guess that should work.12:41
markmcno, just need a nice loop to do that for all patches in a series12:41
markmcreally want a non-interactive mode for interactive rebasing12:41
sorenbatch rebasing.12:42
markmcright12:42
*** bsza has joined #openstack-dev12:46
*** lorin1 has joined #openstack-dev12:54
*** popux has joined #openstack-dev12:57
*** Rajaram has quit IRC12:58
markmcsoren, head=$(git rev-parse HEAD); git reset --hard $(git merge-base origin/master $head); git rev-list --reverse --oneline origin/master..$head | while read shortsha1 rest; do git cherry-pick $shortsha1; git commit --amend --date="$(date -R)"; done12:59
* markmc curses soren for distracting him12:59
*** lts has joined #openstack-dev13:00
*** lorin1 has quit IRC13:04
sorenIRC - Where productivity goes to die13:06
*** ABK has quit IRC13:07
openstackgerritAhmad Hassan proposed a change to openstack/nova: Verify security group parameters  https://review.openstack.org/81513:10
*** Rajaram has joined #openstack-dev13:15
*** bsza has quit IRC13:21
*** Rajaram_ has joined #openstack-dev13:22
*** Rajaram has quit IRC13:24
*** Rajaram has joined #openstack-dev13:24
*** Rajaram_ has quit IRC13:26
zykes-soren: are you a member of the netstack team ?13:30
sorenNo13:30
zykes-ok, i tried sending an e-mail to the list but noone's bothered to answer13:31
*** pringles_ has quit IRC13:32
*** pringles_ has joined #openstack-dev13:32
*** AlanClark has joined #openstack-dev13:35
*** sandywalsh has quit IRC13:41
*** chemikadze has joined #openstack-dev13:50
*** zul has quit IRC13:50
*** mnour has quit IRC13:53
*** zul has joined #openstack-dev13:53
*** kbringard has joined #openstack-dev13:55
openstackgerritAlvaro Lopez proposed a change to openstack/nova: Fixes bug 871877  https://review.openstack.org/145314:00
uvirtbotLaunchpad bug 871877 in nova "Diablo fails to run a VPN" [High,In progress] https://launchpad.net/bugs/87187714:00
zykes-soren: you know who's the dnsaas folks in rs ?14:01
sorenzykes-: Sorry, no.14:01
*** misheska has joined #openstack-dev14:08
*** bsza has joined #openstack-dev14:12
*** mdomsch has joined #openstack-dev14:13
*** sandywalsh_ has joined #openstack-dev14:13
*** dprince has joined #openstack-dev14:17
*** zul has quit IRC14:17
*** zul has joined #openstack-dev14:19
*** zul has quit IRC14:19
*** chuck__ has joined #openstack-dev14:20
*** chuck__ is now known as zul14:20
*** rkukura has joined #openstack-dev14:20
*** bcwaldon has joined #openstack-dev14:22
*** stuntmachine has joined #openstack-dev14:26
*** stuntmachine has quit IRC14:31
openstackgerritDan Prince proposed a change to openstack/openstack-chef: Glance updates to support MySQL, Postgres and caching.  https://review.openstack.org/149614:33
*** stuntmachine has joined #openstack-dev14:38
openstackgerritDan Prince proposed a change to openstack/openstack-chef: Add XML serialization middleware to the keystone pipeline.  https://review.openstack.org/149714:45
*** zns has joined #openstack-dev14:46
*** joesavak has joined #openstack-dev14:52
dprincemtaylor: around?14:52
*** jsavak has joined #openstack-dev14:53
dprincejeblair: there?14:53
openstackgerritTyler Smith proposed a change to openstack/quantum: Fixing Cisco plugin after update_* change  https://review.openstack.org/148014:53
*** joesavak has quit IRC14:57
*** crobinso has joined #openstack-dev14:57
*** deshantm_laptop has joined #openstack-dev14:59
jeblairdprince: hi15:01
*** bsza has quit IRC15:01
dprincejeblair: good morning! Hey. Could I put in a request to get 3 titan guys added to the group who can commit to openstack-chef.15:03
dprincejeblair: I'd like bcwaldon, markwash, and blamar to all have commit access.15:03
jeblairdprince: done15:04
dprincejeblair: thanks man.15:05
jeblairnp15:05
*** lorin1 has joined #openstack-dev15:05
*** Rajaram has quit IRC15:08
openstackgerritAhmad Hassan proposed a change to openstack/nova: Add missing methods to limit controller  https://review.openstack.org/81215:13
*** dtroyer has joined #openstack-dev15:15
KiallHumm .. both myself and stevegjacobs have had the same kernel panic on our OS nodes, anyone able to read these things? http://dl.dropbox.com/u/1400487/panic/IMG_20111026_040053.jpg15:16
*** Rajaram has joined #openstack-dev15:17
markmcKiall, it's an oops down in netfilter when qemu is writing to a tap device15:18
Kiallmarkmc: yea, I can see mentions of NF, NAT, bridging and tap .. but the cause is a mystery to me15:19
markmcKiall, looks something like https://lkml.org/lkml/2011/6/1/75415:21
KiallIt does, I've actually already had a quick read though that thread without luck15:22
sorenKiall: Which kernel version?15:24
Kiallsoren: 3.0.0-13-server on oneirc..15:25
Kiallnot sure about the version stevegjacobs is running..15:25
markmcubuntu? there's your problem right there15:25
* markmc ducks and runs15:25
sorenHow do you spell /KICK again?...15:25
soren:)15:25
Kiallmarkmc: lol15:25
markmcheh15:25
sorenKiall: Can you reliably trigger it?15:26
Kiallsoren: I'm afraid not15:26
KiallStandard traffic seems to trigger it, rather than instance startup/shutdown etc15:27
openstackgerritBrian Waldon proposed a change to openstack/glance: Correcting image cleanupd in sqlite cache driver  https://review.openstack.org/149815:33
openstackjenkinsProject nova-docs build #1,617: SUCCESS in 2 min 11 sec: https://jenkins.openstack.org/job/nova-docs/1617/15:38
openstackjenkinsSoren Hansen: Extend fake image service to let it hold image data15:38
*** hugokuo has joined #openstack-dev15:38
*** dwalleck has joined #openstack-dev15:39
*** joesavak has joined #openstack-dev15:41
*** blamar has joined #openstack-dev15:42
*** jsavak has quit IRC15:42
openstackgerritMark Washenberger proposed a change to openstack/nova: Add more error handling to glance xenapi plugin  https://review.openstack.org/149915:43
openstackjenkinsProject nova-docs build #1,618: SUCCESS in 2 min 17 sec: https://jenkins.openstack.org/job/nova-docs/1618/15:43
openstackjenkinsSoren Hansen: Replace libvirt driver's use of libxml2 with ElementTree15:43
sorenW00t.15:44
sorenjkoelker, blamar: Thanks for reviewing that libvirt test branch. It's been sitting there forever.15:46
*** jeremy has joined #openstack-dev15:46
jkoelkernp15:46
* ttx prepares to release essex-1.15:47
ttxshout will you still can.15:47
ttxwhile*15:47
ttxzns: keystone ok to go ?15:48
ttxjaypipes: glance ok to go ?15:48
ttxvishy: nova ok to go ?15:48
znsttx: yes15:49
joesavakttx: keystone good15:49
*** dolphm has joined #openstack-dev15:50
znsttx: hold on. There's a review that I thought went in that isn't. When are you cutting?15:52
ttxzns: asap15:52
blamarsoren: np, I'm not a big fan of huge fakes like that (I made a long winded comment when you had it in Launchpad) but it's gotta be a pain for you to have that merge up for review for so long :) I feel that pain15:52
dolphmzns: which review?15:52
znsTENANT_ID15:52
ttxzns: note that the fix will have to be in milestone-proposed.15:53
ttxzns: (in addition to master)15:53
znshttps://review.openstack.org/#change,138615:53
Davieywow, essex-1 has come around fast15:53
*** Rajaram has quit IRC15:53
sorenblamar: It's way, way easier to maintain than half a bajillion stubs scattered across as many unit tests.15:53
mtaylordprince: morning!15:53
*** rnirmal has joined #openstack-dev15:53
znsdolphm: That was vish's originally. I think he's expeting it in, isn't he?15:54
dolphmzns: i assume so15:54
mtaylordprince: don't know if you've chatted with them, but the folks at HP are apparently using chef for their deploys as well. I believe their plan is to collaborate with you on openstack-chef.15:54
ttxzns: I have a TENANT_ID thing in https://github.com/openstack/keystone/commits/milestone-proposed15:54
dolphmzns: he also made a comment in https://review.openstack.org/#change,137515:54
sorenblamar: The unit tests for the fake itself should offer some confidence that it's in good shape.15:54
dprincemtaylor: sounds good. I'll look for some merge props then.15:55
blamarsoren: I'd agree with that against the current code base...but ideally we shouldn't have to stub so much out, lots of programming design patterns to help that15:55
blamarsoren: yeah, I like that, but it's also a red flag for me when you have to write unit tests for your unit tests15:55
sorenblamar: Do you have better suggestions for how to thoroughly test the libvirt driver?15:55
*** misheska has quit IRC15:56
znsttx: that's the same one, but I updated it. I was worried that the way it was listed now would break a number of apps.15:56
*** ayoung has quit IRC15:57
sorenblamar: It's a pattern I've come to enjoy quite a bit actually. I have some code that needs to interact with something. I add a fake version of the something and add tests to make sure the something acts like the real thing.15:57
blamarsoren: one suggestion, but it's a massive refactoring of the code to de-couple the actual interaction between us and libvirt15:57
sorenblamar: ..but then how would you test that?15:58
sorenblamar: The thing that actually talks to libvirt?15:58
blamarsoren: there are some things you don't test15:58
znsdolphm: can you review my submission into master? Then we can get it into milestopne.15:58
blamarI liken this to mocking out a filesystem because you have a lot of open() calls in your code15:58
sorenblamar: Yeah, I don't really buy that. If it was something simple that we knew noone would ever change, no problem.15:58
*** adjohn has joined #openstack-dev15:59
dolphmzns: the middleware.rst isn't actually rst syntax15:59
sorenblamar: But this interaction is delicate, and libvirt has lots of knobs, handles and levers.15:59
mtaylorjaypipes: hey buddy. any reason you have sqlalchemy<0.7 marked in glance pip-requires?16:00
sorenblamar: I don't trust anyone (including myself) to do so reliably. Having a fake (with tests) gives me confidence that we're speaking correctly to libvirt.16:00
blamars/libvirt/our custom fake libvirt/16:00
sorenThe tests are meant to ensure that that is the same thing.16:01
sorenWhen we learn that is not the case, we have somewhere to fix that and ensure we never make the same mistake again.16:01
mtaylornotmyname: if we were going to make a python-swiftclient, do you think we should start with the rackspace cloud files client thing? or something else? or should I just butt out?16:01
notmynamemtaylor: (only because you said it first) the best thing now is to butt out :-)16:02
notmynamemtaylor: the rax packages aren't a good base16:02
*** ayoung has joined #openstack-dev16:02
mtaylornotmyname: ok :)16:02
notmynamemtaylor: but the swift/common/client.py is16:02
sorenblamar: When "the thing" is sufficiently complicated, it's impossible to write code that interacts with it that is "obviously correct".16:02
notmynamemtaylor: and we're currently in a (long) process of updating the rackspace bindings (all of them) to be much more like client.py16:02
mtaylornotmyname: cool. I'm poking at good plane hacking tasks, so I was poking around at glance/glanceclient and noticed that glance was depending on swift16:03
mtaylorso I thought I'd ask16:03
blamarsoren: I really don't understand that statement :\16:03
notmynamemtaylor: I expect to use client.py (or something similar derived from client.py). I also expect it to be ready around essex and not too much sooner16:03
sorenblamar: I wrote a fake libxenstore at some point because I had to write some code that needed to talk to the Xen store, but I didn't want to run Xen. To make sure I didn't screw it up, I wrote tests for my libxenstore to ensure it acted like the real one did.16:03
notmynamemtaylor: good thought, though16:03
blamaris the fake libvirt going to support a specific version of libvirt? or all versions?16:03
mtaylornotmyname: yeah - it's not pressing so far16:04
*** code_franco has joined #openstack-dev16:04
sorenblamar: If such a difference makes a difference for us, sure.16:04
*** dragondm has joined #openstack-dev16:04
sorenblamar: Like if a new API call is added in version X, but we claim to support versions <X, then fakelibvirt should know how to act like it supports it and not.16:05
sorenIf we bump our required libvirt version to X, then I don't see any reason to do so.16:05
sorenblamar: Ok, so to explain that statement..16:06
sorenblamar: (from further up)16:06
blamark16:06
*** crobinso has quit IRC16:06
sorenblamar: If the API I was faking only had a couple of different calls, it'd be easy to verify that an abstraction layer that talks to it is doing the right thing.16:07
openstackgerritDolph Mathews proposed a change to openstack/keystone: Use TENANT_ID if it exists, but still support X_TENANT.  https://review.openstack.org/138616:07
sorenblamar: When it's more complicated than that, it's really handy to have a fake that ensures you've done the proper setup, that you're calling the right things, that you're cleaning up properly after yourself, that you're not trying to perform operations on objects whose state doesn't support said operation...16:08
sorenblamar: There's no way I'm going to accept that as something "you just don't test".16:08
blamarsoren: completely mis-spoke that. it really should read: there are some things you just don't unit test16:09
*** mmetheny has quit IRC16:09
*** mmetheny_ has joined #openstack-dev16:09
*** reidrac has quit IRC16:09
sorenblamar: I dont' want to depend on libvirt. Just like I don't want to depend on hyperv.16:09
blamarwhich is why we have integration tests and acceptance tests and whatever else the names are for them16:10
sorenblamar: I want to be free to change things in the general interface, make adjustments in all the hypervisor drivers, including hyperv, and have the unit tests tell me if I screwed it up.16:10
blamarbut they *don't* they tell you if you screwed up the fake16:10
sorenYes...16:10
sorenAnd I have tests to try to make sure that that is the same thing.16:10
sorenThe integration tests can tell me when I got *that* wrong.16:11
soren...and I can fix the fake (and its tests).16:11
sorenIntegration tests will (hopefully) catch everything, but before things make it that far, unit tests should have caught as much as possible. This is certainly within the realm of what is possible.16:13
blamarunit test inception, going another level deep for limited benefit IMO, whatever benefit it provides it just gets taken away by adding the chance that the fake is wrong16:13
sorenWe can't expect random developers to run any amount of integration tests. We can tell tehm to run unit tests.16:13
sorenIf the fake is wrong, the difference will be caught in integration tests, and then we can fix the fake.16:14
sorenWithout the fake, we'll be sure to make the same mistake again. With the fake, we only make the same mistake once.16:14
blamarsoren: but we can expect us to gate trunk based on integration tests16:14
openstackgerritChmouel Boudjnah proposed a change to openstack/keystone: Add a new swift auth middleware.  https://review.openstack.org/150016:14
sorenblamar: This is a slippery slope that leads to not doing unit testing at all.16:15
*** markmc has quit IRC16:15
blamargood thing it's a fallacy then?16:15
sorenblamar: How do you figure that?16:15
blamarhttp://en.wikipedia.org/wiki/Slippery_slope#The_slippery_slope_as_fallacy16:16
sorenYou're saying this is pointless because these things will be caught in intergration tests.16:16
soren...just like everything else.16:16
sorenSo, since we'll catch every problem in integration tests, unit tests have little purpose.16:16
sorenI really have to go to dinner now :)16:17
sorenI'd love to discuss this more.16:17
sorenLater.16:17
soreno/16:17
blamarsee ya!16:18
*** sannes has quit IRC16:18
*** cp16net has joined #openstack-dev16:19
*** crobinso has joined #openstack-dev16:19
*** dwalleck_ has joined #openstack-dev16:20
openstackgerritChmouel Boudjnah proposed a change to openstack/swift: Fix permissions when creating files/permissions.  https://review.openstack.org/120616:22
*** dwalleck has quit IRC16:22
*** markmc has joined #openstack-dev16:22
znsttx: the code is in. Keystone is ready.16:24
ttxzns: ok16:25
ttxI need to wait for a tarball to be generated from the last change16:25
ttxand then we can go16:25
*** chmouel_ is now known as chmouel16:27
*** bsza has joined #openstack-dev16:27
*** vladimir3p has joined #openstack-dev16:28
vishyzns: hey there is something weird happening with one of my proposals into stable/diablo16:28
*** gyee has joined #openstack-dev16:29
znsvishy: which one? I know I stomped (by mistake) over your TENANT_ID proposal. We got it into master and E1 just now. I'll work on getting it into stable/diablo. Is that the one you are referring to?16:30
*** dolphm has quit IRC16:30
vishyyeah16:30
vishythat one16:30
*** dolphm has joined #openstack-dev16:30
vishyzns: cool, I just want to make sure that everything is using the id.  We still need to redo the conversion scripts16:31
ttxvishy: is https://github.com/openstack/nova/commits/milestone-proposed looking good for you ?16:31
ttx(for essex-1 immediate release)16:31
*** dwalleck_ has quit IRC16:31
vishyttx: yeah.  I wish we had the integration tests going16:32
vishyttx: they are close :(16:32
ttxvishy: no shit :)16:32
ttxhow close ?16:32
vishynot close enough to delay16:32
ttxack16:33
ttxjaypipes: around ?16:33
vishyI have not been able to consistently reproduce the rabbit bug i was looking at16:33
jaypipesttx: yep16:33
vishyso that has no fix yet either16:33
vishyit is a heisenbug16:33
ttxjaypipes: glance milestone-proposed ok to go ?16:33
znsvishy: which conversion scripts?16:34
*** dolphm_ has joined #openstack-dev16:35
*** dolphm has quit IRC16:35
*** pin15 has joined #openstack-dev16:35
vishyzns: the ones that convert users and projects from nova into keystone16:36
jaypipesttx: yes16:36
ttxcool, I just miss horizon then16:36
*** yogirackspace has joined #openstack-dev16:36
ttxanyone from horizon-core who could confirm ?16:37
znsvishy: I heard about it but never saw it! Would love to take a look at it. Where is it?16:37
*** mattstep has joined #openstack-dev16:37
znsvishy:  I know some Cactus deployments are having heartburn over moving to Keystone. Does the script handle changing name/id in Nova as well?16:37
*** sandywalsh has joined #openstack-dev16:39
ttxdoing keystone/essex-116:40
*** cp16net has quit IRC16:41
*** cp16net has joined #openstack-dev16:41
*** dwalleck has joined #openstack-dev16:42
openstackgerritBrian Waldon proposed a change to openstack/glance: Correcting image cleanupd in sqlite cache driver  https://review.openstack.org/149816:42
ttxdoing glance/essex-116:45
*** crobinso has quit IRC16:45
ttxdoing nova/essex-116:48
*** joesavak has quit IRC16:48
znsAnyone know how to preview what is about to get pushed up in a 'git review'? Something like a 'git review preview'?16:51
*** ayoung has quit IRC16:51
viraptorzns: if you're sure it's only one, current commit, then `git show`16:53
viraptorto make sure it's only one single commit, `gitk` might be helpful16:54
*** popux has quit IRC16:55
mtaylorjaypipes: did you see my ? about sqlalchemy versions in glance?16:56
*** jog0 has joined #openstack-dev16:56
jaypipesmtaylor: on IRC? or email?16:57
*** jog0 has quit IRC16:57
dolphm_viraptor: that's the issue - how do you know you're only about to push a single change?16:57
*** jog0 has joined #openstack-dev16:57
mtaylorjaypipes: here. is there a reason for the <0.7 on the sqlalchemy line in the pip-requires?16:57
*** reed_ has joined #openstack-dev16:57
mtaylorjaypipes: nova bumped up to allowing 0.716:57
*** negronjl has joined #openstack-dev16:57
viraptordolphm_: if you're rebased on master, then your commit will de displayed on top and the next one will have the "master" tag on the right16:57
jaypipesmtaylor: had to do with sqlalchemy.migrate.16:57
mtaylorlovely16:58
jaypipesmtaylor: basically 0.7.0 is bad, but 0.7.1 is fine.16:58
*** reed_ is now known as reed16:58
mtaylorjaypipes: ah! so can we change that to >0.7.0 then? (want to make sure we don't get a set of weird cross-project depends going)16:58
jaypipesmtaylor: I believe so, yes16:59
viraptordolphm_: or run `git log master --not remotes/origin/master` and you should get only the difference between upsteam and your tree (which should be a single commit)16:59
dolphm_zns: ^^^17:00
dolphm_viraptor: that looks like exactly what i was thinking17:01
openstackgerritMonty Taylor proposed a change to openstack/nova: Removed some old cruft.  https://review.openstack.org/150217:02
znsviraptor: excellent! Thanks.17:03
*** dolphm_ has quit IRC17:04
*** dolphm has joined #openstack-dev17:05
znsviraptor: git show works, but as dolphm points out how do we know we're only pushing one review? 'git log master --not remotes/origin/master' does nothing for me - no output.17:07
openstackgerritandrea-rosa-m proposed a change to openstack/nova: Exception handler for kombu connnection  https://review.openstack.org/150317:07
mtaylorzns: thanks for reminding me ... I've been meaning to add a confirmation step to git-review that will warn if you're about to submit more than one patch17:08
viraptorzns: then you don't have new commits at all - no idea how you did that :P17:09
znsmtaylor: cool. Any plans to add somehting like 'git review milestone-proposed'?17:09
viraptorgitk should help you look around17:09
mtaylorzns: yes. already exists17:10
*** dolphm has quit IRC17:10
mtaylorzns: you need to use the new git-review tool17:10
mtaylorzns: pip install git-review17:10
znsmtaylor: didn't you guys make all that magically come down with the code pulls?17:10
mtaylorzns: originally we did, but we're replacing the thing in the tree with a tool that you install - because it can do more, and also that way we don't have to maintain 16 copies of a script :)17:11
znsmtaylor: Ah. pip installing.17:11
mtaylorzns: so git-review is the up and coming hotness. basic things work as before - "git review" and you're good17:11
mtaylorzns: but there are several new things it can do, including submitting to non-master branches17:12
*** dtroyer has quit IRC17:12
*** pin15 has left #openstack-dev17:12
mtaylorzns: git review --help should give you an overview17:12
znsviraptor: found the problem. I'm not on master, I'm working on stable/diablo. So 'git log master --not remotes/origin/stable/diablo' works! Thank you.17:13
znsmtaylor: git review --help17:14
znsNo manual entry for git-review17:14
zns:-(17:14
mtaylor:(17:14
*** dprince has quit IRC17:14
mtaylorzns: well, there's also a readme file on http://github.com/openstack-ci/git-review17:14
mtaylorzns: what os are you on? that's a bug that you don't get that manpage and I'd like to track it down :)17:15
*** sleepsontheflo-1 has joined #openstack-dev17:15
openstackgerritMonty Taylor proposed a change to openstack/openstack-ci: Run sdist in the venv.  https://review.openstack.org/150417:15
znsMac17:15
mtaylorzns: awesome. thanks17:15
*** hugokuo has quit IRC17:16
viraptorzns: if you're working on diablo/stable, then it should probably be 'git log stable/diablo --not remotes/origin/stable/diablo' - otherwise you might submit the whole master ;)17:17
openstackjenkinsProject nova-docs build #1,619: SUCCESS in 2 min 14 sec: https://jenkins.openstack.org/job/nova-docs/1619/17:18
openstackjenkinsAlvaro: Fixes bug 87187717:18
uvirtbotLaunchpad bug 871877 in nova "Diablo fails to run a VPN" [High,Fix committed] https://launchpad.net/bugs/87187717:18
znszns: exactly what we're trying to avoid! Thanks17:18
* mtaylor is adding that check to git-review right now17:18
znsviraptor, not zns!17:18
*** deshantm_laptop has quit IRC17:24
openstackgerritAhmad Hassan proposed a change to openstack/nova: Capture exceptions happening in API layer  https://review.openstack.org/80217:26
*** Rajaram has joined #openstack-dev17:27
*** crobinso has joined #openstack-dev17:31
*** bsza has quit IRC17:34
*** bsza has joined #openstack-dev17:34
openstackgerritAhmad Hassan proposed a change to openstack/nova: Capture exceptions happening in API layer  https://review.openstack.org/80217:35
openstackgerritTyler Smith proposed a change to openstack/quantum: Fixing Cisco plugin after update_* change  https://review.openstack.org/148017:39
*** negronjl has quit IRC17:39
*** jakedahn has quit IRC17:40
*** johan_-_ has joined #openstack-dev17:40
*** devcamcar has joined #openstack-dev17:42
openstackgerritMonty Taylor proposed a change to openstack-ci/git-review: Check to ensure that only one change is submitted.  https://review.openstack.org/150517:42
*** nati2 has joined #openstack-dev17:47
*** jaypipes has quit IRC17:49
*** jdg has joined #openstack-dev17:50
*** dprince has joined #openstack-dev17:51
*** ayoung has joined #openstack-dev17:52
openstackgerritMonty Taylor proposed a change to openstack-ci/git-review: Check to ensure that only one change is submitted.  https://review.openstack.org/150517:54
ttxdevcamcar: is horizon milestone-proposed ready to go ?17:55
ttxdevcamcar: I included the latest commit from master, since you targeted that fix for essex-117:55
ttxdevcamcar: please doublecheck and let me know17:55
* ttx disappears momentarily to have dinner17:56
devcamcarttx: we have one backport to do17:58
*** bcwaldon_ has joined #openstack-dev17:58
*** bcwaldon has quit IRC17:58
*** jdurgin has joined #openstack-dev17:59
devcamcarmtaylor: around?  i've been noticing that gerrit hasn't been sending notifications when i receive merge proposals18:01
devcamcari was wondering why things were so quiet ...18:01
devcamcari did actually click the checkboxes too :)18:01
*** bcwaldon_ has quit IRC18:02
*** blamar has quit IRC18:02
*** blamar has joined #openstack-dev18:02
*** joesavak has joined #openstack-dev18:03
*** bcwaldon has joined #openstack-dev18:03
*** pixelbeat has quit IRC18:03
*** ayoung has quit IRC18:03
openstackgerritBrian Waldon proposed a change to openstack/glance: Correcting image cleanup in cache drivers  https://review.openstack.org/149818:05
*** jsavak has joined #openstack-dev18:08
*** lorin11 has joined #openstack-dev18:10
*** lorin11 has quit IRC18:10
*** joesavak has quit IRC18:12
*** dwalleck has quit IRC18:12
*** lorin1 has quit IRC18:12
*** jaypipes has joined #openstack-dev18:13
openstackgerritandrea-rosa-m proposed a change to openstack/nova: Exception handler for kombu connnection  https://review.openstack.org/150318:17
*** novas0x2a|laptop has joined #openstack-dev18:18
johan_-_PING 132094922718:20
*** dwalleck has joined #openstack-dev18:23
*** med_out has quit IRC18:23
*** dwalleck has quit IRC18:23
openstackgerritAlex Meade proposed a change to openstack/nova: Converting delete to use instance objects  https://review.openstack.org/150618:24
openstackgerritAlex Meade proposed a change to openstack/nova: Converting delete to use instance objects  https://review.openstack.org/150618:25
*** mszilagyi has joined #openstack-dev18:27
*** dtroyer has joined #openstack-dev18:29
*** Rajaram has quit IRC18:30
openstackjenkinsProject nova-docs build #1,620: SUCCESS in 2 min 13 sec: https://jenkins.openstack.org/job/nova-docs/1620/18:33
openstackjenkinsmark.washenberger: Add more error handling to glance xenapi plugin18:33
*** jakedahn has joined #openstack-dev18:34
*** zaitcev has joined #openstack-dev18:42
ttxdevcamcar: what backport ? Note that I did push one extra commit to it earlier today (the one you targeted to essex-1 yesterday)18:51
*** jakedahn has quit IRC18:53
*** nati2 has quit IRC18:53
*** bsza has quit IRC18:53
devcamcarttx: that's probably the one i was referring to18:54
devcamcarlet me loo18:54
devcamcark18:54
*** nati2 has joined #openstack-dev18:55
*** jsavak has quit IRC18:55
ttxdevcamcar: Check https://github.com/openstack/horizon/commits/milestone-proposed18:57
ttxdevcamcar: basically it's check behind master by one commit now18:57
ttxs/check/just/18:57
*** reed has quit IRC18:58
devcamcarttx: great, we are good to go18:59
devcamcarthanks!18:59
*** jdg has quit IRC19:00
sorenblamar: Where were we?19:00
sorenblamar: Oh, right.19:00
sorenblamar: So, you argue that doing this is bad, because it's hard to get right, and any issues would be better caught by integration tests. Is that accurate?19:01
*** jsavak has joined #openstack-dev19:05
*** lorin1 has joined #openstack-dev19:06
vishysoren: he was arguing against your fake?19:08
*** mgius has joined #openstack-dev19:09
sorenvishy: Yes.19:09
*** reed has joined #openstack-dev19:10
vishysoren, blamar: i think the utility is inversely proportional to the complexity of the fake.  If the fake gets too complex, the overhead of maintaining outweighs its value19:10
*** bsza has joined #openstack-dev19:10
sorenvishy: Depends.19:10
vishysoren, blamar: I think the fakerabbit implementation was very useful for example, but it did create some pain a few times19:10
*** dtroyer has quit IRC19:10
vishysoren, blamar: same with fakeldap19:10
sorenvishy: If the thing it's faking is equally complex, that changes things.19:10
*** dtroyer has joined #openstack-dev19:11
vishythe ldap code would probably not work without the fakeldap19:11
sorenYeah.19:11
vishysoren: so I think as long as we don't get too crazy with the fake, it is still useful19:11
sorenI think the libvirt fake is quite maintainable.19:11
soren..and as long as the fake itself has tests, it shouldn't be a problem.19:12
soren"Ever".19:12
ttxdevcamcar: ok, releasing now then19:12
devcamcarttx: awesome19:12
vishysoren: as long as we don't consider it a replacement for integration tests, I don't have a problem with it.  I'd like to hear more about blamar's concerns though19:13
*** jakedahn has joined #openstack-dev19:14
sorenvishy: To be honest, I'd much rather have unit tests replace integration tests than the other way around, but no, noone is suggesting not doing integration tests.19:15
crobinsosoren: where is this fake libvirt code?19:16
sorencrobinso: https://review.openstack.org/#change,104319:16
sorencrobinso: It implements the subset of libvirt python API that we use.19:17
sorencrobinso: ..and tries to maintain the state that we care about.19:17
crobinsosoren: I heard you mention problems with test:/// driver to markmc yesterday, what exactly are those problems?19:18
sorencrobinso: Basically that it exposes it's own semantics that are different from any/all of kvm, qemu, uml, Xen..19:18
sorencrobinso: I'd like for this one to expose all the idiosyncracies of kvm/Xen/UML/QEmu/whatever.19:19
sorencrobinso: And, I'd like to not depend on libvirt.19:19
sorencrobinso: The latter in part because that's what I asked of the people who developed the HyperV driver.19:19
*** negronjl has joined #openstack-dev19:22
crobinsosoren: hmm. well the test:/// driver doesn't have a big dep, since it doesn't require libvirt to be running or even exist19:22
openstackgerritAlex Meade proposed a change to openstack/nova: Converting start and stop to use instance objects  https://review.openstack.org/150719:22
openstackgerritAlex Meade proposed a change to openstack/nova: Converting delete to use instance objects  https://review.openstack.org/150619:22
sorencrobinso: No, but it still requires libvirt.19:23
crobinsosoren: I wonder if it might be better to just use monkey patching to mimic the idiosyncrasies. that's basically what I do for virtinst which has a very extensive test suite hitting libvirt19:23
sorencrobinso: Which can be awkward for a number of reasons (not being on pypi, for instance).19:23
*** bsza has quit IRC19:24
*** bsza has joined #openstack-dev19:24
*** ayoung has joined #openstack-dev19:28
ttxessex-1 available now.19:28
sorenttx: sexy19:28
*** dwalleck has joined #openstack-dev19:29
ttxMLs and archives are sooo slow that I can't really reference my email in the tweet.19:29
zykes-:p19:30
crobinsosoren: the main benefit of the test:/// driver is that it does actually exercise a lot of code that actual drivers like qemu, xen, etc do use, like XML validation19:30
*** gyee has quit IRC19:31
*** bsza has quit IRC19:31
sorencrobinso: A number of things seem to be completely absent, though.19:33
sorencrobinso: Like attaching devices.19:33
sorencrobinso: Migration.19:33
sorencrobinso: CPU feature comparison.19:33
sorencrobinso: All things we need.19:34
*** bsza has joined #openstack-dev19:34
*** gyee has joined #openstack-dev19:34
*** jakedahn has quit IRC19:34
crobinsosoren: no doubt, but those are the things that can be monkey patched into the python bindings (or actually implemented in the libvirt test driver, would be easy for 1 and 3 at least)19:35
*** dwalleck has quit IRC19:35
sorencrobinso: Yeah. I just kind of need this, like, a year ago :)19:36
sorencrobinso: If the test driver did all of this, I might have argued stronger for doing that in the first place (my first experiment involed just pointing the libvirt driver at test:/// instead of qemu:///system), but I needed to duplicate too much state.19:38
sorencrobinso: So, if I were to support the attachDevice by way of monkeypatching, I'd need to maintain state about block device and network interfaces from the domain's defined XML to make sure I properly reject attempts to attach a device that already exists.19:40
sorencrobinso: This just felt like less work, and it solved the problem of the libvirt dependency, as well as served as an example of how one could do this for other hypervisors. Notably, HyperV.19:40
Kiallcrobinso: how stable should the milestone releases be considered?19:41
sorenKiall: What, of libvirt?19:41
Kiallsorry, essex-119:41
Kiall(Just got his ML email)19:41
sorenKiall: And you mean to ask crobinso about that?19:42
sorenOh.19:42
sorenOk.19:42
Kialloh - crap wasnt him who sent it ;)19:42
Kiallwhy did I think he sent it -_-19:42
crobinsosoren: I hear ya, your code exists now and is useful, so all good. but finding a way to utilize the test driver will give better validation and likely less custom openstack code, so worth keeping in mind19:43
crobinsosoren: at least for medium term19:44
*** novas0x2a|laptop has quit IRC19:44
*** novas0x2a|laptop has joined #openstack-dev19:44
*** bsza has quit IRC19:44
*** adjohn has quit IRC19:45
*** mszilagyi_ has joined #openstack-dev19:47
*** ayoung has quit IRC19:47
*** mszilagyi has quit IRC19:48
*** mszilagyi_ is now known as mszilagyi19:48
*** dwalleck has joined #openstack-dev19:50
openstackgerritYogeshwar Srikrishnan proposed a change to openstack/keystone: Initial.  https://review.openstack.org/150819:50
openstackgerritYogeshwar Srikrishnan proposed a change to openstack/keystone: Bug-888448: - Changes to allow validate token call return user name as per contract.  https://review.openstack.org/150919:50
*** ayoung has joined #openstack-dev19:52
openstackgerritYogeshwar Srikrishnan proposed a change to openstack/keystone: Bug-888448: - Changes to allow validate token call return user name as per contract.  https://review.openstack.org/150919:55
vishyKiall: not that stable19:56
vishyKiall: tech preview only19:56
rmkHow does nova determine the state of a compute worker?19:57
KiallSure - Thats what I figured.. Just wanted to check though :)19:57
rmkI'm seeing flapping constantly.19:57
*** dtroyer has quit IRC19:57
*** dprince has quit IRC19:58
vishyrmk: install ntp19:59
rmkugh really, time drift?19:59
vishyrmk: aye19:59
rmkI have a 1 sec skew at the moment between my "master" and compute nodes19:59
rmkwould that be enough delta to cause it?20:00
Kiallrmk: i'd hope not ;)20:00
*** lorin1 has left #openstack-dev20:00
*** lorin1 has joined #openstack-dev20:01
Kiallbut .. there is this: https://bugs.launchpad.net/nova/+bug/86767420:01
uvirtbotLaunchpad bug 867674 in nova "Make service liveness checks more consistent / correct" [Wishlist,Fix committed]20:01
rmkI've got 50 VMs on each of my two compute nodes in my lab.20:01
rmkSo I was looking at various tuning options for libvirtd.20:01
rmkAs well as rabbit and nova-compute workers itself.20:01
rmkKiall: Hmm I may have to pull that patch and try it.20:02
vishyrmk: yes20:02
vishyrmk if the head node is ahead20:02
vishy* behind20:02
rmkyeah it's behind20:03
vishythere has been arguments about what should be done with negative values20:04
rmkWell at least this is easy enough to sort out with ntp.20:04
vishybut as Kiall pointed out20:04
vishyit now supports negative times ok20:04
vishyin any case, you should have ntp20:05
rmkAgreed.20:05
*** n0ano has quit IRC20:07
openstackjenkinsProject nova-docs build #1,621: SUCCESS in 2 min 12 sec: https://jenkins.openstack.org/job/nova-docs/1621/20:08
openstackjenkinsalex.meade: Converting delete to use instance objects20:08
*** dtroyer has joined #openstack-dev20:09
*** dolphm has joined #openstack-dev20:09
openstackgerritEwan Mellor proposed a change to openstack/nova: Bug #888719: openvswitch-nova runs after firstboot scripts  https://review.openstack.org/151020:13
openstackgerritEwan Mellor proposed a change to openstack/nova: nova-manage: exit with status 1 if an image registration fails  https://review.openstack.org/149020:13
*** dtroyer has quit IRC20:13
uvirtbotLaunchpad bug 888719 in nova "openvswitch-nova runs after firstboot scripts" [Undecided,In progress] https://launchpad.net/bugs/88871920:13
*** dtroyer has joined #openstack-dev20:14
openstackgerritYogeshwar Srikrishnan proposed a change to openstack/keystone: Bug-888448: - Changes to allow validate token call return user name as per contract.  https://review.openstack.org/150920:16
*** bcwaldon has quit IRC20:17
*** dolphm has quit IRC20:17
*** dolphm has joined #openstack-dev20:18
*** darraghb has quit IRC20:18
openstackgerritYogeshwar Srikrishnan proposed a change to openstack/keystone: Bug-888448: - Changes to allow validate token call return user name as per contract. - Additional test asserttions to test the same.  https://review.openstack.org/150920:20
*** dtroyer has quit IRC20:21
*** dtroyer has joined #openstack-dev20:22
*** dwalleck has quit IRC20:22
*** dolphm_ has joined #openstack-dev20:23
*** dolphm has quit IRC20:23
openstackgerritA change to openstack/keystone has been rejected: Test for service catalog with unscoped token  https://review.openstack.org/141820:23
openstackgerritDan Prince proposed a change to openstack/openstack-chef: Add 'auth-context' to the glance keystone pipeline.  https://review.openstack.org/151120:24
*** dwalleck has joined #openstack-dev20:26
openstackgerritDan Prince proposed a change to openstack/openstack-chef: Update the glance::load_images recipe to source openstackrc if it exists.  https://review.openstack.org/151220:27
*** jsavak has quit IRC20:28
*** nati2 has quit IRC20:28
blamarsoren, vishy: sorry, meetings and such20:29
*** joesavak has joined #openstack-dev20:29
blamarsoren: wasn't trying to *really* argue against, just not in favor of :) I think it should go in I just won't push the button if that makes sense20:30
openstackgerritEwan Mellor proposed a change to openstack/nova: Bug #888730: vmwareapi suds debug logging very verbose  https://review.openstack.org/151320:30
uvirtbotLaunchpad bug 888730 in nova "vmwareapi suds debug logging very verbose" [Undecided,In progress] https://launchpad.net/bugs/88873020:30
blamarsoren: you make a fine point in that it does help the stability of the code as it is today, if I can help refactor it to rely less on the fake in the future than thats on me20:30
*** jeblair has quit IRC20:37
dolphm_ttx: what are your thoughts on a "release" process for our stable/diablo branch? I believe all the patches we want in that branch are there, and I've put together some release notes for what's there20:38
openstackgerritKevin L. Mitchell proposed a change to openstack/nova: Fix a notification bug when creating instances  https://review.openstack.org/151420:40
*** jeblair has joined #openstack-dev20:42
openstackgerritDaryl Walleck proposed a change to openstack/openstack-integration-tests: Added server details tests. Also re-added several files that somehow missed the initial commit  https://review.openstack.org/151520:47
*** dtroyer has quit IRC20:47
openstackgerritBrian Waldon proposed a change to openstack/glance: Removing assertGreaterEqual  https://review.openstack.org/151620:48
*** dtroyer has joined #openstack-dev20:49
*** crobinso has quit IRC20:49
*** statik has quit IRC20:52
openstackgerritAlex Meade proposed a change to openstack/nova: Convert pause/unpause, sus/res to use instance obj  https://review.openstack.org/151720:56
*** mnour has joined #openstack-dev20:56
openstackgerritBrian Waldon proposed a change to openstack/nova: Converting metadata calls to use instance objects  https://review.openstack.org/151821:00
*** ayoung has quit IRC21:01
*** dwalleck has quit IRC21:09
sorenblamar: I would love to see a different pattern that would yield similar results. I've used this on in the past to great effect. There's some overhead involved in building the fake to begin with, but expanding on it as needs arise isn't much of a problem, and the benefit reaped by not depending on the real thing is well worth it, IME.21:10
sorenblamar: But if you're not comfortable +2'ing, that's cool. I don't mind extra eyes on there before it lands :)21:11
sorenblamar: I'm positive there are places where this strategy isn't going to work out, though. No doubt about that.21:12
sorenblamar: Or even bad implementations for the exact same scenario. :)21:12
openstackgerritAlex Meade proposed a change to openstack/nova: Convert pause/unpause, sus/res to use instance obj  https://review.openstack.org/151921:17
*** dwalleck has joined #openstack-dev21:18
*** ayoung has joined #openstack-dev21:18
openstackgerritAlex Meade proposed a change to openstack/nova: Convert pause/unpause, sus/res to use instance obj  https://review.openstack.org/151921:19
*** mattstep has quit IRC21:21
*** ayoung has quit IRC21:25
*** joesavak has quit IRC21:26
*** joesavak has joined #openstack-dev21:32
*** mattstep has joined #openstack-dev21:32
*** jakedahn has joined #openstack-dev21:33
openstackgerritBrian Waldon proposed a change to openstack/nova: Converting set password to use instance objects  https://review.openstack.org/152021:35
*** dolphm_ has quit IRC21:39
*** lorin1 has quit IRC21:41
openstackgerritBrian Lamar proposed a change to openstack/nova: Follow hostname RFCs  https://review.openstack.org/148421:44
*** dwalleck_ has joined #openstack-dev21:47
*** dwalleck has quit IRC21:47
*** dolphm has joined #openstack-dev21:47
openstackgerritAlex Meade proposed a change to openstack/nova: Convert pause/unpause, sus/res to use instance obj  https://review.openstack.org/152121:49
*** dwalleck_ has quit IRC21:49
*** rods has quit IRC21:51
*** joesavak has quit IRC21:52
openstackgerritEwan Mellor proposed a change to openstack/nova: Bug #888730: vmwareapi suds debug logging very verbose  https://review.openstack.org/151321:53
uvirtbotLaunchpad bug 888730 in nova "vmwareapi suds debug logging very verbose" [Undecided,In progress] https://launchpad.net/bugs/88873021:53
*** nati2 has joined #openstack-dev21:54
*** negronjl has quit IRC21:56
openstackgerritBrian Waldon proposed a change to openstack/nova: Converting inject_file to use instance objects  https://review.openstack.org/152221:57
openstackgerritEwan Mellor proposed a change to openstack/nova: Bug #888719: openvswitch-nova runs after firstboot scripts  https://review.openstack.org/151021:58
uvirtbotLaunchpad bug 888719 in nova "openvswitch-nova runs after firstboot scripts" [Undecided,In progress] https://launchpad.net/bugs/88871921:58
*** AlanClark has quit IRC21:59
*** dolphm has quit IRC22:02
*** stuntmachine has quit IRC22:03
*** dolphm has joined #openstack-dev22:03
*** rkukura has quit IRC22:04
*** rods has joined #openstack-dev22:05
*** dolphm has quit IRC22:07
openstackjenkinsProject nova-docs build #1,622: SUCCESS in 2 min 17 sec: https://jenkins.openstack.org/job/nova-docs/1622/22:08
openstackjenkinsalex.meade: Converting start and stop to use instance objects22:08
openstackgerritBrian Waldon proposed a change to openstack/nova: Converting inject_file to use instance objects  https://review.openstack.org/152222:16
*** negronjl has joined #openstack-dev22:19
*** Rajaram has joined #openstack-dev22:22
*** dwalleck has joined #openstack-dev22:26
*** bcwaldon has joined #openstack-dev22:26
*** sandywalsh_ has quit IRC22:28
openstackgerritBrian Waldon proposed a change to openstack/nova: Converting rescue/unrescue to use instance objects  https://review.openstack.org/152322:29
openstackgerritDean Troyer proposed a change to openstack/openstack-integration-tests: Fix rabbitmq login  https://review.openstack.org/152422:29
*** bcwaldon has quit IRC22:37
*** negronjl has quit IRC22:39
*** jog0 has quit IRC22:39
openstackgerritDaryl Walleck proposed a change to openstack/openstack-integration-tests: Added server details tests. Also re-added several files that somehow missed the initial commit  https://review.openstack.org/151522:40
*** jog0 has joined #openstack-dev22:43
*** jog0 has left #openstack-dev22:44
openstackgerritKevin L. Mitchell proposed a change to openstack/nova: Fix a notification bug when creating instances  https://review.openstack.org/151422:47
*** negronjl has joined #openstack-dev22:55
*** jakedahn has quit IRC22:55
*** jakedahn has joined #openstack-dev22:56
*** Vek has quit IRC22:59
*** mdomsch has quit IRC23:01
*** rnirmal has quit IRC23:01
*** mdomsch has joined #openstack-dev23:07
*** sleepsontheflo-1 has quit IRC23:08
*** kbringard has left #openstack-dev23:08
*** mgius has quit IRC23:09
*** jakedahn has quit IRC23:10
*** lts has quit IRC23:14
*** code_franco has quit IRC23:17
openstackjenkinsProject nova-docs build #1,623: SUCCESS in 2 min 13 sec: https://jenkins.openstack.org/job/nova-docs/1623/23:18
openstackjenkinsewan.mellor: nova-manage: exit with status 1 if an image registration fails23:18
*** dwalleck has quit IRC23:19
*** dwalleck has joined #openstack-dev23:20
openstackgerritRick Harris proposed a change to openstack/glance: Adding admin_token to image-cache config.  https://review.openstack.org/152523:23
*** mnour has quit IRC23:25
*** dwalleck has quit IRC23:25
tr3buchetvishy: can you set drafter on these to nova-network23:32
tr3buchetvishy: https://blueprints.launchpad.net/nova/+spec/melange-api23:32
tr3buchetvishy: https://blueprints.launchpad.net/nova/+spec/melange-ipam23:32
tr3buchetvishy: https://blueprints.launchpad.net/nova/+spec/security-group-rule-icmp23:32
openstackgerritRick Harris proposed a change to openstack/glance: Using Keystone's new port number 35357.  https://review.openstack.org/152623:33
openstackgerritKevin L. Mitchell proposed a change to openstack/nova: Fix a notification bug when creating instances  https://review.openstack.org/151423:35
openstackjenkinsProject nova-docs build #1,624: SUCCESS in 2 min 20 sec: https://jenkins.openstack.org/job/nova-docs/1624/23:38
openstackjenkinsahmad.hassan: Capture exceptions happening in API layer23:38
vishytr3buchet: done, although I think all of those can be abandoned23:43
tr3buchetvishy: yeah chances are23:44
*** rods has quit IRC23:44
tr3bucheti just want to get them all on the list so i can send out an email asking for statuses on everything23:44
openstackgerritBrian Waldon proposed a change to openstack/nova: Converting rescue/unrescue to use instance objects  https://review.openstack.org/152323:48
openstackgerritYogeshwar Srikrishnan proposed a change to openstack/keystone: Bug 888448: - Changes to allow validate token call return user name as per contract. - Additional test assertions to test the same.  https://review.openstack.org/150923:50
uvirtbotLaunchpad bug 888448 in keystone "auth_token.py of keystone error when I use glance" [Critical,Confirmed] https://launchpad.net/bugs/88844823:50
*** yogirackspace has left #openstack-dev23:54
*** rods has joined #openstack-dev23:56
*** jeffjapan has joined #openstack-dev23:59

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