[01:46] <menn0> thumper: Fix for the "migrations get stuck" bug: http://reviews.vapour.ws/r/5599/
[01:46]  * thumper looks
[01:51] <thumper> menn0: just one Q on the review
[01:59] <menn0> ok
[01:59] <thumper> oh ffs, will this branch die...
[02:35] <anastasiamac_> thumper: u reviewed Casey's PR yesterday (http://reviews.vapour.ws/r/5588/) r u k to stamp it?
[02:53] <axw> wallyworld: still going on this, but if you have any time I'd appreciate if any early comments before I delve into unit tests: https://github.com/juju/juju/compare/master...axw:login-local-macaroon?expand=1
[02:53] <wallyworld> ok, give me 10
[02:53] <axw> wallyworld: in particular, there's some UX changes
[02:53] <wallyworld> or 5
[02:53] <axw> sure, take your time
[02:56] <anastasiamac_> axw: menn0:wallyworld:thumper: any idea who is looking after https://github.com/juju/blobstore? us or Uros's team?
[02:56] <wallyworld> either
[02:57] <wallyworld> whoever needs to make changes does so
[02:57] <wallyworld> we created it initially
[02:57] <wallyworld> they have landed patches since
[02:57] <menn0> anastasiamac_: I emailed rog about it yesterday. what's up?
[02:58] <anastasiamac_> wallyworld: menn0: m trying to determine if the issues agaisnt this libraries are ours (and hnce need to be in launchpad) or theirs (and then I do not need to worry)
[02:58] <anastasiamac_> library*
[02:59] <wallyworld> i don't think we track bugs for that library on launchpad
[03:00] <wallyworld> any issues for those upstream libraries in github.com/juju are tracked in github IIANM
[03:04] <anastasiamac_> wallyworld: not all, there are some bugs in launchpad. for example, most recently, licence bugs were floating around
[03:05] <wallyworld> oh? ok. what project were they filed against?
[03:05] <anastasiamac_> wallyworld: and as far as I can see we r not *really* tracking in github
[03:05] <menn0> anastasiamac_: in case it's relevant, I emailed rog b/c we don't use github.com/juju/blobstore directly. We just the newer version at gopkg.in/juju/blobstore.v2.
[03:05] <wallyworld> oh, that needs to be fixed :-(
[03:05] <menn0> anastasiamac_: the only reason we still have it in dependencies.tsv is because charmstore.v5 still uses it
[03:06] <anastasiamac_> menn0: tyvm - u r the best \o/ we'll wait for rog :D
[03:06] <menn0> rog said that it shouldn't cause a problem b/c of the way it's used
[03:06] <wallyworld> we could do tha one ourselves if we really wanted to :-)
[03:06] <menn0> and that they're moving away from using mongodb for a blobstore "soon" anyway
[03:06] <anastasiamac_> oooh.. what r they moving toward to?
[03:07] <menn0> anastasiamac_: no idea, he didn't say
[03:07] <anastasiamac_> intersting ... :D
[03:08] <menn0> this is what rog said: We actually plan to move away from using mongo-based blobstore at some point but in the meantime we should probably move to v2. I don't see any potential harm in having both versions as deps in juju though in the meantime - neither have any global state AFAIR.
[03:08] <anastasiamac_> menn0: \o/ k
[03:08]  * wallyworld hates carrying unnecessary deps
[03:08] <wallyworld> adds to build time and landing bot time
[03:09] <anastasiamac_> wallyworld: so here is one for ur and thumper's delight: 2 PR against juju/cmd (on github) LGTM'ed in 2014.. one can be merged, one has conflicts :D
[03:09] <wallyworld> "delight"
[03:09] <anastasiamac_> wallyworld: thumper: could we plx decide if we close the or land them?
[03:09] <anastasiamac_> \o/
[03:10] <anastasiamac_> always "delight"
[03:10] <anastasiamac_> hand-in-hnad with  "wonder" :)
[03:10]  * thumper relocates
[03:10] <anastasiamac_> to OZ?
[03:10] <thumper> dropping kid at bjj and working from cafe there
[03:10] <thumper> back online from cafe
[03:10] <anastasiamac_> wallyworld: i thin u've just been delegated
[03:11]  * wallyworld is busy, will look later
[03:11] <anastasiamac_> awesome \o/
[03:16] <anastasiamac_> axw: menn0: wallyworld: is https://github.com/juju/errgo officially deprecated in favour of juju/errors?
[03:16] <wallyworld> only in core
[03:16] <wallyworld> it's still used upstream :-( :-(
[03:17] <axw> wallyworld: does it? macaroon stuff uses gopkg.in/errgo.v1
[03:17] <wallyworld> axw: that's my point :-)
[03:17] <axw> can't see any imports - I think it's dead
[03:17] <wallyworld> i want to use juju/errors everywhere
[03:17] <anastasiamac_> wallyworld: axw: so if there is a PR against this library, who is to review/land?
[03:18] <axw> wallyworld: I just meant there's gopkg.in/errgo.v1, which != juju/errgo. but yes, we still have two
[03:18] <anastasiamac_> r we responsible for it?
[03:18] <wallyworld> we = rog
[03:18] <anastasiamac_> we != rog :D
[03:19] <wallyworld> juju core doesn't maintain errgo
[03:19] <wallyworld> juju core would like not to have to pull in errgo at all
[03:19] <anastasiamac_> \o/
[03:19] <anastasiamac_> i'll happily ignore these PRs then :D
[03:20] <anastasiamac_> wallyworld: axw: menn0: what about https://github.com/juju/errors?
[03:21] <wallyworld> that's out error package
[03:21] <wallyworld> our
[03:21] <menn0> kinda need that one :)
[03:22] <axw> we could just do better and stop creating errors
[03:25] <wallyworld> lol
[03:26] <anastasiamac_> oooh, axw, wallyworld: what about juju/go4?.. talking about lugging things around :D
[03:27] <axw> anastasiamac_: I think rog is using that
[03:27] <anastasiamac_> k :) 4? isn;t he on the tip of go7?
[03:28] <wallyworld> that's not go the sdk
[03:43] <anastasiamac_> wallyworld: axwwhat about juju/ratelimit? is it rog too?
[03:44] <wallyworld> not sure, would need to search the code base
[03:55] <thumper> :-( 	 cmd/juju/controller/listblocks_test.go           |  124 -------------
[03:55] <thumper>  49 files changed, 1014 insertions(+), 1238 deletions(-)
[03:55] <thumper> tim@elwood:~/go/src/github.com/juju/juju (block-cmd-rework)$ git diff master | wc -l
[03:55] <thumper> 3229
[03:55] <thumper> wallyworld: sorry
[03:55] <wallyworld> yay!
[03:55] <wallyworld> and i know you'r enot sorry at all
[03:56] <thumper> http://reviews.vapour.ws/r/5600/
[03:56] <thumper> wallyworld: just adding qa steps
[03:58] <thumper> wallyworld: it has been epic
[03:59] <thumper> wallyworld: that review addresses all the block related commands, and a few drive by fixes
[03:59] <thumper> some of which were necessary, others not entirely so
[04:00] <wallyworld> ok, am finishing something, then looking at andrew's diff then yours
[04:00]  * thumper nods
[04:00] <thumper> the change that introduced the import cycle that I had to fix was moving the CmdBlockHelper out of cmd/juju/common
[04:00] <thumper> it was the only file that brought gocheck into the package, which made gocheck a non-testing dependency
[04:00] <thumper> moved it into testing
[04:01] <thumper> that introduced an import cycle in the api package
[04:01] <thumper> due to the mongo.Version structure over the api
[04:06] <anastasiamac_> thumper: what an adventure! thank you :D
[04:08] <veebers> thumper: That PR removes the block, unblock commands right?
[04:08] <thumper> veebers: it renames
[04:08] <thumper> veebers: block -> disable-command
[04:09] <thumper> unblock -> enable-command
[04:09] <thumper> block list -> disabled-commands
[04:09] <veebers> thumper: sorry yeah renames. That's going to need a change to the assess_block CI test when it lands
[04:09]  * thumper nods
[04:10] <veebers> thumper: I should be able to rough it up now, but not sure if it'll land before/when your PR does
[04:10] <thumper> veebers: the branch is still being reviewed
[04:12] <veebers> thumper: ack, I'll get something ready in the wings
[04:38]  * thumper relocates again
[05:01] <axw> wallyworld: I've just updated my branch, I think I've got all the loose ends now. now I need to write a bunch of tests
[05:01] <wallyworld> axw: ok, almost ready to look
[05:11] <wallyworld> axw: looking now. i've add to my PR to address the comments, but also added machine and core count to show-controller. a difference with current behavior is that it does an AllModels() api call to get the model info to stick in the output, rather than simply only looking at locally cached info
[05:11] <wallyworld> and that's more correct anyway
[05:12] <wallyworld> but it doesn't currently update the local yaml though
[05:15] <axw> wallyworld: doesn't update the cache for list-controllers you mean?
[05:15] <wallyworld> axw: doesn't update the local model yaml
[05:16] <wallyworld> so this is for show-controller
[05:16] <wallyworld> previously, show controller would only look at local models yaml
[05:16] <wallyworld> now it makes an api call
[05:17] <wallyworld> as it needs to get the machine and core info
[05:17] <wallyworld> and so it also then gets the latest models as well
[05:18] <axw> wallyworld: looks fine, but can you please get OCR to check too. it's over 500 lines now
[05:18] <wallyworld> ffs
[05:18] <wallyworld> i was going to propose separately
[05:19] <wallyworld> should have done that
[05:19] <wallyworld> at the expense of velocity
[05:19] <menn0> anastasiamac_: I improved that test as a result of your comment
[05:19] <axw> wallyworld: I only say because I'm actually having trouble keeping track of all the changes
[05:19] <anastasiamac_> menn0: veni, vidi, vici
[05:19] <axw> tiny brain
[05:19] <anastasiamac_> menn0: i've commented and stamped \o/ looks awesome
[05:23] <wallyworld> axw: you don't need to import errgo just to call Cause() - juju/errors.Cause() will work IIANM
[05:24] <axw> wallyworld: ah ok, thanks
[05:25] <wallyworld> axw: errgo and errors both define their causer interface identically
[05:27] <axw> wallyworld: it might be more useful for you to pull the branch and test it, than to try and review it as it is. I'll break it up later on and propose a few bits separately. mostly it'll have to be done as one though
[05:28] <axw> if you don't have time, that's fine
[05:28] <wallyworld> axw: ok, can do. the fine detail of the auth stuff is a little out of my comfort zone
[05:28] <axw> wallyworld: no worries. me too, hence why it's taken so long :)
[05:28] <wallyworld> have to wait for a 2nd review anyway :-/
[05:29] <wallyworld> def get rog to look :-)
[05:29] <wallyworld> axw: axtually, looks like there will be a conflict, wanna rebase before i pull?
[05:30] <axw> wallyworld: sure, just a minute
[05:34] <axw> wallyworld: pushed. I just realised I missed something, which is that "juju logout" will need to clear any cookies for the controller. I might do that in a follow up though
[05:34] <wallyworld> ok
[06:01] <wallyworld> axw: appears to work ok. password change, deleting go-cookies etc. i get prompted as i would expect for the password and then from there it seems to use the macaroon ok. any thing in particular else to test?
[06:02] <axw> wallyworld: not really, mostly just wanted to you sanity check. does it feel natural to you? as opposed to how it was, where you would get told that your login expired, and you had to run "juju login"
[06:02] <axw> wallyworld: FYI, I also tested "juju register" to make sure you get logged in automatically still
[06:02] <wallyworld> axw: yeah, much nicer to have you simply prompted
[06:02] <axw> cool
[06:02] <wallyworld> IMHO
[06:02] <axw> wallyworld: thanks. updating tests now, will propose it for real later on
[06:03] <wallyworld> axw: eg with github, if my cached password expires, it simply just prompts again
[06:03]  * axw nods
[06:12] <wallyworld> anastasiamac_: if you get a chance, i'd love a 2nd look at this, it's a fraction over 500 lines sadly http://reviews.vapour.ws/r/5594/
[06:14] <babbageclunk> wallyworld: Morning!
[06:14] <wallyworld> hey
[06:15] <babbageclunk> wallyworld: Any idea what this maas user data that thumper's talking about is?
[06:15] <babbageclunk> wallyworld: I can't find it.
[06:15] <wallyworld> no :-(
[06:15] <wallyworld> i'm sure they maas guys told me to use tags
[06:16] <babbageclunk> Seems kind of unlikely that there's yet another way of searching for machines.
[06:16] <wallyworld> yeah
[06:16] <babbageclunk> ok cool - I was feeling a bit silly there
[06:17] <wallyworld> you and me both
[06:17] <wallyworld> might pay to ask a maas person directly
[06:26] <babbageclunk> are there any in a convenient timezone?
[06:28] <babbageclunk> I'll ask allenap once he's up.
[07:10] <anastasiamac_> wallyworld: was afk - kids/school/lif (apparently, there is that). I can have a look after dinner/kids bedtime :D is it k?
[07:10] <wallyworld> anastasiamac_: sure, am working on the next bit in preparation
[07:11] <anastasiamac_> wallyworld: \o/ tyvm :) hope u have dinner in btw too :D
[07:11] <wallyworld> yeah, at some point :-)
[08:04] <axw> wallyworld menn0: to what degree is migration supposed to be stable in 2.0? there's some macaroon stuff in there that will need to change
[08:04] <wallyworld> axw: you mean model migration or schema changes for upgrades?
[08:05] <axw> wallyworld: model migration
[08:06] <wallyworld> axw: we have some lattitude - an external tool is being used to handle parts of the model the 2.0 agent doesn't know about
[08:06] <wallyworld> assuming the stuff you need done doesn't make 2.0
[08:07] <axw> wallyworld: well I'm going to have to disable the ability to use macaroons to do the migration, so it would only be usable if you have a password in accounts.yaml
[08:48] <frobware> mgz: you about?
[08:48] <frobware> mgz: ah, no... you're crewing...
[10:35] <voidspace> babbageclunk: ping
[10:38] <babbageclunk> voidspace: pong
[13:04]  * rick_h_ pokes head up and looks around
[13:11] <macgreagoir> frobware: You have 5 mins? Wanna stay in that HO?
[13:11] <frobware> macgreagoir: I'm still in there
[13:12] <macgreagoir> frobware: Hmmm... I can't see you...
[15:55] <perrito666> bbl lunch
[17:28] <alexisb> perrito666, ping
[17:29] <perrito666> alexisb: pong
[17:30] <alexisb> perrito666, have you pick up a bug yet?
[17:30] <perrito666> yes I have, https://bugs.launchpad.net/juju/+bug/1616197
[17:30] <mup> Bug #1616197: juju restore-backup error <backup-restore> <juju:In Progress by alexis-bruemmer> <https://launchpad.net/bugs/1616197>
[17:30] <perrito666> but I am in time to switch if you have something not backup related
[17:31] <perrito666> anyting at all
[17:31] <alexisb> perrito666, ok proceed thank you
[17:31] <alexisb> nope that is a good one for you to take
[17:31] <perrito666> k, Ill proceed
[17:31]  * perrito666 puts the hazmat suit again
[20:28] <thumper> morning folks
[20:33] <perrito666> going to fetch some meds, bbl
[20:39] <alexisb> morning thumper
[21:16] <thumper> alexisb: morning
[21:18] <perrito666> Thumper sorry for whatever I broke that you where saying last night
[21:18] <perrito666> I already forgot what it was
[21:19] <thumper> perrito666: already fixed and landed
[21:19] <thumper> reminder though not to use external package structures over the api
[21:19] <thumper> apiserver/params was using mgo.Version
[21:19] <thumper> no
[21:19] <thumper> mongo.Version
[21:19] <thumper> anyway
[21:19] <thumper> now it isn't
[21:20] <veebers> thumper: what's the easiest way to find out which beta version the block command was added to?
[21:21] <thumper> veebers: um... block has been around for a long time
[21:21] <thumper> do you mean my change to block?
[21:21] <veebers> thumper: oh no, I meant originally added, this is for updating the ci tests :-)
[21:21] <veebers> thumper: all good, that pretty much answers my question
[21:21] <thumper> if `juju block list` returns non-zero, it isn't found and has new commands
[21:22] <thumper> veebers: it is in 1.25
[21:22] <veebers> thumper: ah right, thanks :-)
[21:24] <thumper> BOOM!
[21:24] <thumper> success on that test
[21:28] <menn0> wallyworld: ping
[21:28] <wallyworld> hey
[21:35] <veebers> thumper: Am I right in my reading that you changed all-changes -> all for enable-command? (the PR says you did but the help text still says 'all-changes')
[21:37] <thumper> veebers: yes, "all-changes" is now just "all"
[21:38] <veebers> thumper: Cool, I'll file a bug for the help text
[21:40] <mup> Bug #1620830 opened: destroyEnvSuite.TestDestroyEnvironmentCommandEFlag interface is nil <ci> <intermittent-failure> <panic> <regression> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1620830>
[21:40] <mup> Bug #1620832 opened: github.com/juju/juju/featuretests MSpan_Sweep: bad span state <ci> <go1.6> <intermittent-failure> <regression> <unit-tests> <juju:Triaged> <juju-core:Triaged> <https://launchpad.net/bugs/1620832>
[21:42]  * redir goes to make tea and change computers, brb
[22:25] <thumper> menn0 or other reviewer? http://reviews.vapour.ws/r/5609/
[22:26] <menn0> thumper: looking
[22:27] <menn0> axw: ping me when you're around regarding migrations + macaroon issues
[22:29] <thumper> update juju/testing dep http://reviews.vapour.ws/r/5610/
[22:29] <thumper> one line review
[22:31] <thumper> wallyworld: ^^
[22:35] <menn0> thumper: more ship its
[22:36] <thumper> menn0: cheers
[22:55] <axw> menn0: I'm here now
[23:12] <thumper> review board not picking this up for some reason.https://github.com/juju/juju/pull/6172
[23:12] <thumper> https://github.com/juju/juju/pull/6172
[23:40] <thumper> wallyworld:  access stays unknown... http://pastebin.ubuntu.com/23143762/
[23:41] <thumper> hmm... older controller
[23:41] <thumper> perhaps wasn't sending right data back
[23:41] <wallyworld> thumper: correct. did you even read the messsage
[23:41] <wallyworld> --refresh
[23:41] <thumper> see the last line
[23:41] <thumper> with --refresh
[23:41] <wallyworld> oh
[23:42] <wallyworld> in that case the controller is sending back the access, i'll have to understand the repor steps
[23:42] <thumper> bootstrapping newer
[23:43] <wallyworld> thumper: at bootstrap, access and version is filled in, it should never say unknow unless tyoy are running an older version
[23:44] <thumper> wallyworld: I think it was probably due to it being an older controller
[23:44] <wallyworld> my guess is you had an older version bootstrapped
[23:44] <wallyworld> yep, that won't work