/srv/irclogs.ubuntu.com/2015/09/16/#juju-dev.txt

mupBug #1494947 opened: Panic keyManagerSuite.TestImportKeys on wily <ci> <intermittent-failure> <panic> <unit-tests> <wily> <juju-core:Triaged> <https://launchpad.net/bugs/1494947>00:00
mupBug #1494948 opened: Panic charmVersionSuite.TearDownTest on wily <ci> <intermittent-failure> <panic> <unit-tests> <wily> <juju-core:Triaged> <https://launchpad.net/bugs/1494948>00:00
mupBug #1494949 opened: Panic charmVersionSuite.TearDownTest on wily <ci> <intermittent-failure> <panic> <unit-tests> <wily> <juju-core:Triaged> <https://launchpad.net/bugs/1494949>00:00
mupBug #1494947 changed: Panic keyManagerSuite.TestImportKeys on wily <ci> <intermittent-failure> <panic> <unit-tests> <wily> <juju-core:Triaged> <https://launchpad.net/bugs/1494947>00:03
mupBug #1494948 changed: Panic charmVersionSuite.TearDownTest on wily <ci> <intermittent-failure> <panic> <unit-tests> <wily> <juju-core:Triaged> <https://launchpad.net/bugs/1494948>00:03
mupBug #1494949 changed: Panic charmVersionSuite.TearDownTest on wily <ci> <intermittent-failure> <panic> <unit-tests> <wily> <juju-core:Triaged> <https://launchpad.net/bugs/1494949>00:03
mupBug #1494947 opened: Panic keyManagerSuite.TestImportKeys on wily <ci> <intermittent-failure> <panic> <unit-tests> <wily> <juju-core:Triaged> <https://launchpad.net/bugs/1494947>00:06
mupBug #1494948 opened: Panic charmVersionSuite.TearDownTest on wily <ci> <intermittent-failure> <panic> <unit-tests> <wily> <juju-core:Triaged> <https://launchpad.net/bugs/1494948>00:06
mupBug #1494949 opened: Panic charmVersionSuite.TearDownTest on wily <ci> <intermittent-failure> <panic> <unit-tests> <wily> <juju-core:Triaged> <https://launchpad.net/bugs/1494949>00:06
davecheneyhello00:06
davecheneyboth the blocking bugs have been marked fixed committed00:06
davecheneyhow long until CI is unblocked00:06
davecheneythanks00:06
mupBug #1494947 changed: Panic keyManagerSuite.TestImportKeys on wily <ci> <intermittent-failure> <panic> <unit-tests> <wily> <juju-core:Triaged> <https://launchpad.net/bugs/1494947>00:09
mupBug #1494948 changed: Panic charmVersionSuite.TearDownTest on wily <ci> <intermittent-failure> <panic> <unit-tests> <wily> <juju-core:Triaged> <https://launchpad.net/bugs/1494948>00:09
mupBug #1494949 changed: Panic charmVersionSuite.TearDownTest on wily <ci> <intermittent-failure> <panic> <unit-tests> <wily> <juju-core:Triaged> <https://launchpad.net/bugs/1494949>00:09
=== wwitzel3_ is now known as wwitzel3
=== sinzui_ is now known as sinzui
mupBug #1496184 opened: juju bootstrap on armhf/keystone hangs   juju version 1.24.5 <juju-core:New> <https://launchpad.net/bugs/1496184>00:27
mupBug #1496184 changed: juju bootstrap on armhf/keystone hangs   juju version 1.24.5 <juju-core:New> <https://launchpad.net/bugs/1496184>00:30
mupBug #1496184 opened: juju bootstrap on armhf/keystone hangs   juju version 1.24.5 <juju-core:New> <https://launchpad.net/bugs/1496184>00:33
mupBug #1496184 changed: juju bootstrap on armhf/keystone hangs   juju version 1.24.5 <juju-core:New> <https://launchpad.net/bugs/1496184>00:39
mupBug #1496184 opened: juju bootstrap on armhf/keystone hangs   juju version 1.24.5 <juju-core:New> <https://launchpad.net/bugs/1496184>00:42
mupBug #1496188 opened: panic in juju worker <juju-core:New> <https://launchpad.net/bugs/1496188>00:54
rick_h_anastasiamac_: around?01:07
anastasiamac_rick_h_: Hi :D01:12
rick_h_anastasiamac_: howdy, so the meeting time is a bit off for my tastes. So I wanted to check in and ask what I could provide to help in my absence?01:13
anastasiamac_rick_h_: apologies for funny timing for the meeting - it's just aplaceholder... plz let me know what works for u :)01:13
rick_h_anastasiamac_: aside from the info on the bundle break down lib and such, is there anything else you needed on my end?01:13
anastasiamac_rick_h_: ur presence? :P01:13
rick_h_anastasiamac_: :)01:14
anastasiamac_rick_h_: what time would suit u better?01:14
rick_h_anastasiamac_: the other one worked better, that's just getting up early01:14
rick_h_anastasiamac_: but if you know what you're looking for input-wise maybe I can do it async?01:15
rick_h_I don't want to hold things up on me01:15
rick_h_as I think we had most things in hand back in the spec aside from the new bundle stuff and I've given you all the details on that01:15
anastasiamac_rick_h_: from my perspective, I think m k at the moment with info01:17
anastasiamac_rick_h_: would it suit u better if I'll try to move the meeting by 5hrs?01:17
rick_h_anastasiamac_: ok, nvm. I'll be there01:17
rick_h_anastasiamac_: don't worry about it01:17
rick_h_anastasiamac_: forget I was here../me disapears into the night01:17
anastasiamac_rick_h_: i would like u to sleep :D01:17
anastasiamac_but I'll move the meeting to later as I think it may suit u and John better :D01:18
rick_h_anastasiamac_: naw, I like to party :P01:18
rick_h_anastasiamac_: ask my team, it's not that bad for me anyway and I can sleep in thus :)01:18
anastasiamac_rick_h_: if u reconsider, m happy to move to more suitable time ;D01:19
rick_h_anastasiamac_: all good, go back to happy work thoughts for your day01:19
anastasiamac_rick_h_: thnx :D get rest!01:20
=== akhavr1 is now known as akhavr
thumpermenn0: hey, got time to talk about the unit agent upgrades?02:49
thumperdavecheney: care to look at this bug? http://reports.vapour.ws/releases/3059/job/run-unit-tests-trusty-ppc64el/attempt/380402:49
thumperdavecheney: weird that it happens on power but not amd6402:50
menn0thumper: yep02:53
thumperdavecheney: although, that code looks so fucked up02:54
* thumper is ask menno too02:54
thumpermenn0: standup hangout?02:54
menn0thumper: see you there02:54
* thumper wonders how this code works02:55
davechen1ythumper: honestly no idea03:07
thumperdavechen1y: anyway, I've got this one03:07
davechen1ywe've had continual problems getting the right versino of gccgo and libgo5 on ppc64 machines03:07
thumpermenn0: this is the uniter panic on power http://reviews.vapour.ws/r/2671/diff/#03:31
thumperdavecheney: I have a golang question...03:31
thumperif I have a function, and that function defines a pointer variable03:31
thumperand in that same function I create some other closures (functions) that refer to that variable03:32
thumperare the closures defined to refer to that variable by reference?03:32
davecheneythumper: yes03:33
thumpergood03:33
davecheneythumper: uniter fix LGTM03:34
thumperdavecheney: ta03:35
mupBug #1496217 opened: panic in cmd/jujud on power <blocker> <ci> <regression> <juju-core:In Progress by thumper> <https://launchpad.net/bugs/1496217>03:46
mupBug #1496221 opened: Whitespace or new lines in "juju status --format=tabular" output <juju-core:New> <https://launchpad.net/bugs/1496221>03:46
mupBug #1496217 changed: panic in cmd/jujud on power <blocker> <ci> <regression> <juju-core:In Progress by thumper> <https://launchpad.net/bugs/1496217>03:49
mupBug #1496221 changed: Whitespace or new lines in "juju status --format=tabular" output <juju-core:New> <https://launchpad.net/bugs/1496221>03:49
davecheneythumper: when do "fix committed" blockers roll off the dashboard ?03:50
thumperdavecheney: when they have passed CI03:50
thumperwallyworld: http://reports.vapour.ws/releases/3059/job/aws-upgrade-20-trusty-amd64/attempt/29 fix didn't fix03:51
davecheneythumper: do we have to wait til tomorrow for that ?03:52
thumperdavecheney: I just removed one my marking it fix released03:52
thumperdavecheney: we are down to two failures03:52
thumperI have submitted a fix for one of them03:52
thumperwhich in honesty I think will change a panic into a different failure03:52
thumperthe other was the upgrade one...03:52
davecheneythumper: true, if that valye was nil03:54
davecheneysomething else failed to initalise03:54
mupBug #1496217 opened: panic in cmd/jujud on power <blocker> <ci> <regression> <juju-core:In Progress by thumper> <https://launchpad.net/bugs/1496217>03:55
mupBug #1496221 opened: Whitespace or new lines in "juju status --format=tabular" output <juju-core:New> <https://launchpad.net/bugs/1496221>03:55
thumperholy shit mup is somewhat behind03:55
thumperwallyworld: is the uniter failure due to the missing upgrade step?03:57
mupBug #1495591 changed: TestRunCommand fails on windows <blocker> <ci> <test-failure> <windows> <juju-core:Fix Released by cmars> <https://launchpad.net/bugs/1495591>04:04
anastasiamac_thumper: which uniter failure r u referring to?04:05
thumperanastasiamac_: the most recent failure from ci - http://reports.vapour.ws/releases/3059/job/aws-upgrade-20-trusty-amd64/attempt/2904:05
thumpermenn0: I have a hacky fix for the uniter upgrade step in a 1.25 branch, running tests now04:06
menn0thumper: cool04:07
mupBug #1495591 opened: TestRunCommand fails on windows <blocker> <ci> <test-failure> <windows> <juju-core:Fix Released by cmars> <https://launchpad.net/bugs/1495591>04:10
mupBug #1495591 changed: TestRunCommand fails on windows <blocker> <ci> <test-failure> <windows> <juju-core:Fix Released by cmars> <https://launchpad.net/bugs/1495591>04:13
thumperwallyworld: after chatting with anastasiamac_ the answer I think is "yes, the lack of uniter upgrade steps is causing the upgrade failure"04:14
* thumper has a hacky fix04:14
* thumper shakes his fist at the sky04:15
* thumper is grumpy04:15
thumperin our current tests... even 1.25, I've come across three different intermittent failing tests04:15
davecheneythumper: -race04:19
thumperbah humbug04:20
thumperno presents for anyone this year04:20
thumpergithub.com/juju/juju/worker/peergrouper fails every time for me...04:22
* thumper sighs04:22
davecheneyyeah, that one has failed for months for me04:22
davecheneyespecially on non intel platforms04:22
anastasiamac_for bug 1495542, i think that the reported bug is no longer a blocker as the test exercising unused code which caused the trace has been skipped...04:23
anastasiamac_This bug still needs to be addressed but it should not be blocking master.04:23
anastasiamac_The failure observed now seem to be different - the trace looks different. What we currently observe MAY warant another bug ;D04:23
mupBug #1495542: 1.20.x cannot upgrade to 1.26-alpha1 <blocker> <ci> <regression> <upgrade-juju> <juju-core:In Progress by anastasia-macmood> <https://launchpad.net/bugs/1495542>04:23
anastasiamac_thumper gives presents? each year?04:24
thumperanastasiamac_: not any more...04:24
anastasiamac_thumper: no ned to stop on my account :)04:24
anastasiamac_need*04:25
thumperdavecheney: I'm running go 1.5 now, wondering if that is related...04:25
* thumper hits the -race fails with the go package...04:25
thumperno races for me04:25
davecheneythumper: almost certainly04:26
davecheneysee long discussion about getting 1.5 rolled out everywhere before comitting to 1.6 for 16.0404:26
* thumper nods04:32
thumperwallyworld: actually back to the upgrade failure, it seems that yes, while there is an error with a bad kind, things progress anyway04:32
wallyworldthumper: "ModeAbide: cannot set invalid status "started"" - that looks like it's caused by new juju status enums not being processed correctly, but that code has been in place for months. not ure why that is shwing up now.04:32
davecheneythumper: AFAIK juju passes on intel with 1.504:32
wallyworldmaybe it was always there and we didn;t notice04:32
davecheneyit almost passes on non intel with go 1.504:33
thumperwallyworld: the fundamental error is that the source sets relation config, the sink never runs relation-changed hook04:33
davecheneybut slowness makes it hard to be absolute here04:33
davecheneysee previous plee for faster ppc64 hardware04:33
thumperdavecheney: amd64 and go 1.5 fails peergrouper almost every time for me04:33
wallyworldthumper: ok, will start at that point04:33
wallyworldthumper: peergrouper tests kinda suck (from memory). they need to be transformed into proper unit tests04:34
thumperwallyworld: ack04:34
davecheneythumper: try GOMAXPROCS=1 go test .../peergrouper04:35
davecheneythat will make the scheduler look more the like 1.2.1 scheduler04:35
davecheneyand may improve reliabilty04:35
thumpermenn0: is this what you were thinking for the uniter upgrades?  http://reviews.vapour.ws/r/2672/diff/#04:35
* menn0 looks04:35
davecheneyif so, then those tests need to be fixed to not expect a certain order of operations04:35
* thumper pokes the peergrouper04:35
sinzuianastasiamac_: As long as master is not blessed, master is blocked. if you close bug 1495542, you need to replace it with a critical ci regression bug because stakeholder will not allow is to release if the test shows they canot upgrade from 1.20 to 1.24.04:37
mupBug #1495542: 1.20.x cannot upgrade to 1.26-alpha1 <blocker> <ci> <regression> <upgrade-juju> <juju-core:In Progress by anastasia-macmood> <https://launchpad.net/bugs/1495542>04:37
sinzuianastasiamac_: CI Cares about tests passing, fixing bugs without getting the tests passing does not mean we can release04:38
menn0thumper: that's pretty much what I was thinking although in my mind those upgrade steps would be run from the unit agent Run()04:39
anastasiamac_sinzui: ah... my bad - the bug is not about the trace but upgrade difficulties :D of course, it should stay :)04:39
menn0thumper: calling them from Run is probably slightly preferrable in case there are some others we need to add that aren't uniter related04:40
menn0thumper: also, I thought you said there were 2 upgrade steps like this?04:40
thumpermenn0: the other one is introduced in master, this is a 1.25 branch04:42
thumperwhere is the unit agent Run func?04:43
menn0cmd/jujud/agent/unit.go04:43
menn0thumper: ^04:44
thumperta04:44
menn0FFS!04:45
menn0I'm getting TLS handshake errors with a freshly bootstrapped env using master04:45
menn0actually... ignore me04:46
thumperdavecheney: FWIW setting GOMAXPROCS=1 makes the peergrouper tests pass04:47
menn0I think there's agents from a hosted env trying to contact the previous state server04:47
thumperheh04:47
thumpermenn0: I'll move the run upgrades func to the unit agent code04:56
menn0thumper: they're probably also fine where they are (in the uniter package)04:57
thumpermenn0: nah...04:57
thumpermoving already04:57
mupBug #1496237 opened: peergrouper tests very unstable with Go 1.5 <intermittent-failure> <tech-debt> <test-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1496237>05:07
mupBug #1496237 changed: peergrouper tests very unstable with Go 1.5 <intermittent-failure> <tech-debt> <test-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1496237>05:10
thumpermenn0: this better? http://reviews.vapour.ws/r/2672/diff/#05:10
mupBug #1496237 opened: peergrouper tests very unstable with Go 1.5 <intermittent-failure> <tech-debt> <test-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1496237>05:13
* menn0 looks05:14
menn0thumper: LGTM05:15
thumpermenn0: I'll await fwereade's comment05:16
menn0cool05:16
thumperok... I'm pretty much done for today05:29
thumpersee all y'all tomorrow05:29
jam1wallyworld: ping06:30
wallyworldjam1: hi06:31
=== jam1 is now known as jam
jamwallyworld: so of Series in Charm Metadata and Resources, I think we'd rather focus on the former06:32
jamI know you poked me about the latter, and I can try to bring it up in 30 min, though I have other higher priority right now.06:33
wallyworldjam: yeah, that work is underway. i'd also like to get resources spec at least approved so we can start on it this cycle. eco really wants it. maybe you can do it next week, or just ask the spec to be reviewed over the next few days06:33
wallyworldjam: series in metadata won't take 100% so there will be a little spare capacity06:34
axwfwereade: I'm debugging #1495542, getting a lot of "2015-09-16 07:24:41 DEBUG juju.worker.dependency engine.go:438 "uniter" manifold worker stopped: getting resource leadership-tracker: dependency not available"07:39
mupBug #1495542: 1.20.x cannot upgrade to 1.26-alpha1 <blocker> <ci> <regression> <upgrade-juju> <juju-core:In Progress by anastasia-macmood> <https://launchpad.net/bugs/1495542>07:39
axwfwereade: restarting the API server did not appear to help, but restarting the unit agent did. makes me suspect the dependency engine isn't delivering a new API connection to the leadership tracker... kind of clutching at straws though07:40
axwfwereade: other part to the error: "leadership-tracker" manifold worker returned unexpected error: leadership failure: leadership manager stopped07:41
axwfwereade: and after I restarted the API server, I was getting: engine.go:438 "leadership-tracker" manifold worker stopped: leadership failure: error making a leadership claim: connection is shut down07:42
axwcmars: ^^ on upgrade from 1.20 to 1.26, "metricspooldir" doesn't exist. is there meant to be an upgrade step for this?07:44
dimiternaxw, o/07:44
axwdimitern: heya07:44
dimiternaxw, just a heads up - we decided to do a simpler implementation (not as effective as I'd like) for provisioning instances into subnets of a space, only in EC2 and not integrating that with AZ distribution07:45
dimiternaxw, then, we should have a discussion how to properly do it with you and/or fwereade07:46
axwdimitern: okey dokey, so does it disable distribution when a space is specified?07:47
dimiternaxw, it tries to accommodate both - i.e. starting from all AZs and restricting them to only those relevant to a given space07:48
dimiternany reviewers? this is a forward port to master of the 1.25 fix for bug 1492066: http://reviews.vapour.ws/r/2673/ - please take a look07:49
mupBug #1492066: cloud-init fails when deploying CentOS with Juju. <centos> <cloud-init> <juju> <juju-core:In Progress by dimitern> <juju-core 1.25:Fix Committed by dimitern> <https://launchpad.net/bugs/1492066>07:49
axwdimitern: hm ok, I don't really get how you implement DistributeInstances correctly then. I might need to see code to understand07:49
dimiternaxw, I'll send you a link to the PR by mail when I'm done07:51
axwdimitern: thanks07:51
fwereadeaxw, sorry, processing07:51
fwereadeaxw, ok, I'm not really managing to form a coherent theory at the moment -- that latest log does rather look like the various workers are coming up? but we've got weird settings revision numbers?08:01
fwereadeaxw, but then the leadership errors you posted above make it look like the problem is in08:02
axwfwereade: it did in CI, but when I repro'd it just continuously restarted manifold workers08:02
fwereadeaxw, fuck, I think I might know what's happening08:02
fwereadeaxw, we've never had a mechanism for usefully bouncing the workers that live under state08:03
axwfwereade: I saw the "HackLeadership" thing, which is called when the API server stops handling a client connection08:04
axwfwereade: isn't that the only time we need to bounce it...?08:05
fwereadeaxw, if it encounters some unknown error, it'll stop on its own08:05
fwereadeaxw, but then I don't quite get what happens when the apiserver restarts08:06
axwfwereade: I didn't see any "stopping leadership manager with error", but I'm about to repro again so I'll double check08:06
fwereadeaxw, error logging around state/leadership/manager.go:38 would detect that, I think08:09
fwereadeaxw, I don't think there's anything in state that'd otherwise notice the error until state itself is closed08:09
fwereadeaxw, hopefully we'd log that one, but it could be a long time after it actually happened08:10
axwfwereade: lol. third time's the charm, didn't repro this time :/08:10
fwereadegoddammit08:10
axwfwereade: settings version is still screwed though08:11
fwereadeaxw, huh08:12
fwereadeaxw, so the settings version was right before the upgrade and something overwrote it?08:12
axwfwereade: not sure yet. I upgraded, ran a "config-set" which triggers "relation-set", remote state sees it... but it's the same as what's in local state already08:12
fwereadeaxw, is the relation-set to a unique value?08:13
fwereadeaxw, we elide null changes08:13
axwfwereade: yes08:13
fwereadeaxw, just checking :(08:14
fwereadeaxw, I guess check the rel-state/mgo-state versions before the upgrade and see which get touched by the upgrade?08:15
fwereadeaxw, either something's breaking the versions08:15
axwfwereade: yeah. gotta got for a bit, I'll try that after08:15
fwereadeaxw, or the versions are already broken08:15
fwereadeaxw, cheers08:15
* fwereade has to depend on wifi through walls for a few hours, please forgive any spottiness08:18
frankbanmenn0 or katco: could you please take a look at http://reviews.vapour.ws/r/2633/ when you have time? proposed against a feature branch08:43
frobwaredimitern, voidspace, jam: standup time if you're coming...09:01
voidspacefrobware: I'm here09:02
jamfrobware: omw09:02
axwfwereade: welp... before upgrade, api server sent a relation units change with version=3. after upgrade, the initial change event has version=209:07
axwfwereade: I think this might be because of the env-uuid migration... txn-revno would reset, because the doc is removed and re-added. but not sure why it hasn't been an issue before.09:13
fwereadeaxw, holy hell, that is horrifying09:14
fwereadeaxw, ok, if we're going to address this -- as we must -- let's do it right and maintain our own revno09:15
axwfwereade: yep, SGTM09:15
axwfwereade: any thoughts on why this wouldn't have been an issue until now?09:15
fwereadeaxw, no idea at all09:16
fwereadeaxw, ah-ha09:17
fwereadeaxw, ...or not09:17
axwheh :)09:17
fwereadeaxw, hmm. did we change from remove/add in one txn to remove-a-bunch then add-a-bunch?09:18
fwereadeaxw, I'm pretty sure that if we did a remove/add in one txn it'd preserve revno09:18
fwereadeaxw, separate remove then add would be dangerous, I hope we don't do that09:19
axwfwereade: one big txn, but they're different docs - they have different IDs09:19
fwereadeaxw, but I suspect a separate add then remove would be safe *except* for changing the underlying revno09:20
axwfwereade: https://github.com/juju/juju/blob/master/state/upgrades.go#L113309:20
axwfwereade: the doc inserted would have txn-revno in it I guess, but I think that'd be overwritten by the txn code?09:21
fwereadeaxw, bugger, I would appear to be completely wrong09:21
fwereadeaxw, I have to double-check mgo/txn09:21
axwfwereade: and I'll do some experiments in that code09:22
fwereadeaxw, ha09:38
frobwaredimitern, so I think I see why the number of sockets in close_wait dropped so dramatically: Out of memory: Kill process 4280 (jujud) score 699 or sacrifice child09:38
fwereadeaxw, yes, I am completely wrong09:38
axwfwereade: as in, revno is not preserved?09:40
fwereadeaxw, yeah -- I now think all the new docs will be inserted with revno 209:41
axwfwereade: that matches what I saw09:41
fwereadeaxw, and possibly we do a few subsequent txns on them to bump those up further?09:41
fwereadeaxw, but it'll only work right if we bump them far enough?09:42
fwereadeaxw, making it more likely to fail (subtly at first) in long-lived environments09:42
axwfwereade: right... so I have nfi how nobody has found this before09:42
axwfwereade: sorry gotta go, I'll bbl09:43
fwereadeaxw, take care09:43
axwfwereade: perhaps before we were using !=, now we're using >09:44
* axw actually goes09:44
fwereadeaxw, I thought we always used > but could be wrong09:45
voidspacefrobware: dimitern: so the dimensions I have for the juju poster are wrong for the printer - I need to spend a bit of time getting the graphic the right size so I can get it printed for Friday :-/09:54
voidspacefrobware: dimitern: hopefully not too long, but I'm currently derailed onto that as it's a bit urgent (this is for PyCon UK and the Juju poster session I'm doing)09:55
voidspaceericsnow: ping09:58
frobwarevoidspace, ack10:30
voidspacefrobware: dimitern: graphic and printing sorted, collection Friday AM! *phew*10:38
axwfwereade: confirmed that it is >2 before, and 2 after upgrade. I'll look into an upgrade step / watcher change.10:57
axwfwereade: and we used to use !=10:59
axwfwereade: https://github.com/juju/juju/blob/1.25/worker/uniter/relation/livesource.go#L22311:00
fwereadeaxw, well, that would explain it11:00
fwereadeaxw, and could indeed still show up as missed-hooks on upgrade11:00
fwereadeaxw, but be much rarer11:01
fwereadeaxw, but still needs to be fixed11:01
axwfwereade: indeed11:01
fwereadeaxw, re the other stuff11:01
fwereadeaxw, er, I think I'm saying, it looks like there are more bugs11:02
fwereadeaxw, but I'm not clear which they are and what's been addressed already in that thread11:02
axwfwereade: ok. I definitely saw issues with manifolds restarting, and also one with the metrics spool dir not existing11:03
axwfwereade: I had to manually create it to proceed11:03
axwfwereade: but... that only happened to me the first couple of times I tested this11:03
fwereadecmars, thoughts on ^^?11:04
dimiternvoidspace, frobware, I'm back now - reading scrollback..11:18
dimiternvoidspace, nice! I'm sure the poster session will be interesting :)11:21
dimiternvoidspace, incidentally, please have a look at this http://reviews.vapour.ws/r/2673/ ;)11:22
dimiterndooferlad, frobware ^^11:23
voidspacedimitern: looking11:34
frobwaredimitern, going to get some lunch whilst that process gobbles up sockets... want to look into this at the top of the hour (14 UTC+1)?12:16
voidspacedimitern: that's a shed load of test changes!12:17
voidspacedimitern: LGTM12:17
dimiternfrobware, sure, np12:18
dimiternvoidspace, thanks! yeah - but at least they're manageable  now :)12:18
voidspacedimitern: yep, good work12:19
frobwaredimitern, voidspace: I was confused by the change largely because I looked that test changes first. the "other" file makes it quite obvious.12:19
axwfwereade: I need to go have dinner, but this is what I'm intending to do: https://github.com/juju/juju/compare/master...axw:state-settings-version12:19
fwereadeaxw, thanks12:19
axwfwereade: there's some fallout in state tests I need to look into12:19
voidspacefrobware: yeah, me too :-)12:19
fwereadeaxw, that's glorious12:21
fwereadeaxw, I have wanted time and/or an excuse to do that forever12:21
dimiternvoidspace, frobware, yeah, but to test the obvious changes was mostly impossible due to the way tests were written (they accumulated a lot of cruft over time)12:23
* dimitern is gradually build up frustration with helm in emacs - it's helpful for a few things, but it gets increasingly annoying in most common cases12:30
rogpeppesimple addition to the errors package: https://github.com/juju/errors/pull/2112:33
rogpeppereviews appreciated, thanks12:33
axwfwereade: cool :)  upgrades will be a little bit messy, but worth the pain12:40
rogpeppeaxw: fancy a quick trivial review? :) http://reviews.vapour.ws/r/2674/12:53
axwrogpeppe: only for you12:54
axwrogpeppe: shipit12:54
rogpeppeaxw: ta! :)12:54
rogpeppeaxw: you're a love12:54
bogdanteleagaunit-sleep-0[1244]: 2015-09-16 12:55:45 DEBUG juju.worker.dependency engine.go:438 "metric-sender" manifold worker stopped: failed to open spool directory "C:/Juju/lib/juju/metricspool": GetFileAttributesEx C:/Juju/lib/juju/metricspool: The system cannot find the file specified.12:56
bogdanteleagashouldn't this at least try to create that directory if it's not there?12:57
rogpeppethis is what I wanted it for: http://reviews.vapour.ws/r/2675/13:01
frobwaredimitern,  I enable helm for about a day, get frustrated with it, turn it off for a few months. Then I see the potential in some youtube video, turn it on... lather, rinse, repeat...13:01
rogpeppeif someone could give me a review of this please, it would make me happy http://reviews.vapour.ws/r/2675/13:02
dimiternfrobware, :) yeah - it's hijacking some commands somewhat haphazardly (latest frustration is compilation-find-file)13:03
ericsnowvoidspace: pong13:10
bogdanteleagadimitern, I've been starting with it lately and it seems really nice so far, but I find my usecases are somewhat limited and usually integrate with projectile13:28
dimiternbogdanteleaga, yeah, the worst of all, helm *really* tries to be "helpful" *everywhere*13:36
bogdanteleagadimitern, well, I didn't find it intrusive, at least not yet13:41
bogdanteleagadimitern, it's not like it starts showing up if you didn't call for it :P13:42
voidspaceericsnow: unping...13:59
ericsnowvoidspace: :)13:59
voidspacedimitern: in my code review fwreade spake thusly "I'm raising a bit of an eyebrow at the gobal-prefer-ipv6 thing... is this going to be a long term approach?"14:30
voidspacedimitern: I assume I should reply "no"...14:30
rogpeppekatco: hiya14:35
katcorogpeppe: hey14:35
rogpeppekatco: fancy a simple review? :) http://reviews.vapour.ws/r/2675/14:36
katcorogpeppe: working my way through them now actually :)14:36
rogpeppekatco: cool14:36
rogpeppekatco: this one's really really ickle simple...14:36
katcorogpeppe: you are 3rd in the queue my friend14:36
rogpeppekatco: awesome!14:36
rogpeppekatco: BTW it's targeting the chicago-cubs feature branch14:37
katcorogpeppe: what is that branch anyway?14:37
rogpeppekatco: adding macaroon support to juju-core14:38
katcorogpeppe: why wasn't it just named that lol14:38
rogpeppekatco: it's the branch we worked on in the recent chicago sprint14:38
rogpeppekatco: blame mattyw :)14:38
katcovoidspace: re: http://reviews.vapour.ws/r/2634 is this a forward-port of http://reviews.vapour.ws/r/2593/ ?14:39
voidspacekatco: it is...14:42
voidspacekatco: I'm going to close the two forward port reviews and repropose when the original PR is actually done14:42
katcovoidspace: ah ok, wondered if that was what was going on14:42
voidspacekatco: yeah, it was done. And then fwreade looked at it ;-)14:43
katcohaha14:43
voidspace:-)14:43
voidspaceall good stuff14:43
katcohe keeps us honest :)14:43
dimiternvoidspace, yes I think so14:46
katcorogpeppe: shipit14:50
rogpeppekatco: ta!14:50
voidspacefwereade: ping15:01
fwereadevoidspace, pong15:03
voidspacefwereade: question about apiserver/client/status15:03
voidspacefwereade: note as a precursor that machine/unit PublicAddress/PrivateAddress have now changed and the only error they can return *does* indicate that an address has not yet been set15:04
voidspacefwereade: we fetch PublicAddress for both UnitStatus and MachineStatus15:04
voidspacefwereade: you were unhappy about not surfacing errors (the old code and my branch set an empty DNSName / PublicAddress)15:04
voidspacefwereade: as fetching the address can no longer raise arbitrary errors (no secret db write) are you happier with returning an empty address15:05
voidspacefwereade: if *not*, there's no obvious existing field (maybe InstanceState on MachineStatus) to surface the error information in15:05
voidspacefwereade: http://reviews.vapour.ws/r/2593/#comment1705215:06
fwereadevoidspace, yeah, and status is bloated enough already15:06
voidspacefwereade: ok15:06
voidspaceI thought that removing the possibility of arbitrary errors made it less of an issue, but wanted to check15:07
fwereadevoidspace, possibly dump them to stderr as warnings..?15:07
voidspaceas in the diff there will still be an "apparently ignored" error15:07
fwereadevoidspace, I think that once you have an err return you have to assume the possibility of unknown errors15:07
voidspaceheh, hmmm15:08
fwereadevoidspace, (especially when the network is involved, as it is here)15:08
voidspaceI've *documented* the error the method can return15:08
voidspaceand if you can't trust a doc string what *can* you trust...15:08
fwereadevoidspace, I'm laughing both merrily and bitterly over here15:08
voidspacefwereade: so this is on the apiserver, what do you mean by "dump to stderr"?15:08
voidspacefwereade: log?15:08
fwereadevoidspace, oh -- ha15:09
fwereadevoidspace, dammit, sorry15:09
fwereadevoidspace, forget stderr then, just log it at WARNING or something :/15:10
voidspacefwereade: cool, thanks15:10
voidspaceappreciated, sorry to steal your cycles15:10
fwereadevoidspace, was thinking of an older version of status that did much more client-side15:10
fwereadevoidspace, no worries, always a pleasure15:10
wwitzel3ericsnow: ping15:26
ericsnowwwitzel3: hi!15:26
wwitzel3fwereade: ping15:30
fwereadewwitzel3, pong15:30
katcois pinging random people a thing now? a meme maybe? ping wwitzel315:32
wwitzel3katco: ping15:34
wwitzel3;)15:34
katcowwitzel3: ping, wwitzel3. ping. as your fore-fathers have pung.15:34
wwitzel3haha15:34
mattywI remember when this was a sensible channel15:38
katcomattyw: ok mr chicago-cubs branch ;)15:39
mattywkatco, I feel bad - I've ranted a couple of times the last week about how much I hate pet names15:39
mattywkatco, and there I was sinning the whole time I was ranting15:40
katcohaha15:40
mattywkatco, also - hello there, not spoken in ages15:40
katcomattyw: yeah, hiya15:40
katcomattyw: haven't talked to several folks in a long time whom are not in my tz =/15:41
* perrito666 learns that this was once a sensible channel15:50
=== natefinch-afk is now known as natefinc
=== natefinc is now known as natefinch
natefinchericsnow: back now15:53
ericsnownatefinch: k15:54
mupBug #1496472 opened: TestRun fails intermittently on ppc64 <ci> <intermittent-failure> <ppc64el> <juju-core:Triaged> <https://launchpad.net/bugs/1496472>16:20
alexisbsinzui, mgz is this a critical blocker for 1.25 ^^^16:21
alexisbI saw the cursed runs16:21
mgzalexisb: nope, it's intermittent, and we've had a selection of different ppc64 test issues16:22
mgzdon't have enough info yet16:22
alexisbmgz, ack, thanks16:22
mgzalexisb: bug 1496217 is another failure from the previous run that likely has higher impact16:23
mupBug #1496217: panic in cmd/jujud on power <blocker> <ci> <regression> <juju-core:In Progress by cmars> <https://launchpad.net/bugs/1496217>16:23
alexisbmgz, ack, cmars thanks for picking up that bug!16:24
alexisbalrighty all I am stepping out for a bit, katco knows how to get a hold of me if anything urgent comes up16:25
katcoi am accepting requests for prank calls16:25
mgzkatco: you are in an amusing mood today :)16:27
katcomgz: i aim to please :)16:27
mupBug #1496472 changed: TestRun fails intermittently on ppc64 <ci> <intermittent-failure> <ppc64el> <juju-core:Triaged> <https://launchpad.net/bugs/1496472>16:29
mupBug #1496472 opened: TestRun fails intermittently on ppc64 <ci> <intermittent-failure> <ppc64el> <juju-core:Triaged> <https://launchpad.net/bugs/1496472>16:38
rogpeppekatco: here's a somewhat more substantial PR if you have a moment or two. it's just code cleanup, but will make moving forward easier. https://github.com/juju/juju/pull/329616:45
katcorogpeppe: will tal in a bit16:45
rogpeppekatco: ta!16:46
rogpeppeericsnow, natefinch: you might wanna take a look too https://github.com/juju/juju/pull/329616:46
ericsnowrogpeppe: nice16:46
rogpeppeericsnow: thanks :)16:47
ericsnowrogpeppe: I looked into doing a refactor like this last year and chickened out :)16:47
rogpeppeericsnow: i couldn't just make things worse...16:47
rogpeppeericsnow: the error return stuff is terrible and sadly cannot be fixed.16:47
ericsnowrogpeppe: yeah, that was one of the major things that hung me up16:48
rogpeppeericsnow: i've no idea what whoever it was was thinkin16:48
rogpeppeg16:49
ericsnowrogpeppe: hopefully I didn't make it worse with all the changes I made in that space for backups16:49
rogpeppeericsnow: i'm afraid backups is one of the problem places16:50
ericsnowrogpeppe: :(16:50
rogpeppeericsnow: almost every API call returns an error in the form {Error: {error object}}16:50
rogpeppeericsnow: except backups returns the error as just {error object}16:50
ericsnowrogpeppe: FWIW, that was some of the first code I wrote for Juju (and in Go)16:52
rogpeppeericsnow: that's ok - someone else should've been more on the ball16:52
ericsnowrogpeppe: so no surprises :)16:52
perrito666anyone is local provider savvy?17:27
ericsnowkatco, mgz, natefinch: I've found the problem (for backward-compatibility the API server converts empty strings into nil in config settings)17:31
ericsnowkatco, mgz, natefinch: this has an impact on the behavior of UpdateConfigSettings but not on directly setting the config settings17:32
ericsnowkatco, mgz, natefinch: I should have a patch up shortly17:33
natefinchericsnow: thanks!17:33
=== natefinch is now known as natefinch-afk
katcoericsnow: wow, nice... i think fwereade categorized this as "spooky action at a distance"17:35
ericsnowkatco: :)17:36
mgzericsnow: woho!18:24
mgzericsnow: wave the branch at me when it's up18:33
ericsnowmgz: k18:33
ericsnowmgz: http://reviews.vapour.ws/r/2679/18:58
katcoericsnow: tal18:59
ericsnowkatco: thanks18:59
mgzericsnow: thanks!18:59
ericsnowmgz: sorry that took so long19:04
mgzericsnow: thank you, that branch makes sense to me19:04
mgzand I can see why we struggled to track it down :)19:04
katcoericsnow: shipit19:05
ericsnowmgz: yeah, it was just non-obvious enough :/19:05
katcoericsnow: and ty for your hard work19:05
ericsnowkatco: hey, this one was a team effort :)19:05
perrito666bbl gym19:25
=== natefinch-afk is now known as natefinch
ericsnowkatco, mgz, natefinch: the fix has landed19:32
natefinchericsnow: thanks for figuring it out.  I'm catching up on the changes you made now19:32
katcoericsnow: woohoo!19:32
mgzericsnow: you have the next run through CI, eta 40mins19:36
ericsnowmgz: k19:37
natefinchericsnow: so your change fixes the problem because it drops all the map entries with a nil value?19:47
ericsnownatefinch: yep19:48
ericsnownatefinch: it's what it was doing before19:48
natefinchericsnow: yeah... I wish there was a more obvious way to do it... converting in and out of the settings object still qualifies as spooky action IMO.19:48
ericsnownatefinch: I was aiming for a consistent execution path through the two approaches19:51
ericsnownatefinch: I agree it isn't optimal19:51
natefinchI'm still surprised that using the deployer to deploy the bundle with the config had different results than deploying from the command line.19:54
natefinchI guess the client must strip out the empty config values where the deployer was relying on the server to do so19:54
ericsnownatefinch: yep, I suspect some trickery from the CLI before it makes the API call19:56
natefinchericsnow: I wonder if it wouldn't be more appropriate to have createSettingsOp strip out keys with nil values20:22
ericsnownatefinch: that would impact other callers of createSettingsOp that currently do not worry about it20:24
ericsnownatefinch: not that it's necessarily the wrong thing to do20:24
ericsnownatefinch: I was trying to minimize the potential impact for this patch20:24
natefinchericsnow: yeah... I'm just trying to make the code a little more obvious and explicit.20:30
ericsnownatefinch: fair enough :)20:30
mgz1.24 building on CI now.20:50
natefinchericsnow: http://reviews.vapour.ws/r/2680/diff/#21:00
natefinchgotta run to dinner... but I think that's a more obvious codepath (and keeps your new test, which still passes, as do all other tests)21:01
=== natefinch is now known as natefinch-afk
ericsnownatefinch-afk: I'll take a look21:02
ericsnownatefinch-afk: note that I already landed that other patch for 1.2421:02
ericsnowkatco: I've sent you my feedback on that email21:14
ericsnowkatco: enjoy! :)21:14
katcoericsnow: sweet, ty21:14
mupBug #1496217 changed: panic in cmd/jujud on power <blocker> <ci> <regression> <juju-core:Fix Released by cmars> <https://launchpad.net/bugs/1496217>21:42
menn0wallyworld: have you got time for a quick hangout?23:45
alexisb\o/ 1.24 is blessed23:57
alexisbship the puppy!23:57
xwwtteam is on it23:59

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