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

* thumper wields a hatchet in one hand and a machete in the other01:18
thumperand yet still manages to type01:18
* thumper dives into the code01:18
wallyworldthumper: how many fingers do you have left?01:33
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
jamwallyworld: /wave05:46
wallyworldhi jam05:46
wallyworldcan i ping you in say 30 minutes?05:46
jamI'm a little scattered to chat a bunch right now, but 30min should be good05:46
wallyworldok, we can start talking and schedule smething for later05:47
wallyworldjam: you ok to talk? https://plus.google.com/hangouts/_/canonical.com/tanzanite-stand06:34
jamwallyworld: sorry I completely missed your message. Are you still around?07:48
wallyworldjam: yeah, but off to soccer soonish, can i ping you in say 3 hours?07:49
jamwallyworld: sure07:49
wallyworldok, will do07:49
jamfwereade: voidspace: standup?09:01
voidspacejam: omw09:02
voidspacejam: fwereade: dooferlad: TheMue: I just got booted out, have to rejoin09:05
voidspaceaaaand... it doesn't work10:15
voidspacetime for some diagnostics10:15
wallyworldjam: you free now?11:04
jamwallyworld: can you give me a couple of mins?11:08
wallyworldsure11:08
jamwallyworld: I'm around now if you're up for chatting11:22
wallyworldsure11:22
wallyworldhttps://plus.google.com/hangouts/_/canonical.com/tanzanite-stand11:22
jamsays trying to connect. gimme a sec I guess11:24
jamah, I had to pass the magic authuser=111:24
ashipikais something wrong with the reviewboard?11:32
mupBug #1472231 opened: juju-mongodb derror when bootstraping on maas <juju-core:New> <https://launchpad.net/bugs/1472231>11:37
perrito666morning11:46
wallyworlddooferlad: hey, you around?12:11
wallyworldor voidspace12:12
dooferladwallyworld: hi, was having lunch. How can I help?12:47
wallyworlddooferlad: hey, bug 1472014 is because machine address updates for state server are not triggering the machine address watcher. it looks like the state server has around 3 cloud local IP addresses but only 1 is reported via the watcher. i was wondering if you could take a look and see what might need fixing12:49
mupBug #1472014: juju 1.24.0: wget cert issues causing failure to create containers on 14.04.2 with lxc 1.07 <openstack-installer> <juju-core:Triaged> <juju-core 1.24:Triaged> <https://launchpad.net/bugs/1472014>12:49
wallyworldcomment #4 has a summary of the core issue12:49
dooferladsure, will take a look12:49
wallyworldty12:49
wallyworldping me if anything is unclear12:50
wallyworldwe can pick it up and make a fix, but i'd like a hand in diagnosing12:50
wallyworldas i need sleep soon12:50
dooferladsounds good12:51
wallyworldty12:51
mupBug #1472231 changed: juju-mongodb derror when bootstraping on maas <mongodb> <juju-core:New> <https://launchpad.net/bugs/1472231>13:22
perrito666katco: are you going to the call?13:23
=== kadams54 is now known as kadams54-away
ionutbalutoiumgz: bogdanteleaga told me that you need some help with powershell.13:47
ionutbalutoiumgz: I am a PowerShell Windows charmer from Cloudbase.13:48
=== kadams54 is now known as kadams54-away
mgzionutbalutoiu: hey there!13:48
mgzionutbalutoiu: so, background is I wrote some powershell to run over winrm that gathers up the logs on a remote juju machine and sends them back13:50
mgzionutbalutoiu: it all works fine, I'm just not doing exception handling and want some tps on making the code more idiomatic13:51
mgzionutbalutoiu: code is in lp:juju-ci-tools remote.py - can see original review at https://code.launchpad.net/~gz/juju-ci-tools/winrm_copy/+merge/26254813:53
mgzionutbalutoiu: want to do a hangout or discuss here?13:53
ionutbalutoiumgz: Let's discuss here. I can't join a hangout right now. So to be more specific, this is the piece of powershell code you're running over WinRM: http://bazaar.launchpad.net/~juju-qa/juju-ci-tools/trunk/view/head:/remote.py#L16414:21
mgzionutbalutoiu: THAT'S IT14:22
mgzer... caps14:22
mgz-shouting14:22
mgzso, two main things I want to do, wrap the execution in try/catch and make the return code non-zero if something goes wrong, and handle files being unreadable better14:24
mgzanything else you see?14:24
ionutbalutoiumgz:  Yes, that one and I'd recommend to add at the beginning of the script: $ErrorActionPreference = "Stop". This means that the script execution will end at the first unhandled exception.14:25
ionutbalutoiumgz: The default is: $ErrorActionPreference = "Continue" and it will continue even if an exception was thrown. We also set it to "Stop" in all our charms.14:26
mgzwhat I wasn't clear on was what happens with trying to set an exit code with that14:27
mgzthe excepton still propogates and catch code gets run I presume?14:27
mgzwith continue, each exception gets logged at the top level and the next line in run14:27
ionutbalutoiumgz: If you have $ErrorActionPreference = "Stop" and use try/catch, you're exception will be caught, catch code will be executed and there you can return with exit code different than 0, as you say.14:32
ionutbalutoiumgz: but if an exception if caught it won't propagate unless thrown again, as in any other OOP language.14:33
dooferladwallyworld: bug updated14:34
ionutbalutoiumgz: is*14:34
mgzionutbalutoiu: so, I'm thunking something like this to start with http://paste.ubuntu.com/1183609314:37
wallyworlddooferlad: thanks. i'm very wary of changing network related code. do you know why only the first cloud address is stored? and why the others are discarded? what if we change it so they are all stored, what will break?14:37
dooferladwallyworld: I don't know why we only pick one and the comments only tell us that we do, not why14:38
wallyworlddooferlad: if you communicate with dimiter, could you ask him?14:38
wallyworldi know he's at gophercon14:38
dooferladwallyworld: sure, he should be in email contact. Will bug him about the bug.14:39
wallyworldty, now i need sleep, i'll check the bug for updates when i wake up14:39
mgzwallyworld: sleep well14:39
dooferladvoidspace, TheMue: ^^ do you have any ideas?14:39
wallyworldwill try to :-) so much juju to worry about :-)14:39
=== psivaa-afk is now known as psivaa
sinzuialexisb: mgz Roger's projects (Go packages) have ambiguous or contradictory licensing info. https://github.com/go-errgo/errgo/tree/v1 is the most concerning. Roger holds copyright and issue it under bsd-style, but every code file us owned by Canonical under LGPL and site the Roger's LICENSE.15:25
alexisbsinzui, so what is the path for address the LICENSE issues?15:26
voidspacedooferlad: no, I don't know why we only store one cloud local address15:28
sinzuialexisb: I think Roger needs to reconcile the issue. If it is a mistake, that is fixable in a commit, then we are not blocked.15:29
alexisbsinzui, ok, can you send roger and uros a note15:30
alexisbroger is currently at gophercon but hopefully he will read mail15:30
sinzuialexisb: I am15:30
alexisbawesome thanks sinzui !15:30
=== kadams54 is now known as kadams54-away
=== kadams54 is now known as kadams54-away
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
ahasenackhi, does anyone know how a machine agent is told where to find the state server?20:05
ahasenackI ask because on a container of mine it is trying to connect to localhost, which is incorrect20:05
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
mupBug # changed: 1457205, 1464470, 1468994, 147015021:05
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
alexisbwallyworld, thumper release call?21:31
wallyworldmenn0: hey22:16
menn0wallyworld: howdy22:16
wallyworldmenn0: as ocr today, can i ask that you pay particular attention to any windows related PRs? as i've been told these are critical to get landed for 1.2422:17
menn0wallyworld: ok will do22:17
wallyworldi think there's 3 of them22:17
wallyworldty22:17
wallyworldmenn0: with the zip tools one, i've provided input on that already and it needs rework, so that's WIP so you can skip that one22:18
wallyworldi've talked to them online about it22:18
menn0wallyworld: ok thanks22:18
menn0wallyworld: did you see the changes I made to the certupdater to fix the race?22:19
wallyworldnot yet, just in passing,but thank you for fixing my fck up22:19
menn0wallyworld: I wouldn't say it was that bad. pretty subtle really, and I know you originally did that work under fairly extreme time pressure.22:20
wallyworldyeah, but that's how we always work right? :-)22:20
menn0wallyworld: it's here anyway if you want to see it: http://reviews.vapour.ws/r/2095/ (it's in 1.24 and master)22:20
wallyworld\o/ ty22:21
wallyworldlooks like there's 3 windows prs - 2106, 2109 and 200622:21
waiganithumper, menn0: environment destroy cmd: http://reviews.vapour.ws/r/2110/22:23
menn0wallyworld: i'm looking at 2106 now22:23
thumperwaigani: cheers, I would like to look before you land it22:23
menn0waigani: cool, will get to it soon22:23
waiganithanks both :)22:24
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
mupBug #1468354 changed: RelationUnitSuite setup fails <ci> <unit-tests> <juju-core:Fix Released> <https://launchpad.net/bugs/1468354>22:44
mupBug #1468355 changed: TestAddStoreCharmPlaceholder fails <ci> <test-failure> <juju-core:Fix Released> <https://launchpad.net/bugs/1468355>22:44
menn0wallyworld: all windows PRs reviewed22:55
wallyworldmenn0: awesome, ty22:55
menn0wallyworld: I think they're all pretty close22:56
wallyworldgreat yeah, still a few other issues also to unlock 1.24.322:56
wallyworldarm issue being one :-(22:56
=== kadams54 is now known as kadams54-away
menn0wallyworld: I'd like to get this in as well: https://github.com/juju/juju/pull/272423:10
wallyworldmenn0: indeed, that would be good to land23:20
* wallyworld relocating, afk for a bit23:21
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54 is now known as kadams54-away

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