[00:16] <thumper> wallyworld_: ack, lemmie get something to eat
[00:16] <wallyworld_> ok, no rush
[00:18] <davecheney> thumper: which pocket is Juju going to ship in 14.04 ?
[00:18] <davecheney> thumper: was there any resoltuion on that discussion in SF that juju core developers should be using P
[00:20] <thumper> davecheney: well, there was the plan that the devs came up with, but that was overruled
[00:21] <thumper> davecheney: I hear that we will be in main with a dependency on juju-db not mongodb-server
[00:22] <davecheney> thumper: so, devs will not be fixed to a certain series ?
[00:22] <davecheney> thumper: wrt juju-core in main
[00:22] <davecheney> if we need to use gccgo to compile for arm (for example) that would also need to be in main ?
[00:28]  * thumper shrugs
[00:28] <thumper> probably
[00:34] <thumper> wallyworld_: https://plus.google.com/hangouts/_/72cpi4lte1uucmppj5b94beve4?hl=en
[00:40] <davecheney> thumper: right, thanks for confirming
[01:05] <axw> hey thumper, was the 14.04 planning/schedule doc finalised and sent out? I can't find it on drive
[01:07] <thumper> probably not :-)
[01:08] <thumper> axw: hangout?
[01:08] <axw> okey dokey
[01:08] <axw> thumper: sure
[01:09] <thumper> axw: https://plus.google.com/hangouts/_/72cpi4lte1uucmppj5b94beve4?hl=en
[01:42] <thumper> wallyworld_: for this machine call to the api to give supported containers, we should also report ip addresses
[01:42] <thumper> just a FYI
[02:02] <wallyworld_> ok
[02:26] <bigjools> thumper: I need to talk to you (or someone in core) about expectations around vlans in maas
[02:26] <thumper> hmm
[02:26] <thumper> how soon?
[02:26] <thumper> I'm going to have to run children to sports very shortly
[02:30] <bigjools> thumper: can do it tomorrow
[02:30] <bigjools> just wanted to register this in your head
[02:35] <thumper> ack
[02:35] <thumper> kids rescued by wife
[02:35] <thumper> but I've had a day of calls already
[02:35] <thumper> and would like to do some work
[02:40] <davecheney> bloody hell
[02:40] <davecheney> http://paste.ubuntu.com/6374105/
[02:41] <davecheney> ^ what happened here
[02:41] <davecheney> the provisioner isn't starting machine 1
[02:41] <bigjools> thumper: calls != work.  ACK :)
[02:42] <thumper> bigjools: if I wanted work calls I'd go back to engineering manager
[02:42] <davecheney> axw: http://paste.ubuntu.com/6374105/
[02:42] <davecheney> any idea what happened ehre ?
[02:42] <axw> looking
[02:42] <davecheney> machine 1 is not goundf
[02:42] <davecheney> because I just deployed the first service
[02:44] <axw> sorry, no idea davecheney
[02:45] <axw> davecheney: what's going wrong exactly?
[02:46] <davecheney> juju deploy
[02:46] <davecheney> machine never comes up
[02:46] <davecheney> also, 2013-11-07 02:45:15 INFO juju password.go:94 setting password for "unit-gccgo1-0"
[02:46] <davecheney> 2013-11-07 02:45:16 INFO juju password.go:94 setting password for "unit-gccgo1-0"
[02:46] <davecheney> ^ why does it set the password twice ?
[02:47] <axw> I haven't looked at most of the provisioner code I'm afraid
[02:48] <davecheney> fair enough
[02:49] <davecheney> (not) awesome
[02:49] <davecheney> restarting the provisioner picked up the missing machine
[02:49] <davecheney> and provisioned it
[02:49] <davecheney> yay timing issues !
[02:50] <axw> I'm guessing the machine status isn't added in the same transaction
[02:52] <davecheney> my god the agents query tools a lot
[02:52] <davecheney> https://bugs.launchpad.net/juju-core/+bug/1248800
[02:52] <_mup_> Bug #1248800: worker/provisioner missed signal to start new machine <juju-core:New> <https://launchpad.net/bugs/1248800>
[02:55] <sinzui> davecheney, surely you can take a guess at the importance. I think we want to commit to fix that bug in the next 6 months....High
[02:55] <sinzui> davecheney, I think we have a bug already about the redundant queries
[02:57] <davecheney> sinzui: i was told not to triage bugs anymore
[02:57] <davecheney> well, not to screw with their priority
[02:57] <sinzui> oh lovely. I get to guess at all the importances
[03:10] <wallyworld_> axw: with the api design and errors, here's another example that uses the pattern - apiserver/provisioner/provisioner.go func (p *ProvisionerAPI) Status() . In this case, the Status() method can return an error preparing to execute the bulk operations, but the bulk calls themselves do not return an error, but instead record it in the result object
[03:11] <axw> wallyworld_: hmm yeah fair enough. it allows you to distinguish an error relating to the individual calls from initial setup
[03:11] <wallyworld_> yeah
[03:12] <axw> just throws me a little, because if I see no error returned, I expect that everything is fine
[03:12] <wallyworld_> i can understand that
[03:13] <wallyworld_> i depends how the api defines "fine"
[03:13] <axw> true :)
[03:33] <axw> wallyworld_: is it intentional that you can't delete environ-config attrs from state? (I guess not, but before I go changing it...)
[03:33] <axw> SetEnvironConfig updates keys that are there, but never deletes things you remove from the config
[03:34] <wallyworld_> axw: i'm not sure tbh
[03:34] <axw> ok. I'll create a bug and let someone shoot it down if needed
[03:35] <wallyworld_> axw: be warned, the config stuff has been a source of way too much bikshedding
[03:35] <axw> ok :)
[03:35] <wallyworld_> the scars run deep from what i've been told
[03:35] <axw> wallyworld_: I wouldn't care, but it actually is preventing me from testing something
[03:36] <wallyworld_> william is probably the best person to ask
[03:36] <axw> thanks, I'll run it by him later
[03:40] <axw> fwereade: when you're awake, please take a look at https://bugs.launchpad.net/juju-core/+bug/1248809
[03:40] <_mup_> Bug #1248809: state.State.SetEnvironConfig never forgets <juju-core:Triaged> <https://launchpad.net/bugs/1248809>
[03:40] <davecheney> wallyworld_: oh yes
[03:40] <davecheney> lets not start a second land war in asia
[04:05]  * thumper going to make dinner, back later tonight for the meeting
[07:05] <fwereade> axw, got to go out to the bank -- but, yes, SetEnvironConfig hardly works at all
[07:05] <fwereade> axw, saying it was "designed" is very charitable
[07:09] <axw> fwereade: hah :)
[07:09] <axw> ok
[07:09] <axw> I saw in a comment to dimitern a bug regarding passing old/new to SetEnvironConfig
[07:09] <axw> probably they could be tackled at the same time
[07:10] <axw> fwereade: however... the new EnvironmentSet API call assumes a config subset
[07:11] <axw> so, either that would need to change, or a new API would be needed for deleting, or the current behaviour remains
[07:11] <axw> anyway, ttyl
[07:19] <axw> jam: I implemented an alternative to PushEnvironmentSecrets: https://codereview.appspot.com/22720043/
[07:19] <axw> does the same as what we do now, under the assumption the code is going to be deleted
[07:21] <jam> axw: where are you calling updateSecrets? In NewAPIConn ?
[07:22] <axw> yup
[07:22] <jam> axw: lgtm
[07:23] <axw> cool. the other way would make sense if it were to stick around, but I don't think we'll need it at all
[07:23] <axw> we should be able to start the agent up with full environment config initially with synchronous bootstrap
[07:54] <jamespage_ods> sinzui: when you start I've pushed juju-core 1.16.3 to trusty and all of the backport packages have built in the packaging PPA's
[08:07] <rogpeppe> mornin' all
[08:16] <TheMue> rogpeppe: morning
[08:16] <rogpeppe> TheMue: hiya
[09:01] <axw> fwereade: when you're back- since you started reviewing the other one, could you take a look here before I land: https://codereview.appspot.com/22720043/
[09:01]  * fwereade is backand looking at axw's branch
[09:01] <axw> ta
[09:43] <axw> sorry rogpeppe, I meant to ask about that comment - already merged
[09:43] <axw> will delete it when I touch the file next
[09:43] <rogpeppe> axw: np
[09:54] <axw> jam: I don't know the upstart config off hand, but env vars were being pushed thru there before for provider type, and I think LXC bridge type
[09:55] <axw> we moved *away* from setting env vars to simplify upgrading
[10:02] <thumper> jam, mgz: meeting time
[10:03] <thumper> fwereade: meeting
[10:03] <rogpeppe> fwereade: meeting?
[10:04] <rogpeppe> mgz: meeting?
[10:48] <thumper> night all
[11:15] <jpds> Guys, is it 'juju sync-tools --source=. --debug' to sync locally from tools/releases ?
[11:27] <jpds> Because neither --source=. or --source=tools/releases/ is working here.
[12:45] <rogpeppe> fwereade: i've just updated https://bugs.launchpad.net/juju-core/+bug/1246343
[12:45] <_mup_> Bug #1246343: destroy-environment no longer removes .jenv <charmers> <destroy-environment> <landscape> <juju-core:Triaged by axwalk> <https://launchpad.net/bugs/1246343>
[13:56] <rogpeppe> jam: wow, 34810 running goroutines; that's quite something.
[13:56] <jam> rogpeppe: well the go claims that there you can cheaply spawn 100,000s of them, right? :)
[13:56] <rogpeppe> jam: indeed - it's just more than i expected
[13:57] <jam> rogpeppe: yeah, with 7k agents that means almost 5 per agent
[14:02] <rogpeppe> jam: you might be interested in this - it's a characterisation of all the stack traces by set of called functions; the count is the number of goroutines with that stack trace: http://paste.ubuntu.com/6376480/
[14:04] <rogpeppe> jam: looks like everything's blocked on mongo
[14:06] <jam> rogpeppe: could be, though mongo itself was at 0% cpu during this time
[14:21] <rogpeppe> jam: goroutine 216906 seems to be the one with the lock (the write lock at any rate)
[14:27] <jcsackett> sinzui: after standup, can you look at https://code.launchpad.net/~jcsackett/charmworld/multiple-appflowers/+merge/194241 for me?
[14:27] <rogpeppe> jam: wonder if it would be useful to instrument mgo with some stats (github.com/GaryBoone/GoStats might provide an easy way to get some more useful stats without making enormous log files)
[14:32] <rogpeppe> jam: actually i may have been thinking of github.com/rcrowley/go-metrics
[15:46] <rogpeppe> natefinch: ping
[15:47] <natefinch> rogpeppe: yo
[15:48] <rogpeppe> natefinch: i've been trying to think through the failover stuff, and hit a tricky issue
[15:48] <rogpeppe> natefinch: i wondered if you wouldn't mind a chat about it to try to get my thoughts straight
[15:49] <rogpeppe> natefinch: np if inconvenient
[15:49] <natefinch> rogpeppe: sure thing
[15:50] <rogpeppe> natefinch: usual hangout?
[15:50] <natefinch> sure
[15:50] <rogpeppe> https://plus.google.com/hangouts/_/calendar/am9obi5tZWluZWxAY2Fub25pY2FsLmNvbQ.mf0d8r5pfb44m16v9b2n5i29ig?authuser=1
[16:10] <rogpeppe> fwereade: any chance you could join us?
[16:20] <jcastro> hey sinzui, is bug #1238934 something we can backport to saucy/precise?
[16:20] <_mup_> Bug #1238934: manual provider doesn't install mongo from the cloud archive <cloud-archive> <ssh-provider> <juju-core:Fix Committed by axwalk> <https://launchpad.net/bugs/1238934>
[16:20] <jcastro> or should we just have it in 1.18 as a whole and tell people to use the PPA for manual provisioning?
[16:22] <sinzui> sigh
[16:23] <sinzui> jcastro, we can, but we can do one release a week. so if it do, we delay 17 and 18
[16:23] <jcastro> sorry I didn't mean to depress you!
[16:23] <sinzui> I would like 17 next week and 18 the following week
[16:23] <jcastro> are there plans to bring 18 to precise/saucy?
[16:24] <sinzui> jcastro, all stable releases go to all supported series
[16:24] <jcastro> oh ok
[16:24] <sinzui> We always do that
[16:24] <jcastro> so waiting 2 weeks is the smart thing to do
[16:24] <sinzui> 1.16.3 will be in the archives in a few hours BTW
[16:24] <jcastro> ok I wasn't aware of the backport treadmill -- that works out for me!
[16:25] <sinzui> jcastro, I hope that with more automation, we can entertain a stable and devel release in the same week
[16:26] <jcastro> yeah I'm just trying to sync the manual provisioning docs with 1.18, but I have two weeks to figure that out, heh
[17:12] <rogpeppe> interesting: http://www.packer.io/intro
[19:01] <natefinch> rogpeppe: I saw that packer thing. Kinda neat, but not sure the real-world utility.  Sure you can take a machine and make an image for EC2 or virtualbox or whatever. You still have to make the original correctly, though, and that seems like the more interesting challenge (and the one we're tackling).
[19:02] <rogpeppe> natefinch: yeah, i haven't read it properly - just thought it looked interesting
[19:04] <natefinch> rogpeppe: yep
[19:24] <rogpeppe> natefinch: trying to work out what's going on with jam's enormous stack trace, i quickly hacked up this: http://paste.ubuntu.com/6377995/
[19:24] <rogpeppe> natefinch: it analyses a stack trace and produces an SVG call graph summary
[19:25] <rogpeppe> natefinch: if you get his stack trace with: curl http://ubuntuone.com/6vKrM07H7BTHUa9Xqvy16V | ungz > /tmp/stacktrace
[19:25] <natefinch> rogpeppe: damn, roger.  Quickly hacked up.... I hope we're paying you enough :)
[19:26] <rogpeppe> natefinch: and then run the above program on it: go run stacktrace.go < /tmp/stacktrace > /tmp/x.svg
[19:26] <rogpeppe> natefinch: and open your browser on file:///tmp/x.svg
[19:26] <rogpeppe> natefinch: i stole all the interesting bits from the pprof perl script
[19:26] <rogpeppe> natefinch: (first time i've ever translated perl to Go!)
[19:27] <rogpeppe> natefinch: (first time i've ever read any perl actually :-])
[19:27]  * natefinch shudders
[19:27] <rogpeppe> natefinch: it's not too bad in that particular case
[19:28] <rogpeppe> ha!
[19:28] <rogpeppe> natefinch: i've got the arrows all backwards!
[19:28] <natefinch> heh
[19:31] <natefinch> rogpeppe: tar -xz is saying it's not in gzip format
[19:31] <rogpeppe> natefinch: sorry, i said ungz; i meant unxz
[19:31] <rogpeppe> natefinch: it's not a tar file
[19:32] <natefinch> rogpeppe: ahh right, because it's just one file. Stupid linux and it's stupid 10 different ways to pack files :/
[19:32] <rogpeppe> natefinch: this version puts the arrows in the right direction: http://paste.ubuntu.com/6378028/
[19:32] <natefinch> back in my day we only had .zip and we liked it :/
[19:33] <rogpeppe> natefinch: back in my day we only have .Z and we liked it :-)
[19:33] <rogpeppe> s/have/had/
[19:33]  * thumper is going to be taking daughter to the dentist, so not really around until later
[19:41] <natefinch> rogpeppe: took me a while, but I got there.  Pretty cool
[19:41] <rogpeppe> natefinch: cool
[20:01] <rogpeppe> right, that's me done and dusted
[20:02] <rogpeppe> natefinch: g'night
[20:02] <natefinch> rogpeppe: g'night
[20:27] <sinzui> natefinch, do you have time to build a win installer for 1.16.3 and request a signing?
[20:28] <natefinch> sinzui: sure
[20:29] <sinzui> thank natefinch
[20:29] <sinzui> ^ yoy
[20:29] <sinzui> ^ you
[20:30] <sinzui> I give up. My head hurts, I two ways of packing perfect packages, yet neither method is perfect in itself
[20:30]  * sinzui ponders the consequences to drinking and retrieving children from school
[20:36] <natefinch> sinzui: I think it's funny we're releasing a new windows client that includes a fix for the local provider.... that can't run on windows anyway :)
[20:37] <sinzui> ha ha
[20:37] <sinzui> I know
[20:37] <sinzui> natefinch, I am happy for you to say no, it is just busy work
[20:38] <natefinch> sinzui: it's super quick, no problem.  Just amusing is all.
[20:39] <sinzui> we did an ubuntu release for 1.14.1 that had no changes for ubuntu. It was just to acknowledge that windows got a different version
[21:24] <sinzui> sorry juju-gui, you got spam from me
[21:24] <sinzui> you don't want to use my devel packages
[21:26]  * thumper goes to hack on kvm stuff
[21:26] <thumper> and will effectively disconnect
[22:36] <rick_h_> thumper-hacking: yay for my lxc environment being back to being useful. Tested the updated gui with bundle super powers in it and so much nicer/faster than ec2