/srv/irclogs.ubuntu.com/2011/07/20/#ubuntu-ensemble.txt

=== daker_ is now known as daker
hazmatg'morning12:01
niemeyerGood morning!12:50
hazmatniemeyer, g'morning13:01
niemeyerhazmat: Hey man13:02
niemeyerhazmat: How did reviews go yesterday?13:45
niemeyerI'll dive in myself now13:45
niemeyerBeautiful queue13:45
niemeyerfwereade: So14:19
niemeyerfwereade: The problem we have in the schema issue is error reporting14:20
niemeyerfwereade: and it happens because all of the cases in the OneOf fail to match14:20
niemeyerfwereade: So it just picks the last one randomly14:20
fwereadeniemeyer: yep14:20
niemeyerfwereade: Which is bad14:20
niemeyerfwereade: I think we can do something much better, and very simple too14:20
niemeyerfwereade: I suggest we introduce a new kind of "case selection"14:20
fwereadeniemeyer: cool14:20
niemeyerfwereade: Which is based on picking an entry from the enclosed dictionary14:21
fwereadeniemeyer: yep, sounds sensible, I think14:22
niemeyerfwereade: Let me come up with an example to make it clear.. just looking at the code14:22
niemeyerfwereade: SelectDict("type", {"ec2": subschema, "orchestra": otherschema})14:23
fwereadeniemeyer: was doing almost exactly the same as you :)14:24
fwereadefwereade: well then, I'll roll that in with the boot-only branch and hopefully sumbit shortly14:25
niemeyerfwereade: Support for that in schema is a nice independent branch (hint! hint! ;_)14:25
fwereadeniemeyer: I was attempting to talk to you there :/14:25
fwereadeniemeyer: ah-ha14:25
fwereadeniemeyer: sounds like a plan14:25
fwereadeniemeyer: and the other one just waits on that?14:26
niemeyerfwereade: Doesn't have to wait14:26
niemeyerfwereade: Merge it into the new branch14:26
niemeyerfwereade: I mean, merge the pre-requisite into the follow up14:26
fwereadeniemeyer: ...and then the followup's diff-with-trunk just gets smaller once the prerequisite is in?14:27
niemeyerfwereade: Precisely14:30
fwereadeniemeyer: cool, so long as nobody ends up spending time reviewing the bits of the followup that come from the prerequisite before the prerequisite gets merged14:31
fwereadeniemeyer: thanks :)14:31
niemeyerfwereade: _If_ the pre-requisite hasn't been merged, you can point out in the merge proposal that there is a pre-requsite branch14:31
niemeyerfwereade: There's a special field for it14:31
fwereadeniemeyer: I saw that, I wasn't clear what actual effect it had14:32
niemeyerfwereade: It's informational, and gets the diff correctly14:33
fwereadeniemeyer: the implication seemed to me to be that prereq *wasn't* merged into followup, but that it wouldn't make sense to merge followup into trunk until prereq was in14:33
niemeyer(in Launchpad)14:33
fwereadeniemeyer: awesome14:33
niemeyerAbsolutely14:33
fwereadeniemeyer: thanks again :)14:33
niemeyerMerging the follow up into trunk without the pre-req being reviewed would be awkward14:33
niemeyerfwereade: No problem14:33
fwereadeniemeyer: a thought15:10
fwereadeniemeyer: a SelectDict demands that the values in the initialisation dict actually be dict-like schemas15:12
niemeyerfwereade: Yeah15:12
fwereadeniemeyer: I'm inclined to create a SchemaMakesNoSenseError (or something)15:13
niemeyerfwereade: That's why it's called SelectDict (select which dict schema)15:13
niemeyerfwereade: That MakesNoSenseError to me as well :-)15:13
fwereadeniemeyer: but I'm not sure it fits with the existing style, which seems to let you put anything in and just blow up on coerce15:14
niemeyerfwereade: Sorry, I don't actually get your original point15:14
hazmatfwereade, an explicit validate method might be nice15:14
niemeyerfwereade: coerce() is a fine place to validate that they are dictionaries for SelectDict as well?15:15
niemeyerfwereade: Not sure if that's your question15:15
hazmathmm is_valid i guess15:15
fwereadeniemeyer: not quite -- it's that the schema itself can be broken if we SelectDict("name", Int())15:16
niemeyerhazmat: Changing the way validation works in schema is an unrelated issue to what fwereade is trying to address15:16
hazmatNicke, not validation, but validity of the schema15:16
hazmater. niemeyer ^15:16
fwereadeniemeyer: (for example), but I don't think we'd detect that made no sense until we tried to parse an actual schema15:16
fwereadeniemeyer: just as hazmat says15:16
niemeyerfwereade: Tons of things will break if we pass arbitrary garbage in15:17
fwereadeniemeyer: true :)15:17
fwereadeniemeyer: which I guess is why I sought guidance before following my initial instinct to validate on schema creation15:17
niemeyerfwereade: Yeah, don't worry about it15:18
fwereadeniemeyer, hazmat: I do still quite like the idea of schema validation but -- if nothing else -- I'll skip it in the interest of keeping the branch small ;)15:18
niemeyerfwereade: Schemas are static15:18
niemeyerfwereade: If you create a bad schema, testing will catch it15:18
fwereadeniemeyer: cool15:19
fwereadeniemeyer: thanks :)15:19
niemeyerfwereade: The whole point of schema.py is schema validation15:19
niemeyerfwereade: It does that through coerce15:19
niemeyerfwereade: Which is elegant,IMO, as it does both things at once15:19
negronjlhi guys:  quick question re: open-port/close-port new hook commands.... can they be executed from the install/start/stop scripts ( I am more interested in the install script )?15:20
fwereadeniemeyer: true :)15:20
niemeyerfwereade: Well, I guess validating that the schema validator is valid15:20
niemeyerfwereade: SchemaSchema? ;-)15:20
fwereadeniemeyer: haha15:20
fwereadeniemeyer: that's what I was trying to get at ;)15:20
niemeyerfwereade: That's only a good idea if you also implement SchemaSchemaSchema15:21
* niemeyer runs15:21
niemeyernegronjl: Yes, that must work15:21
niemeyernegronjl: If it doesn't, we're very interested on it15:21
SpamapSI'd like for schema validation to be more flexible15:21
fwereadeniemeyer: yeah, I've been meaning to ask, where are the tests for our tests, hmm? :p15:22
negronjlniemeyer:  perfect!  I'll start modifying formulas and will provide feedback  :)15:22
SpamapSwhile working on different providers, one can't use the same environments.yaml because the sections are invalid15:22
SpamapSit should just ignore these invalid sections15:22
niemeyerSpamapS: Not really.. it should validate these different providers15:25
niemeyernegronjl: Thanks!15:25
SpamapSniemeyer: but lxc and orchestra don't exist in trunk.. so I have to mv environments.yaml to environments.yaml.lxc .. mv environments.yaml.ec2 environments.yaml .. every time I switch15:27
niemeyerSpamapS: I see what you mean, yeah, that's painful15:28
SpamapSWhereas its really of no concern.. so I could see a warning, but a complete failure seems like coarse error handling.15:28
niemeyerSpamapS: This is pretty easy to sort out, though.. we just need a small branch being committed to trunk early on, which adds validation15:29
SpamapSWhat about people who want to write plugins?15:29
niemeyerSpamapS: That's a separate problem.. plugins are not supported right now15:29
* SpamapS intends to change that soon if it pleases the court. ;)15:30
SpamapSHave a friend who wants to write a jclouds provider to enable rackspace.15:30
niemeyerSpamapS: That's not a plugin.. we can very happily take contributions that implement new providers15:31
SpamapSHe's been watching dev and isn't really interested in going through the song and dance to get it into Ensemble.. he just wants to *use* it.15:31
SpamapSAnd throw it up on github somewhere15:31
SpamapSI'm sure we could then suck it into Ensemble at some point..15:32
SpamapSbut de-coupling his dev process from ours should create a vibrant ecosystem of plugins15:32
niemeyerSpamapS: We certainly want to support plugins at some point, but right now that's not a priority15:33
niemeyerSpamapS: Plugins isn't just "you can throw stuff in"15:33
SpamapSI'm also interested in maintaining my LXC provider outside of Ensemble if its at all possible.15:33
niemeyerSpamapS: We need a stable API that people can trust15:33
niemeyerSpamapS: Otherwise next week his plugin is broken15:33
SpamapSYeah, hard to write plugins w/o releases :)15:34
niemeyerSpamapS: Heh15:34
niemeyerSpamapS: Having a release is not the same as having a stable API plugin15:34
SpamapSAn API release I mean.15:35
SpamapSAnd releases help w/ that too.. Wordpress plugins work that way.. they simply list the15:36
SpamapSreleases of wordpress that they work with15:36
SpamapSwhen new releases come out.. people try it, and verify it, and add it to the metadata in their plugin repo15:36
niemeyerSpamapS: No, they don't, really..15:36
niemeyerSpamapS: Ask the bzr guys15:36
SpamapSAre you suggesting wordpress plugins don't work?15:37
niemeyerSpamapS: I'm suggesting they actually care about the API for plugins, rather than simply having releases15:37
* SpamapS has to run.. but will think on that. :)15:37
RoAkSoAxfwereade: ping15:49
fwereadeRoAkSoAx: pong15:49
RoAkSoAxfwereade: howdy! How's it going today?15:49
fwereadeRoAkSoAx: not too bad, once I figured out squid-deb-proxy was the source of my woes :)15:49
RoAkSoAxfwereade: hehe yeah!! So anyways, I';m gonna start working on the deploying machine stuff15:50
RoAkSoAxfwereade: but before, I wanted to see if you wanted to work on getting the bootstrap validatiosn working first15:50
fwereadeRoAkSoAx: I'll want to grab you later to figure out a couple of things but I'm focusing on something else atm15:50
RoAkSoAxfwereade: or shall we leave that for later15:50
niemeyerfwereade: The new changes you pushed into the tweaks branch look awesome!15:50
niemeyerSo much cleaner overall15:51
hazmatSpamapS, cli plugins are easy.. server side plugins need a bit of work15:52
fwereadeRoAkSoAx: sorry, expand "bootstrap validation"15:52
fwereadeRoAkSoAx: thanks, all credit due to hazmat :)15:52
fwereadeer, that should have been "niemeyer: thanks"15:52
fwereade:D15:52
niemeyerfwereade: This is ready for merging15:52
RoAkSoAxfwereade: checking if there's another zoopeeker running and things like that15:52
niemeyerfwereade: Yeah, hazmat's idea of putting bootstrap within LaunchMachine itself was great15:53
niemeyerI'll have lunch15:53
niemeyerHad a meeting with Robbie, but he's not around15:53
fwereadeRoAkSoAx: ah, cool15:54
niemeyer(and I was the one screwing our original timing..)15:54
fwereadeRoAkSoAx: that sounds great15:54
fwereadeniemeyer: sweet :D15:54
RoAkSoAxfwereade: I mean if we should work on that before I start working on getting machines deployed15:59
fwereadeRoAkSoAx: ah I see15:59
* fwereade thinks15:59
fwereadeRoAkSoAx: yeah, please work on the bootstrap validation -- I think that will be most helpful to me16:00
fwereadeRoAkSoAx: thanks :)16:01
RoAkSoAxfwereade: ok, I'll look into it ;) but wanna test what will happen if I try to deploy first16:06
RoAkSoAxfwereade: because, as I can recall, we discussing on setting a global variable to obtain the zookeeper instance16:06
RoAkSoAxand stuff like that16:06
RoAkSoAxfwereade: so that will probably involved re-doing part of the start machine code. But anyways, let me look at it first16:07
fwereadeRoAkSoAx: as you like -- they're fundamentally independent, but keeping the actual deployment broken will prevent me from indulging my tendency to grow branches further than I should ;)16:07
fwereadeRoAkSoAx: I'll just have to maintain my own discipline :p16:08
RoAkSoAxfwereade: hehe ok gonna start working on testing some stuff first as I need it before continue with the coding16:09
jcastrorobbiew: any feedback on those graphs?16:22
robbiewjcastro: which ones...only saw the PDF you added16:23
robbieware there more16:23
jcastrothree graphs in one PDF.16:23
jcastrowhich style should I go with and is the content in each circle right?16:23
jcastro(I was thinking the concentric circles)16:24
robbiewjcastro: oh, heh16:25
robbiewlet me look again16:25
robbiewjcastro: man...these are nice16:39
jcastroI know. :)16:39
jcastrototal time, 10 minutes.16:39
robbiewI kinda like #216:39
jcastroI just need the details you would want in each box, I made it kind of generic16:39
jcastrodunno if you want it that generic or not16:39
jcastroyeah each view has a nice feel for it16:40
robbiewjcastro: so I converted #1 into an odp format16:40
robbiewfor editing16:40
robbiewcan also do #216:40
robbiewthen folks can adjust as needed16:40
jcastrothat would be swell, I couldn't figure out the conversion16:40
RoAkSoAxfwereade: is everything on tweak-launch-machine already approved into trunk?16:42
robbiewjcastro: no worries...I'll sort that while on this call...multitask16:43
fwereadeRoAkSoAx: just merged it recently16:43
robbiew;)16:43
RoAkSoAxfwereade: nice.. did you do any further changes to what's in ensemble-bootstrap branch?16:43
fwereadeRoAkSoAx: I have another branch which is basically a copy, but uses twisted's xmlrpc instead of xmlrpclib16:44
fwereadeRoAkSoAx: ...and has a failed translation of the deployment stuff we had so far16:44
fwereadeI won't get it to a mergeable state today, but it should be ready earlyish tomorrow16:45
fwereadeRoAkSoAx: and, in fact, I think I'll be proposing a merge of just enough to launch a machine, without expecting it to run or even necessarily complete an install16:46
RoAkSoAxfwereade: for cobbler/orchestra stuff?16:46
fwereadeRoAkSoAx: yep16:46
RoAkSoAxfwereade: ok, well I think we should be in sync on this16:46
RoAkSoAxas I dont really wanna do stuff16:46
RoAkSoAxthat is later gonna be changed :)16:46
fwereadeRoAkSoAx: I can understand that16:47
fwereadeRoAkSoAx: but my understanding was that niemeyer was asking me to take your stuff, in small pieces, and integrate those individually16:47
RoAkSoAxfwereade: I mean, as I understand, you are gonna require to do changes to get the API interaction with twisted xmlrpc instead of xmlrpclib right?16:47
fwereadeRoAkSoAx: yes, changes, but I think not really serious changes16:48
fwereadeRoAkSoAx: I still absolutely depend on your stuff to show me how to do the right thing16:49
fwereadeRoAkSoAx: I just need to put it in a different coat16:49
fwereadeRoAkSoAx: ...as it were ;)16:49
RoAkSoAxfwereade: right, so what I'm syaing is instead of you doing that, why didn't we do that from the beginning :)16:50
RoAkSoAxas in get things working with twisted xmlrpc directly16:50
fwereadeRoAkSoAx: heh16:51
RoAkSoAx:)16:52
fwereadeRoAkSoAx: I think niemeyer's reading of the situation was that your skills were better spent on the actual interaction, while I'd be best placed wrapping it in tests and, er, local flavour16:52
RoAkSoAxfwereade: alright, I guess we can continue like that for now then ;)16:52
fwereadeRoAkSoAx: to be fair, the actual interaction is non-trivial16:52
jimbakertrunk is broken: http://paste.ubuntu.com/648385/16:53
fwereadejimbaker: curses, odds are that's me... I swear I tested :/16:53
fwereadejimbaker: ah, no, I think you have a stale .pyc16:53
RoAkSoAxfwereade: fair enough, let's just keep things as is until I finish merging all the stuff then ;)16:53
jimbakerfwereade, no worries. just wanted to try out your refactoring against some branches16:53
jimbakerfwereade, ahh, thanks for that reminder16:54
fwereadephew :)16:54
jimbakerlet me try again16:54
* fwereade retracts the "phew" until he hears the tests have *actually* passed ;)16:54
jimbakeri should have bzr merge always do a clean code16:54
jimbakerthe pyc problem only bites frequently enough that i remember it after the fact ;)16:55
niemeyerRoAkSoAx: Yeah, the point about xmlrpclib vs. Twisted's xmlrpc is that SpamapS's code was already using xmlrpclib, so it was trivial to move forward that way, and boring to refactor just to learn about the interaction16:57
niemeyerRoAkSoAx: fwereade can now easily port things over into Twisted lingo while doing the integration16:58
jimbakerfwereade, not looking good: http://paste.ubuntu.com/648389/16:58
jimbakeri wonder if the previous error was a pyc problem that was not allowing this bad cascade16:58
niemeyerfwereade: Have you run tests during merge?16:59
niemeyerfwereade: s/during/before/16:59
fwereadeniemeyer: yes I did16:59
fwereadeniemeyer: ...but I can't swear that my *trunk* didn't have its own stale pycs17:00
niemeyerfwereade: Doesn't look like import errors now17:00
fwereadeniemeyer: they look a bit like transient errors I *think* I've seen on fresh code before17:01
hazmathmm.. odd i ran the full suite against it17:01
jimbakerniemeyer, fwereade - not certain what's going on. i'm seeing a lack of repeatibility17:01
RoAkSoAxniemeyer: fair enough17:01
fwereadeniemeyer: I am well aware that suites should be green 100% of the time but I felt I should hold off on fixing that sort of thing until I had a clearer idea how everything works together17:02
jimbakernever mind, it does come up with -u looping17:02
niemeyerfwereade: As long as it's not your branch introducing the issues17:02
fwereadeniemeyer, jimbaker: ...and it's green for me on a clean trunk17:02
jimbaker./test -u ensemble.providers.ec2.tests.test_bootstrap will eventually fail it seems17:02
niemeyerjimbaker: Can you reproduce that on trunk?17:03
jimbakerniemeyer, that's against trunk17:03
niemeyerjimbaker: Sorry, on trunk before the branch17:03
jimbakerniemeyer, yeah, i will do that now17:03
niemeyerjimbaker: Thanks17:03
fwereadejimbaker: ooh, I didn't know about -u17:03
fwereadethat's really cool :)17:04
jimbakerfwereade, no it's not17:05
jimbaker:)17:05
fwereadejimbaker: heh :)17:05
fwereadejimbaker: I am past 180 successful runs here17:05
jimbakerthe fact that we need to test with it is a very good reason for golang17:06
fwereadejimbaker: sorry, expand please17:07
jimbakerfwereade, this is the arg that niemeyer made to convince me why golang was a good direction for this project17:08
jimbakerto summarize: deterministic tests are good17:09
fwereadejimbaker: oh yes indeed -- I didn't realise go would give us that17:09
niemeyerIt doesn't come for free.. it's just easier to get there17:10
fwereadeniemeyer: would you look at http://paste.ubuntu.com/648398/ and tell me if the assertion against the str of the error makes sense to you?17:10
jimbakerfwereade, niemeyer - i'm running a test now against trunk, but i can't obviously loop ensemble.providers.ec2.tests.test_bootstrap now, since that's new17:10
jimbakersorry trunk as of r27717:10
jimbakerand that just passed fine17:10
niemeyerjimbaker: The bootstrap logic isn't changing significantly17:11
niemeyerjimbaker: Can you loop on ec2.tests?17:11
fwereadeniemeyer: SAMPLE_ENV in http://paste.ubuntu.com/648405/17:11
niemeyerjimbaker: Also, you have some experience debugging this sort of issue.. would you mind to give fwereade a hand on it?17:11
jimbakerniemeyer, yeah, i'm seeing the failure now in r277 too. so test_bootstrap is a refactoring of code in launch, as i now recall17:12
niemeyerfwereade: Not really, that doesn't make much sense to me17:12
niemeyerfwereade: It should say something like environments.myfirstenv has no type17:13
jimbakerniemeyer, i can help out fwereade on this17:13
niemeyerjimbaker: THanks a lot17:14
fwereadeniemeyer: cool, I'll make it do something like that :)17:14
niemeyerfwereade: Thanks17:14
fwereadeniemeyer: also: am I right in thinking that "still running after 5.0 seconds" was code you wrote with me on the sprint?17:14
niemeyerfwereade: Huh!?17:15
fwereadeniemeyer: perhaps not then, I didn't quite follow what you did but it was tangential and I didn't want to crash my stack with a new discussion17:16
SpamapShttp://spamaps.org/files/mediawiki-plus-slave.svg17:16
niemeyerfwereade: That's an error message from a runaway test, in general17:16
fwereadeniemeyer: ...and a closer look reveals that it can't possibly be17:17
SpamapSWe need to work on this so it has a more suitable orientation.. way too wide17:17
fwereadeniemeyer: so I just saw ;)17:17
niemeyerfwereade: So not code.. are you seeing this when you run tests?17:17
fwereadeniemeyer: I have seen similar things cropping up, very rarely, in random tests at random times17:17
SpamapShaproxy is providing something to demo-wiki .. so I don't think it should be on the same level as things demo-wiki is consuming.. would be good if providers went above consumers17:17
fwereadeprobably once every couple of days17:17
SpamapSerr17:17
niemeyerSpamapS: That's really dot generating it.. if you have a patch to the formatter, we can easily put it in17:17
SpamapSdemo-wiki is providing something to haproxy I mean17:18
jimbakerfwereade, first thing, need to ensure that we are both getting these random failures17:18
niemeyerfwereade: Ok, that's not something to be taken lightly17:18
niemeyerfwereade: It's usually a big warning that there is uncontrolled logic running17:18
niemeyerfwereade: and hooks into the determinism comments jimbaker made earlier17:18
fwereadeniemeyer: indeed, but I didn't feel competent to investigate that in my first few days17:19
niemeyerfwereade: Again, you don't have to, as long as it's not your branch introducing it17:19
niemeyerfwereade: If it's your branch, you can ask for a hand to understand what is going on and someone else can dive in with you17:19
niemeyerfwereade: But don't just let it go through unnoticed, or we'll figure it's broken much later, and will be much harder to debug17:20
fwereadeniemeyer: I'm 90% sure I've seen it elsewhere, but that 10% makes me want to take responsibility for now ;)17:20
fwereadeniemeyer: besides, I can think of few more effective baptisms by fire :p17:21
niemeyerfwereade: You may have seen it elsewhere, but it may be a new issue17:21
niemeyerfwereade: If you want to be sure, it's easy17:21
niemeyerfwereade: Get the original test in trunk, run it in a loop with -u17:21
niemeyerfwereade: If it's already broken, you don't have to stop what you're doing to fix it17:21
niemeyerfwereade: If you don't see it breaking in trunk, heads up17:21
fwereadeniemeyer: assuming there's no pollution between tests ;)17:22
niemeyerfwereade: The advice is the same17:22
fwereadeniemeyer: but, yep, I'll get that running now17:22
fwereadeniemeyer: and leave it overnight... I need to be off very shortly, I'm afraid17:22
niemeyerfwereade: Cool, thanks for today17:23
fwereadeniemeyer: a pleasure, as always :)17:23
niemeyerfwereade: jimbaker will give you a hand on this one17:23
fwereadeniemeyer, jimbaker: awesome, if I get a chance to talk tonight I will: otherwise I look forward to figuring it out tomorrow17:24
fwereadenn all :)17:34
RoAkSoAxniemeyer: clear me a doubt... does ensemble need to be installed in the zookeeper?17:39
niemeyerRoAkSoAx: You mean the zk machine, right?17:39
RoAkSoAxniemeyer: yes, the zk machine17:40
niemeyerRoAkSoAx: If so, yes, some of its bits get installed there17:40
RoAkSoAxniemeyer: how?17:40
RoAkSoAxbzr?17:40
niemeyerRoAkSoAx: cloud-init :-)17:40
niemeyerRoAkSoAx: bzr/apt, depending on conf17:40
RoAkSoAxniemeyer: right but I mean how does cloud-init install those bits that needs for ensemble (such as the provider stuff)17:41
niemeyerRoAkSoAx: bzr/apt, depending on conf17:41
RoAkSoAxniemeyer: so how can I tell it to install those bits from an specific branch?17:42
niemeyerRoAkSoAx: You add an option to your environments.conf file under ~/.ensemble17:42
niemeyerRoAkSoAx: Named ...17:42
niemeyerRoAkSoAx: ensemble-branch17:43
niemeyerRoAkSoAx: next to type: orchestra17:43
niemeyerRoAkSoAx: ensemble-branch: lp:~RoAkSoAx/ensemble/...17:43
RoAkSoAxniemeyer: cool thanks!!17:45
niemeyerRoAkSoAx: You're welcome17:46
SpamapShttp://spamaps.org/files/mediawiki-circo.svg17:56
SpamapSzoom *way* out ;)17:56
SpamapS+    dot.set_prog('circo')17:57
SpamapSone line patch FTW ;)17:57
niemeyerSpamapS: Why is it so spread out>17:58
niemeyer?17:58
niemeyerdot graphs usually look a lot nicer than both versions17:59
niemeyerIt's not clear to me what we're doing wrong there17:59
SpamapSnot sure, you could definitely shorten some of the lines. :)18:00
niemeyerSpamapS: I'm used to reading performance graphs with dozens of edges and nodes18:00
niemeyerSpamapS: and it's tight, easier to follow18:00
niemeyerSpamapS: We must be using some crazy setting that puts things aside that way18:00
niemeyerSpamapS: http://labix.org/tmp/pprof.svg18:04
SpamapSahh, with the circo layout, it specifies a minimum distance of 1.0 .. which is rather far I think18:05
niemeyerSpamapS: The concept of using a circumference looks like a good idea for that sort of map indeed18:05
niemeyerSpamapS: If we can make that tighter, it will look quite nice18:06
niemeyerSpamapS: Can we just disable the minimum distance and let it sort it out by itself?18:06
SpamapSniemeyer: and circo naturally pushes the more connected nodes to the center18:06
niemeyerSpamapS: Exactly18:07
SpamapSniemeyer: thats what I'm looking at doing18:07
niemeyerSpamapS: It's an awesome idea18:07
=== daker is now known as daker_
jimbakeri'm having problems with the networking card on my laptop18:35
jimbakerunfortunately today i also have my car being repaired... anyway, i should have my MBP in use as a spare shortly18:36
hazmatjimbaker, i noticed that those provider tests fail badly if your not connected18:42
hazmatthe mocks for the image query aren't in place18:42
* hazmat curses his isp for dropping the connection every 20m18:42
niemeyerAny bash scripting masters around?19:12
RoAkSoAxniemeyer: ideas? http://pastebin.ubuntu.com/648521/19:48
niemeyerRoAkSoAx: Are you using the webdav hack?19:48
niemeyerRoAkSoAx: Or is it S3?19:48
RoAkSoAxniemeyer: webdav19:49
niemeyerRoAkSoAx: It's refusing the PUT19:49
RoAkSoAxniemeyer: cool, will look into it further19:50
robbiewniemeyer: google+?20:01
dannfniemeyer: i've been known to write a script or two - what you need?20:06
niemeyerdannf: Oh neat20:06
niemeyerdannf: A review..20:06
niemeyerdannf: Let me send you the link20:06
niemeyerdannf: https://code.launchpad.net/~bcsaller/ensemble/bash-completion/+merge/6812420:06
dannfniemeyer: so i tend to stick to posix sh, so i'm unlikely to spot issues w/ bashisms like arrays. agreed spacing needs cleanup, though i don't personally have an issue with the [[ ]] && [[ ]] construct or the lack of ';;' in the case - though the latter is internally inconsistent, and a a single switch in a case seems odd20:23
_mup_ensemble/security-policy-rules r275 committed by kapil.thangavelu@canonical.com20:25
_mup_security policy rules for formula, machine, and relations.20:25
niemeyer_dannf: Cool, does it look good to you overall20:25
niemeyer_?20:26
_mup_ensemble/security-policy-rules r276 committed by kapil.thangavelu@canonical.com20:29
_mup_additional peer relation test for relation security rule.20:29
_mup_Bug #813773 was filed: Ensemble should have security rules/acls for every path in zk <Ensemble:In Progress by hazmat> < https://launchpad.net/bugs/813773 >20:31
dannfniemeyer_: i'd suggest quoting around $cur $curOpt references to be more liberal wrt user input20:37
dannfother than that, yeah - i think its fine20:37
niemeyer_dannf: Would you mind to note that in the review, and mark it as Approve?20:37
dannfniemeyer_: sure20:37
niemeyer_dannf: Under the comment box, that is20:38
dannfright20:38
niemeyer_dannf: Thanks a lot for your help20:38
dannfnp20:41
SpamapSaha!21:23
SpamapSfdp FTW21:23
SpamapShttp://spamaps.org/files/mediawiki-slave-fdp.svg21:24
SpamapSnice *3 tier architecture* :-D21:24
m_3cool man21:25
SpamapSI think that makes sense as a default output21:29
SpamapSAlso I think we should actually not call .create when outputting the dot format.. since that adds the positioning..21:29
SpamapSwe should just write out the 'to_string()'21:29
_mup_Bug #813794 was filed: ensemble status fails with "ERROR unhashable type: 'list' " when scope is passed <Ensemble:New> < https://launchpad.net/bugs/813794 >21:36
hazmatSpamapS, do you have any ideas how to reproduce that status bug?21:45
SpamapShazmat: pushing a fix now ;)21:46
hazmatSpamapS, even better :-)21:46
SpamapSw/ a test case21:46
SpamapShazmat: but basically .. 'ensemble status service-name' ..21:46
hazmatugh21:46
hazmatthat should have had a test21:47
hazmatsad if not21:47
SpamapS        state = yield status.collect(21:50
SpamapS            "wordpress", self.provider, self.client, None)21:50
SpamapSit does.. not sure why that is passing21:50
SpamapSahh22:00
SpamapSthe tests are only *simulating* what they think argparse passes to collect()22:00
SpamapSargparse actually passes a list22:00
SpamapSthe things I do to get a good graph for my presentation.. sheesh22:04
robbiewjcastro:  who did the DevOps grows up picture...that's great...T-shirt worthy22:18
m_3robbiew: that was me22:21
m_3jcastro and I were chatting about message stuff and I remembered the classic "evolution" pic22:21
jcastroI've tossed it in the preso folder22:22
robbiewyeah...sweet22:22
m_3the last guy should have an arnold-head though22:22
* robbiew might play around with this concept a bit...I'm known for cool t-shirts ;)22:22
robbiewjcastro STILL wants a foundations shirt22:22
robbiewlol22:22
m_3I'll upload the xcf22:23
* robbiew heads out to cloud camp....22:23
* jcastro heads off to florida22:23
jcastrocatch you guys on tuesday!22:23
_mup_ensemble/security-policy-rules r277 committed by kapil.thangavelu@canonical.com22:27
_mup_services and units security rules22:27
_mup_Bug #813831 was filed: errors can be misleading when environments are specified incorrectly <Ensemble:In Progress by fwereade> < https://launchpad.net/bugs/813831 >22:57
hallynsmoser: hm, the jaunty ec2 image.  i can't ssh into it. known?23:03
_mup_ensemble/security-policy-rules r278 committed by kapil.thangavelu@canonical.com23:07
_mup_additional unit and service subtree nodes23:07
_mup_ensemble/security-connection r280 committed by kapil.thangavelu@canonical.com23:12
_mup_add service and unit rules to the default security rules list23:12
_mup_ensemble/security-policy-rules r280 committed by kapil.thangavelu@canonical.com23:13
_mup_add service and unit rules to the default security rules list23:13
_mup_ensemble/security-connection r281 committed by kapil.thangavelu@canonical.com23:20
_mup_security policy connection integration23:20
RoAkSoAxniemeyer_: ping?23:45
_mup_Bug #813847 was filed: status format "dot" should not actually call 'create' so users can process the graph with dot <Ensemble:In Progress by clint-fewbar> < https://launchpad.net/bugs/813847 >23:48

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