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

natefinchheh, juju help ensure-availability says the default number of machines to add is zero :/02:29
axwnatefinch: your message to juju-dev went to spam for some reason...02:51
natefinchaxw: weird02:52
axwI don't see anything spammy about it. *shrug*02:53
natefinchaxw: maybe too many links (since it linked everytime I mentioned gopkg.in)02:53
axwcould be02:53
axwpeddlin' gopkg.in wares02:53
natefinchgmail's all like "dude, this guy is really pushing gopkg.in"02:53
axw:)02:53
natefinchha I just noticed that I have a ton of those CI Cursed messages in my spam.  Gmail says "many people marked similar messages as spam" ... I guess not everyone appreciated getting those 8 emails a day ;)02:58
wallyworldwaigani: i suspect 1.18 etc did support running without jenv files, so long as the certs etc were in the yaml07:18
wallyworldso if that's now not possible in 1.23, it is indeed a regression07:18
waiganiwallyworld: ah right, I misunderstood that07:18
waiganiwallyworld: let me test that07:18
wallyworldso you need to copy the certs etc from jenv to the yaml07:18
waiganiwallyworld: right, will do07:19
wallyworldty07:19
wallyworlddimitern: hey, not sure if you've seen bug 143702107:21
mupBug #1437021: 1.23b2 some charms only listening on IPv6 <landscape> <juju-core:Triaged> <https://launchpad.net/bugs/1437021>07:21
dimiternwallyworld, hey, I saw the report, but haven't read it in detail yet07:22
wallyworldnp, seems to be a dup of bug 143703807:22
mupBug #1437038: 1.23b2 fails to get IP from MAAS for containers, falls back to lxcbr0 <juju-core:New> <https://launchpad.net/bugs/1437038>07:22
wallyworldnot sure if it's related to stuff fixed for b2 or not07:23
dimiternwallyworld, now that second one is interesting as it seems related to the new addressable containers07:23
wallyworldcould be, i suggested a dup because adam who reported the bug thought it may be07:24
dimiternwallyworld, yeah it seems so07:26
waiganiwallyworld: you're right - I can connect on 1.18 without .jenv. I'll update the bug. Thanks for calling me out on that.07:29
wallyworldwaigani: np, at least we know there's a real issue to fix07:31
waiganiwallyworld: I think that warrents a new bug though - as it is different from the missing UUID in the config file.07:32
wallyworldassuming it is indeed broken in 1.2307:32
waiganiwallyworld: I get:07:34
waiganiError details:07:34
waiganimissing namespace, config not prepared07:34
mupBug #1437021 changed: 1.23b2 some charms only listening on IPv6 <landscape> <juju-core:Triaged> <https://launchpad.net/bugs/1437021>07:54
mupBug #1437177 was opened: Running several 'juju run' commands in parrallel triggers lock timeout failures <juju-core:New> <Juju Wait Plugin:Fix Committed by aisrael> <https://launchpad.net/bugs/1437177>07:54
waiganiwallyworld_: eod for me. I've updated bugs and have a PR up for the UUID issue. I'll tell Tim about the regression on Monday.08:02
wallyworld_waigani: thank you, have a good weekend08:02
mupBug #1437191 was opened: juju cannot run without a jenv file <regression> <juju-core:Triaged> <juju-core 1.23:Triaged> <https://launchpad.net/bugs/1437191>08:30
axwwallyworld_: UNIT          ID           LOCATION                  STATUS   PERSISTENT08:53
axwstoragetest/0 filesystem/0 /var/lib/juju/storage/1/0 attached false08:53
axwjust got filesystems creating/mounting on volumes working again08:53
axwwill probably take at least monday to clean it all up08:53
mupBug #1437220 was opened: gce provider often can't find its own instances <gce-provider> <observability> <juju-core:Triaged> <https://launchpad.net/bugs/1437220>09:25
dimiternvoidspace, standup?10:02
voidspacedimitern: oh yes...10:02
voidspaceTheMue: http://reviews.vapour.ws/r/1290/10:08
voidspaceTheMue: :-)10:08
axwdimitern: in case I wasn't clear in my note on the firewall bug: azure opens the port, but it never reports it back to the state server. thus, when the firewaller goes to reconcile, it doesn't touch the API port10:22
axwdimitern: it's a bit hackish I guess, but it works today10:22
fwereadeGAAAAH bloody mutexes (mutices? mutexen?)10:42
fwereadeat least now I know why that test is hanging10:43
wgrantI'm running 1.23~beta1 from ppa:juju/devel for vivid support, with the local provider, and my bootstrap jujud keeps panicing, usually on destroying services but occasionally on deploying. Should I file a bug?10:44
wgrant"anic: cannot retrieve unit "m#15#n#juju-public": "m#15#n#juju-public" is not a valid unit name"10:45
fwereadewgrant, yes please, that looks like a very serious problem11:02
fwereadedimitern, ^^ -- that looks like a networky globalKey somehow slipping into a unit request11:03
wgrantfwereade: It helpfully seems to truncate the log on startup, so I'll have to wait for the next failure and grab it before it restarts.11:03
wgrants/it restarts/I restart it/11:03
wgrantBut it's died five or six times today, so I imagine I'll have a few good data tomorrow...11:03
wgrantThanks.11:03
fwereadewgrant, cool -- fwiw, hopefully that error above will be enough to track it down11:04
wgrantfwereade: Ah, great, let me know if not.11:04
wgrantIn the bug I will shortly file.11:04
fwereadedimitern, would you put someone on that please? I am currently fighting a deadlock in the dummy provider and am not sure when I'll finish :-/11:05
fwereadewgrant, tyvm11:05
dimiternfwereade, I'm in a call, will get back to you11:07
dimiternsorry11:07
fwereadedimitern, no worries11:07
wgranthttps://bugs.launchpad.net/juju-core/+bug/143726611:10
mupBug #1437266: Bootstrap node occasionally panicing with "not a valid unit name" <juju-core:New> <https://launchpad.net/bugs/1437266>11:10
mupBug #1437266 was opened: Bootstrap node occasionally panicing with "not a valid unit name" <juju-core:New> <https://launchpad.net/bugs/1437266>11:16
dimiternTheMue, please take a look http://reviews.vapour.ws/r/1283/11:30
dimiternfwereade, ok, back now11:31
dimiternfwereade, that's a globalkey for openedPorts11:32
dimiternwgrant, ^^11:32
wgrantdimitern: Heh, I'm going to pretend I know what a globalkey is and that you'll let me know if you need any more debug info.11:33
dimiternwgrant, I'm commenting on the bug11:33
wgrantThanks for investigating.11:33
dimiternwgrant, basically more info is needed - logs11:33
wgrantdimitern: How do I adjust the log level persistently?11:37
wgrantAnd should I just grab all-machines.log, or something else?11:37
dimiternwgrant, add logging-config: '<root>=TRACE' in env.yaml for your local env11:37
wgrantdimitern: Is that local.jenv?11:38
wgrantI haven't seen an env.yaml.11:38
dimiternwgrant, and then re-bootstrap and attach just the machine-0.log when you reproduce the issue11:38
wgrantOh, rebootstrap from the environments.yaml? Sure.11:38
dimiternwgrant, yeah, cheers11:39
wgrantThanks, will probably have something over the weekend.11:39
dimiternsweet111:39
dimiternsweet! :) even11:39
mupBug #1436961 was opened: juju add-machine fails if interface of the new machine is not called eth0 <add-machine> <maas-provider> <network> <juju-core:New> <https://launchpad.net/bugs/1436961>11:46
wallyworld_fwereade: not sure if you'll get a chance, i've proposed the next branch for the unit agent work, stupid review board didn't create a PR though https://github.com/juju/juju/pull/196411:57
fwereadewallyworld_, cheers11:57
wallyworld_i need to add more tests, but i'll do that over the next few branches11:58
fwereadewallyworld_, I am becoming teeth-grindingly frustrated with what I'm currently doing so your chances are non-nil ;)11:58
wallyworld_\o/11:58
wallyworld_i'm hoping to land so i can get this out next week, but have more stuff to do11:58
fwereadewallyworld_, (deadlock in the dummy provider that I'm lucky enough to be able to repro; but fixing(?) that appears to expose a problem in apiserver (in-progress calls panicking because the mongo session is already closed :/)12:00
wallyworld_oh joy12:00
wallyworld_hmmm, i think we close sessions at the end of each operation12:01
wallyworld_and clone/copy when we access a collection the next time12:01
wallyworld_this was to ensure we didn't attempt to keep one long session open12:01
wallyworld_which often died and left everything disconnected12:02
mupBug #1437280 was opened: with juju run:  unit "<unit>/0" not found on this machine <openstack> <uosci> <juju-core:New> <https://launchpad.net/bugs/1437280>12:04
dimiternvoidspace, you have a review12:11
dimiterntwo, actually12:11
TheMue;)12:12
TheMuehttp://feedproxy.google.com/~r/GeekAndPoke/~3/HaXsef5q--I/code-freeze <= very good12:12
fwereadewallyworld_, yeah, I'm digging my way through12:16
fwereadewallyworld_, I'm *mostly* suspicious of the waitgroup abuse in apiserver.go:39212:17
* wallyworld_ takes a peek12:17
fwereadewallyworld_, but I'm not really sure how to fix it :/12:17
fwereadewallyworld_, and really I don't have a good reason to suspect it12:18
fwereadewallyworld_, other than, well, I'm pretty sure it's broken to call Add on a different goroutine to Wait12:18
wallyworld_hmmm, yeah, i've not looked at that code before really12:18
fwereadewallyworld_, (right?)12:18
wallyworld_i think so12:19
wallyworld_not 100% sure though12:19
wallyworld_fwereade: oh, btw, will you be porting leader election to master soon?12:22
wallyworld_i need it for health status12:22
fwereadewallyworld_, dammit yes I have no excuse not to12:22
wallyworld_for service health12:23
wallyworld_but review my branch first :-)12:23
dimiternmgz, ping12:29
mupBug #1437296 was opened: apt-http-proxy being reset to bridge address <juju-core:New> <https://launchpad.net/bugs/1437296>12:34
mupBug #1437296 changed: apt-http-proxy being reset to bridge address <juju-core:New> <https://launchpad.net/bugs/1437296>12:40
mgzdimitern: hey12:45
mupBug #1437296 was opened: apt-http-proxy being reset to bridge address <juju-core:New> <https://launchpad.net/bugs/1437296>12:46
voidspacedimitern: thanks12:47
dimiternmgz, I was wondering why master was not yet tested in CI12:47
dimiternmgz, but I got it - there was one job for 1.23 still pending from the last rev12:47
mgzdimitern: yeah, I'll see if I can poke, we want to unblock trunk12:47
dimiternmgz, cheers12:48
mgzi seems it just hung12:48
fwereadewallyworld_, btw, you still around?12:55
wallyworld_yeah12:55
fwereadewallyworld_, it crosses my mind12:55
dimiternwallyworld_, anastasiamac_, hey there, I've commented on that bug above ^^ (1437296) - it seems to me it's a regression introduced recently in the local provider12:55
wallyworld_oh goodie12:55
fwereadewallyworld_, that we should still avoid setting the workload status to error just because the unit's in error12:55
fwereadewallyworld_, because we *know* that's wrong12:55
fwereadewallyworld_, if the sp[ec want us to report stupid shit we can do that12:56
wallyworld_fwereade: do we really want to open that can of worms again?12:56
fwereadewallyworld_, but that's not excuse for baking the stupidity in at implementation level12:56
fwereadewallyworld_, the spec is a UI-level thing, not an implementation level thing12:56
wallyworld_remind me, we would want to set the workload status to unknown them?12:57
fwereadewallyworld_, I *think* I'm avoiding reopening it ;)12:57
fwereadewallyworld_, I don't think so12:57
fwereadewallyworld_, in fact, you know what, sorry this only just crystallised12:57
wallyworld_ie if the unit agent runs a hook that exits 1, then what is the status of the workload12:57
fwereadewallyworld_, it's still what the user told us12:57
fwereadewallyworld_, at the model level, seriously, we should *only ever* store what the charm told us the workload status was12:58
wallyworld_yes, i know12:58
fwereadewallyworld_, anything else is straight-up sabotaging ourselves12:58
anastasiamac_dimitern: wallyworld_: off memory, we r only changing address, if we believe that address is a loopback one and we want correct bridge ip...12:58
fwereadewallyworld_, so, contrary to what I was thinking yesterday12:59
dimiternanastasiamac_, that's correct, but I think you got bitten by a corner case of the regexp used there - see my comment12:59
anastasiamac_dimitern: k. thnx :D12:59
fwereadewallyworld_, the *local* storage of whether we''ve sent is not so helpful12:59
fwereades/sent/set12:59
wallyworld_fwereade: if a hook exists with error, we don't currently set anything else besides workload status to show that13:00
wallyworld_s/show/record13:00
fwereadewallyworld_, huh? we have to set the agent status, don't we?13:00
wallyworld_no13:00
wallyworld_it goes back to idle13:00
fwereadewallyworld_, but the unit agent just changed state13:00
wallyworld_sure13:00
fwereadewallyworld_, the unit is NOW IN AN ERROR STATE13:00
fwereadewallyworld_, it is REACTING DIFFERENTLY13:01
fwereadewallyworld_, the workload is still running exactly as it was before13:01
wallyworld_sure, but the agent is idle, ie not running a hook or an action13:01
fwereadewallyworld_, it's *broken*13:01
fwereadewallyworld_, it is *no lonnger reactinng to changes*13:01
wallyworld_hence people wanted to mark the workload as error13:02
fwereadewallyworld_, it *requires user intervention*13:02
fwereadewallyworld_, the workload is almost certain to be completely unaffected13:02
wallyworld_the agent itself may be working fine though, just because a hook exists with error13:02
fwereadewallyworld_, no, the agent is *in an error state*13:02
wallyworld_the agent may still be perfectly happy13:02
fwereadewallyworld_, it is *not reacting to almost anything*13:02
wallyworld_well, it is waiting for the hook error to be resolved i guess13:03
fwereadewallyworld_, exctly13:03
wallyworld_there's nothing in the spec relevant to that though i don't think in terms of what state the agent should be13:03
wallyworld_failed is not for hook errors13:04
fwereadewallyworld_, I'm *sure* we still had an error state for the agent, and nothing about how we should do that changed13:04
wallyworld_as written, there's no agent error state in the spec13:05
fwereadewallyworld_, so how do we tell people that they need to resolve a hook error?13:05
wallyworld_we discussed it, and part of the discussion was not having the same state (error) for both unit and agent13:05
wallyworld_by setting the unit state to error13:05
fwereadewallyworld_, so basically we've made it impossible for the user to know what's going on13:05
wallyworld_look, i understand and i agree with you, but we  lost the rgument13:06
wallyworld_the last time we did something contrary to the spec, we/I got in trouble13:06
wallyworld_dimitern: thanks for analysing that regexp address bug, we'll fix on 1.22/1.23/1.2413:18
dimiternwallyworld_, awesome!13:18
wallyworld_will delay 1.22.1 sadly13:19
natefinchsinzui: license meeting?13:31
TheMuedooferlad: ping, how has the name of your AMT script has been?13:40
dooferladTheMue: /usr/local/bin/amttool13:41
TheMuedooferlad: ah, ok, thx. already thought so based on the man pages, but haven't been sure13:41
dooferladTheMue: No problem.13:42
beisnero/ hi cores13:48
beisneri've got this new one by the tail atm (1.22.0), with an enviro up.  seems like a somewhat rare race, but causes false fails in openstack deploy testing on bare metal.  bug 1437280   i'll be collecting and uploading logs, but wondered if anyone wanted to poke at it while it's alive?   the enviro will be torn back down when i re-release the automated testing.13:49
mupBug #1437280: with juju run:  unit "<unit>/0" not found on this machine <openstack> <uosci> <juju-core:New> <https://launchpad.net/bugs/1437280>13:49
mgzis anyone free to poke beisner's bug? ^13:54
dimiternbeisner, I'm looking at it already13:55
dimiternbeisner, the only reason I can see for that error in 1.22 is if the unit directory is not present on the machine13:55
dimiternbeisner, can you ssh into the machine hosting the unit and have a look what's in /var/lib/juju/agents/unit-swift-storage-z1-0/ ?13:57
beisnerdimitern, sure enough.   on swift-storage-z1 (juju run fails), no dir there.   and on swift-storage-z2 (juju run works), the dir is there.13:59
dimiternbeisner, so then the real question is why the dir is not there? can you see something in /var/log/juju/unit-swift-storage-z1.log which might show a deployment issue?14:00
beisnerdimitern, oh wait.  something else is horribly confused.  it seems maas dns/dhcp is attempting to defy physics.   two objects cannot occupy the same space at the same time.14:06
beisnerdimitern, http://paste.ubuntu.com/10689200/14:06
ericsnowfwereade: any thoughts on the failure reported here: http://juju-ci.vapour.ws:8080/job/run-unit-tests-vivid-amd64/312/14:07
ericsnownatefinch: standup?14:08
dimiternbeisner, oh, interesting :)14:11
dimiternbeisner, so it seems that's a maas issue then?14:11
beisnerdimitern, indeed.  naturally juju (and other things) will be badly confused by this.14:11
dimiternvoidspace, hey, I've assigned you to bug 143703814:11
mupBug #1437038: 1.23b2 fails to get IP from MAAS for containers, falls back to lxcbr0 <juju-core:Triaged by mfoord> <https://launchpad.net/bugs/1437038>14:11
dimiternbeisner, ok, i'll appreciate if you update the bug with our findings14:12
ericsnowdimitern: thanks for fixing that GCE issue and for being accommodating :)14:12
beisnerdimitern, ack.  adding comment.14:12
beisnerdimitern, mgz - thanks!14:12
voidspacedimitern: ok, thanks14:13
ericsnowcmars: PTAL http://reviews.vapour.ws/r/1234/ (just needs a "senior" reviewer)14:13
dimiternericsnow, no worries :)14:13
natefinchericsnow: sorry, last meeting ran over, then I had to go afk a little bit14:19
ericsnownatefinch: we can call it; I don't have much to report :)14:19
natefinchericsnow: ok14:19
ericsnownatefinch: LICENCE all sorted out?14:19
natefinchericsnow: yeah, I think we knew what the answer was before we had the meeting14:20
ericsnownatefinch: saw Oleg's email14:20
mupBug #1437280 changed: maas 1.8.0alpha7 two machines have same ip address <openstack> <uosci> <juju-core:Invalid> <MAAS:New> <https://launchpad.net/bugs/1437280>14:22
cheryljnatefinch, ericsnow:  So, is Oleg's proposal our final answer?  ;)14:23
natefinchxwwt: it occurs to me that I don't think we need the copyright in a separate file. diffing the file vs. the actual license will make it obvious we just stuck a copyright at the top of the license file.  Plus, it seems to be the standard place to put it.14:23
natefinchcherylj: ericsnow: https://docs.google.com/a/canonical.com/document/d/1H_c9KYdXtWG-YQ5oL-qSJv6G9AkedZ2GDyyjZBzrBjs/edit14:23
xwwtnatefinch: Sure that makes sense.  Feel free to edit the text in that file, etc. until we are confident in the message.14:24
ericsnownatefinch, xwwt: nice!  thanks for putting that together14:26
ericsnownatefinch: we ought to have a copy of that in the core docs directory14:27
ericsnownatefinch: "in a separate file"...separate from what?14:27
xwwtericsnow: We had some help with that.  Once we are happy with the wording, we wil make sure the main thread of the lic convo has the detail.  Everyone should use this as standard to eliminate confusion.14:28
ericsnowxwwt: cool14:28
natefinchericsnow: sorry, we had started to say we wanted the copyright statement in a separate file, but changed our minds.14:28
ericsnowxwwt: thanks for motivating this; even if it's a pain, it's important to get it right :)14:28
voidspacedimitern: hmmm... when I deploy to lxc:0 with maas I get an IP address allocated in the static range of the cluster controller as expected14:29
voidspacedimitern: (container still starting - but the address is allocated ok)14:30
voidspacedimitern: so it's not a deterministic bug14:30
dimiternvoidspace, no, it's a config issue14:30
dimiternvoidspace, I guess you don't have a eth0 on the cluster controller which is without static range?14:31
voidspacedimitern: that's correct14:31
voidspacedimitern: so did your patched binary help?14:31
dimiternvoidspace, let me add to the bug the pastes I got which describe how their maas was setup14:31
dimiternvoidspace, it did help to discover the cause14:31
voidspaceit's not deterministic even for them - if they deploy ubuntu first it works14:31
ericsnownatefinch: does there need to be a mandate to update the copyright in the LICENCE file every year?14:32
cheryljnatefinch, ericsnow, xwwt:  The statement about "All files in this repository are licensed as follows..." doesn't currently exist in any of the repos.  Do I need to go add that in to all of the repos?  or just the ones that I touched as part of bug 1435974?14:32
mupBug #1435974: Copyright information is not available for some files <juju-core:In Progress by cherylj> <juju-core 1.22:In Progress by cherylj> <juju-core 1.23:In Progress by cherylj> <https://launchpad.net/bugs/1435974>14:33
natefinchericsnow: nope14:33
ericsnownatefinch: otherwise how can newer files (e.g. in 2016) be copyrighted in 2015?14:33
dimiternvoidspace, it's always happens with that unit14:34
ericsnownatefinch: ah, so we are switching the charm repo to LGPL?14:35
dimiternvoidspace, the random factor could be which machine is picked14:35
natefinchericsnow: it should have been lgpl from the beginning, what is it now?14:35
dimiternvoidspace, check your pm-s14:35
ericsnownatefinch: AGPL14:35
ericsnowhttps://github.com/juju/charm/blob/v5-unstable/LICENCE14:36
dimiternvoidspace, that machine I've seen has eth0 and wlan0 - second one disabled14:36
natefinchericsnow: I don't think that hurts anything, but what we are supposed to do is make the main juju codebase itself AGPL and anything else LGPL w/ the static linking exception14:36
ericsnownatefinch: right (I was asking about charm because of that statement in the doc)14:37
ericsnownatefinch: the doc should probably mention how to handle code that is copied from elsewhere (e.g. Go source that we copied and slightly modified)14:38
natefinchericsnow: actually, that one is wrong too, since it says v3 or later14:38
natefinchericsnow: good point14:38
ericsnownatefinch: I ran into that the other day with a patch I added to the utils repo (cmars made a diving save on that one)14:39
ericsnownatefinch: should the license from the third-party code also be copied somewhere (that's what I did for utils)14:40
natefinchericsnow: yes14:40
ericsnownatefinch: for utils I put it in LICENCE.Go14:41
natefinchericsnow: I'd avoid using a dot separator, since it'll look like an extension to windows.  In fact... that may well not build now on windows14:42
ericsnownatefinch: ah, I didn't list the files in that file14:42
ericsnownatefinch: good point14:42
ericsnownatefinch: I'll fix both14:42
ericsnownatefinch: it may help to cite an example for the different scenarios (e.g. 1 for "Process", 1 for "Copied Code")14:45
ericsnownatefinch: how about LICENCE-Go? or LICENCE.golang?14:49
mupBug #1437366 was opened: MAX_ARGS is reached when calling relation-set <landscape> <juju-core:New> <https://launchpad.net/bugs/1437366>14:52
natefinchericsnow: I like LICENSE-golang15:04
ericsnownatefinch: k15:05
ericsnownatefinch: we should probably fix the syslog repo too15:05
xwwtnatefinch, sinzui, ericsnow: Are we to a point to share this out to others?15:05
sinzuixwwt, tye15:07
sinzuixwwt, yes15:07
natefinchxwwt: I think so15:12
ericsnownatefinch: now that I look at it, do we need to add our own copyright and LICENCE file to the syslog repo?15:15
ericsnownatefinch: it is mostly just the files copied from the Go sources with a few extras added on (e.g. support SSL)15:15
natefinchericsnow: if we only made small changes to it, I think it still mainly falls under their license15:17
ericsnownatefinch: k15:17
ericsnownatefinch: that's what I figured15:17
ericsnownatefinch: is it LICENCE or LICENSE :)15:18
natefinchLICENSE15:18
ericsnownatefinch: so do we need to change the filename in all the repos?15:18
* ericsnow ponders american language imperialism15:19
ericsnownatefinch: consider moving the "Put full text ..." bullet up one15:20
natefinchericsnow: ug, I thought they were already LICENSE.  No, I don't think it matters the spelling.15:20
natefinchDamn UK folks think they invented English or something15:20
TheMueLIZENZ  (in German)15:20
natefinchTheMue: the Z's make it so much cooler15:21
ericsnowTheMue: that sounds like a good compromise :)15:21
TheMuehehe15:21
TheMueWe're a multi-national company, so every sentence a different language.15:21
natefinchcherylj: note the thing on committing using the license name as the commit message. It's not really necessary, but it's a nice touch.15:22
cheryljnatefinch: yeah, I saw that.15:22
ericsnownatefinch: mind if I make a couple quick additions to the doc (you can delete them if they're dumb)15:22
natefinchericsnow: of course. It's open to editing on purpose :)15:22
cheryljnatefinch: Do I need to go in and change all the repos now?  I had only done a subset to address the concerns in that bug...15:22
natefinchif we ever use "AGPL v3 or later", we need to change that to not "or later".  I think we need to have the explicit text at the top of the license to say "All files in this repository are licensed..." etc.15:24
xwwt+115:24
cheryljDo I need to go into each branch for these repos and make the change?  or just master?15:26
cheryljI think for juju I'll need 1.22 1.23 and master15:27
ericsnownatefinch: does that look okay (moving that bullet into the "Put in the LICENSE file" part?15:27
cheryljand charms v4 and v515:27
natefinchericsnow: looks good15:27
ericsnownatefinch: k15:27
natefinchcherylj: yes, 1.22, 1.33, master, charms v4 and v5.  Sorry. :/15:27
cheryljbut what about the other repos15:28
ericsnownatefinch: (and I added those "Example:" bullets (which aren't good examples quite yet)15:28
natefinchcherylj: yeah, all canonical-owned repos in dependencies.tsv need to be updated.15:28
ericsnowcherylj: we should really divide-and-conquer here15:28
ericsnowcherylj: I can do some15:29
natefinchericsnow: thanks for helping.  I would, but I really should be writing "HA --to" tests15:29
natefinchI'll email about changing the license for charm, since I'm pretty sure it's supposed to be LGPL.15:30
cheryljnatefinch: okay, I'll hold off on doing charm for now and get started with they juju/juju branches15:31
cheryljericsnow: I can do all the ones in dependencies.tsv that are github.com/juju/*15:31
cheryljnot sure how many of the others are canonical owned15:32
cheryljand could I get a graduated review for this PR?   http://reviews.vapour.ws/r/1239/15:33
ericsnownatefinch: tangentially, we need to stay on top of our dependencies that are hosted on code.google.com as I'm sure they are all moving (e.g. to github)15:33
ericsnowcherylj: that sounds good15:34
natefinchericsnow: oh, yeah, crap.  We need to fix that. They're all s/code.google.com\/p/golang.org\/x/15:35
ericsnowcmars: do you think your could help out with quick ship-its on the many LICENCE-related requests we'll be doing?15:36
cmarsericsnow, sure can15:36
ericsnownatefinch: even the GCE (api client) one?15:36
cmarsericsnow, are you seeing a test fail in ./worker/uniter in master, by any chance?15:37
ericsnowcmars: thanks15:37
cmarsericsnow, fails consistently for me. master's blocked but if we fix it, I'll JFDI that one thru15:37
cmarshoping it's just me and my devenv is trashed somehow, but i've seen it in vivid and now my trusty15:37
cmars:)(15:38
ericsnowcmars: looking15:38
cmarsthat should just be a sad15:38
ericsnowcmars: that sounds familiar from the CI unit test runs but I'm running locally now on trusty to check15:38
cmarsericsnow, fwiw i'm running go 1.4 installed with gvm15:40
cmarsericsnow, tasdomas http://paste.ubuntu.com/10689670/15:40
natefinchericsnow: hmms, missed that one, probably not that one - https://github.com/google/google-api-go-client15:40
ericsnowcmars: this it taking a long time (too long I think)15:41
cmarsyou say LICENCE, but I say LICENSE. but I'm probably wrong...15:41
ericsnownatefinch: yeah, that looks like the right repo15:42
natefinchcmars: gvm?  boo15:43
ericsnowcmars: `go test ./worker/uniter` just passed for me on trusty (after almost 4 minutes)15:43
natefinchcmars: also, we don't support 1.4... only 1.2.x15:43
natefinchcmars: I think there are some tests that fail in 1.415:43
cmarsnatefinch, yikes. ok. really, not even 1.3.3? dude15:44
* cmars runs with the go compiler of yesteryear15:46
cheryljnatefinch: do I need to state "Copyright (C) 2011-2015 Canonical Ltd."  or is "Copyright (C) 2015 Canonical Ltd." sufficient?15:47
natefinchcherylj: 2015 is sufficient I think.15:50
cheryljk, thanks15:50
ericsnownatefinch: I can fix those code.google.com ones if you are busy with HA15:51
natefinchericsnow: yes please.15:51
ericsnownatefinch: will do :)15:52
natefinchcherylj: if you could update charm to use LGPL like in github.com/juju/utils/LICENSE that would be great.  Got confirmation from Mark Shuttleworth over email.15:53
cheryljnatefinch: will do, thanks.15:53
=== rvba` is now known as rvba
cheryljugh, I don't know why the patch is having problems for 1.22  https://github.com/juju/juju/pull/196515:58
natefinchcherylj: maybe try updating your local copy of 1.22 and then creating a new branch?  Seems like it's just git being dumb.16:02
natefinchericsnow: don't forget you have to change the imports too, not just the dependencies.tsv :)16:08
ericsnownatefinch: yeah, I remembered :/16:08
natefinchericsnow: which I only mention because I had forgotten for a minute :)16:08
ericsnownatefinch: I have a hunch it won't be trivial16:09
natefinchericsnow: I don't think it'll be hard at all. should be simple sed/find & replace16:09
ericsnownatefinch: oh, that is the easy part16:10
ericsnownatefinch: I just have a feeling that something could be funky upstream (but then again everyone upstream tests their code after making such a change, right?)16:10
* ericsnow winks16:11
natefinchericsnow: hopefully it was a simple move of the code... but yeah, if they like changed all the commit hashes, it's gonna screw us16:11
ericsnownatefinch: I'm hopeful that Google has been thorough in the move (they are leading the charge after all)16:15
=== xwwt is now known as xwwt-afk
cheryljokay, here's the license for 1.22:  http://reviews.vapour.ws/r/1303/16:20
ericsnownatefinch: we may want to be more specific in the doc about which deps we should be managing ("canonical-owned" is perhaps too broad)16:23
cmarscherylj, thanks, reviewed. needs the "or later" bit removed16:23
cheryljthanks, cmars16:24
cheryljcmars: I don't think that section actually applies to the current project, as it talks about how to apply these terms to a new program?16:27
cheryljI mean, I can still change it, but that's an example in the license, I think.16:27
cmarscherylj, i did skim it.. looking again16:28
natefinchericsnow: ummmm hmm16:28
natefinchericsnow: anything hosted under github.com/juju and anything else you have commit rights to ... how about that? :)16:29
ericsnownatefinch: can we just keep it to things under the juju org?16:29
cmarscherylj, you're right, sorry16:29
cmarscherylj, ship it!16:30
natefinchericsnow: I think that should be fine for now.  I don't think we have to go changing stuff in launchpad etc16:30
cheryljthanks, cmars !16:30
ericsnownatefinch: yep, and it makes our responsibilities in dependencies.tsv much clearer16:30
natefinchericsnow: obviously include stuff from gopkg.in/juju as well16:31
ericsnownatefinch: yep16:31
cmarscherylj, wait a minute16:31
cmarscherylj, not lgtm16:31
natefinchafk for a while for lunch etc.16:32
=== natefinch is now known as natefinch-afk
cmarscherylj, updated the review16:33
cmarscherylj, need to add the short statement below our copyright, then the full text of the AGPL follows below that16:33
cmarscherylj, ericsnow we'll need to do something similar for all the LGPLv3 + exception projects as well16:35
cheryljcmars: can we kill out the CI test for that merge so it doesn't complete?16:40
cmarscherylj, how come? you want to JFDI it b/c master is blocked?16:42
cheryljI guess I could just do another PR for the short statement16:42
cmarscherylj, oh, it's already gone, i see16:43
cmarscherylj, not sure if i can stop the CI bot. i'll fast-track a followup PR16:43
cheryljcmars: Your suggestions differ from what's been put together by natefinch-afk and ericsnow in this doc:  https://docs.google.com/a/canonical.com/document/d/1H_c9KYdXtWG-YQ5oL-qSJv6G9AkedZ2GDyyjZBzrBjs/edit16:45
cheryljI just want to make sure everyone's on the same page before I continue making changes :)16:45
mupBug #1437177 changed: Running several 'juju run' commands in parrallel triggers lock timeout failures <juju-core:Won't Fix> <Juju Wait Plugin:Fix Released by aisrael> <https://launchpad.net/bugs/1437177>16:47
cmarscherylj, ah ok, hadn't seen that doc16:47
cmarscherylj, ok, i think we're fine then. sorry to be a pain, just trying to make sure we get it right.16:47
cmarsi'll drop that issue16:48
cheryljcmars: I understand :)16:48
marcoceppi_who's working on the new status stuff? The blocking etc?16:51
ericsnowmarcoceppi_: wallyworld's team (with an assist from perrito666)17:14
sinzuiperrito666, katco : can either of you help triage this bug. The issue might be the private cloud There are some logs in the last comments: https://bugs.launchpad.net/juju-core/+bug/143564417:24
mupBug #1435644: private cloud:( environment is openstack )index file has no data for cloud <juju-core:New> <https://launchpad.net/bugs/1435644>17:24
=== xwwt-afk is now known as xwwt
marcoceppi_ericsnow: thanks!17:30
=== natefinch-afk is now known as natefinch
natefinchmarcoceppi_: can you explain this docker thing to me?  I don't understand what you're isolating *from* .... juju doesn't change anything on your local machine except under ~/.juju17:47
natefinch(assuming you're not using juju local)17:47
marcoceppi_natefinch: it's not for regular juju users, it's for charm authors and charmers performing reviews. Tests in charms are a required item for any charm in trusty and beyond. As a result, authors have to install testing dependencies which polute the system. (Recently it even broke someone's setup). The Docker container gives you a very fast and very light weight environment to execute these charm tests17:49
marcoceppi_it's basically virtualenv for juju17:49
voidspaceTheMue: http://reviews.vapour.ws/r/1306/diff/#17:50
natefinchmarcoceppi_: Ok, I see. thank you.  I get it.17:52
jcastronatefinch, and for me, who isn't familiar with building core from source I can fire up adam's 1.23 container, mess around without having to mess with my "production" juju stable release on my host.17:55
natefinchjcastro: sure, but really, you can run new juju side by side with production juju, if you just set JUJU_HOME in the windows you're using to test juju.  But I get that doing it in a container feels (and is) a lot more safe.17:57
* jcastro nods17:58
cmarsanyone else able to reproduce LP: #1437445 ? I've tried two vanilla ubuntu KVM instances now and it seems pretty repeatable18:12
mupBug #1437445: worker/uniter: FAIL: util_test.go:665: "never reached desired status" <juju-core:Confirmed> <https://launchpad.net/bugs/1437445>18:12
mupBug #1437445 was opened: worker/uniter: FAIL: util_test.go:665: "never reached desired status" <juju-core:Confirmed> <https://launchpad.net/bugs/1437445>18:14
ericsnownatefinch: gah, the oauth2 library we are using is not getting moved to github (it was deprecated a while back)18:29
natefinchericsnow: well, we can copy it for now18:29
ericsnownatefinch: the one to which the old lib sends you is not compatible :(18:29
ericsnownatefinch: for windows we rely on a third-party package that relies on code.google.com/p/winsvc (which does not appear to be moved or replaced)19:05
=== mup_ is now known as mup
natefinchericsnow: oh yeah, crud.  It appears to belong to brainman, the guy who did most of the Windows support work for Go19:06
ericsnownatefinch: I may punt on fixing that one for this initial patch19:07
natefinchericsnow: that's ok19:08
cheryljCan I get some more reviews for license changes?  http://reviews.vapour.ws/r/1305/19:14
cheryljhttp://reviews.vapour.ws/r/1307/19:14
cheryljhttp://reviews.vapour.ws/r/1308/19:15
cheryljhttp://reviews.vapour.ws/r/1309/19:15
cmarscherylj, sure, looking now19:17
cheryljcmars: thanks!19:20
ericsnowcmars: PTAL http://reviews.vapour.ws/r/1311/19:30
natefinchericsnow: https://code.google.com/p/winsvc/issues/detail?id=1319:35
cmarsericsnow, thanks, looking19:36
ericsnowcmars: this might have gotten lost in the shuffle, but could you also take a look at http://reviews.vapour.ws/r/1234/19:55
ericsnowcmars: it is *not* related to licensing :)19:55
ericsnowcmars: http://reviews.vapour.ws/r/1294/ too (should be trivial)19:55
jw4mgz: I don't s'pose you're around to validate the fix for bug 1436871 which is blocking CI?20:01
mupBug #1436871: ppc64 gccgo fails to build cmd/juju <ci> <ppc64el> <regression> <juju-core:Fix Committed by johnweldon4> <https://launchpad.net/bugs/1436871>20:01
cmarsor sinzui, ^^ ?20:03
jw4cmars: I should have pushed a little earlier20:03
jw4:)20:03
jw4it's EOW for almost everyone20:04
cmarsjw4, yep, its getting there20:04
cmarsericsnow, jw4 since both of you want to land things, are you able to get tests to pass on latest master?20:04
jw4cmars: yeah - let me check again, -- what errors are you seeing?20:05
ericsnowjw4: I haven't seen any problems20:05
cmarsjw4, LP: #143744520:06
mupBug #1437445: worker/uniter: FAIL: util_test.go:665: "never reached desired status" <juju-core:Confirmed> <https://launchpad.net/bugs/1437445>20:06
jw4cmars: hmm I sometimes see similar errors to that which appear to be something local, 'cause it works on CI20:07
jw4cmars: I'm not sure about that one specfically20:07
jw4cmars: I'm running again with latest master to verify20:07
cmarsjw4, thanks20:08
jw4cmars: yeah, I didn't get that error20:19
cmarsjw4, ok, thanks20:19
jw4cmars:  I did get an error in PoolListSuite, but I think that's a map ordering bug20:19
cmarsjw4, yeah, there's tons of those lurking20:19
cmarsjw4, can you open a bug on that PoolListSuite one? it'd be nice to get it later20:20
jw4cmars: yeah; maybe I'll work on it too20:21
cmarsjw4, much thanks20:21
ericsnowcmars: I already opened a bug on that one (and anastasiamac_ has already posted a fix)20:22
ericsnowjw4: ^^^20:22
cmarsericsnow, oh crap. thanks! sorry jw420:22
ericsnowcmars: :)20:22
sinzuicmars, thank you for reminding me. that bug will be fix released20:23
jw4haha, thanks - I guess we're just waiting for CI then  -- hey hi sinzui :)20:24
sinzuijw4, ah, hold on, I don't think we have tested your rev, this is 1.22 again20:25
jw4sinzui: eh...20:25
jw4:)20:25
jw4sinzui: I'd let you or mgz or someone else mark it as fixed anyway20:25
sinzuicmars, I am going to remove 1.22 and 1.23 from the queue to ensure master is tested next20:26
cmarssinzui, thanks20:26
natefinchI love it when I fix a typo in our output and then find tests that are checking for the typo.20:49
cheryljha!20:53
=== anthonyf is now known as Guest42183

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