/srv/irclogs.ubuntu.com/2012/08/27/#juju-dev.txt

davecheneyhello05:42
davecheneyhttps://bugs.launchpad.net/juju-core/+bug/1038296/comments/505:42
davecheney^ tricky one to chase down05:42
fwereade_davecheney, heyhey05:57
fwereade_davecheney, ahh, well caught05:58
davecheneyfixing it might be harder05:59
davecheneyi've just proposed a small patch that adds the changes to the test to get that debugging05:59
davecheneythis will have to be fixed sharpish, because while it happens infreqently in dummy06:00
davecheneythe race will happen almost 100% of the time on ec206:00
mrammouch!06:03
davecheneyactually I shold test that before throwing off wild assertions06:04
TheMuemorning06:04
davecheneyfscking launchpad, why can't I add a bug from the milestone screen !!06:04
TheMuedavecheney: *lol* e'body loves this tool06:06
davecheneyhttps://bugs.launchpad.net/juju-core/+bug/104206606:06
davecheney^ thoughts06:06
TheMuedavecheney: sounds reasonable. but i would like it configurable06:11
TheMuedavecheney: one mode workes like today, to test functionality06:11
TheMuedavecheney: and the other one more randomly to behave like in the wild06:12
davecheneyTheMue: sure, we can do that06:12
davecheneyshit, https://bugs.launchpad.net/juju-core/+bug/1038296/comments/606:15
davecheneyturns out, our recovery logic works, but this isn't awesome06:15
mrammWell, it's almost 3am here, so I'm going to crash for a bit, see you all in the morning06:44
TheMuecu, and have a good night06:46
=== TheMue_ is now known as TheMue
davecheneyright - that is enough bugs logged for tonight08:12
davecheneygotta get some sleep so I can fix 'em tomorrowq08:12
TheMuedavecheney: enjoy your evening08:13
niemeyerHello all12:44
TheMueniemeyer: hiya12:58
niemeyerTheMue: Yo13:01
niemeyerfwereade_: ping13:08
fwereade_niemeyer, pong13:08
niemeyerfwereade_: Yo13:08
fwereade_niemeyer, sorry I missed you on friday13:09
niemeyerfwereade_: Oh, n[p13:09
niemeyerrogpeppe: Heya13:29
rogpeppeyo!13:29
rogpeppepublic holiday today BTW, i'm not here :-)13:29
niemeyerrogpeppe: Just reviewed the test refactoring branch.. nice stuff!13:29
niemeyerrogpeppe: Ah, cool :-)13:30
rogpeppeniemeyer: cool, thanks13:30
rogpeppeniemeyer: did you think of a neater way to do what i was trying to do with gocheck?13:31
rogpeppeniemeyer: i think the reassurance it gives is very useful - it's so easy to break things in subtle ways.13:31
niemeyerrogpeppe: Agreed re. reassurance, and no I haven't looked yet13:32
rogpeppeniemeyer: np13:33
niemeyerfwereade_: Is it a holiday for you as well?13:46
niemeyermramm: Morning13:46
mrammniemeyer: Morning13:56
rogpeppeniemeyer: am spending the afternoon putting all our wedding photos online, and wondering about using juju to host it, for the crack - do you know of any decent open source photo website s/w?14:28
niemeyerrogpeppe: Neat!14:30
niemeyerrogpeppe: I used to use Gallery for that14:30
niemeyerrogpeppe: http://gallery.menalto.com/14:31
rogpeppeniemeyer: cheers! not entirely sure whether using juju is a good idea, as no storage management yet... we'll see.14:32
niemeyerrogpeppe: It's somewhat easy to workaround that14:32
niemeyerrogpeppe: It's actually neat as it forces you to think through, rather than just forgetting the data in a machine somewhere14:33
rogpeppeniemeyer: what i don't want to do is spend hours uploading GB of photos and then lose 'em...14:33
niemeyerrogpeppe: Right14:33
niemeyerrogpeppe: FWIW, we use EBS for the disk on all instances, so this shouldn't happen in generla14:37
niemeyerrogpeppe: Then, I'd suggest using S3 as a back-and-forth media for quick re-deployments14:37
rogpeppeniemeyer: ah, makes sense.14:38
rogpeppeniemeyer: so have a big tar file in S3 and suck that down when starting a new unit.14:38
niemeyerrogpeppe: Yeah14:38
niemeyerrogpeppe: and via config you can easily send it back14:39
rogpeppeniemeyer: interesting. how would that work?14:39
rogpeppeniemeyer: set a config attr saying "please archive now" ?14:39
niemeyerrogpeppe: Once we have the Go port nailed down, the stop hook should work too14:39
rogpeppeniemeyer: yeah, *that* would be good.14:40
niemeyerrogpeppe: Yeah, you can use a named config value14:40
niemeyerrogpeppe: Whenever it changes, save it again14:40
rogpeppeniemeyer: a bit of a hack, but yeah, that'd work ok.14:41
niemeyerrogpeppe: Doesn't feel like a hack to me.. it's a straightforward convention with named backups14:42
rogpeppeniemeyer: ah, if you don't overwrite backups, yeah.14:44
niemeyerTheMue: go-mstate-life-file reviewed15:27
niemeyerTheMue: ping15:46
TheMueniemeyer: seen it, cheers15:57
TheMueniemeyer: just tested google two step authentication and got troubles with all those apps who need an individual pw16:00
* TheMue has an LGTM overflow ;)16:05
niemeyerTheMue: Good stuff indeed16:22
TheMueniemeyer: thx16:22
TheMueniemeyer: and mstate is real fun16:22
niemeyerI'm mostly out of things to review, which would be a feat were not for the fact that the pending one is a massive 1k+ branch16:23
niemeyerI'll head to lunch now, though16:23
niemeyerTheMue: Glad to hear it16:23
TheMueniemeyer: enjoy your lunch, i'll go to archery now ;)16:23
=== Beret- is now known as Beret
niemeyerfwereade_: it-lives has final review!17:26
niemeyera final17:26
niemeyerBack in ~30mins18:28
rogpeppefwereade_: i wonder if you could do me a favour and check that the goamz live tests work ok for you. i get SignatureDoesNotMatch errors and i'm not sure if it because i've just mucked up my aws account or because there's actually something wrong.18:49
rogpeppefwereade_: hmm, you're probably done for the day, of course!18:50
rogpeppeniemeyer: ping19:38
niemeyerrogpeppe: Hi19:58
niemeyerDoc appointment took a bit longer than expected19:59
* niemeyer feels sorry for mramm21:08
fwereade_niemeyer, tyvm for reviews :)21:23
niemeyerfwereade_: My pleasure21:23
fwereade_niemeyer, the ErrDying thing has caused rogpeppe's dislike for ErrorContextf to click, though, by ErrorContextf-ing the modes I can't (easily) actually return ErrDying, and *that* was what I was having a problem with21:24
fwereade_niemeyer, I'll figure something out, though :)21:25
fwereade_niemeyer, `x.tomb.Kill(nil); x.tomb.Kill(ErrDying)` still gives Error() of nil, right?21:25
niemeyerfwereade_: Aha, that makes more sense, thanks21:25
niemeyerfwereade_: Yeah21:26
fwereade_niemeyer, ok, I'll come up with something clean, but maybe tomorrow21:27
niemeyerfwereade_: Of course, thanks a lot21:27
fwereade_niemeyer, cheers, gn21:27
fwereade_davecheney, gm and gn :)21:27
niemeyerfwereade_: Have a good night21:27
fwereade_niemeyer, oh, just one question on the other review -- part of me wants to say that rather than "dropping good information on the floor" I should maybe actually explicitly require nil when setting charm state to Deployed21:31
niemeyerfwereade_: What's wrong with preserving the URL?21:31
fwereade_niemeyer, it's not so much that the information is *bad* but it is a not a canonical source of truth21:31
niemeyerfwereade_: There is an actual URL, right?21:31
niemeyerfwereade_: Sure, but it still feels like we know what we've last put there21:32
niemeyerfwereade_: THat's what the info tells21:32
fwereade_niemeyer, there's deployedURL, which is definitely correct, and then there's this; if we have and trust this, then we don;t need the one inside the charm dir, do we?21:32
niemeyerfwereade_: While this isn't a big deal, I don't see a reason to not have it either21:32
niemeyerfwereade_: Makes sense, or am I missing something?21:33
fwereade_niemeyer, either this, or the .juju-charm file, seems to be redundant21:33
fwereade_niemeyer, I would be comfortable with either as the single source of truth21:33
fwereade_niemeyer, having both just makes me nervous ;)21:33
niemeyerfwereade_: It's not about having a single source of truth in this case.. they have different meanings21:34
niemeyerfwereade_: We're not trusting on both21:34
fwereade_niemeyer, hmm, true21:34
niemeyerfwereade_: We know they mean different things and may be different21:34
niemeyerfwereade_: and we know why21:34
niemeyerfwereade_: We're also not even exposing that info ATM21:34
niemeyerfwereade_: I'm suggesting that mainly because it enables us to change our minds21:34
fwereade_niemeyer, ha, yeah, fair enough :)21:35
fwereade_niemeyer, ok, sgtm21:35
fwereade_niemeyer, cheers21:35
niemeyerfwereade_: Cheers21:35
fwereade_niemeyer, oh, and JujuConnSuite.Reset is so that I can write the uniter tests as a table, in which each starts from pristine state -- am I missing some obvious better way to do that?21:36
niemeyerfwereade_: Hmm, interesting21:36
niemeyerfwereade_: I guess it sounds reasonable..21:37
fwereade_niemeyer, it's wanting to do stuff like this that underlies my half-belief that Fixture is a useful concept that usefully encompasses Suite and Test... but sadly *doesn't* handle both Suiteness and Testness at the same time, so the idea clearly needs more thought21:38
fwereade_niemeyer, oh, and I'm not sure I explicitly thanked you: I forget which review it was where you suggested replacing table comments with summary fields and embracing zero values, but it really made table-driven testing click -- ie it now seems *better*, not just different, IYSWIM21:41
niemeyerfwereade_: That's awesome!21:41
fwereade_niemeyer, it's one of those things that now seems ridiculously obvious, it takes a bit of effort to remember the previous perspective :)21:42
niemeyerfwereade_: Yeah, I totally know what you mean.. quite a few things take a while to click21:43
* fwereade_ threatens himself with a hammer, and reluctantly slinks off to bed; nn all :)21:45
niemeyerfwereade_: Have a good night man :)21:48

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