[00:08] <davecheney> axw: do you think you could backport https://github.com/juju/juju/pull/3841 to 1.25 ?
[00:08] <davecheney> to see if we can get the xenial tests passing on the 1.25 branch ?
[00:26] <davecheney> thumper: http://reviews.vapour.ws/r/3278/ fixed and verified it builds under windows, linux, and darwin
[00:41] <axw> davecheney: 1.25 doesn't have LXD to begin with
[00:41] <axw> so must be a different issue
[00:47] <davecheney> ok
[00:47] <davecheney> thanks
[01:07] <thumper> davecheney: I'm pretty sure that I was trying to get us away from fslocks in the linux code at least
[01:07] <thumper> but then I hit places where people were caring about the message
[01:07] <thumper> and I rage quit
[01:07] <thumper> however
[01:07] <thumper> I think if we had a proper lock that went away with the process
[01:08] <thumper> we could simplify quite a bit of code
[01:10] <davecheney> i don't think we want, lock.Lock("message")
[01:10] <davecheney> we want lock.TryLock(timeout)
[01:15] <davecheney> thumper: i just said to axw that I think at least some cases of fslock / filelock
[01:15] <davecheney> we don't want locking
[01:15] <davecheney> just atomic replacement
[01:15] <davecheney> axw, what were the two case of fslock you knew of ?
[01:16] <axw> env cache I think (thumper? is that right), and serialising hook execution on a machine
[01:16] <axw> i.e. so two units (different processes) cannot execute hooks at the same time
[01:17] <thumper> I don't think it makes any sense to have a Lock function that doesn't lock. TryLock makes much more sense
[01:17] <davecheney> boom, and all works sopts, https://bugs.launchpad.net/juju-core/+bug/1471941
[01:17] <mup> Bug #1471941: windows unit tests fail because handles are not available <blocker> <ci> <intermittent-failure> <regression> <unit-tests> <windows> <juju-core:Triaged> <https://launchpad.net/bugs/1471941>
[01:17] <thumper> client side cache, template creation, uniter lock
[01:17] <davecheney> thumper: those all sound like atomic replacement
[01:17] <thumper> also I believe something in reboot
[01:17] <thumper> and maybe actions?
[01:17] <davecheney> axw: serialised hook execution
[01:18] <davecheney> can we not make that ownership of the uniter socket ?
[01:18] <axw> davecheney: different unit agents on the same machine
[01:18] <axw> davecheney: only one unit agent should be executing a hook at the same time
[01:18] <davecheney> why not just open a known unix socket on localhost
[01:18] <davecheney> if the host doens't support unix sockets, tcp will do
[01:19] <thumper> davecheney: most places it is process serialisation, not just atomic replacement
[01:19] <davecheney> if hook execution is per machine
[01:19] <thumper> note that juju run goes through the uniter execution code
[01:19] <thumper> although I think that axw
[01:19] <thumper> 's fix
[01:19] <thumper> make it more in sync with a hook type
[01:28] <davecheney> thumper: sinzui https://bugs.launchpad.net/juju-core/+bug/1471941
[01:28] <mup> Bug #1471941: windows unit tests fail because handles are not available <blocker> <ci> <intermittent-failure> <regression> <unit-tests> <windows> <juju-core:Triaged> <https://launchpad.net/bugs/1471941>
[01:28] <davecheney> why did this bug suddently become blocking ?
[01:29] <sinzui> davecheney: when it suddenlly startd failing reliably a few hour ago
[01:30] <sinzui> The bug has a long history, but it recently became a problem in master http://reports.vapour.ws/releases/issue/559acfbe749a565572d289f1
[01:30] <davecheney> WARNING: Error cleaning up temporaries:
[01:30] <davecheney> ERORS LOCGED AT WARNIGN!!
[01:32] <thumper> heh
[01:32] <davecheney> sinzui: i see the bug
[01:32] <davecheney> given it will require a third party to land any fix
[01:32] <davecheney> can I implore you to not make it blocking ?
[01:34] <sinzui> davecheney: how do we encourage someone to fix it, can we revert?
[01:35] <sinzui> davecheney: or is there something I can do to mitigate the issue so that other regressions don't appear in the window's tests?
[01:38] <davecheney> sinzui: the problem is whatever is writig that log file hasn't shut down in time
[01:39] <davecheney> and windows won't let you unlink open files
[01:39] <davecheney> my solution is to fix gocheck to not fail on a warning
[01:40] <sinzui> davecheney: could a reboot to recycle space and mem help the log file to shutdown in time?
[01:40]  * sinzui dreds rebooting every day
[01:41] <thumper> hmm... we could make it easier by making the tests clean up after themselves
[01:41] <thumper> but the way to force this is to do what dave says
[01:41] <thumper> and have gocheck fail if it can't delete the files
[01:44] <davecheney> thumper: gocheck fails now
[01:44] <davecheney> but it calls it a warning :grrr:
[01:56] <sinzui> davecheney: 1.25 looks like it will pass. I can try rebooting the machine hoping to recover something. the machine looks clean. I will then retest the last master rev.
[02:09] <thumper> sinzui: what is the 1.20 version that we tell people to upgrade through?
[02:09] <sinzui> thumper: 1.20.14 is final
[02:10] <thumper> sinzui: ta
[02:23] <sinzui> davecheney: thumper : the windows unit tests just failed again. Looking at the history of thus job against master, I think something since commit da5ec85 has upset the test suite.
[02:31] <thumper> sinzui: don't suppose you have a link to that commit?
[02:31]  * thumper looks at the git cli
[02:32] <thumper> sinzui: really?
[02:32] <thumper> that commit doesn't really do much
[02:32] <thumper> Merge pull request #3841 from axw/lp1520380-remove-lxd-containertype
[02:32] <thumper> sinzui: that one right?
[02:32] <sinzui> thumper: that commit was the last pass. since then master fails
[02:33] <thumper> oh, something since that
[02:33] <thumper> that makes more sense
[02:34] <cherylj> wallyworld: ping?
[02:35] <wallyworld> hey
[02:35] <cherylj> wallyworld: quick question for you on the unit agent / unit workload status
[02:35] <wallyworld> sure
[02:36] <cherylj> was the idea that the old status docs from before the split happened would just become the unit agent status docs?
[02:36] <cherylj> and there was no need to update them during an upgrade?
[02:36] <wallyworld> yes
[02:36] <cherylj> waigani_: ^^
[02:36] <wallyworld> hence the #charm suffix for worklaod status
[02:36] <cherylj> wallyworld: that's what I thought, but wanted to sanity check
[02:36] <wallyworld> sure
[02:36] <cherylj> thanks!
[02:37] <waigani_> cherylj, wallyworld: okay cool, will do
[02:37] <wallyworld> given that, what upgrade step is missing?
[02:37] <cherylj> creating the status doc for u#<unit>#charm
[02:38] <waigani_> wallyworld: http://reviews.vapour.ws/r/3279/
[02:38] <wallyworld> hmm, i had thought that we treated missing as unknown
[02:38] <davecheney> sinzui: i'll take another look
[02:38] <wallyworld> that's how it was originally done i think
[02:38] <cherylj> wallyworld: I can look at the history
[02:39] <wallyworld> maybe not, can't recal now
[02:39] <cherylj> but now it fails with a "not found"
[02:39] <wallyworld> ok, clearly a problem then
[02:39] <wallyworld> it's been a while so i could be misremembering
[02:39] <cherylj> wallyworld: so, is the solution to treat it as unknown?  or insert a doc for each during upgrade?
[02:40] <cherylj> I was assuming that it should be inserted as an upgrade step
[02:40] <wallyworld> a doc is cleaner
[02:40] <cherylj> ok
[02:40] <waigani_> so that's what I've currently got: a new agent status with status unknown inserted on upgrade
[02:41] <waigani_> wallyworld: any chance if you could take a quick look at the upgrade step, see if it makes sense?
[02:41] <waigani_> link above
[02:41] <wallyworld> looking
[02:42] <waigani_> cheers
[02:43] <wallyworld> waigani_: comment doesn't make sense, u#name is not invalid
[02:44] <waigani_> wallyworld: but it's invalid for a unit
[02:44] <wallyworld> not for an agent
[02:44] <wallyworld> we need both
[02:45] <waigani_> wallyworld: that's what this upgrade step does
[02:45] <waigani_> wallyworld: do you mean it's just the wording of the comment?
[02:45] <wallyworld> ok, i'll read the code, the comment was just confusing
[02:48] <wallyworld> waigani_: comment is plain wrong, u#name is not invalid. units are not misidentified. the issues is that in settings, there is an entry for u#name ony, when there should also be one for u#name#charm
[02:49] <davecheney> sinzui: http://reports.vapour.ws/releases/2859/job/run-unit-tests-win2012-amd64/attempt/838
[02:50] <davecheney> this file, base_windows.go doesn't appear to exist on master
[02:50] <davecheney> i'm probably looking in the wrong place
[02:50] <davecheney> sinzui: nope, not on master
[02:50] <davecheney> how come this bug is blocking master ?
[02:51] <sinzui> davecheney: because only master is failing because of it
[02:51] <davecheney> github.com/juju/juju/testing/base_windows.go
[02:51] <davecheney> ^ this file does not exist on windows
[02:51] <davecheney> sorry
[02:51] <davecheney> in master
[02:51] <davecheney> at least that I can see
[02:52] <davecheney> is this for another branch ?
[02:52] <davecheney> this file exists in juju-1.25.1
[02:52] <davecheney> but not on master
[02:53] <thumper> davecheney: that attempt above is on a feature branch
[02:53] <thumper> the resources one
[02:54] <davecheney> sinzui: this doesn't sound like it's on master
[02:54] <davecheney> can you please unblock master
[02:54] <sinzui> davecheney: this issue is simple. The windows unit tests passed a few commits ago. Now they do not. The job passes on other branches, ergo, something has changed master to make the failure conistent. The issue matches an existing bug seen intermitttently in other brances. We escallated the bug a few hours ago
[02:54] <wallyworld> waigani_: you need to take another look - it's not correct as is
[02:54] <thumper> sinzui: got a link to a failing run on master?
[02:55] <davecheney> sinzui: please can you point me to the jenkins run and i'll look into it
[02:55] <thumper> menn0: I think this may be your one
[02:55] <thumper> it is an upgrade featuretest
[02:55] <sinzui> uhhh, thumper, the issue linked int eh bug diescription points to everything, and all the recent failures are in master
[02:56] <davecheney> sinzui: i'm not very familar with how to navigate reports.sw
[02:56] <waigani_> wallyworld: okay, will do
[02:56] <thumper> menn0: ping
[02:56] <davecheney> i'd apprecaite it if ou could provide me with a link to the jenkins failure
[02:56] <wallyworld> waigani_: cherylj  suggested the correct approach
[02:56] <sinzui> davecheney: thumper  http://reports.vapour.ws/releases/issue/559acfbe749a565572d289f1 from the bug will help. the last six failures are recent and affect master
[02:57] <menn0> thumper: pong
[02:57] <thumper> menn0: I believe the blocker above is due to the re-enabled upgrade feature tests
[02:57] <thumper> menn0: see http://reports.vapour.ws/releases/3376/job/run-unit-tests-win2012-amd64/attempt/1657
[02:57] <davecheney> sinzui: is this the failure you are talking about ? http://juju-ci.vapour.ws:8080/job/run-unit-tests-win2012-amd64/1659/console
[02:58] <menn0> sigh
[02:58]  * menn0 looks
[02:58] <sinzui> davecheney: yes
[02:58] <davecheney> thank you for confirming
[02:58] <davecheney> ok, this is a different issue
[02:58] <davecheney> this is the failure i see
[02:58] <davecheney> upgrade_test.go:109:
[02:58] <davecheney>     go func() { c.Check(a.Run(nil), jc.ErrorIsNil) }()
[02:58] <davecheney> ... value *errors.Err = &errors.Err{message:"failed to create C:/Juju/bin/juju-run.exe symlink", cause:(*os.LinkError)(0xc084427f00), previous:(*os.LinkError)(0xc084427f00), file:"github.com/juju/juju/cmd/jujud/agent/machine.go", line:1775} ("failed to create C:/Juju/bin/juju-run.exe symlink: symlink c:\\users\\admini~1\\appdata\\local\\temp\\tmpivnvca\\gogo\\tmp-juju-testtxo382\\check-5796262061010820532\\7\\var\\lib\\juju\\tools\\machin
[02:59] <davecheney> ... error stack:
[02:59] <davecheney> http://paste.ubuntu.com/13590291/
[02:59] <davecheney> sorry for the fat finger
[02:59] <davecheney> somethign is trying to create a symlink on windows
[02:59] <davecheney> ain't nobody got time for that
[02:59] <menn0> thumper: i'll take a look
[02:59] <menn0> davecheney: i'll take a look at that one too since I can guess what it's a bout
[02:59] <menn0> about
[02:59] <thumper> menn0: ta
[03:00] <davecheney> menn0: want me to create a new bug ?
[03:00] <menn0> should make a nice change from the massive and horrible merge I've been working on all day
[03:00] <thumper> menn0: almost certainly, some of these shouldn't be running on windows...
[03:01] <davecheney> menn0: all yours, https://bugs.launchpad.net/juju-core/+bug/1521446
[03:01] <mup> Bug #1521446: featuretests: failure on windows due to ill informed symlink <juju-core:New> <https://launchpad.net/bugs/1521446>
[03:02] <menn0> davecheney, thumper: are these both with master?
[03:02] <thumper> the feature test failures are
[03:03] <mup> Bug #1521446 opened: featuretests: failure on windows due to ill informed symlink <juju-core:New> <https://launchpad.net/bugs/1521446>
[03:03] <thumper> menn0: any test that is deailing with running upgrade steps can be skipped on windows IMO
[03:03] <thumper> as they will never be executed on windows
[03:04] <thumper> menn0: I believe this is the source of the issue
[03:04] <menn0> thumper: fair enough... but I think they *did* run on windows previously
[03:05] <menn0> thumper: and I'm surprised the symlink issue isn't happening on Linux
[03:05]  * thumper shrugs
[03:05] <thumper> I've not looked deeply at it
[03:05] <thumper> just looked at the errors that were being spewed
[03:06]  * menn0 looks
[03:06] <thumper> and the commits that happened since the last bless
[03:06] <thumper> and put 1 and 1 together
[03:06] <thumper> I may have gotten 3
[03:06] <thumper> but this appears to be the issue
[03:06] <sinzui> thumper: davecheney I updated the bug description; https://bugs.launchpad.net/juju-core/+bug/1471941
[03:06] <mup> Bug #1471941: windows unit tests fail because handles are not available <blocker> <ci> <intermittent-failure> <regression> <unit-tests> <windows> <juju-core:Triaged> <https://launchpad.net/bugs/1471941>
[03:06] <davecheney> for extremely large valyes of 1
[03:06] <davecheney> sinzui: thank you
[03:07] <davecheney> sinzui: i think that is incorrect
[03:07] <davecheney> this faiure does not occur on master
[03:07] <davecheney> that file is not present
[03:07] <davecheney> this cannot be the same issue
[03:08] <sinzui> davecheney: interesting, because http://reports.vapour.ws/releases/issue/559acfbe749a565572d289f1 master was tested
[03:09] <sinzui> davecheney: The last run in that issue is http://reports.vapour.ws/releases/3376/job/run-unit-tests-win2012-amd64/attempt/1657 and it says master. Do you suspect a stale tarfile?
[03:10] <davecheney> sinzui: is it possible when disucssion these failures to refer to the jenkins build
[03:10] <davecheney> that is how I know how to diagnose those failures
[03:10] <davecheney> is there a link on the reviews.ws page to the jenkins failure ?
[03:11] <davecheney> nm
[03:11] <davecheney> that page has enough details
[03:11] <sinzui> davecheney: http://reports.vapour.ws/releases/3376/job/run-unit-tests-win2012-amd64/attempt/1657 jas a link that says "jenkins"
[03:11] <davecheney> sinzui: http://paste.ubuntu.com/13590518/
[03:11] <davecheney> this looks like the failure from that build
[03:12] <davecheney> sinzui: thanks
[03:12] <davecheney> which is a different bug
[03:12] <davecheney> sigh
[03:14] <sinzui> davecheney: I am not particullary interested in this bug or taht bug. We are certain this master and no other branch tested today fails and the failure is the windows job, and the failure is consistent in 7 tries.
[03:21]  * thumper is making juju jump through flaming upgrade hoops
[03:35] <thumper> wallyworld: http://reviews.vapour.ws/r/3281/diff/#
[03:36] <wallyworld> looking
[03:36] <mup> Bug # changed: 1497809, 1497810, 1509747, 1519994
[03:36] <mup> Bug #1521453 opened: worker/upgrader: test failure on windows due to file being in use <juju-core:New> <https://launchpad.net/bugs/1521453>
[03:41] <menn0> davecheney: regarding that symlink error... do you have the full error text? it's truncated in the backscroll above
[03:41] <wallyworld> thumper: just a wording quibble
[03:46] <menn0> davecheney: never mind... the error thumper asked me to look at also has the symlink failure. I think they're the same thing. Not being able to delete some log file is just a side effect.
[03:46] <thumper> wallyworld: hmm... I think we should change "We"
[03:47]  * menn0 doesn't have time for this. Skipping this test on windows. As thumper indicated, this test doesn't matter unless we plan to support state servers on windows.
[03:47] <thumper> wallyworld: how about "Please upgrade to the latest 1.25 release"
[03:49] <davecheney> menn0: +1
[03:49] <davecheney> 'aint going to be a state server for a long time
[03:50] <davecheney> along with the complete sellout of FOSS principals
[03:50] <davecheney> so skipping the test sounds like a reasonable middle ground
[04:13] <menn0> davecheney: http://reviews.vapour.ws/r/3282/
[04:15] <menn0> davecheney: actually, hold the phone. I just noticed this: https://bugs.launchpad.net/juju-core/+bug/1446885
[04:15] <mup> Bug #1446885: Skipped cmd/jujud/agent/upgrade_test.go tests on windows <skipped-test> <test-failure> <windows> <juju-core:Triaged by menno.smits> <https://launchpad.net/bugs/1446885>
[04:19] <menn0> davecheney: *now* PTAL: http://reviews.vapour.ws/r/3282/diff/
[04:23] <davecheney> menn0: looking
[04:24] <davecheney> menn0: why not
[04:24] <davecheney>  // +build !windows
[04:24] <davecheney> just skip 'em all
[04:24] <davecheney> meh, ship it
[04:25] <menn0> davecheney: I'd it this way as there may well be non-states server related upgrade tests in the future
[04:26] <davecheney> sure, i didn't mean to overcomplicate things
[04:26] <menn0> davecheney: merging nw
[04:26] <menn0> now
[04:27] <menn0> and now for more pain...
[04:28] <davecheney> \o/
[04:30] <davecheney> menn0: there are only two tests in that suite
[04:31] <davecheney> the skip should have probably gone to setupTest or something
[04:31] <davecheney> whatever
[04:31] <menn0> davecheney: nope, the way I did it was intentional
[04:32] <davecheney> fair enough
[04:32] <davecheney> zero ducks
[04:33] <davecheney> menn0: here is a small review in return
[04:33] <davecheney> http://reviews.vapour.ws/r/3283/
[04:36] <waigani_> cherylj, wallyworld: how does this look: http://reviews.vapour.ws/r/3279
[04:37] <waigani_> cherylj, wallyworld: sorry for the misunderstanding. I thought we had unit statuses disguised as agent statuses - not simply that unit statuses were missing.
[04:39] <menn0> davecheney: unreserved Ship It :)
[04:39] <davecheney> ta
[04:39] <davecheney> interstingly the race only happens on go 1.2
[04:39] <davecheney> something in later versions obscures it
[04:39] <menn0> that's gotta be a fluke
[04:39] <davecheney> even with a long stress time
[04:39] <davecheney> it's a race, sure and certain
[04:40] <davecheney> what is likely that in go 1.2, the machiner worker starts _after_ the test has completed
[04:40] <davecheney> but in later versions the machienr worker runs immediatley
[04:40] <davecheney> immedaitely
[04:40] <davecheney> the race is on the patch'ed net.GetInterfaces method
[04:41] <davecheney> PatchValue will be the first against the wall when the revolution comes
[05:17] <natefinch> why do we have a utils repo?
[05:17] <natefinch> why are all those packages not just in top level repos by themselves?
[05:43] <davecheney> natefinch: +1 from me
[05:43] <davecheney> if they cannot justify a repo of their own
[05:43] <davecheney> kill 'em with fire
[05:43] <natefinch> yep
[05:49] <wallyworld> waigani_: sorry, was at doctor, reviewed, a couple of small changes to make
[06:18] <waigani_> wallyworld: cool, just finished dinner, will update now
[10:01] <voidspace> dimitern: jam: frobware: fwereade: standup?
[10:03] <dimitern> omw
[11:20] <perrito666> oh great, my bug is caused by a lock, where have I seen this discussion before...
[11:36] <dimitern> frobware, ping
[11:38] <dimitern> frobware, now that I have working IPv6 setup on MAAS, I found a small issue with the bridge script in 1.25 - get_gateway needs to handle the case where you have multiple default gateways (e.g. fc00::.. and fe80::.. - the latter is always added)
[11:40] <dimitern> only needed change was to pipe the ip route list exact default output through "head -n1" first before piping that through cut
[11:45] <frobware> dimitern, ack
[12:08] <voidspace> dimitern: ping
[12:08] <dimitern> voidspace, pong
[12:09] <voidspace> dimitern: inside the discoverspacesWorker I need access to both the Spaces facade and the Subnets facade
[12:09] <voidspace> dimitern: can I create a single API struct with two facades
[12:09] <voidspace> dimitern: or should I have two separate API structs
[12:10] <voidspace> I need two FacadeCallers either way, I just wonder if it's good practise to concatenate them into a single type
[12:10] <dimitern> voidspace, why 2 facades?
[12:10] <voidspace> dimitern: Subnets and Spaces are separate facades and I need to create both spaces and subnets
[12:10] <dimitern> voidspace, both of these are client facades, not agent
[12:11] <voidspace> dimitern: do we have a different facade I should be using?
[12:11] <voidspace> dimitern: or should I just use an agent facade
[12:11] <dimitern> voidspace, nope I think we need a new facade including both of these methods, ideally also reusing the methods implementation in the 2 client and the new agent facades, using apiserver.common mixins
[12:12] <voidspace> dimitern: is there a difference in how agent facades are implemented?
[12:13] <voidspace> this card just got bigger if we can't use the existing api :-)
[12:13] <fwereade> voidspace, facades are client-specific
[12:14] <fwereade> voidspace, they're responsible for auth and params translation -- and if they're the only thing that needs the underlying capabilities they're often implemented there too
[12:14] <voidspace> fwereade: time to go duplicate some stuff then ;-)
[12:15] <fwereade> voidspace, if you have capabilities needed by multiple facades, great, move them into (a subpackage of) apiserver/common
[12:15] <voidspace> yep
[12:15] <voidspace> I'll do that first in a clean branch, then come back to the worker
[12:15] <dimitern> voidspace, yeah, what fwereade said; also we can reuse existing code, with some refactoring - see apiserver.common.StatusSetter for example how to do it
[12:15] <voidspace> dimitern: fwereade: thanks
[12:16] <fwereade> voidspace, fwiw, it is likely worth just finishing the worker in terms of (an) interface(s) that will be implemented by the client
[12:16] <fwereade> voidspace, the context switch will probably hurt more
[12:16] <fwereade> ?
[12:17] <voidspace> just looking at the code
[12:17] <voidspace> fwereade: you're probably right
[13:01] <mup> Bug #1521610 opened: Upgrade hung when moving from 1.18.4.3 to 1.24.7 <juju-core:New> <https://launchpad.net/bugs/1521610>
[13:35] <dimitern> it's a whole new experience being able to run make check *and* at the same time live test on 3 versions of virtual maas (in lxc) bootstrapping juju in kvms
[13:56] <TheMue> dimitern: seems you're really happy about your new machine. ;)
[13:57] <dimitern> TheMue, :) oh yeah!
[13:57] <TheMue> dimitern: I've got a MBP here, i7, 2.5 MHz, 16 Gigs, and 512 Gigs SSD. only hard part is switching from German to US keyboard :)
[13:58] <dimitern> TheMue, sounds nice! :) how's erlang treating you?
[13:59] <TheMue> dimitern: aaahh, pretty nice again. but after that longer pause and doing go for so long I have to change some habits back again.
[14:00] <TheMue> dimitern: but right now I'm doing API design for the clients, will use JSON via WebSockets
[14:02] <frobware> dimitern, voidspace, dooferlad: maas interlock?
[14:13]  * fwereade has found his test bug and is really annoyed about it
[14:23] <dimitern> frobware, oops sorry, got carried away with maas testing here
[14:23] <dimitern> TheMue, ;) sounds interesting
[14:23]  * fwereade is coming to the realisation that go 1.5 is going to make clock tests decidedly unfun
[14:24] <perrito666> fwereade: oh, you have a version of go that makes them fun?
[14:24] <dimitern> which was good, because I've discovered yet another issue, this time with precise
[14:25] <fwereade> perrito666, 1.2 doesn't seem to exhibit a particular unhelpful scheduling behaviour
[14:25] <perrito666> that, for me, is a few kilometers left of the fun mark
[14:25] <fwereade> perrito666, haha
[14:30]  * fwereade is worrying that we'll need to have setup tombs, or something... crib/tomb? cf cradle/grave?
[14:32] <fwereade> the infuriating thing is that the test that I *know* fails can be easily modified to handle it
[14:32] <perrito666> wonderful upgrade has a stale lock in agentconfig
[14:32] <fwereade> but I *also* know that my other tests are now vulnerable too even if it hasn't shown up yet
[14:36] <mgz> fwereade: any idea if deleting charms out swift mid-upgrade is likely to hose anything?
[14:38] <fwereade> mgz, hmm, we have something that copies them into gridfs, don't we?
[14:39] <mgz> we do... this is a bad idea for some old IS deployments
[14:39] <fwereade> mgz, if that's already done it should be fine; if it's not I would be nervous about deleting them
[14:39] <fwereade> mgz, ha, right, fat charms
[14:39] <mgz> one of which is now very slowly copying fat charms onto local disk mid upgrade from 1.18 to 1.24
[14:40] <fwereade> mgz, right
[14:40] <fwereade> feck
[14:40] <fwereade> mgz, I have no idea how it'll react if they're not there
[14:40] <mgz> or were there when it did a list at the start but then vanish when it comes to copying...
[14:41] <fwereade> mgz, but if you replace them with a byte of garbage each, I don't think anything depends on their *content* until we deploy new units that expect to use them
[14:41] <fwereade> mgz, I do still consider that pretty serious breakage
[14:41] <mgz> hm, I like that though
[14:42] <mgz> we can see the version numbers in swift I believe
[14:42] <fwereade> mgz, so long as there's some other way to get the charms into gridfs before they're needed it feels least likely to confuse everything
[14:43] <fwereade> mgz, ...unless we're smart enough to check the hashes at some point in that process
[14:45] <mgz> pretty sure we're dumb
[14:46] <mgz> if it panics because the charm contents don't match when it fetches them I'll cry
[15:04] <voidspace> dimitern: ping
[15:06] <voidspace> dimitern: so it's good that we have a new facade for creating spaces, because creating them from the provider is slightly different
[15:06] <voidspace> dimitern: i.e. we need the provider id and we generate the juju name in the apiserver
[15:06] <voidspace> dimitern: so it's not an exact duplicate of the existing one
[15:07] <voidspace> dimitern: this also means that the space collection in state will need to grow a ProviderId field
[15:07] <voidspace> frobware: see above - the "simple" task I'm on of importing spaces has grown a bit
[15:08] <voidspace> frobware: we need an entirely new api facade for adding spaces and the state representation of spaces need to change
[15:08] <voidspace> frobware: not quite just the "add a simple worker" we anticipated yesterday
[15:08] <frobware> voidspace, :)
[15:08] <voidspace> frobware: just a heads up...
[15:08] <frobware> voidspace, thanks.
[15:09] <dimitern> voidspace, hey
[15:09] <dimitern> voidspace, yes, that sounds good
[15:14] <voidspace> dimitern: what does "IsPublic" mean for spaces - this is to do with mapping public IP addresses in AWS, right?
[15:14] <voidspace> dimitern: we don't need this parameter for the new AddSpace
[15:15] <dimitern> voidspace, public needs to be enforced for subnets added to a public space (to be themselves public)
[15:15] <dimitern> voidspace, it expresses intended use, not AWS-specific thing
[15:15] <voidspace> dimitern: ok, how does that correspond to spaces we discover from MAAS
[15:15] <voidspace> where we are modelling the outside world, so are not in a position to "enforce" anything
[15:16] <voidspace> and the concept of public/non-public is not part of the world we are modelling here
[15:16] <voidspace> (i.e. even if it isn't intended to be AWS specific - it is really... ;-)
[15:16] <dimitern> voidspace, in MAAS I think all spaces are private by default
[15:17] <voidspace> ok, I'll just set IsPublic to false
[15:17] <dimitern> voidspace, +1
[16:21] <natefinch> ericsnow: seems like revision should just be part of the ResourceInfo.  why isn't it?  And where would it come from if it's not there?
[16:22] <ericsnow> natefinch: agreed
[16:22] <ericsnow> natefinch: it's not that way in the spec though :/
[16:28] <natefinch> ericsnow: hmm, I see it's generated at upload time
[16:29] <natefinch> ericsnow: so now we have meta metadata :/
[16:32] <frobware> dimitern, voidspace: OpenStack / juju HO
[16:32] <dimitern> frobware, omw
[16:36] <voidspace> frobware: omw
[16:49] <natefinch> ericsnow: still not sure why we can't store it all in the same place, even if they're separate in other peoples' systems
[17:00] <natefinch> fwereade: why do our APIs use 'string' instead of a specific Tag type?   It would make them a lot more clear, I'd think, with basically no extra work.
[17:00] <fwereade> natefinch, I think you're right, I glanced off that earlier today
[17:20] <mup> Bug #1471941 changed: windows unit tests fail is upgrade steps it will never really do <blocker> <ci> <intermittent-failure> <regression> <unit-tests> <windows> <juju-core:Fix Released by menno.smits> <https://launchpad.net/bugs/1471941>
[17:20] <mup> Bug #1521699 opened: windows unit tests fail because handles are not available <ci> <intermittent-failure> <windows> <juju-core:Triaged> <https://launchpad.net/bugs/1521699>
[17:23] <katco> ericsnow: natefinch: wwitzel3: i think i've looked through all the code eric's got up. how we doing?
[17:24] <wwitzel3> katco: I'm going trhough the show-resources command PR
[17:24] <wwitzel3> katco: almost done
[17:25] <ericsnow> katco: I'm game whenever
[17:25] <katco> ericsnow: have you addressed any of the open comments?
[17:25] <natefinch> I just finished up the 4th PR
[17:25] <ericsnow> katco: working on it
[17:25] <natefinch> er, review
[17:25] <katco> ericsnow: kk
[17:25] <katco> natefinch: great reviews btw
[17:26] <natefinch> katco: I just like giving ericsnow a hard time ;)
[17:26]  * ericsnow makes mental note
[17:26] <katco> ;p
[17:26] <katco> natefinch: i don't agree with everything you put, but they were thoughtful comments
[17:27] <natefinch> katco: yeah, I figured :)
[17:58] <wwitzel3> katco: ready when ever one else is, just wrapping up
[17:58] <katco> wwitzel3: k... lunch maybe?
[17:58] <wwitzel3> k
[17:58] <katco> natefinch: ericsnow: now? lunch first?
[17:59] <ericsnow> katco: I'm good either way
[18:00] <natefinch> katco: half hour?  I'm lunching currently
[18:00] <katco> natefinch: let's call it an hour so i can get some food and take a walk :)
[18:01] <wwitzel3> ok, so top of the hour, moonstone?
[18:01] <natefinch> okie dokie
[18:02] <ericsnow> katco: k
[18:02] <katco> wwitzel3: ericsnow: natefinch: sounds like  plan
[18:02] <katco> sure, a. just... feel free to drop off there.
[18:02] <wwitzel3> *group high five*
[18:02] <katco> no need to ppear when you're typed.
[18:03]  * katco lunches
[21:16] <perrito666> what is causing the current curse of master?
[21:31] <thumper> wasn't cursed when I checked just before
[21:32] <perrito666> http://reports.vapour.ws/releases <-- says that master's lasat bless was 6 days ago
[21:44] <thumper> perrito666: interesting
[21:44] <thumper> http://juju.fail doesn't show any blocking bugs
[22:00] <menn0> thumper, perrito666: you can see the last cursed build here: http://reports.vapour.ws/releases/3378
[22:01] <cherylj> can I get a quick review?  http://reviews.vapour.ws/r/3286/
[22:01] <thumper> menn0: ha... xenial, and lease
[22:01] <thumper> I bet it caught a real intermittent bug
[22:04] <menn0> seems there's just one xenial bug that needs fixing. I thought davechen1y might have been looking at that (could be wrong)
[22:39] <mup> Bug #1521777 opened: Allow for upgrades to 2.0 <juju-core:Triaged> <https://launchpad.net/bugs/1521777>
[23:19] <davechen1y> menn0: thanks for fixing the windows blocker yesterday