/srv/irclogs.ubuntu.com/2016/04/20/#juju-dev.txt

natefinchrebased and fixed conflicts00:01
wallyworldnatefinch: is it https://jujucharms.com/docs/2.0/introducing-2 or https://jujucharms.com/docs/stable/introducing-200:02
* natefinch is doing pretty well for having a sleeping toddler in his lap :)00:02
natefinchwallyworld: evilnick said stable00:02
wallyworldok00:03
natefinchThe works 'now and later' bit is a slight problem. We could use the URL:00:03
natefinchhttps://jujucharms.com/docs/stable/introducing-200:03
natefinchI can create that page in the current stable docs and redirect to /devel/00:03
natefinchWhen we release the 2.0 docs in a few days, it will be at that URL anyhow.00:03
natefinch(that was from him)00:03
wallyworldnatefinch: i have asked some questions in the PR about the tests00:14
wallyworldeg we should be using PatchExecutable I think00:15
natefinchwallyworld: I didn't even know we had a patch executable00:15
wallyworldwe do :-)00:15
wallyworldvery useful00:16
natefinchoh god it writes OS dependent scripts.  Ouch00:16
natefinchsee, that's the nice thing about using the Go executable that we already have, it's already cross-platform00:17
wallyworldbut the tests are very messy00:17
natefinchwallyworld: maybe we could address these problems for beta 6?00:17
wallyworldhmmm, i reslly don't like the tests as they are00:17
wallyworldi guess we could00:18
natefinchwallyworld: well, I think the better solution might be to simply not run juju-1 and print 1.x all the time00:18
natefinchwallyworld: and that would clean up the production code and the tests00:18
wallyworldnatefinch: but actually, why can't the os.Exec patch just write to stdout without running anything?00:19
natefinchwallyworld: I could patch out the whole call to run anything, it's true.  My way lets us get a little closer to testing everything, but it's not truly necessary.  we could have a runExec(string path, args ...string) ([]byte, error) and patch that out00:22
wallyworldnatefinch: yes, something like that. i am reluctant to just print 1.x if rick has asked for the real version00:23
wallyworldnatefinch: bit also, PatchExecutable is used extensively in juju so why do something inconsistent here?00:23
natefinchwallyworld: 'cause patch executable is horrible ;)  But mostly, I didn't know it existed.00:24
natefinchwallyworld: also, patch executable doesn't let us verify we're sendingf the right arguments, AFAICT00:25
wallyworldthere's a PatchExedcutableEchoArgs00:25
natefinchOMG, that whole file is awful hackery00:26
mupBug #1572350 opened: juju status shows incorrect message after switching to a controller with no model <docteam> <juju-core:New> <https://launchpad.net/bugs/1572350>00:27
mupBug #1572353 opened: mismatch at [0].Tag.id: unequal; obtained "2"; expected "1" <ci> <regression> <test-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1572353>00:27
natefinchwallyworld: I can use that if that's what you think is best.00:28
wallyworldnatefinch: if you used PatchExcutableEchoArgs, you could easily verify that "juju version" is called right, and return the expected version to std out in only a few lines of code00:29
wallyworldit doesn't really matter if we consider PacthExdcutable good code or not, it's in our toolbox and is what juju uses and it works00:30
natefinchwallyworld: that's fine.  I'll change my code to use it.00:31
wallyworldty :-)00:31
wallyworldPatchExecutableEchArgs i *think* will work ok00:31
wallyworldfor what we need here00:31
natefinchwallyworld: ok00:32
mupBug #1550586 changed: github.com/juju/juju/tools/lxdclient_test constant overflows int <ci> <i386> <lxd> <regression> <juju-core:Fix Released> <https://launchpad.net/bugs/1550586>00:33
mupBug #1572355 opened: provider/maas/volumes_test.go constant overflows int on 386 <ci> <i386> <regression> <test-failure> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1572355>00:33
natefinchwallyworld: I'm not sure we can verify the args *and* produce output using what's there. It looks like it's one or the other00:36
wallyworldnatefinch: yeah, just looked at the code, it seems so00:38
natefinchwallyworld: I actually have to go for a while... my toddler's awake, and I have to take care of him.  Maybe we can address the tests in beta 6?  They're not *wrong* per se, even if they're not consistent with the rest of the code.00:39
natefinchwallyworld: I have time later to work on them, just not sure how ASAP this should be00:39
natefinchwallyworld: might be a couple hours00:39
wallyworldhmmm, ok, we need to get this landed asap. i was hoping for some other cleanup also but i guess that can be done in a followup00:40
wallyworldnatefinch: i've hit merge00:41
natefinchwallyworld: cool, thanks for the review and the merge.  i'll be back on later, we can talk about further cleanup.00:42
wallyworldok00:42
=== natefinch is now known as natefinch-afk
mupBug #1572355 changed: provider/maas/volumes_test.go constant overflows int on 386 <ci> <i386> <regression> <test-failure> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1572355>00:42
mupBug #1550586 opened: github.com/juju/juju/tools/lxdclient_test constant overflows int <ci> <i386> <lxd> <regression> <juju-core:Fix Released> <https://launchpad.net/bugs/1550586>00:42
menn0cherylj, wallyworld, thumper: I'm seeing a lot of this in failed CI runs from the last 24 hours:00:47
menn0ERROR juju.state.unit unit.go:720 unit ubuntu/0 cannot get assigned machine: unit "ubuntu/0" is not assigned to a machine00:48
menn0This is happening when jobs are just deploying the ubuntu charm00:48
menn0I'm seeing it in functional-ha-recovery and functional-ha-backup-restore00:48
menn0it's just in the test setup before it tries to enable HA and do other things00:49
menn0hmmm actually it might just happen when Status is called and a unit is being deployed...00:51
mupBug #1550586 changed: github.com/juju/juju/tools/lxdclient_test constant overflows int <ci> <i386> <lxd> <regression> <juju-core:Fix Released> <https://launchpad.net/bugs/1550586>00:57
mupBug #1572355 opened: provider/maas/volumes_test.go constant overflows int on 386 <ci> <i386> <regression> <test-failure> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1572355>00:57
sinzuimenn0: yes We see than in the restore tests that claim success, but acutally failed https://bugs.launchpad.net/juju-core/+bug/156946700:59
mupBug #1569467: juju restore-backup does not complete properly <backup-restore> <ci> <regression> <juju-core:Triaged by fwereade> <https://launchpad.net/bugs/1569467>00:59
* sinzui just purges 5 instances from us-east-1 left behind by today's tests01:00
thumpermenn0: hmm...01:01
thumperjust status related?01:02
menn0sinzui: a lot of the log files for the failures also appear to be truncated ... activity in the console logs goes on for much longer than what's in the machine logs01:03
sinzuithat is odd. I never seen truncated logs before01:04
* menn0 hopes it isn't that juju that stops logging01:04
menn0I'll do some more digging but things look pretty unhappy right now01:04
wallyworldthumper: ping01:24
thumperwallyworld: hey01:24
wallyworldfor you maas BlockSize types, you should use int6401:25
wallyworlduint6401:25
wallyworldwe do that elsewhere in storage01:25
wallyworldand not that it matters now, because we have just agreed to drop i386, but it fails on i38601:25
wallyworlddue to int overflow01:25
wallyworldbut to be consistent with juju/storahe/BlockDevice01:26
wallyworldwould be good01:26
wallyworldso gomaasapi.BlockDevice could be updated01:26
wallyworldthumper: you ok with that?01:29
thumpermeh01:30
thumpercan do01:30
wallyworldthumper: it will avoid casts when copying data01:34
thumperwallyworld: otp right now, so distracted01:35
wallyworldsure np01:35
menn0sinzui, thumper, cherylj, wallyworld: ok I'm less concerned about the failures now. it looks like we've been running into quota limits01:39
menn0"cannot run instances: Your quota allows for 0 more running instances"01:39
cheryljfun01:39
sinzuimenn0: yes the restore tests are always leaving unit/0 behind because the machine is not known by the restored controller01:40
menn0I believe sinzui just cleaned up some orphaned instances01:40
sinzuiand I did just clean us-east-1 a hour ago01:40
menn0sinzui, cherylj, wallyworld: because of the quota issues I still can't be sure if my peergrouper changes have helped01:41
menn0I'll keep an eye on the runs01:41
mupBug #1543770 changed: Juju 2.0alpha1 does not assign a proper netmask for LXC containers <cpe-critsit> <cpe-sa> <dhcp> <lxc> <maas> <network> <juju-core:Fix Released> <https://launchpad.net/bugs/1543770>01:45
thumperwallyworld: the main reason I didn't was due to schema.ForceInt returning an int02:03
thumperand that is the only reason02:03
thumpercould easily do it inside gomaasapi02:03
wallyworldok02:03
wallyworldthumper: fwiw, iirc, all sizes in juju/storage are uint64 so it will make your life easier later02:05
* thumper nods02:05
axwwallyworld: can you please take a look at https://github.com/go-amz/amz/pull/67 when you have a moment02:11
wallyworldsure02:11
wallyworldsorry, i forgot02:11
axwwallyworld: np, juju PR hasn't had a proper review yet anyway02:11
perrito666yay go 1.6 made http.Client default transport no longer support  file:// protocol02:13
perrito666at least in windows :p02:13
perrito666or changed the way it handles file :p02:14
wallyworldaxw: lgtm, i assume we will set the new sg tags elsewhere02:15
axwwallyworld: yes, in the juju branch02:15
axwta02:16
perrito666well with the pleasure of having fixed this ill go to sleep see you all tomorrow, cheers02:17
wallyworldperrito666: ty. do you have a reference for the change in behaviour? i wonder ehy they did it just on windows02:18
perrito666Wallyworld so what changed (just confirmed through testing) is the kind of url handled02:27
mupBug # changed: 1379396, 1456757, 1481133, 1494743, 1534610, 1534619, 1534632, 1534637, 1544853, 1550817, 1550821, 157235502:28
perrito666Windows is different from linux in the necessity to have a drive letter in the path02:28
wallyworldperrito666: ok, i'll look for something in the release notes02:28
wallyworldthey must have documented it if the behaviour changed02:28
perrito666Tomorrow ill hit the code/release notes to see why \\localhost\c$ is no longer accepted and what is now the alternative02:29
perrito666By default, if the drive letter is omitted c is used and it works02:29
perrito666Now ill need to figure what is the new way of specifying the drive02:29
perrito666C u all tomorrow02:30
mupBug # changed: 1469807, 1534620, 1545045, 1552021, 1559381, 1559382, 155970402:34
mupBug # opened: 1469807, 1534620, 1545045, 1552021, 1559381, 1559382, 155970402:43
mupBug # changed: 1469807, 1534620, 1545045, 1552021, 1559381, 1559382, 155970402:58
=== natefinch-afk is now known as natefinch
mupBug # changed: 1290920, 1421315, 1421621, 1436863, 1455627, 1457575, 1460683, 1488576, 1532831, 1559715, 156806903:04
mupBug #1458588 opened: cannot add charm to storage: io timeout <ci> <intermittent-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1458588>03:04
mupBug #1572382 opened: Can not add credential to user-defined OpenStack provider in juju 2.0 <openstack-provider> <juju-core:New> <https://launchpad.net/bugs/1572382>03:04
natefinchwallyworld: 1:1?03:05
wallyworldnatefinch: sure, otp, one sec03:06
natefinchwallyworld: np03:06
mupBug # changed: 1260187, 1490656, 1498010, 1498084, 1498175, 1502935, 1514451, 1521220, 152897503:34
wallyworldnatefinch: next bug for your to do list maybe, bug 156751803:37
mupBug #1567518: Payload commands don't work <juju-core:Triaged> <https://launchpad.net/bugs/1567518>03:37
wallyworldafter other stuff is wrapped up03:37
natefinchwallyworld: yeah, I'd been trying to stick to the red ones, but I'm more than happy to fix that one.. I'm sure it must be something dumb.  I had looked at it briefly before, but didn't immediately see the problem.03:38
wallyworldty, will be good to get that fixed03:38
wallyworldthumper: there's a test breakage affecting CI in a maas2 test, i will skip it for now to unblock beta503:38
wallyworldTestInstanceVolumesMAAS203:38
thumperwallyworld: ok03:38
wallyworldbug 157235303:39
mupBug #1572353: mismatch at [0].Tag.id: unequal; obtained "2"; expected "1" <ci> <regression> <test-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1572353>03:39
thumperta03:39
* thumper looks03:39
mupBug #1391066 changed: worker/uniter: FAIL: filter_test.go:449: FilterSuite.TestConfigAndAddressEventsDiscarded <ci> <intermittent-failure> <test-failure> <unit-tests> <juju-core:Fix Released> <https://launchpad.net/bugs/1391066>03:40
mupBug #1409739 changed: UniterSuite.TestActionEvent failing intermittently <ci> <intermittent-failure> <test-failure> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1409739>03:40
mupBug #1426394 changed: TestConfigEvents random failure <ci> <intermittent-failure> <test-failure> <unit-tests> <juju-core:Fix Released> <https://launchpad.net/bugs/1426394>03:40
thumperwallyworld: it is a dict ordering bug03:40
wallyworldthumper: samecontents may fix it03:40
thumperaye03:40
* thumper looks03:40
wallyworldbut i didn't want to just assume that order didn't matter03:41
wallyworldwithout looking a bit deeper03:41
wallyworldthumper: it is a slice isn't it?03:41
wallyworld[]storage.Volume03:41
wallyworldhence ny concern about ordering03:41
thumperyes, but it is coming in from python03:42
thumperwhich may not have strict ordering03:42
thumperlet me look deeper03:42
thumperyou can skip it now03:42
wallyworldok03:42
thumperI can unskip for the landing03:42
* thumper reads the tests03:45
thumperwallyworld: yep03:46
thumperthe source iterates over a map03:46
thumperand appends into a slice03:46
thumperso ordering is not defined03:46
wallyworldah, the python source03:46
thumperno03:46
thumperthe test creates a dict03:47
thumperno, map03:47
* thumper tries to replicate the test failure locally03:47
wallyworldoh right ok, i didn't look too closely at the test03:47
thumpergot it03:47
thumpergot a fix03:51
thumperand tested03:51
wallyworldthumper: if you push your fix, i'll stop the landing job03:51
thumperwallyworld: have you seen dave's stress script03:51
thumper?03:51
thumperwallyworld: pushing now03:51
wallyworldno, don't think so03:51
wallyworldif i have i gorgot03:52
wallyworldforgot03:52
mupBug #1391066 opened: worker/uniter: FAIL: filter_test.go:449: FilterSuite.TestConfigAndAddressEventsDiscarded <ci> <intermittent-failure> <test-failure> <unit-tests> <juju-core:Fix Released> <https://launchpad.net/bugs/1391066>03:52
mupBug #1409739 opened: UniterSuite.TestActionEvent failing intermittently <ci> <intermittent-failure> <test-failure> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1409739>03:52
mupBug #1426394 opened: TestConfigEvents random failure <ci> <intermittent-failure> <test-failure> <unit-tests> <juju-core:Fix Released> <https://launchpad.net/bugs/1426394>03:52
thumperhttp://paste.ubuntu.com/15940883/03:52
thumperwallyworld: http://reviews.vapour.ws/r/4649/03:54
wallyworldlooking03:54
wallyworldi'll have to keep that script handy03:54
thumperwallyworld: I have it in ~/bin/ as 'stress.sh'03:54
thumperit compiles and links once and runs repeatedly03:54
thumpervery handy for intermittent failures03:54
wallyworldindeed03:55
wallyworldthumper: +1, i'll cancel my job03:55
thumperk03:55
thumperI've asked the bot to merge it03:56
thumperit has been accepted03:56
mupBug # changed: 1391066, 1409739, 1411818, 1426394, 1432654, 1436495, 1440199, 1440205, 1440213, 1440219, 1451104, 145672604:04
mupBug # changed: 1456763, 1459337, 1461578, 1463047, 1463135, 1469777, 1471004, 1471030, 147130804:16
mupBug #1456728 opened: UniterSuite.TearDownTest fails <ci> <test-failure> <juju-core:Triaged> <juju-core 1.22:Triaged> <https://launchpad.net/bugs/1456728>04:16
mupBug #1457092 opened: InvalidInstanceID.NotFound <bootstrap> <ci> <intermittent-failure> <juju-core:Triaged> <juju-core 1.22:Triaged> <juju-core 1.24:Triaged> <https://launchpad.net/bugs/1457092>04:16
mupBug #1458992 opened: Uploading tools: closed explicitly <ci> <intermittent-failure> <juju-core:Incomplete> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1458992>04:16
menn0thumper, axw or wallyworld: https://github.com/juju/juju/pull/522504:24
wallyworldlooking04:24
wallyworldmenn0: nice pickup04:25
menn0wallyworld: I wasn't able to repro but it because obvious when I looked right to the bottom of the race detector output and saw where one of the goroutines had been created (i.e. a different test)04:26
wallyworldack04:27
thumperwallyworld, menn0: http://reviews.vapour.ws/r/4651/04:28
menn0thumper: looking04:29
* wallyworld hugs thumper04:29
thumpermenn0: I really wanted to change schema.ForceInt to return int64 instead of int but that was out of scope for this change04:30
thumperI really hate that scheam.Int returns int6404:30
thumperbut scheam.ForceInt is just int04:30
wallyworld+10004:30
thumperwallyworld: lp bug 1572353 fix committed04:33
mupBug #1572353: mismatch at [0].Tag.id: unequal; obtained "2"; expected "1" <ci> <regression> <test-failure> <juju-core:Fix Committed by thumper> <https://launchpad.net/bugs/1572353>04:33
wallyworldi saw :-)04:33
wallyworldty04:33
thumpernp04:33
menn0thumper: you've only tested for numbers around +/-4204:35
menn0thumper: I think you need to test for all numbers04:36
menn0sort that out will you :-p04:36
thumperheh04:36
* menn0 jokes04:36
menn0thumper: ship it04:36
thumperfor i := 0; i < math.MAX_INT; i++ { check fmt.Sprint(i)... }04:36
menn0thumper: what about all floating point numbers too :)04:37
thumperI did notice a missed code path04:37
menn0and all possible strings04:37
thumperfor negative float values04:37
* thumper will add it04:37
menn0thumper: what's that?04:37
thumper-42.504:38
thumperthe conditional in the float case statement04:38
thumperthat checks for v < 004:38
menn0ah right... a missed test not implementation04:38
menn0you had me looking in the implementation and that looked right04:39
thumperyeah, just the test04:39
thumpersinzui: does the merge bot do juju/schema?04:40
natefinchthumper: easiest way to find out, look at previous commits04:41
thumperdoesn't look like it04:41
sinzuithumper: the bot only runs make build and make test04:41
redir_looks like next is back04:41
mupBug # changed: 1463399, 1463826, 1464671, 1466525, 1468357, 1468369, 1469196, 1471775, 1479889, 1479942, 1484303, 1484308, 1485013, 1490653, 1494749, 1494754, 1494765,04:46
mup1494870, 1494876, 1494887, 1494894, 1494938, 1496472, 1502127, 1502149, 1502153, 1502154, 1507637, 1507644, 1534623, 1559313, 1560061, 1560192, 156582704:46
thumperwallyworld: https://github.com/juju/gomaasapi/pull/4304:48
mupBug # changed: 1535328, 1557264, 1559299, 1559305, 1565831, 1566450, 156645204:49
mupBug # opened: 1535328, 1557264, 1559299, 1559305, 1565831, 1566450, 156645205:04
mupBug # changed: 1384233, 1436407, 1457124, 1458992, 1461965, 1461968, 1461969, 1462409, 1462415, 1467556, 1510129, 1532232, 1535328, 1557264, 1559299, 1559305, 1565831, 1566450, 156645205:16
mupBug #1558803 changed: Manual deploy on ppc64el wants wrong package and agents <ci> <manual-provider> <juju-core:Fix Released> <https://launchpad.net/bugs/1558803>05:22
axwwallyworld: probably not till later given the meeting's on soon, but if you can take a look later it'd be much appreciated: https://github.com/juju/juju/pull/522605:31
wallyworldsure05:31
mupBug #1558803 opened: Manual deploy on ppc64el wants wrong package and agents <ci> <manual-provider> <juju-core:Fix Released> <https://launchpad.net/bugs/1558803>05:37
mupBug #1558803 changed: Manual deploy on ppc64el wants wrong package and agents <ci> <manual-provider> <juju-core:Fix Released> <https://launchpad.net/bugs/1558803>05:46
hoenirIn order to know the version for windows ,I need to look at the CurrentVersion registry value but there are some windows versions with the same SKU, like for example desktop and server, were can I look to know if I'm running a windows server editior or destktop one, other than looking on ProductName? It's there any integer or bytes number that will give me this answer?07:32
voidspace"nonpersisting-pamala" is a slightly worrying name for a maas node08:32
voidspaceI'd quite like it to be persisting thank you very much08:32
babbageclunkaxw: ping?08:41
axwbabbageclunk: pong, in a meeting atm08:46
babbageclunkaxw: ok - let me know when you're free? Just want to confirm stuff before I go off half-cocked again. :)08:48
axwbabbageclunk: :) no worries, will do08:48
dimiternvoidspace, babbageclunk, frobware: please take a look http://reviews.vapour.ws/r/4653/08:59
voidspacedimitern: ah, but have you tested on MAAS 2?09:01
dimiternvoidspace: not yet, wasn't sure if it'll work, but will run a test now09:01
voidspacedimitern: should do09:02
voidspacedimitern: anyway, straightforward - looks good09:02
dimiternvoidspace: thanks, will let you know if it works on 2.0 shortly09:02
axwbabbageclunk: sorry, finished now09:28
babbageclunkaxw: great, thanks!09:29
babbageclunkaxw: I'm already putting device.Name() into the VolumeAttachmentInfo.DeviceName, I think - should I change that to the full /dev/disk/by-dname/ path?09:31
babbageclunkawx: or is it better with the device name.09:31
babbageclunkgah, typo'd your name09:31
axwbabbageclunk: is /dev/disk/by-dname *always* available?09:32
babbageclunkaxw: yeah, from what blake_r was saying yesterday.09:32
axwbabbageclunk: also, is it really "by-dname"? not by-name?09:32
axwok09:32
* axw looks at MAAS docs and sees that it really is09:32
babbageclunkaxw: by-dname09:32
voidspacebabbageclunk: so, CreateDevice only lets us create a device with one interface - and AllocateContainerAddresses wants to be able to create devices with multiple interfaces on different subnets09:33
voidspacebabbageclunk: so it can't just be an "all in one call" unfortunately09:33
voidspacebabbageclunk: still not too bad09:33
babbageclunkaxw: do we also want to extract the hardware id from the id_path if it's a by-id one?09:33
axwbabbageclunk: typically speaking, a device name (e.g. /dev/sdb) is not guaranteed to be persistent09:34
voidspacedimitern: do we really need to be able to create containers (devices) with multiple nics on different subnets?09:34
axwbabbageclunk: we need something unique and persistent for the lifetime of the volume's attachment to the machine09:34
axwbabbageclunk: i.e. it must not change if the machine is restarted09:34
babbageclunkaxw: ok09:34
axwbabbageclunk: for MAAS on KVM, the device names should not change09:35
axwbabbageclunk: I can't speak with any authority about by-dname, but it looks to me like it's just the same as the device name09:35
axwbabbageclunk: whereas "by-id" should be persistent09:35
babbageclunkaxw: ok - so then I should do something like what's there already (in the MAAS 1 version) - use the by-id path to get the hardware id if available09:36
axwbabbageclunk: that's my feeling, but if there's one thing that's always guaranteed to be available, and guaranteed to be persistent - then use that09:36
babbageclunkaxw: and if not set the device name on the attachment info09:37
axwbabbageclunk: yup. doesn't hurt to set the DeviceName field also; HardwareId will be used in preference it it's set09:37
babbageclunkaxw: Well, that was what I understood from blake_r09:37
babbageclunkaxw: (about by-dname)09:38
axwbabbageclunk: so if the by-dname value is always persistent, then you could just put that into DeviceLink09:38
axwbabbageclunk: and forget about HardwareId and DeviceName09:38
axwbabbageclunk: on the machine, we have a worker that inspects udev to get the device links, so we can match against the one you provide in VolumeInfo09:39
babbageclunkaxw: ah, ok - I hadn't clicked DeviceLink was a different field on the attachment info - my brain was autocorrecting it to DeviceName.09:39
axwVolumeAttachmentInfo*09:39
axwbabbageclunk: yeah, DeviceName is just "sdb", whereas DeviceLink can be any of the /dev/disk/by-... links09:40
babbageclunkaxw: Ok - that sounds like the right thing to do - just DeviceLink on the attachment info.09:40
babbageclunkaxw:09:40
babbageclunkOops09:40
axwbabbageclunk: we needed that for GCE, because on there you're expected to use one of those paths to uniquely/persistently identify disks09:40
axwsounds good09:40
babbageclunkaxw: awesome - thanks for helping me muddle through all this.09:40
axwbabbageclunk: not at all :)09:40
axwbabbageclunk: gotta go now, have a nice day09:41
babbageclunkaxw: you too!09:41
babbageclunkvoidspace: yeah, I guess convenience calls cost flexibility.09:42
babbageclunkvoidspace: could we reasonably extend the gomaasapi one to take more info?09:42
babbageclunkvoidspace: or does it make more sense to just do it in the provider with the lower-level bits?09:43
voidspacebabbageclunk: well, I'm trying to verify if maas supports devices with interfaces on different subnets10:24
voidspacebabbageclunk: it looks like the CreateDevice call only supports multiple interfaces on the same subnets10:24
voidspacebabbageclunk: so, assuming we *can* have multiple interfaces on different subnets, and do it as separate calls to add / link then there's not much value to it being in gomaasapi over juju10:25
voidspacebabbageclunk: we still have to maintain the code wherever it lives...10:25
voidspacebabbageclunk: I need to setup a maas that I can test this on though10:26
babbageclunkvoidspace: yeah, makes sense10:44
TheMuemorning10:47
wallyworldaxw: reviewed, have a question about retry12:35
mupBug #1555391 changed: MachineSuite failed during unit test <2.0-count> <ci> <intermittent-failure> <test-failure> <unit-tests> <juju-core:Fix Released> <https://launchpad.net/bugs/1555391>12:36
mupBug #1544849 changed: unit-test loop with juju.worker.uniter.remotestate retry hook timer triggered <2.0-count> <ci> <intermittent-failure> <ppc64el> <unit-tests> <juju-core:Fix Released> <https://launchpad.net/bugs/1544849>12:45
mupBug #1545055 changed: TestManageModelRunsUndertaker timed out <2.0-count> <ci> <intermittent-failure> <juju-core:Fix Released> <https://launchpad.net/bugs/1545055>12:45
mupBug #1544849 opened: unit-test loop with juju.worker.uniter.remotestate retry hook timer triggered <2.0-count> <ci> <intermittent-failure> <ppc64el> <unit-tests> <juju-core:Fix Released> <https://launchpad.net/bugs/1544849>12:57
mupBug #1545055 opened: TestManageModelRunsUndertaker timed out <2.0-count> <ci> <intermittent-failure> <juju-core:Fix Released> <https://launchpad.net/bugs/1545055>12:57
mupBug # changed: 1544849, 1545055, 1567676, 1571947, 157235313:06
mupBug #1567676 opened: windows: networker tries to update invalid device and blocks machiner from working <windows> <juju-core:Fix Released by dimitern> <https://launchpad.net/bugs/1567676>13:09
mupBug #1571947 opened: bootstrap --upload-tools fails with "cannot start bootstrap instance: missing tools URL" <azure-provider> <bootstrap> <ci> <regression> <upload-tools> <juju-core:Fix Released by axwalk> <https://launchpad.net/bugs/1571947>13:09
mupBug #1572353 opened: mismatch at [0].Tag.id: unequal; obtained "2"; expected "1" <ci> <regression> <test-failure> <juju-core:Fix Released by thumper> <https://launchpad.net/bugs/1572353>13:09
mupBug #1567676 changed: windows: networker tries to update invalid device and blocks machiner from working <windows> <juju-core:Fix Released by dimitern> <https://launchpad.net/bugs/1567676>13:15
mupBug #1571947 changed: bootstrap --upload-tools fails with "cannot start bootstrap instance: missing tools URL" <azure-provider> <bootstrap> <ci> <regression> <upload-tools> <juju-core:Fix Released by axwalk> <https://launchpad.net/bugs/1571947>13:15
mupBug #1572353 changed: mismatch at [0].Tag.id: unequal; obtained "2"; expected "1" <ci> <regression> <test-failure> <juju-core:Fix Released by thumper> <https://launchpad.net/bugs/1572353>13:15
=== natefinch is now known as natefinch-afk
babbageclunkvoidspace, dimitern, frobware: reviews please? http://reviews.vapour.ws/r/4655/13:43
dimiternbabbageclunk: looking13:43
babbageclunk(That's a nice quick one)13:43
babbageclunkvoidspace, dimitern, frobware: Also this one (a bit more involved, but just tests): http://reviews.vapour.ws/r/4654/13:44
dimiternbabbageclunk: no need to bump gomaasapi rev to use Path() ?13:44
babbageclunkvoidspace: man, journald keeps hanging/crashing on me13:44
babbageclunkdimitern: no, it was already there - I didn't end up needing to add HardwareId13:45
dimiternbabbageclunk: ok, first one LGTM13:45
babbageclunkdimitern: sweet, thanks!13:47
dimiternbabbageclunk: second one also LGTM14:03
dimiternfrobware, voidspace, dooferlad, babbageclunk: guys, please take a look at http://reviews.vapour.ws/r/4656/ - first step towards cleaning up a *lot* of legacy code14:04
mupBug # changed: 1460882, 1503992, 1534627, 1541482, 1551779, 1554700, 1554705, 1555694, 1557380, 1558078, 1561315, 1563932, 1563939, 1563942, 1563950, 1563956, 1564017, 1564395, 1564515, 1566332, 1566362, 1566367, 1566369, 1566431, 1567170, 1567719, 1567721, 1567722, 1567724, 1567726, 1567728,14:09
mup1567730, 1567732, 1567734, 1567925, 1568669, 1568848, 1568862, 1568925, 1569054, 1569086, 1569386, 1569490, 1569652, 1569654, 1569914, 1569948, 1570473, 1570654, 1571254, 1571476, 1571478, 1571861, 157190114:09
mupBug #1572585 opened: juju ssh spawns many juju and ssh processes <juju-core:New> <https://launchpad.net/bugs/1572585>14:09
dimiternlet it rain ! :D14:09
dimiternbugs galore14:09
voidspacereviews galore too14:10
mupBug #1572585 changed: juju ssh spawns many juju and ssh processes <juju-core:New> <https://launchpad.net/bugs/1572585>14:12
mupBug # opened: 1460882, 1503992, 1534627, 1541482, 1551779, 1554700, 1554705, 1555694, 1557380, 1558078, 1561315, 1563932, 1563939, 1563942, 1563950, 1563956, 1564017, 1564395, 1564515, 1566332, 1566362, 1566367, 1566369, 1566431, 1567170, 1567719, 1567721, 1567722, 1567724, 1567726, 1567728,14:12
mup1567730, 1567732, 1567734, 1567925, 1568669, 1568848, 1568862, 1568925, 1569054, 1569086, 1569386, 1569490, 1569652, 1569654, 1569914, 1569948, 1570473, 1570654, 1571254, 1571476, 1571478, 1571861, 157190114:12
mupBug # changed: 1460882, 1503992, 1534627, 1541482, 1551779, 1554700, 1554705, 1555694, 1557380, 1558078, 1561315, 1563932, 1563939, 1563942, 1563950, 1563956, 1564017, 1564395, 1564515, 1566332, 1566362, 1566367, 1566369, 1566431, 1567170, 1567719, 1567721, 1567722, 1567724, 1567726, 1567728,14:15
mup1567730, 1567732, 1567734, 1567925, 1568669, 1568848, 1568862, 1568925, 1569054, 1569086, 1569386, 1569490, 1569652, 1569654, 1569914, 1569948, 1570473, 1570654, 1571254, 1571476, 1571478, 1571861, 157190114:15
mupBug #1572585 opened: juju ssh spawns many juju and ssh processes <juju-core:New> <https://launchpad.net/bugs/1572585>14:15
babbageclunkdimitern: thanks for reviews!14:16
babbageclunkdimitern: looking at yours now14:24
dimiternbabbageclunk: cheers!14:24
rogpeppeis there any way to destroy a model within a controller without connecting to the model's API?14:32
rogpeppe(other than destroying the controller and all its models)14:32
voidspacedimitern: wow, that PR must have been annoying to do14:34
voidspacedimitern: working through it as wll14:34
voidspace*well14:34
dimiternvoidspace: it was frustrating, I'm glad it's done and verified to work :)14:34
dimiternif that's the last time I see any of that code will be too early14:35
voidspacedimitern: there's a use of NewSubnetTag in there which can panic14:38
dimiternvoidspace: I've replied to your comment14:38
voidspacedimitern: so it might panic in the future, but as it's unlikely at the moment it's ok?14:39
dimiternvoidspace: ok, fair enough - AIUI you suggest not to use `subnetID != ""` but names.IsValidSubnet..() instead?14:40
voidspacedimitern: isn't there a way of creating a tag that will error instead of panic - those panic'ing New functions are annoyiing14:41
voidspace*annoying14:41
voidspacedimitern: don't you want to return an error if you get a non-empty-but-invalid subnet id?14:42
voidspacedimitern: i.e. leave the empty check, but check IsValid as well14:42
dimiternvoidspace: the only way I can think of is doing the same check New..() does before it panics14:42
voidspacedimitern: yeah, very irritating14:42
dimiternvoidspace: ok, will change to check for errors etc.14:43
voidspacedimitern: as these are stored in state do you need a migration?14:47
dimiternvoidspace: IIRC migrations are not yet working14:49
dimiternbut thumper can know for sure14:49
voidspacedimitern: ok, but will you remember we need one when they are - or are we just not worrying at all about upgrades?14:50
babbageclunkvoidspace: what should I be working on now?14:50
voidspacebabbageclunk: well, the only remaining task is: Evaluate all tests in environ_whitebox_test.go and see if any ought to be ported to MAAS 214:51
voidspacebabbageclunk: that should be fun...14:51
dimiternvoidspace: I'll send a mail to thumper/menn0 to clarify that; upgrades from pre-2.0 are not yet allowed AIUI14:51
voidspacebabbageclunk: with the exception of device related tests of course14:51
babbageclunkvoidspace: ok, I guess I'll start looking at that!14:52
voidspacebabbageclunk: that should be fun, sorry14:56
voidspacebabbageclunk: I'm nearly there on devices14:56
babbageclunkdimitern: What you were suggesting should be cached on the maas environ this morning? Can't remember.15:33
dimiternbabbageclunk: the apiversion check now always done in SetConfig15:34
babbageclunkdimitern: So if ecfg.maasServer() & .maasOAuth() haven't changed and env.apiVersion isn't zero then skip the version detection?15:37
dimiternbabbageclunk: let me have a look at how it is now15:39
mupBug #1564670 changed: After dist upgrade Juju 1.X should still be the default <packaging> <juju-core:Fix Released> <juju-core (Ubuntu):Fix Released> <https://launchpad.net/bugs/1564670>15:39
mupBug #1572634 opened: help text for juju logout needs improving <helpdocs> <juju-core:New> <https://launchpad.net/bugs/1572634>15:39
mupBug #1572637 opened: help text for juju change-user-password needs improving <helpdocs> <juju-core:New> <https://launchpad.net/bugs/1572637>15:45
dimiternbabbageclunk: hmm.. so what I thought is just verifying whether maasEnviron.apiVersion is empty and only then doing the version check15:49
dimiternbabbageclunk: it could be done with a guard mutex, like SupportedArchitectures()15:50
mupBug #1572637 changed: help text for juju change-user-password needs improving <helpdocs> <juju-core:New> <https://launchpad.net/bugs/1572637>15:51
babbageclunkdimitern: ok - will that be a problem if the maas server url changes? Is that something that even makes sense?15:52
dimiternbabbageclunk: it cannot change for an existing model15:52
babbageclunkdimitern: ok15:53
babbageclunkdimitern: There's already a guard mutex in SetConfig - seems like that would cover this, right?15:55
babbageclunkdimitern: so really this is just an early return if env.apiVersion is already set.15:55
babbageclunkdimitern: is it por15:56
babbageclunkgah15:56
dooferladfrobware: I am not seeing the bridge script run at all on a precise node. Odd.15:56
dimiternbabbageclunk: that could work as well, yeah15:56
babbageclunkdimitern: is it possible for someone to upgrade their maas from 1.9 to 2.0 underneath a Juju model?15:57
babbageclunkdimitern: (sorry if these are crazy questions)15:57
frobwaredooferlad: odd indeed.15:58
dimiternbabbageclunk: it's possible - one of the many ways to shoot yourself in the foot :)15:58
dooferladfrobware: looks like the file isn't added to the file system.15:58
frobwaredooferlad: odd. :) Because I have tried this in the past as that's where I ran into the --<option> incompatibilities.15:59
dimiternbabbageclunk: but we're not trying to handle this case - for none of the providers AFAICS15:59
babbageclunkdimitern: ok15:59
dooferladfrobware: http://paste.ubuntu.com/15951618/16:00
dooferladI put in the "Done bridging..." message. If the script is found you also get a "Bridging..." message.16:01
frobwaredooferlad: line 13, unlucky for some...16:01
dooferladfrobware: indeed16:01
frobwaredooferlad: is this one the first boot, or second?16:01
dooferladfrobware: not sure.16:01
frobwaredooferlad: it's the second, then to be expected as we `trap 'rm -f /tmp/add-juju-bridge.py' so that it doesn't run again.16:02
dooferladfrobware: that is the only mention of it in /var/log/cloud-init-output.log16:02
dooferladfrobware: is that overwritten at each boot?16:02
frobwaredooferlad: dunno for sure16:03
dooferladfrobware: there is only one interfaces file and it hasn't been bridged, which is why I went looking.16:04
frobwaredooferlad: I have no nodes atm (tis deliberate)...16:04
mupBug #1572382 changed: Can not add credential to user-defined OpenStack provider in juju 2.0 <openstack-provider> <juju-core:Invalid> <https://launchpad.net/bugs/1572382>16:09
mupBug #1572637 opened: help text for juju change-user-password needs improving <helpdocs> <juju-core:Triaged> <https://launchpad.net/bugs/1572637>16:09
mupBug #1572382 opened: Can not add credential to user-defined OpenStack provider in juju 2.0 <openstack-provider> <juju-core:Invalid> <https://launchpad.net/bugs/1572382>16:12
mupBug #1572382 changed: Can not add credential to user-defined OpenStack provider in juju 2.0 <openstack-provider> <juju-core:Invalid> <https://launchpad.net/bugs/1572382>16:15
mupBug #1386219 changed: Usability: adding a large number of units takes too long <deploy> <performance> <scale-testing> <usability> <juju-core:Triaged> <https://launchpad.net/bugs/1386219>16:40
mupBug #1386219 opened: Usability: adding a large number of units takes too long <deploy> <performance> <scale-testing> <usability> <juju-core:Triaged> <https://launchpad.net/bugs/1386219>16:43
mupBug #1386219 changed: Usability: adding a large number of units takes too long <deploy> <performance> <scale-testing> <usability> <juju-core:Triaged> <https://launchpad.net/bugs/1386219>16:46
babbageclunkvoidspace: did you forget what day it is?16:52
voidspacebabbageclunk: yes16:53
babbageclunkvoidspace: :)16:53
voidspacebabbageclunk: hah, no I just copied and pasted and forgot to change it16:54
=== natefinch-afk is now known as natefinch
natefinchsinzui, mgz: what's our 2.0 upgrade plan for non-ubuntu users?  Just realized the fix I made for bug #1564622 probably should be ubuntu-only16:59
mupBug #1564622: Suggest juju1 upon first use of juju2 if there is an existing JUJU_HOME dir <juju-release-support> <juju-core:In Progress by natefinch> <https://launchpad.net/bugs/1564622>16:59
natefinchcherylj: ^17:02
sinzuinatefinch: Just install the new package. it replaces the old package in the cas of windows clients. Centos and osx packages are just dirs in the $PATH.17:02
natefinchsinzui: uh, that's a problem for windows, isn't it?  If someone wants to run them side by side.17:03
sinzuinatefinch: could be17:03
natefinchsinzui: it's probably trivial to get 2.0 to install side by side with 1.x, probably just need to change the directory name we install to, and probably the installer UUID.17:04
sinzuinatefinch: I think inno setup allows you to choose an alternate location.17:04
natefinchsinzui: well, yes, but if the AppId is the same as the old appId, it'll remove the old one.  I think we want to change the AppId to a new UUID, so it won't remove the old one17:05
natefinchsinzui: and probably change the app name to "Juju 2.0" (which doesn't change the executable name, just how it shows up in add/remove programs and the start menu)17:06
sinzuinatefinch: I will report the bug to get this done17:09
natefinchsinzui: while we're in there, we should change the URL from juju.ubuntu.com to jujucharms.com17:10
sinzuiyes17:13
natefinchsinzui: how about homebrew? I presume we have to change something there to get them side by side.17:16
natefinchsinzui: my knowledge of homebrew doesn't extend much past knowledge of its existence.17:16
sinzuinatefinch: We could propose that and they may accept it17:16
natefinchsinzui: I think we should.  If we don't have backwards or forwards compatibility, people need to be able to run side by side.17:17
=== redir is now known as redir_afk
redir_afkbbiab ~30 minutes17:39
redirnatefinch, ericsnow: review please http://reviews.vapour.ws/r/4661/18:43
ericsnowredir: k18:43
redirericsnow: when you have a minute of course18:43
cheryljfwereade: if you're still around:  https://bugs.launchpad.net/juju-core/+bug/1572237/comments/518:51
mupBug #1572237: juju rc1 loses agents during a lxd deploy <lxd-provider> <juju-core:Triaged by fwereade> <https://launchpad.net/bugs/1572237>18:51
mupBug #1572695 opened: Manual add-machine creates additional broken machine <ci> <intermittent-failure> <manual-provider> <precise> <juju-core:Triaged> <https://launchpad.net/bugs/1572695>18:52
alexisbcherylj, I think he is out for the rest of the day18:55
TheMueheya cherylj and alexisb18:56
* TheMue is still in with one eye while coding in his hotel room18:56
perrito666wow utils tests are seriously not windows compatible18:58
TheMueperrito666: maybe windows is not unit test compatible18:59
natefinchTheMue: if so, only because we made it so :/19:00
TheMuenatefinch: did anybody ever expected our bash on win? ;)19:01
natefinchTheMue: right? I think that's really cool.  I think someone said they tried ubuntu's juju in windows' bash, and it didn't work, but I didn't see any more details.19:03
TheMuenatefinch: juju simply is cool19:04
TheMuenatefinch: I'm currently working with ansible. no real environment/provider abstraction, no hiding of operating systems, more scripted approach, and nostuff like hooks or actions19:05
perrito666wow, hold that thought, the tests dont pass on linux either :|19:05
TheMueperrito666: ouch19:05
perrito666something wrong with my repo... git, I hate you19:06
mupBug #1572695 changed: Manual add-machine creates additional broken machine <ci> <intermittent-failure> <manual-provider> <precise> <juju-core:Triaged> <https://launchpad.net/bugs/1572695>19:07
perrito666could anyone run utils test suite for utils master and let me know if they have a success?19:07
mupBug #1572695 opened: Manual add-machine creates additional broken machine <ci> <intermittent-failure> <manual-provider> <precise> <juju-core:Triaged> <https://launchpad.net/bugs/1572695>19:10
cheryljperrito666: I get "http: TLS handshake error from 127.0.0.1:56350: remote error: bad certificate"19:11
perrito666what version of go?19:11
cheryljgo 1.519:11
cheryljI'm on wily still19:11
perrito666mm, anyone with 1.6?19:11
cheryljheh19:11
perrito666cherylj: tx, I believe the error lies in the go version19:12
perrito666as it is in exec.Exec19:12
cheryljI see19:12
cheryljI'm not advanced enough19:12
cherylj:P19:12
TheMueOh, tomorrow is 16.04 release? Wow, thought it would be next week.19:13
natefinchperrito666: have you run hodeps?19:14
natefinchperrito666: godeps19:14
perrito666yup19:15
perrito666packaging/manager/manager_test.go:271: too few values in struct initializer19:15
perrito666packaging/manager/utils_test.go:50: too few values in struct initializer19:15
perrito666packaging/manager/utils_test.go:88: too few values in struct initializer19:15
natefinchperrito666: lol, yep, failures19:17
* perrito666 picardfacepalms19:18
perrito666so, are we now 1.6 people?19:19
natefinchwe are19:19
natefinchofficially19:19
perrito666good so if I change the tests we become 1.6 people only :)19:19
natefinchyep19:20
natefinchperrito666: looks like 1.6 changed exit error: the returned ExitError now holds a prefix and suffix19:20
natefinchperrito666: oh, that doesn't quite apply... but I'm sure it's just because they added a field to exiterror19:21
perrito666natefinch: is it? I dont see that in the api doc19:21
perrito666https://golang.org/pkg/os/exec/#ExitError19:21
perrito666yes, they most likely did19:22
natefinchperrito666: sorry, I should copy more: he returned ExitError now holds a prefix and suffix (currently 32 kB) of the failed command's standard error output19:22
perrito666I am guessing its stderr19:22
natefinchperrito666: which is the Stderr field19:22
natefinchperrito666: the backwards compatibilty guarantee only holds if we're careful to use keyed fields... i.e., if we'd made that declaration ExitError{ProcessState: &state }  then it would still compile19:23
perrito666yep19:23
perrito666we should always do that19:23
natefinchyep.  my editor warns me when there's code that doesn't do that19:24
perrito666I really dont get why someone wouldnt it isnt like you are charged by the character19:24
natefinchfrom golint or govet, I forget which19:24
perrito666sinzui: bugs against juju/utils should go in juju-core launchpad too?19:25
sinzuiperrito666: Yes19:25
mupBug #1572700 opened: Support co-installable wind clients <windows> <juju-core:Triaged> <juju-release-tools:Triaged> <https://launchpad.net/bugs/1572700>19:25
natefinchahh.. it's go vet. We run that on the merge bot for juju core... I'm guessing we're not on juju/utils for some reason19:26
natefinchsinzui, mgz: ^ shouldn't we run go vet for the merge bot for juju utils?  The code that breaks the current unit tests in 1.6 should have failed go vet even in earlier versions of go.19:27
perrito666there you go, windows tests on utils are now an issue19:27
sinzuinatefinch: ah, very nice to know. I will discussi this with mzg. I think we want this for all juju/* projects right?19:28
natefinchsinzui: definitely. It detects bugs and places which might become bugs later19:28
natefinch(like this)19:29
perrito666redir: hey, saw your comment, the tests currently in place reviewboard messed everything19:30
perrito666could you please check https://github.com/juju/utils/pull/205/files ?19:30
perrito666also ill need a second pair of eyes on that? natefinch ? its a short one https://github.com/juju/utils/pull/205/files19:30
mgzyeah, we maybe want to throw in vet with some settings as a standard part of the gating19:31
natefinchperrito666:  kk19:32
* perrito666 rips his shirt and screams windows gating <in the voice of kirk yelling kahn>19:32
redirperrito666: claro!19:32
redirlooking19:32
redirmgz: +119:34
natefinchperrito666: hm... go vet fails 102 times for utils...19:35
natefinchperrito666: but at least that gets us to compilation19:35
perrito666natefinch: it was not me :p19:35
perrito666but yeah,  no pre push hook for utils19:36
mupBug #1572700 changed: Support co-installable wind clients <windows> <juju-core:Triaged> <juju-release-tools:Triaged> <https://launchpad.net/bugs/1572700>19:37
perrito666natefinch: so do you or do I send the mail scolding everyone on the use of utils?19:38
redirperrito666: Looking at the GH PR I have a couple other questions, mostly because my windows knowledge consists of cobwebs and dust.19:38
perrito666redir: shoot19:39
natefinchperrito666, mgz, sinzui: go vet actually fails on juju/juju too... I bet we're eliding the check for composite literals, since there are 1025 failures of that type in juju/juju19:39
redirperrito666: is the use of that file url on windows always for powershell?19:39
sinzuiouch19:39
mgznatefinch: yeah, or still on an older vet version19:39
redirperrito666: does it need to have triple slash? file:///c:/foo/bar19:40
natefinchmgz: ouch19:40
perrito666redir: no it doesnt19:40
natefinchredir: the triple slash comes from having an empty drive letter, so file:///foo/bar or file://c:/foo/bar19:41
redirperrito666: natefinch OK, tx. LGTM then.19:41
natefinchperrito666: lgtm19:41
* perrito666 $$merge$$s and then wonders if the bot is there :p19:42
mupBug #1572700 opened: Support co-installable wind clients <windows> <juju-core:Triaged> <juju-release-tools:Triaged> <https://launchpad.net/bugs/1572700>19:49
natefinchmgz: why are we on an old version of go vet?  Just to avoid some of the checks?19:54
mupBug #1572703 opened: utils tests are broken in windows. <juju-core:New> <https://launchpad.net/bugs/1572703>19:55
mupBug #1572707 opened: 2.0b5: panic when running juju register <juju-release-support> <landscape> <juju-core:Triaged> <https://launchpad.net/bugs/1572707>19:55
* perrito666 runs the whole test suite for just one deps change and cries over his tea19:57
natefinchperrito666: I usually just do a test compile to make sure everything compiles, on the assumption that subtle behavior won't have changed (and if it does, CI will catch that).19:59
natefinchperrito666: go test ./... -run=XXX19:59
perrito666natefinch: I never know when changing utils20:01
alexisbredir, do you know if there are plans, or have been plans for updating help text for the sapces commands?20:08
rediralexisb: not off the top of my  head, but I'll search LP for something20:09
alexisbredir, k20:09
alexisbthanks20:10
redirand ask pmatulis20:11
thumpermorning20:15
thumpervoidspace: if you appear online, would love a quick chat catchup to see if there is something I can do to help with the container networking WIP20:15
TheMuemorning thumper20:17
thumpero/ TheMue20:17
perrito666one line change has conflicts... I really was someone bad in my past life20:27
natefinchis it in dependencies.tsv?20:28
perrito666yes20:28
natefinchfigured20:28
natefinchwe should really rename that to conflicts.tsv20:28
natefinchperrito666: I started working on an auto-conflict resolution tool for dependencies.tsv.  It's really totally mechanical most of the time20:28
perrito666could anyone review my one line change? http://reviews.vapour.ws/r/4666/20:33
natefinchperrito666: I was trying to think up something snarky to say but... nah.  Ship it.20:34
=== urulama is now known as urulama|____
voidspacethumper: hey, hi21:22
voidspacethumper: I need deviceInterfaceInfo porting to maas 2 - which is pretty trivial21:23
voidspacethumper: then I need to write tests21:23
voidspacethumper: and get my KVM properly configured with multiple subnets and machines with multiple nics21:24
voidspacethumper: I failed to do that today21:24
thumpervoidspace: anything I can help with, or shall I do sprint prep21:24
voidspacethumper: so if you can get a network config for virt-manager that gives me multiple subnets that would be awesome21:24
voidspacethumper: but otherwise, no  - I think we're good21:24
voidspacethumper: should be ready to land tomorrow - and manually tested on Friday probably21:25
thumper\o/21:25
voidspacethumper: I also need to setup my hardware maas21:25
voidspacethumper: then it's just bug hunting :-)21:25
voidspacethumper: thanks for all your help, it's been fun21:25
thumpercheers21:25
thumperit has been good21:25
mupBug #1572736 opened: Cannot see 'status' from two different controllers <juju-core:New> <https://launchpad.net/bugs/1572736>21:31
arosalescherylj: I am guessing juju status has a controller flag I missed?21:40
arosalessorry, saw your comment now.21:41
cherylj:)21:41
arosalescherylj: be nice to have that in "juju help status" :-)21:41
mupBug #1572736 changed: Cannot see 'status' from two different controllers <juju-core:Invalid> <https://launchpad.net/bugs/1572736>21:53
mupBug #1572741 opened: list-controllers and list-models doesn't list cloud <juju-core:New> <https://launchpad.net/bugs/1572741>21:53
mupBug #1572746 opened: juju help status missing controller syntax <juju-core:New> <https://launchpad.net/bugs/1572746>21:53
thumperum... wat?21:55
thumperarosales: what do you mean "status from different controllers" ?21:55
thumperyou get status on a model, not a controller21:55
redirbrb reboot21:56
arosalesthumper: I was looking for the syntax "juju status -m <controller>:<model>"22:12
arosalesthumper: specifically I wanted to watch status on tow different models on two different controllers22:13
thumperah22:13
arosalesbut help only specified -m, thus I opened up 157274622:14
arosaleswhile I am bugging here is the juju 2.0 equivalent for "juju action fetch <action-id>" ?22:15
arosalesI suspected it would be behind show-action-output, but that only shows completed status not data returned22:15
mgzarosales: that sounds like a bug22:17
arosalesmgz: ok, I'll open a bug on it22:20
bogdanteleagaarosales: what output are you getting?22:20
arosalesbogdanteleaga: the action output22:24
arosalesbogdanteleaga: juju action fetch <action-id>22:24
arosaleswas the 1.25 syntax to get more data on the action ran22:24
arosalesbut I don't see a "fetch" equivalent in 2.0 :-/22:25
bogdanteleagayeah, I meant what does that show exactly?22:25
bogdanteleagait's just been renamed22:25
arosalesbogdanteleaga: It varies by service22:25
arosalesbogdanteleaga: ah great, whats the rename?22:26
arosalesI thought it may be behind "show-action-output" and I didn't see any other commands in juju help commands that indicated it may be a different command22:27
bogdanteleagaarosales, yeah, it should be show-action-output22:28
bogdanteleagaI was curious if you also get the enqueued, starting, completed times, or only the status22:29
arosalesbogdanteleaga: http://paste.ubuntu.com/15957254/ is what I have thus far22:32
arosalesI get status, and completed times22:32
arosalesI just need "fetch" for additional details22:32
bogdanteleagaarosales, interesting, could you also try running juju run with some command22:34
bogdanteleagaand then looking at the actions?22:34
bogdanteleagait should also queue actions22:34
arosalesbogdanteleaga: do you want that run with an action or just a shell command?22:34
bogdanteleagaarosales, shell command should be fine22:35
arosalesok22:35
bogdanteleagasee if juju run shows something different from show-action-status afterwards22:35
mgzlike, arosales, just file the bug with the command + output you expect from 1.25 and what you do and get instead with 2.022:35
arosalesmgz: will do it jus seemed bogdanteleaga thought this was just a rename22:37
mgzarosales: the bug is it's intended to just be a rename, if it's different then...22:37
arosalesI agree its a bug22:37
arosalesI would be surprised to see it was a rename as I searched through help output22:38
bogdanteleagaarosales, can you point me to a simple charm that has some actions defined?22:38
mgzbeta4 has under help commands "show-action-output     alias for 'action fetch'"22:38
arosalesbogdanteleaga: per your request http://paste.ubuntu.com/15957322/22:39
arosalesI don't connect "run" with "actions" though22:39
bogdanteleagaarosales, for example https://paste.ubuntu.com/15957293/22:40
arosalesbogdanteleaga: see my previous pasebin @ http://paste.ubuntu.com/15957254/22:41
arosalescharm and actions in there22:41
bogdanteleagaarosales, not sure if my machine'll handle a big bundle :P22:41
arosales5 unites, not too bad22:42
bogdanteleagaI'll make a simple one22:42
wallyworldperrito666: axw: redir: can we have standup now to avoid a clash with my next meeting?22:42
axwwallyworld: sure, I'll be there in a couple minutes22:43
arosalesmgz: in beta5 I see output in help such as  "show-action-status      show results of all actions filtered by optional ID prefix"22:44
mgzarosales: things change fast :)22:44
arosalesmgz: but will confirm 1.25 fetch output is different and file a bug if so22:44
arosalesmgz: just tyring to test your latest bits :-)22:44
mgzarosales: https://github.com/juju/juju/pull/5142 is the change22:45
arosalesdoes alternatives work with beta5 to go back to juju 1.25 or should I specifically just prefix the binary path for juju 1.25?22:47
mgzarosales: you can use the juju-1 name22:47
arosalesmgz: thanks22:48
perrito666wallyworld: oops, missed your msg, still valid?22:49
wallyworldperrito666: yep22:49
mupBug #1572772 opened: URLsSuite.TestImageMetadataURL paths fail on windows <ci> <regression> <test-failure> <unit-tests> <windows> <juju-core:Triaged> <https://launchpad.net/bugs/1572772>22:53
bogdanteleagaarosales, https://paste.ubuntu.com/15957449/22:55
bogdanteleagaare you sure the charm actually calls action-set?22:55
arosalesbogdanteleaga: I am confirming that namenode and resourcemanger do that now.  I you show results in our show-action-output22:59
perrito666really? concatenating paths with + ? cmon people >:(23:02
perrito666k ppl, lots of tests to run on windows, ill be afk, cheers23:11
mupBug #1571053 changed: container networking lxd 'Missing parent for bridged type nic' <ci> <lxd> <juju-core:Fix Released> <https://launchpad.net/bugs/1571053>23:23
mupBug #1572781 opened: tools info mismatch on arch with lxd containers <ci> <lxd> <juju-core:Triaged> <https://launchpad.net/bugs/1572781>23:23
mgzhi OCR-antipode, simple review please: https://reviews.vapour.ws/r/4667/23:28
mgzcmars: thanks :)23:30
cmarsmgz, lol i guess that name change didn't cascade into unix23:30
mwhudsonhah juju does not compile with go tip23:37
mgzmwhudson: ^that change is for you23:41
mgzaxw: is there any chance bug 1572781 is a dupe/other symptom of bug 157183223:42
mwhudsonmgz: <323:42
mupBug #1572781: tools info mismatch on arch with lxd containers <ci> <lxd> <juju-core:Triaged> <https://launchpad.net/bugs/1572781>23:42
mupBug #1571832: Respect the full tools list on InstanceConfig when building userdata config script. <tech-debt> <juju-core:In Progress by axwalk> <https://launchpad.net/bugs/1571832>23:42
axwmgz: le sigh. another symptom of 157183223:44

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