[00:06] <davecheney> thumper: why does var b []byte != var b = []byte{} ?
[00:06] <thumper> one is nil, one is not
[00:07] <davecheney> right, but was that the question ?
[00:07] <thumper> I think that either they should be equal, or be visually different
[00:07] <thumper> no
[00:07] <thumper> the question is why they have the same representation
 a nil string slice is output as []string(nil), but a nil byte slice is shown as []byte{}
[00:08] <thumper> empty string slice is []string{}, empty byte slice is []byte{}
[00:08] <thumper> nil slice != empty slice
[00:08] <thumper> so they shouldn't have the same representation
[00:08] <thumper> made debugging very confusing
[00:08] <davecheney> probably just how fmt decides to print them
[00:08] <davecheney> thumper: if you're looking for someoone to blame
[00:08] <davecheney> blame gocheck
[00:09] <thumper> davecheney: see the play things above
[00:09] <thumper> they don't use gocheck
[00:09] <thumper> if anything, I'll blame the "fmt" library
[00:09] <thumper> hence, go bug?
[00:10] <davecheney> certainly an inconsistency
[00:11] <davecheney> id' still like to blame gocheck for this
[00:11] <davecheney> because the chance of chaning it in the go runtime are approximatly 0
[00:12] <thumper> you can't just blame a different library because core won't change
[00:12] <thumper> that's dumb
[00:12] <davecheney> yup, i'm dumb
[00:12] <thumper> surely it could be filed as a bug
[00:12] <davecheney> absolutely
[00:12] <thumper> and fixed during the next *we'll break things* type release
[00:13] <thumper> to make things more consistent
[00:34] <thumper> lunch time...
[00:49] <davecheney> axw: ping
[01:26] <davecheney> https://bugs.launchpad.net/juju-core/+bug/1218329
[01:26] <_mup_> Bug #1218329: Update default environment.yaml for Azure to use Precise for default-series <juju-core:Triaged> <https://launchpad.net/bugs/1218329>
[01:27] <davecheney> do we need to hold off 1.13.3 for this bug ?
[01:27] <wallyworld> davecheney: i think we should, but that's IMHO
[01:28] <davecheney> wallyworld: ack
[01:29] <wallyworld> davecheney: it's a trivial patch, so we can do it today once confirmation of the stream is done
[01:32] <axw> davecheney: would you prefer if I hold off merging manual provisioning?
[01:34] <davecheney> axw: what are the changes it'll bugger up azure
[01:34] <davecheney> if it's > 5%, then yes
[01:35] <axw> davecheney:  I would say 0%, but my thinking may be biased
[01:36] <davecheney> :)
[01:36] <davecheney> your call
[01:37] <davecheney> https://canonical.leankit.com/Boards/View/103148069
[01:37] <davecheney> i;m worried about all the stuff in review
[01:37] <axw> davecheney: worried why?
[01:38] <axw> worred that we need them in for 1.14?
[01:38] <davecheney> three cards there that I wanted to see land
[01:38] <davecheney> MP, azure stuff, and the bug fix for version formatting
[01:38] <davecheney> there is nearly as much stuff in review as has landed
[01:39] <axw> davecheney: I can and will get MP in right now. I'm confident it's not going break anything else
[01:39] <davecheney> axw: sgtm
[01:39] <axw> dunno anything about the others I'm afraid
[01:50] <davecheney> axw: for manually provisioning, this requires a working environment
[01:50] <davecheney> ie, you cannot manually provision a bootstrap node
[01:50] <axw> davecheney: correct
[01:51] <davecheney> axw: if my bootstrap node is in amazon, can I manually provision a machine in my local lan ?
[01:51] <axw> davecheney: yes, if it can route to the bootstrap node
[01:51] <davecheney> hmm
[01:51] <davecheney> this sounds icky
[01:51] <davecheney> i'd like to not mention this in the release notes
[01:51] <davecheney> or we'll get bollocked by jorge again
[01:51] <axw> davecheney: fair enough, it is a bit raw
[01:52] <davecheney> alternatively, if you want to write war and peace
[01:52] <davecheney> go for it
[01:52] <axw> nah leave it out for now
[01:52] <davecheney> but I vote for putting a card in leankit to properly document it
[01:52] <davecheney> and leaving it for 1.15.0
[01:52] <axw> agreed
[01:59] <davecheney> axw: https://bugs.launchpad.net/juju-core/+bug/1218329
[01:59] <_mup_> Bug #1218329: Update default environment.yaml for Azure to use Precise for default-series <juju-core:Triaged> <https://launchpad.net/bugs/1218329>
[01:59] <davecheney> do you have an environemnt to test this change >?
[02:00] <axw> davecheney: yep I'll give it a whirl
[02:00] <davecheney> ta
[02:01] <axw> azure called me up yesterday morning about the account I created ... that was slightly weird
[02:02] <davecheney> axw: yeah, they'll call you a few times
[02:03] <davecheney> i told the guy i was only using it for a test and had no interest in paying for their service
[02:03] <davecheney> he soundded confused
[02:03] <davecheney> and was still confused when he called me a week later and asked the same thing
[02:03] <axw> lol
[02:12] <axw> davecheney: so far, not so good... looks like the SSH keys aren't setup properly
[02:12] <axw> also - I couldn't use released, had to use daily
[02:12] <davecheney> axw: ok, play with it a bit more, otherwise move the ticket to 1.15.0
[02:13] <axw> ok
[02:13] <davecheney> once we have a 1.14 series we can backport fixes
[02:13] <davecheney> but waiting on a working precise image could take longer than we have
[02:13] <davecheney> so screw it
[02:13] <davecheney> we can do a point release into 1.14
[02:31]  * davecheney waves to robbiew 
[02:31] <jcastro> davecheney: hang out with us!
[02:31] <davecheney> jcastro: but it's my special time with ubu hulk
[02:31] <jcastro> oh dang
[02:31] <robbiew> davecheney: on my way...got distracted with other work stuff
[02:31] <jcastro> ok, after?
[02:32] <davecheney> jcastro: sure thing
[02:32] <jcastro> we're just hanging out
[02:32] <davecheney> jcastro: shiiit, what is this, a party ?
[02:32] <jcastro> didn't know it was Thor <-> Hulk bonding time
[02:33] <jcastro> davecheney: nah, did a live juju upgrade on discourse so we had to do it post-work and late
[02:33] <davecheney> jcastro: DC characters need love too
[02:33] <jcastro> and we had some feedback, but whatever, nothing that can't wait
[02:33] <jcastro> from now on you are SOLMON GRUNDY
[02:34] <robbiew> jcastro: wtf you doing up?
[02:34] <jcastro> robbiew: upgrading services with less than a minute downtime? :)
[02:34] <robbiew> nice
[02:34] <jcastro> next time we're doing cascading upgrades ....
[02:34] <jcastro> not to brag or anything
[02:35]  * jcastro brags because he's backed by marcoceppi.
[03:16] <davecheney> damnit!
[03:16] <davecheney> This party is over...
[03:16] <davecheney> But you can start a new one.
[03:17] <davecheney> some party
[03:24] <jcastro> davecheney: let's party tomorrow?
[04:04] <wallyworld> axw: ping
[04:04] <axw> wallyworld: hoy
[04:04] <wallyworld> i just saw your mp for genersting tools metadata and have a question or two
[04:05] <wallyworld> 1. i'd like the functionality to generate the json separated out into a separate method, as i need to use it in another context
[04:05] <wallyworld> i want to pass a list of ToolsMetdata and get back the index and product json
[04:05] <wallyworld> i need this for tests
[04:05] <axw> ok- I can move it to environs/tools?
[04:06] <wallyworld> also, the Boilerplate() method can be updated to use this also
[04:06] <wallyworld> instead of go templates
[04:06] <axw> ok
[04:06] <wallyworld> i think environs/tools sounds ok
[04:06] <wallyworld> 2. i'm not sure why you are writing to a storage and not just to disk
[04:07] <wallyworld> we don't need to generate the metadata into a public bucket
[04:07] <axw> oops
[04:07] <axw> :)
[04:07] <wallyworld> we need to read tools from somewhere (currently all we have is the public bucket), but the metadata needs to go either to disk locally or uploaded somewhere
[04:08] <axw> would people not want to host it in their private swift storage or whatever?
[04:08] <wallyworld> so for now, just have the command take a dest dir (default to .juju like for imagte metadata)
[04:08] <wallyworld> yes, private storage perhaps, but not public
[04:09] <wallyworld> so you could use a storage abstraction as yuo have done
[04:09] <axw> yeah I was thinking "public" as in shared within a private org
[04:09] <axw> not the official public one
[04:09] <wallyworld> ah ok
[04:09] <axw> but anyway
[04:09] <axw> it can go to disk and they can do that
[04:09] <axw> manually
[04:09] <wallyworld> well, the storage abstraction used works
[04:10] <wallyworld> but use the env.Storage()
[04:10] <wallyworld> not env.PublicStorage() to write to
[04:10] <axw> okey dokey
[04:11] <wallyworld> it would be great to land this today if we could as i have stuff queued up behind it - i have tests where i need to generate tools metadata and then read it back
[04:11] <axw> will get onto it now
[04:12] <wallyworld> thanks :-) it doesn't have to be perfect straight up cause we won't advertise it, it will mainly be for us internally
[04:13] <wallyworld> axw: with the metadata generation, if the new method could be such that i get the json back as a string for index and product, that would be good. then there would be another new method to write those strings to files
[04:14] <wallyworld> or a reader or whatever
[04:14] <axw> wallyworld: nps, easy enough
[04:14] <wallyworld> i just need to hold the data in memory for a http proxy class to use
[04:14] <wallyworld> thanks
[04:51] <axw> wallyworld: I think I just found a problem... paths should be relative to the base URL right? i.e. "juju-1.12.0-precise-amd64.tgz", and not "tools/juju-1.12.0-precise-amd64.tgz"?
[04:51] <axw> since the base URL includes /tools/
[04:52] <wallyworld> yes, paths should be relative to the base url
[04:52] <wallyworld> i envisiage tarballs will be in releases/
[04:52] <wallyworld> ie http://juju.canonical.com/tools/releases
[04:52] <axw> ok
[04:53] <wallyworld> and metadata in http://juju.canonical.com/tools/streams/v1
[05:03]  * wallyworld has to go do school pickup
[05:03] <axw> wallyworld: updated. I haven't yet added tests to environs/tools. Haven't yet updated boilerplate. It's still using storage, I will change that now.
[05:03] <wallyworld> axw: ok, thanks, bbiab
[05:03] <axw> cya
[05:23]  * thumper slogs through fixing shit
[05:38] <thumper> morning fwereade
[05:38] <thumper> fwereade: around 7:30am?
[05:38] <fwereade> thumper, heyhey
[05:38] <fwereade> thumper, yeah
[05:39] <thumper> got time for a quick chat before I EOD?
[05:39] <thumper> and EOW
[05:39] <fwereade> sure
[05:39] <thumper> and EOM
[05:40] <thumper> fwereade: https://plus.google.com/hangouts/_/ebc7ddf59bb207399b6ce7ab7ccd391a4fd9fede?hl=en
[06:02] <thumper> night all
[06:34] <rogpeppe> mornin' all
[06:41] <wallyworld> axw: hi, i made some more comments. i hope they make sense
[06:45] <axw> wallyworld: thanks, I'll have a look in a sec
[06:45] <wallyworld> axw: np. i have to take the dog for a quick walk before he bites me, i'll check back in soon
[06:45] <axw> hehe
[06:45] <axw> no worries
[07:17] <axw> wallyworld: `There's little point using an env to read the tools - the tools are readily
[07:17] <axw> accessible directly from "https://juju-dist.s3.amazonaws.com/" (see synctools)`
[07:18] <axw> environs/sync does use the env's storage?
[07:26] <fwereade> axw, it's done in sync-tools -- there's a storage interface that talks to juju-dist directly over http
[07:26] <axw> ah
[07:26] <axw> fwereade: thanks
[07:26] <fwereade> axw, and also allows for reading in from a dir, which I think wallyworld mentioned, but I barely skimmed that CL I'm afraid
[07:50] <wallyworld> axw: sync uses the env storage to write to the private bucket, so the tools are available for that env
[07:55] <axw> wallyworld: yeah I just missed the whole bit about newFileStorageReader/ec2.NewHTTPStorageReader
[07:56] <wallyworld> axw: is anything unclear with my (brief) comments?
[07:56] <axw> wallyworld: nope, makes sense
[07:56] <axw> just updating and testing now
[07:56] <wallyworld> cool, thanks
[07:57] <wallyworld> the main business logic is to (somehow) get a list of tools and generate metadata
[07:57] <axw> yup
[07:57] <wallyworld> this will be used by sync tools and tests, plus the generate command for devs/prototyping
[07:57] <axw> I've moved the fileStorageReader to environs/filestorage
[07:57] <axw> will use that and the ec2 thing inside toolsmetadata
[07:58] <axw> and update sync accordingly
[07:58] <wallyworld> ok. i'm wondering is we want a "wget" reader also, one that takes a http url if you know what i mean
[07:59] <wallyworld> maybe not
[07:59] <wallyworld> let's wait till we need it
[08:00] <wallyworld> i'm hoping medium term when we have the proper tools repository that we won't need the reader abstraction
[08:00] <wallyworld> since we can access the official tools and metadata directly using wget
[08:00] <wallyworld> and not via a s3 bucket
[08:00] <axw> yeah, no need to list then
[08:01] <axw> wallyworld: you want me to move ItemCollection.UnmarshalJSON to json.go? so, I should move all the structures there?
[08:01] <wallyworld> so when we do that, we should be able to have an abstraction that takes a url, either file:// or http:// to get the tools etc
[08:01] <axw> in environs/simplestreams
[08:01] <wallyworld> axw: i 'd like all the json related stuff out separate
[08:02] <axw> ok
[08:02] <wallyworld> so as not to obscure the core simplestreams lofic
[08:02] <wallyworld> we did something similar in goose
[08:02] <wallyworld> see goose.nova package
[08:50] <rogpeppe> fwereade: ping
[08:50] <fwereade> rogpeppe, pong
[08:51] <rogpeppe> fwereade: i've been looking at the config stuff, and wondering about firewallmode==default
[08:51] <rogpeppe> fwereade: the idea is that a given environment can choose its own default, right?
[08:51] <fwereade> rogpeppe, I *think* so, yes
[08:51] <rogpeppe> fwereade: i can't see how that can happen currently
[08:51] <fwereade> rogpeppe, doesn't surprise me at all
[08:52] <rogpeppe> fwereade: the code *looks* as if it's trying to go in that direction
[08:52] <rogpeppe> fwereade: but swerves at the last moment
[08:52] <fwereade> rogpeppe, haha
[08:52] <fwereade> rogpeppe, if that's not what it's for, your guess is as good as mine
[08:52] <rogpeppe> fwereade: in particular, in config.New:
[08:52] <rogpeppe> 	// Default firewall mode is instance.
[08:52] <rogpeppe> 	if c.FirewallMode() == FwDefault {
[08:52] <rogpeppe> 		c.m["firewall-mode"] = string(FwInstance)
[08:52] <rogpeppe> 	}
[08:52] <fwereade> ha
[08:52] <fwereade> rogpeppe, I think TheMue may have been involved there
[08:53] <rogpeppe> fwereade: so AFAICS no provider will ever see FwDefault
[08:53] <fwereade> rogpeppe, he might remember
[08:53] <fwereade> rogpeppe, I think you're right
[08:53] <rogpeppe> fwereade: i'm sorely tempted to lose the whole idea
[08:54] <rogpeppe> fwereade: and just let a given provider ignore the firewall mode if it can't deal with it
[08:54]  * fwereade shrugs, and doubts that's any worse than what we currently have
[08:55] <fwereade> rogpeppe, the whole firewalling story is madness anyway IMO
[08:55] <rogpeppe> fwereade: BTW i'm testing a branch which cleans up the config prior to moving forward with environment attr storage, which changes config.New to this: http://paste.ubuntu.com/6043287/
[08:56] <fwereade> rogpeppe, it's probably not too many steps from sanity, but plotting those steps makes me confused
[08:56] <rogpeppe> fwereade: i'm hoping/assuming you will wholeheartedly approve
[08:57] <axw> wallyworld: there's a bunch of tests I'm not going to be able to complete today. if you wanted this stuff landed to unblock you, I can do so and follow up with tests on Monday
[08:57] <wallyworld> axw: it's ok, i can wait. i'm currently modifying another upstream branch
[08:57] <axw> wallyworld: okey dokey
[08:57] <fwereade> rogpeppe, that looks pretty sexy to me :)
[08:57] <wallyworld> we can get the next release out first anyway
[08:58] <rogpeppe> fwereade: the next step is to pass a config.Defaulting flag to EnvironProvider.Prepare and EnvironProvider.Open
[08:58] <wallyworld> axw: maybe push what you have and i'll take a look over the w/e
[08:58] <rogpeppe> fwereade: to enable providers to be similarly strict about env vars
[08:58] <fwereade> rogpeppe, nice
[08:59] <axw> wallyworld: done
[08:59] <wallyworld> thanks :-)
[08:59] <wallyworld> will look a bit later
[08:59] <axw> wallyworld: just missing tests on environs/filestorage (never were any explicit ones), and the new marshalling stuff in environs/tools
[08:59] <axw> thanks
[09:00] <fwereade> wallyworld, btw, I'm having some persistent difficulty mapping simplestreams cloud info <-> juju concepts -- would you be free for a chat about it after the standup?
[09:00] <wallyworld> we are also blocked on IS getting the tools repository set up
[09:01] <axw> wallyworld: I generated metadata for all the tools in S3 earlier, if you want the JSON files for anything...
[09:01] <wallyworld> fwereade: sure. i'll be up to my 5th drink by then, should be fun :-)
[09:02] <wallyworld> axw: sure, send them my way, thanks :-)
[09:03] <fwereade> wallyworld, it'll probably help ;p
[09:03] <wallyworld> fo :-)
[09:54] <rogpeppe> everyone should try the go coverage tool to check test coverage - it's awesome!
[09:55] <rogpeppe> for example, see this output: http://paste.ubuntu.com/6043486/ (save the text as html and open it in your browser)
[09:56] <fwereade> wallyworld, btw, when you're around, I was wondering if you knew what "crsn" was meant to stand for :)
[09:56] <wallyworld> fwereade: cloud region short name
[10:01] <fwereade> rogpeppe, nice and shiny, indeed
[10:02] <fwereade> rogpeppe, I have seen far worse coverage output ;p
[10:02] <rogpeppe> fwereade: BTW, speaking of test coverage, do you know what happened to the tests for RelationUnitsWatcher ?
[10:02] <rogpeppe> fwereade: there appear to be none at all
[10:04] <fwereade> rogpeppe, I'm not that surprised, it's basically an implementation detail of RelationScopeWatcher
[10:04] <rogpeppe> fwereade: it is used directly by the uniter though
[10:06] <rogpeppe> fwereade: and none of its code is covered by the state tests (verified with the shiny new coverage tool)
[10:08] <rogpeppe> fwereade: i suspect the test coverage loss was an inadvertent consequence of https://code.launchpad.net/~fwereade/juju-core/state-relationunit-move/+merge/144747
[10:44] <fwereade> rogpeppe, sorry, meeting pushed that conversation out of my mind
[10:44] <rogpeppe> fwereade: np
[10:49] <fwereade> rogpeppe, looks like you're right, and I suck
[10:49] <rogpeppe> fwereade: happens to all of us :-)
[10:49] <fwereade> rogpeppe, indeed, but thanks for catching it
[10:50] <fwereade> rogpeppe, I suspect I zoned briefly out of the distinction between Watch and WatchScope and, boom, splat
[10:51] <rogpeppe> fwereade: i'm wondering if we could do something with the coverage tool to automatically detect loss of test coverage
[10:51] <rogpeppe> fwereade: something to keep in mind anyway
[10:52] <fwereade> rogpeppe, that would be very nice, yeah
[10:52] <fwereade> rogpeppe, tech-debt bug?
[10:52] <rogpeppe> fwereade: https://bugs.launchpad.net/bugs/1218362
[10:52] <_mup_> Bug #1218362: state.RelationUnitWatcher is not tested <tech-debt> <juju-core:Triaged> <https://launchpad.net/bugs/1218362>
[10:53] <fwereade> rogpeppe, ah, I meant for the coverage tool
[10:53] <rogpeppe> fwereade: oh, i see
[10:53] <rogpeppe> fwereade: yeah, i'll do that
[10:56] <rogpeppe> fwereade: https://bugs.launchpad.net/juju-core/+bug/1218834
[10:56] <_mup_> Bug #1218834: There's no way to easily detect loss of test coverage <tech-debt> <juju-core:New> <https://launchpad.net/bugs/1218834>
[11:33] <fwereade> rogpeppe, standup
[11:34] <rogpeppe> fwereade: "There is a problem with connecting to this video call. Try again in a few minutes"
[12:27] <natefinch> evilnickveitch: it occurs to me that your document says to sync docs with the reality of 1.12 ... does that mean we shouldn't document stuff that is later than 1.12?  For example, windows support is not in 1.12
[12:27] <mgz> natefinch: if we release 1.14, presumabley we'd update that to read '1.14'
[12:28] <evilnickveitch> natefinch, i think in this case we can document it and work out what notes and info we need to provide later. at some point in the future we will have different versions of the docs which will make this easier
[12:28] <mgz> having a doc 'feature' branch for dev stuff that will be in next stable seems sane
[12:28] <mgz> then we just merge that to doc trunk when we do the release
[12:28] <evilnickveitch> mgz, indeed
[12:29] <evilnickveitch> we need a good base to start from - i think we need to be at a point where we are not adding loads of stuff to the stable docs before we start doing that
[12:48] <natefinch> mgz, fwereade, rogpeppe: just had a thought - should we refrain from creating a "local" environment section in environment.yaml on Windows, since it can't possibly work there?  Or maybe create it commented out, with a comment that it doesn't work on Windows.
[12:50] <natefinch> TheMue: ^^^ since you're writing docs on the local provider - might be good to mention it doesn't work on Windows :)
[12:54] <TheMue> natefinch: oh, yes, good hint, and it won't work on a mac
[12:54] <natefinch> TheMue: yep
[12:55] <TheMue> natefinch: only in a vmware image running linux ;)
[13:39] <fwereade_> natefinch, good idea, thank you
[13:43] <fwereade_> hmm, my smoothie has fermented
[13:50] <TheMue> fwereade_: iirks
[13:57] <marcoceppi> How often does the store update personal branches?
[13:58] <marcoceppi> nvm, gui cache issue
[14:29] <rogpeppe> fwereade_, mgz, natefinch, jam, TheMue: trivial CL, enabling some tests that were not hooked in: https://codereview.appspot.com/13428043/
[14:30] <fwereade_> rogpeppe, I'll do that if you'll do https://codereview.appspot.com/13401045 :)
[14:31] <fwereade_> rogpeppe, LGTM
[14:31] <rogpeppe> fwereade_: likewise
[14:32] <mgz> :
[14:32] <fwereade_> rogpeppe, cheers
[14:32] <mgz> nice backscratching :)
[14:33] <TheMue> rogpeppe: LGTM from my side too
[14:33] <rogpeppe> mgz: always good when you have an itch
[15:01] <mramm> fwereade_: you around?
[15:02] <fwereade_> mramm, yeah, what can i do for you?
[15:02] <mramm> I am wondering if we can setup a "what does 2.0 mean" meeting for the beginning of next week
[15:03] <fwereade_> mramm, sure, that sounds good
[15:03] <fwereade_> mramm, a bit after standup on monday perhaps?
[15:03] <mramm> I'm thinking about timelines, and thinking that we may want to manage the scope of a 2.0 release a bit more
[15:04] <mramm> yea, that works for me
[15:04] <fwereade_> mramm, that was put with admirable delicacy btw
[15:05] <mramm> I will want to include Gary in that conversation
[15:08] <hazmat> fwereade_, ping
[15:12] <fwereade_> hazmat, pong
[15:15] <hazmat> fwereade_, trying to debug the slowness that's been reported on the list
[15:16] <hazmat> do you have a minute to discuss on g+?
[15:16] <fwereade_> hazmat, thank you kindly :)
[15:16] <fwereade_> hazmat, in a moment I think
[15:20] <mgz> hazmat: a fair bit of it can just go from status, when it doesn't need to do anything other than query state (over the api)
[15:21] <hazmat> mgz, right, i could make a fast status impl right now just using the allwatcher, not quite the same data. one of the issues in their status output is the amount of garbage they've got  in terms of machines
[15:21] <hazmat> that are missing, pending, etc.
[15:21] <hazmat> and helping them garbage collect
[15:22] <mgz> right, there's always an issue inside the reported issue :)
[15:22] <hazmat> mgz, status in the api is all nesc for correctness for deployer
[15:22] <hazmat> since watch api is eventually consistent
[15:22] <hazmat> i took a look at the sprint unfortunately the status code has several embedded panics
[15:24] <hazmat> s/all/also
[15:57] <hazmat> hmm.. bootstrapping on ec2 takes a very long time
[15:57] <hazmat> for the command to complete
[16:42] <fwereade_> bbl
[18:01] <hazmat> is juju trunk supposed to build?
[18:01] <hazmat> provider/ec2/ec2.go:131: inst.Instance.IPAddress undefined (type *ec2.Instance has no field or method IPAddress)
[18:09] <rogpeppe> hazmat: i think you need to do go get -u launchpad.net/goamz/ec2
[18:10] <hazmat> rogpeppe, thanks
[18:11] <rogpeppe> fwereade_, natefinch, TheMue, anyone else: , here's a large but trivial CL, just moving test code around: https://codereview.appspot.com/13348049/
[18:22] <rogpeppe> hazmat: for the record, there's no a file in the juju-core root (dependencies.tsv) that declares the revision numbers of dependencies
[18:27] <rogpeppe> s/no a/now a/
[18:30] <hazmat> hmm ec2 Storage().RemovaAll() takes 50s  of 1m3s for destroy-environment
[18:37] <rogpeppe> hazmat: hmm, how many tools were uploaded?
[18:38] <hazmat> rogpeppe, 1
[18:39] <rogpeppe> hazmat: that's really odd
[18:39] <hazmat> rogpeppe, it was an empty environment, nothing deployed
[18:39] <rogpeppe> hazmat: i mean, i know s3 is slow, but...
[18:41] <hazmat> rogpeppe, do we even need to remove them?
[18:41] <hazmat> rogpeppe, i mean minus provider-state, its basically just cache
[18:41] <rogpeppe> hazmat: it tries to remove all trace of an environment when it's destroyed
[18:41] <hazmat> except security groups
[18:42] <rogpeppe> hazmat: unfotunately that's not possible
[18:42] <rogpeppe> hazmat: (i tried)
[18:42] <hazmat> rogpeppe,  right.. but its not clear that we're adding significant value destroying the bucket vs the time it takes
[18:42] <rogpeppe> hazmat: i've never seen it take anywhere near that long
[18:43] <rogpeppe> hazmat: does this happen every time for you?
[18:44] <hazmat> rogpeppe, atm yes, i'm still instrumenting, but about to switch out for a meeting
[18:46] <hazmat> rogpeppe, bootstrap also takes quite a while
[18:46] <rogpeppe> hazmat: with --upload-tools ?
[18:46] <hazmat> rogpeppe, no
[18:48] <rogpeppe> hazmat: hmm, it's not bad for me if i'm not uploading tools
[18:48] <hazmat> rogpeppe, 2m9s for me
[18:48] <hazmat> rogpeppe, define not bad?
[18:50] <rogpeppe> hazmat: 26s for me
[18:50] <hazmat> rogpeppe, which provider?
[18:50] <rogpeppe> hazmat: ec2
[18:51] <hazmat> rogpeppe, hmm.. region?
[18:51] <rogpeppe> hazmat: us-east, i think
[18:51] <rogpeppe> hazmat: yeah
[18:52] <hazmat> i'm working against us-west-2 (us-east is literally my backyard)
[18:54] <rogpeppe> hazmat: part of the slowness is timeouts for eventual consistency. it looks like if you haven't uploaded any tools, we time out, because the bucket doesn't exist and we poll just in case it was only created a moment ago
[18:54] <rogpeppe> hazmat: that's 5s of my time
[18:54] <rogpeppe> hazmat: there's another 10s gap where i'm not sure what it's doing
[18:54] <hazmat> gotta run for a meeting..
[18:54] <rogpeppe> hazmat: k
[18:55] <hazmat> rogpeppe, it does look like the destroy time was an abberation, i'm getting closer to 30s averages now.
[18:55] <rogpeppe> hazmat: ok. but that's still a bit rubbish
[18:56] <rogpeppe> hazmat: i'd like to add trace messages that print all traffic to and from servers
[18:56] <rogpeppe> hazmat: so we can see just what's going on
[18:56] <hazmat> rogpeppe, here's my instrumentation on destroy fwiw http://pastebin.ubuntu.com/6045232/
[18:57] <rogpeppe> hazmat: looks like there might be 15s worth of eventual-consistency waiting in there
[18:58] <rogpeppe> hazmat: or maybe 20s
[18:58] <hazmat> rogpeppe, should destroy-env care about eventual consistency?
[18:59] <rogpeppe> hazmat: the difficulty is writing live tests that pass consistently
[18:59] <rogpeppe> hazmat: if we've just created some storage, then try to delete it, the operation often fails
[18:59] <rogpeppe> hazmat: unless we try for a while
[18:59] <rogpeppe> hazmat: i frickin' hate it
[18:59] <hazmat> right, but that's a test responsibility not a user experience
[19:00] <hazmat> ?
[19:00] <rogpeppe> hazmat: well, we're testing that the operations work
[19:00] <hazmat> running away
[19:00] <hazmat> to meeting ;-)
[19:00] <rogpeppe> hazmat: :-)
[19:25] <natefinch> ha, wow, it took me forever to figure out why some of my code kept saying "LICENSE" was not a file, when I clearly saw it right in the filesystem.  Finally realized the file was actually named LICENCE ... you crazy brits :)
[19:45]  * natefinch just finally proposed his Windows changes for juju client, including the installer... now if only everyone else wasn't gone for the weekend :)
[20:46] <rogpeppe> natefinch: i'll swap you a review: https://codereview.appspot.com/13355044
[20:46] <rogpeppe> natefinch: :-)
[20:47] <rogpeppe> natefinch: although i fear mine is probably a lot more work than yours to review...
[20:50] <TheMue> so, guys, i'll stepping out, having a nice weekend
[20:53] <evilnickveitch> TheMue, thanks for your efforts!
[20:54] <TheMue> evilnickveitch: np, anytime again
[20:59] <natefinch> rogpeppe: I'm at eod, but will look monday morning
[20:59] <rogpeppe> natefinch: np
[20:59] <rogpeppe> natefinch: i'm away next week BTW
[20:59] <natefinch> oh yeah.  have fun!
[21:00] <rogpeppe> natefinch: what's your CL, BTW?
[21:00] <natefinch> rogpeppe: https://codereview.appspot.com/13079045/
[21:00] <rogpeppe> natefinch: ta
[21:00] <rogpeppe> natefinch: have a great weekend
[21:00] <rogpeppe> natefinch: and a good week too!
[21:00] <natefinch> rogpeppe:  you too
[22:49] <rogpeppe> right, that's me for the week
[22:49] <rogpeppe> g'night anyone that's still around :)