/srv/irclogs.ubuntu.com/2014/07/21/#juju-dev.txt

axwwallyworld: will 1.20.2 just be cut off trunk?01:30
wallyworldaxw: there's a 1.20 branch01:30
axwok01:30
wallyworldwe branched when 1.20 was first released01:31
axwoh yeah, I think I backported things to it01:31
axw:)01:31
axwwallyworld: was just wondering if #1337091 could/should be retargeted01:31
_mup_Bug #1337091: maas provider: allow users to specify network bridge interface. <canonical-is> <juju-core:Fix Committed by niedbalski> <https://launchpad.net/bugs/1337091>01:31
axwwallyworld: see the comments from a user at the end of the bug01:31
wallyworldlooing01:31
wallyworldlooking01:31
wallyworldaxw: at first glance, i thought that one was actually in 1.20.1, but my memory may be wrong01:33
axwwallyworld: nah, I just checked01:33
wallyworldaxw: the one we really want in bug 134152401:34
_mup_Bug #1341524: juju/MAAS deployed host with bonding configured via preseed missing eth0 from bond on first boot <maas-provider> <juju-core:Triaged by niedbalski> <juju-core 1.20:Triaged> <https://launchpad.net/bugs/1341524>01:34
wallyworldi guess we can back port that other one also01:34
axwwallyworld: do I need to ask sinzui or...?01:36
wallyworldaxw: no we'll just backport01:37
axwokey dokey01:37
wallyworldi could have sworn that one was targetted to 1.2001:37
wallyworldaxw: i've tweaked michael's juju/txn branch https://github.com/juju/txn/pull/201:41
axwwallyworld: looking in a sec01:42
wallyworldno hurry, thanks01:42
wallyworldaxw: great, thanks. i'll fix the comments01:50
axwcheers01:51
thumperdavecheney: https://github.com/juju/names/pull/1601:53
axwwallyworld: no great rush, but here's the last PR from the core StateServerInstances changes: https://github.com/juju/juju/pull/34202:00
wallyworldok02:00
wallyworldthumper: hey, you have fwreade with you this week?02:00
thumperwallyworld: I do02:00
wallyworldthumper: i'd love to talk about the mongo repliaset stuff02:00
wallyworldat some point02:01
davecheneythumper: one for you in return, https://github.com/juju/names/pull/1702:01
thumperdavecheney: https://github.com/juju/charm/pull/2202:02
thumperwallyworld: for repos other than juju/juju, we just click the merge button on github right?02:02
wallyworldthumper: yep, till martin get's stuff sorted, hopefully rsn02:02
thumperkk02:03
wallyworldthumper: so may later on when you have a spare moment, ping me and we can talk mongo02:03
thumperwallyworld: sure02:03
thumperdavecheney: and another https://github.com/juju/juju/pull/34302:11
cmarsdfc, https://github.com/juju/juju/pull/34402:28
cmarsoh, i mean davecheney ^^02:29
davecheneylooking for a second review on https://github.com/juju/juju/pull/34402:43
davecheneyta02:43
davecheney(ノ ゜Д゜)ノ ︵ ┻━┻02:49
davecheney(ノಥ益ಥ)ノ ┻━┻02:49
thumper(╯°□°)╯︵ ┻━┻ ︵ ╯(°□° ╯)02:50
axwwallyworld: thanks. I'll wait for perrito666 before landing03:40
wallyworldaxw: sure03:40
waiganithumper: https://github.com/juju/juju/pull/34604:01
davecheneywaigani: review done04:08
wallyworldaxw: i've set up a remote alias to another repo on gh. i've fetched it. now I want to merge a branch from it into my branch, but all the syntax i'm trying fails. any clues?04:14
axwwallyworld: try just the commit hash?04:16
axwor is there more than one?04:16
wallyworldaxw: i think there's more than one, it's michael's copy-session branch04:16
wallyworldso i just want to merge all of this commits to that branch04:17
axwwallyworld: I thought you just did "git merge remote/branch"04:17
axwyou'll need to fetch it first04:18
axwgit fetch $remote04:18
wallyworldaxw: i did git remote add voidspace https://github.com:voidspace/juju.git04:18
wallyworldand then git fetch voidspace04:18
wallyworldand now i want to merge in the copy-sessions branch04:18
wallyworldtried git merge voidspace/copy-sessions04:19
wallyworldah hang on04:19
wallyworldi'm an idiot04:19
wallyworldi had a typo04:19
axwremote is wrong?04:19
wallyworldi let off an s04:19
axwdoh04:20
wallyworldyup04:20
wallyworldsorry04:20
thumperdavecheney: if you feel the desire... https://github.com/juju/juju/pull/34704:32
wallyworldthumper: kvm-ok is still installed but images we are told do not have "/usr/sbin" on the path04:43
wallyworldsome images04:43
thumperright... which is why we install the cpu-checkers package04:43
thumperat least that is what we used to do04:43
wallyworldno we still do04:43
wallyworldkvm-ok is there04:43
* thumper struggles...04:43
wallyworldbut /usr/sbin is not on the path04:43
thumperwat04:43
thumperah04:43
wallyworldhence "kvm-ok" won't be found04:44
thumperright04:44
thumpergot it now04:44
wallyworldi had no idea /usr/sbin would not be on the path always04:44
wallyworldaxw: you got a minute to talk in tanzanite-standup?04:45
axwwallyworld: just a minute04:47
wallyworldsure04:47
=== vladk|offline is now known as vladk
axwwallyworld: did you see my response about the raciness? do you think it's worthwhile updating?06:25
wallyworldaxw: yeah, i was going to suggest using the buildTxn() stuff but i see your point. if it's not too much extra work, it would be nice to have it non-racy. since someone else reading the code will have the same concerns06:27
wallyworldand it would be good not to deliberately add racy code06:28
wallyworldsince you never know how it might manefest in a problem later06:28
axwok, I'll take another look06:28
wallyworlddon't waste too much time on it06:28
wallyworldadd a comment perhpas06:28
=== uru_ is now known as urulama
TheMuemorning07:42
vladkTheMue, jam: please, take a look https://github.com/juju/juju/pull/348/files07:50
TheMuevladk: *click*07:55
=== vladk is now known as vladk|offline
TheMuejam: I’ve done the review of 348, looks solid to me but would prefer another short look by you.08:27
jamvladk, TheMue: will do. I peeked at it a bit ago. The basic idea here is that we don't need to pass the networking information into cloud-init anymore because it is no longer responsible for setting up the initial networks, correct?08:29
vladkjam: I think so. This works only on MaaS provider now, because it's the only provider that supports networks.08:36
jamTheMue: just making coffee, will be in our 1;1 in a moment08:55
TheMuejam: ok08:55
Egoisthello09:10
Egoistis there any way to use github instead of charmstore?09:10
jamvladk: lgtm09:17
jamhttps://github.com/juju/juju/pull/34809:17
vladkjam: thanks09:17
natefinchmorning all10:04
TheMuenatefinch: morning10:12
natefinchMOrning all10:12
TheMue:)10:17
natefinchrogpeppe: do you know why, in go/ast, fields have a slice of names, rather than just one?  When would a field have multiple names?  http://golang.org/pkg/go/ast/#Field10:17
rogpeppenatefinch: struct {a, b, c int}10:18
natefinchrogpeppe: that's not 3 fields? :/10:19
rogpeppenatefinch: nope - otherwise you couldn't round-trip gofmt through go/ast10:19
natefinchahh, that's true10:19
natefinchstill, makes the logic around that code more difficult, can't just count fields and know how many fields there really are10:20
natefinchthanks10:20
=== Ursinha-afk is now known as Ursinha
rogpeppenatefinch: sure, you need another loop :-)10:22
rogpeppenatefinch: you could always use the types package10:22
natefinchrogpeppe: yeah, not a huge deal. Just a little annoying, but understandable10:22
natefinchrogpeppe: I'm using a bit of both10:23
rogpeppenatefinch: what are you actually trying to do?10:23
natefinchrogpeppe: extract exported function names, arguments, and the comments on them to do some code generation10:24
rogpeppenatefinch: generate code to do whaT?10:25
natefinchrogpeppe: I'm making a CLI-generator.  Give it some exported functions and it'll write the help docs and flag parsers based on the comments and the function signatures10:25
rogpeppenatefinch: interesting10:27
natefinchrogpeppe: just an idea that popped into my head when someone mentioned a self-documenting CLI, and then I was disappointed that it required retyping a bunch of stuff... so I figured I'd write my own where your code really is self-documenting10:28
rogpeppenatefinch: getting flags right will be tricky10:28
natefinchrogpeppe: yep, that's part of the fun10:29
natefinchrogpeppe: there's a bunch of ways you could do it, and you're not going to please everyone no matter what way you choose to do it10:30
rogpeppenatefinch: another question is whether you'd be able to provide a dynamic escape hatch10:30
natefinchrogpeppe: not sure what you mean10:31
rogpeppenatefinch: whether *all* of the cli is defined by this thing, or whether we could have a way of adding extra stuff that doesn't perhaps fit the model so well, while doing the majority generated10:32
natefinchrogpeppe: certainly a good idea.10:32
perrito666morning10:35
perrito666axw: hey, says my backlog that you need to talk to me10:35
natefinchrogpeppe: oh, unrelated - what's the correct way to get Acme?  There was a deb I tried, but it behaved oddly.  The website is not very clear.10:36
axwperrito666: hey. some time today can you please review the change to restore in https://github.com/juju/juju/pull/34210:37
perrito666going10:38
perrito666we have a very low bus factor on b&r10:39
rogpeppenatefinch: http://swtch.com/plan9port/10:45
perrito666axw: I tend to believe you are right but I cannot assure it, as I see it you have two options here, you ask the original author of that line (roger) or you give me time to actually run the test on you branch10:51
axwperrito666: CI is testing backup/restore now right?10:52
axwI mean, successfully10:52
perrito666axw: it is10:53
perrito666axw: hold, let me check that again10:53
perrito666axw: it is not, although ha backup and restore is passing10:54
axwappears replset related10:55
axw1/2 is good enough for me10:55
axwI'm confident it's fine anyway, so I'm going to land it as is. I'll fix it if it breaks10:55
perrito666sg10:55
perrito666if one of the two jobs is running properly means its mostly timeouts issue since they do pretty much the same10:56
=== anthonyf` is now known as anthonyf
katcogood morning all12:39
perrito666hi katco12:47
vladkTheMue, jam: please, take a look https://github.com/juju/juju/pull/25513:08
TheMuevladk: yep13:10
natefinchjam, wallyworld: is there a handoff we need to make for the current crop of super high priority bugs?13:11
wallyworldnatefinch: in my email i mention 2 that we've not yet looked into13:12
wallyworldthe ohers are in progress13:12
katcoshould a backport commit message state that it's a backport, or should it contain the original commit message?13:15
natefinchwallyworld: ok13:16
wallyworldkatco: i'd mention the fact that it's been backported, but also include the details from the first commit13:17
katcowallyworld: will do, ty sir13:17
wallyworldnatefinch: also, any input on the oplog file size, plus presence replication discussion would be appreciated13:18
natefinchwallyworld: sure.  I think the problem with the oplog is that it gets put in the ephemeral storage which is like 400gigs13:19
natefinchwallyworld: IIRC13:19
natefinchwallyworld: not a lot of info on that landscape crash bug, eh?13:20
natefinchwallyworld: oh, I missed the machine-0 log... that helps13:21
wallyworldyeah13:21
natefinchsorta looks like it might just be a side effect of the i/o timeout bug13:21
wallyworldcould be, i haven't had a chance to look13:23
wallyworldnatefinch: with the oplog file, it gets put in /var/lib/juju/db i think, and the size is calulated based on 5% of free space (up to max 50GB), so for a 400GB disk, the file is about 20GB13:24
wallyworldwhich is not too bad I would think?13:24
natefinchwallyworld: 20gb is pretty big, and I'm not sure exactly how much that thrashes the disk, which might be quite slow13:25
wallyworldnatefinch: i think the file is just allocated ie empty13:25
wallyworldmaybe the mongo defaults are bad, but that's what's being followed - the mongo algorithm is being used13:26
wallyworldwe can asjus if needed though13:27
wallyworldadjust13:27
natefinchwallyworld: we've seen it take a long time on some machines.... I don't know why.  One instance took like 2 minutes.  I don't know 100% for sure that the oplog was the problem, but it was basically the only thing we were doing13:27
wallyworldi think for local provider is was wond back to max 1GB for that reason13:28
wallyworldi think that was the incident you're referring to13:29
natefinchyep13:29
wallyworldslow disks will be an issue for sure in generating the file13:30
natefinchwallyworld: I'm guessing the huge, free, shared, ephemeral disk you get with a $40/month AWS instance is the worst kind of slow13:31
wallyworldyeah, could be13:31
wallyworldso william and i are thinking we should use the default algorithm, but may that's wrong13:31
wallyworldmaybe13:31
wallyworldit can be changed easily enough13:32
natefinchwallyworld: Mongo is designed for huge datasets.  Juju's usage is not a huge dataset.13:32
natefinchWe can ask on #mongo13:32
wallyworldcan you do that for me? i need to sleep13:33
natefinchwallyworld: fair enough.  Will do13:33
wallyworldthanks13:33
natefinchhazmat: do you have the full logs for this bug? https://bugs.launchpad.net/juju-core/+bug/134501413:40
_mup_Bug #1345014: juju machine agents suiciding <deploy> <lxc> <juju-core:Triaged> <juju-core 1.20:Triaged> <https://launchpad.net/bugs/1345014>13:40
TheMuevladk: added a minor comment13:43
vladkTheMue: thanks13:43
=== kami is now known as akami
=== akami is now known as ader1990
=== psivaa is now known as psivaa-afk
perrito666natefinch ?14:07
natefinchericsnow, perrito666: we'll have to move the standup to later, roofers are here and they need a little help14:08
natefinchhouses are expensive, dammit14:08
perrito666natefinch: lol ok, shout if you need a hand14:08
natefinchperrito666: haha thanks14:08
ericsnownatefinch, perrito666: lol same here :)14:08
* perrito666 shows a pamphlet of argentina to natefinch14:09
perrito666we have space :p14:09
perrito666you can comer here14:09
vladkTheMue: I fixed https://github.com/juju/juju/pull/25514:24
TheMuevladk: I’m looking14:26
bodie_morning14:31
TheMuebodie_: morning14:33
TheMuevladk: reviewed14:35
=== psivaa-afk is now known as psivaa
natefinchrogpeppe, mgz, jam: I'm talking to the mongodb guys on #mongodb, trying to get an idea of how big our oplog should be, and they basically said it depends on the amount of modifications the DB receives.  It's my understanding that we normally aren't going to get huge amounts of modifications after an initial juju deployment... but we also support wide varieties of environment sizes from 2 to 5000 machines, and people might15:04
natefinchbe bringing stuff up and down a lot.  Seems like one of those "it depends" answers which is not very helpful.15:04
rogpeppenatefinch: we get a modification every time a unit's relation data changes15:06
rogpeppenatefinch: that could be happening continually15:06
rogpeppenatefinch: but it really depends on ops/second15:07
natefinchrogpeppe: even more "it depends" (now depends on the implementation of the specific charms deployed) .... but that's good to know15:07
rogpeppenatefinch: because there's only a problem if the rate of operations is greater than we can cope with15:07
rogpeppenatefinch: and what the likely burst rate/duration is15:08
mgznatefinch: that was my understanding as well, unless we write very fast, we don't *need* a huge oplog15:08
natefinchahh, so it's getting drained as replication happens, I get it15:09
mgzut I also see william's earlier point about just using default mongo settings unless we really shouldn't15:09
natefinchwell, the whole point is that mongo's default is causing us problems15:09
natefinchin some cases15:09
mgzand this doesn't seem a big issue15:09
mgzexcept in some annoying edge cases15:09
mgznot real deployments15:10
natefinchok, yeah, going back over the email thread, it does seem like this is orthogonal to the actual problems seen15:11
dpb1Hi -- is hulk-smashing a supported operation by juju?15:52
natefinchdpb1: depends on your definition of supported16:02
natefinchdpb1: it's generally discouraged, but it's possible, so we obviously support it at some level16:02
dpb1natefinch: do you all have a document as to *why* it's generally discouraged?16:04
natefinchdpb1: not really... usually it's enough to say that any two charms may make conflicting changes to the environment.  If they both want to listen on port 80, for example, or they both create the same user etc etc.16:08
natefinchdpb1: generally the best answer to getting more than one charm on the same machine is to put them in containers16:09
dpb1natefinch: ok, thanks.16:09
dpb1natefinch: appreciate the answer16:09
natefinchdpb1: welcome16:11
natefinchperrito666: have you seen the cloudbase emails?  How is August 25th-28th for you?16:27
=== Ursinha is now known as Ursinha-afk
TheMuehmmm, my local environments doesn’t like me anymore16:34
TheMueapi server cannot be connected, strange16:34
perrito666natefinch: I was reading them during lunch16:48
perrito666works for me too16:48
katconatefinch: https://lh3.googleusercontent.com/-zndbSfYolfU/U8xCMtJxJ3I/AAAAAAAAGNg/oiO7QEtZACU/w426-h446/BashStartupFiles1.png17:48
natefinchkatco: I just want one place to put everything and not need to worry about a flowchart. That's why I like Window's model.  One place.  Put stuff there.  If you're logged in, it's applicable.17:50
katcohehe i thought you'd appreciate that17:50
natefinchkatco: I think I've actually seen it before, looks familiar.17:50
natefinchkatco: but yes, thanks for reminding me of that pain :)17:50
katcolol17:51
=== Ursinha-afk is now known as Ursinha
perrito666what happen to juju.NewConn ?18:34
perrito666esta mina no es mas hija de puta ni practicando http://www.lavoz.com.ar/politica/desafortunada-frase-de-cristina-al-inaugurar-los-trenes-del-sarmiento18:37
perrito666sorry wrong channel18:38
natefinchheh, the english translation doesn't make sense :)18:39
natefinch(of the webpage)18:39
perrito666natefinch: short: our presindent making a christening act of a train formation says "if we dont hurry the next train will crash us (figuratively speaking of the gov making new trains) on that same spot a train crashed and killed many people a year ago tomorrow and it was discovered that it was in part due to a corruption case where gov did not oversee the train company that was redirecting the maintenance money18:40
perrito666and the gov did nothing about it18:41
natefinchdoh18:41
perrito666natefinch: I was trying to post the article to people that live nearby18:41
perrito666in another channel18:41
perrito666so well, yeah people not very happy with that comment18:42
natefinchyeah.... that's pretty unfortunate18:43
perrito666I have an environs.Environ and I want to get a State out of it, how do I get that now that NewConn is no longer there? anyone knows?18:44
perrito666jam: jam1: is any of you here?18:59
ericsnowperrito666: how do we test backup/restore (plugins) currently?19:10
perrito666in CI only (and I run the CI test every time I change anything in there19:13
perrito666takes a bit of patience19:14
ericsnowperrito666: I'm trying to write one last test for backup that does a backup without any fakes involved (i.e. what we must be doing for the plugins currently).19:17
ericsnowperrito666: think it's doable?19:17
perrito666ericsnow: what do you mean without any fakes?19:17
perrito666I can hangout if you want, so we settle this before I go to the doctor19:18
ericsnowperrito666: moonstone?19:18
perrito666sure19:18
perrito666wallyworld: please ping me when you get up :)19:37
perrito666bbl ppl, going to the doc19:37
natefinchericsnow: you around?19:39
ericsnownatefinch: yeah19:39
=== Ursinha is now known as Ursinha-afk
natefinchericsnow: did you see my private messagey thing?  Not sure what they call it on irc20:00
ericsnownatefinch: nothing showed up20:01
natefinchericsnow: weird20:01
=== Ursinha-afk is now known as Ursinha
mbruzekmy lxc foo is weak.  Can someone tell me how to get more information on this error:  http://pastebin.ubuntu.com/7832276/20:25
katcoi'm a but confused by the purpose of this line: "var _ ContainerFactory = (*containerFactory)(nil)"; can anyone provide insight?20:31
natefinchkatco: it's a compile-time check that container factor satisfies the ContainerFactory interface20:32
katconatefinch: ah ok; no other purpose?20:32
natefinchkatco: that's it20:32
katcowhat is the use-case for that? if it wasn't, wouldn't that cause issues elsewhere?20:32
natefinchkatco: it's assigning a containerFactory pointer to a variable of type ContainerFactory.  If that's not legal, it'll fail to compile20:32
natefinchkatco: it's handy when you're intentionally implementing an interface, but you don't actually have code that assigns one to the other in your code20:33
natefinchSo, like if a third package is supposed to use your implementation as that interface.... if you change just your package to accidentally not fulfill the interface anymore, you might not notice if you didn't build that other third package20:35
katcoahhh ok that makes sense as a use case20:36
katconatefinch: ty for the info; much appreciated :)20:37
natefinchwelcome. I hadn't seen it until I started working on juju, but it's kinda cool.20:38
katconatefinch: it looks like that technique is actually in the effictive go docs: http://golang.org/doc/effective_go.html#blank_implements20:38
katcoi had never seen that either20:38
katcokind of seems like something that should be in a test and not code that's run in production20:39
natefinchahh cool.  I should reread that20:39
natefinchthe compiler will optimize it out, because the variable on the left is the blank identifier20:39
katconatefinch: but still run it? ...?20:40
natefinchThere's effectively nothing to run.20:40
katcowell, it's at compile time, so i guess it parses it, sees it's valid or not, and then optimizes it out if it is20:41
hackedbellininatefinch: hi! I didn't see thumper anymore in this channel. Do you know how I can communicate with him? I couldn't report that the workaround he asked me to try didn't work and I was hopping that he had some other ideas to try atm.20:41
natefinchyep20:41
natefinchhackedbellini: he's in New Zealand, so it's still somewhat early for him (it's 8:41am where he is). Usually he's on by now, but may have other things going on this week, I'm not sure.20:42
hackedbellininatefinch: hrm, I see. No problem. Maybe you or someone else knows how to solve the problem now, as he found the possible cause of the issue20:44
natefinchhackedbellini: More than willing to help.  I sent you a private message with his and my emails.  I'll do what I can to help, but unfortunately, I have to run in about 15 minutes.20:46
hackedbelliniremember that our juju installation whent from 1.18.3 to 1.19.2 because of this bug? https://bugs.launchpad.net/juju-core/+bug/132503420:47
_mup_Bug #1325034: juju upgrade-juju on 1.18.3 upgraded my agents to 1.19.2 <upgrade-juju> <juju-core:Triaged> <https://launchpad.net/bugs/1325034>20:47
hackedbelliniit seems that this is the root of the problem. thumper said juju was missing a "ha migration" or something like this because that migration was only done when upgrading from 1.18.x to 1.20.x.20:47
hackedbellinihe asked me to change the "upgradedToVersion" on agent.conf to read "1.18.4" and try to run the agent again, so we could possibly trick juju and he would do that "ha migration", but it didn't :(20:47
natefinchhackedbellini: ahh... interesting20:47
hackedbellinithumper: hi20:54
thumpero/20:54
hackedbellinithumper: the workaround didn't work :(20:57
thumperhackedbellini: hmm... bummer20:57
thumperhackedbellini: "ha" is "HA" High Availability20:57
thumperwe introduced replica sets for mongodb20:57
hackedbelliniwe changed upgradedToVersion to read "1.18.4" instead of "1.19.3" and restarted the agent, but the same issue happened20:57
thumperwhich has triggered a bunch of weird edge case failures that weren't apparent before20:58
thumperI really don't know what to do from here20:58
thumpermy main suggestion is to move the services running in that environment to a new Juju20:58
thumperand please don't use local20:58
thumpermanual would be better20:58
hackedbellinithumper: hrm, I see... The only problem with this is that we will have to migrate all of our services that were running on juju to that other environment :(21:06
hackedbellinithumper: do you know if there is at least a way to access the lxc containers without sudo access? I could access them with "juju ssh <machine or service>" but since juju isn't running I can't now21:10
wallyworldperrito666: hi21:19
jcw4PTAL https://github.com/juju/juju/pull/35121:30
thumperhackedbellini: you can just use "ssh ubuntu@<lxc ip address>"21:40
hackedbellinithumper: ahh, yes that works! :) Didn't work before for some reason21:42
thumperhackedbellini: probably missing the "ubuntu@"21:44
hackedbellinithumper: don't really remember, but probably, yes =P21:45
hackedbellinithumper: if we create a new environment using "manual", do you think we will be able to add the existing lxcs to it without any problems? Or should I avoid that?21:45
thumperheh... no it won't work by default...21:45
thumperand you would probably have to jump through lots of hoops to make it work21:46
hackedbelliniI see... its not trivial, but its doable?21:46
hackedbelliniwell, I have to go now. Thank you very much for you help so far! Cheers21:48
thumperfwereade: https://github.com/juju/errors/pull/421:54
dpb1anyone seen this one? https://pastebin.canonical.com/113903/22:04
davecheneydpb1: yes22:07
davecheneyall the time in testing22:07
davecheneysomething related to how long it takes mongo to squeeze out a repl set22:07
dpb1why is it launching mongo locally?22:07
dpb1davecheney: ok, good to know.22:07
dpb1davecheney: you have a bug I can point to?  sorry, my LP search foo is weak22:07
davecheneydpb1: i can't see where the environment is being bootstrapped from that paste22:08
davecheneydpb1: no useful bug22:08
davecheneywell, there are loads of bugs logged22:08
dpb1davecheney: ok, should I add --debug?22:08
dpb1or will that help22:08
davecheneydpb1: just paste the entire log22:08
davecheneyor just tell me22:08
davecheneyis this the local provider ?22:08
davecheneyatually it doens't matter22:08
dpb1davecheney: nope, that is maas22:08
davecheneymongo == slow22:09
davecheneytakes a long time22:09
davecheneyif it can't get it's repl set up and running fast enough22:09
dpb1davecheney: that is the whole log, just the cmdline was not echoed22:09
davecheneybootstrap fails22:09
dpb1davecheney: I have another example, but the paste is the same. :)22:09
dpb1davecheney: ooh22:10
dpb1davecheney: you are right, the paste was truncated!22:10
dpb1ok, sec22:10
dpb1ok, this log is long, pasting again22:11
dpb1davecheney: http://paste.ubuntu.com/7832774/22:11
dpb1davecheney: I'll file another bug and paste, if you want to dup it you can22:11
davecheneydpb1: ok22:12
davecheneythis is an impotrant issue22:12
davecheneyi think many people are working on it tangentally22:13
davecheneygiven the profile of maas and juju22:13
=== bodie_ is now known as Guest86182
davecheneythumper: https://github.com/juju/errors/pull/522:17
dpb1davecheney: https://bugs.launchpad.net/juju-core/+bug/134659722:19
_mup_Bug #1346597: mongo timeout? cannot get replica set configuration <cloud-installer> <landscape> <juju-core:New> <https://launchpad.net/bugs/1346597>22:19
thumperfwereade, davecheney: https://github.com/juju/juju/pull/347/files22:27
=== Guest86182 is now known as bodie_
davecheneythumper: https://github.com/juju/juju/pull/35223:07
davecheneytiny fix for the test explosion23:08
davecheney^ pretty uncontravesial23:08
perrito666wallyworld: nites23:54
perrito666wallyworld: hey I have a question for you23:54
wallyworldsure23:54
perrito666I ask you because you removed juju.NewConn, feel free to redirect me to rtfm23:55
perrito666I have an environs.Environ and I want to get a State out of it, how do I get that now that NewConn is no longer there? anyone knows?23:55
wallyworldthere's an api, let me check23:55
perrito666I used to use NewConn23:56
wallyworldperrito666: there's code in restore.go which does something along those lines23:58
wallyworldyou need to know the cacert which you can get from environ config23:58
perrito666wallyworld: ah lol, I actually avoided what was done in the old restore in favor of new conn ehehe23:59
perrito666ok, back to that23:59
wallyworldthe address of the api server can also be got from environ23:59

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