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

mupBug #1566583 opened: set-default-region/set-default-credential can't clear the defaults <juju-core:Triaged> <https://launchpad.net/bugs/1566583>00:02
mupBug #1566589 opened: ERROR cannot find network interface "lxcbr0": route ip+net: no such network interface <juju-core:New> <https://launchpad.net/bugs/1566589>00:38
mupBug #1566589 changed: ERROR cannot find network interface "lxcbr0": route ip+net: no such network interface <juju-core:New> <https://launchpad.net/bugs/1566589>00:41
mupBug #1566589 opened: ERROR cannot find network interface "lxcbr0": route ip+net: no such network interface <juju-core:New> <https://launchpad.net/bugs/1566589>00:44
mwhudsonhm01:08
mwhudsonwill juju in xenial need to use the mmapv1 mongo storage except for upgrades?01:08
=== alexisb-afk is now known as alexisb
menn0mwhudson: not sure about that one. wallyworld or perrito666 might know.01:11
mwhudsonbecause it is disabled by mongo tip on big endian...01:11
davecheneymongo on s390x01:11
davecheneywhat could possibly go wrong01:11
mwhudsonwhat could possibly go right!01:11
mwhudsonor thgir01:11
davecheneywell said01:12
mwhudsonmenn0: i presume we don't use any of the geospatial nonsense01:15
menn0mwhudson: no we don't01:17
menn0mwhudson: looking at the code, there's a new "upgrade-mongo" juju command. It allows you to specify whether you want wired tiger or not01:20
menn0mwhudson: so it looks like we expect to be able to use mmapv1 with mongo301:21
mwhudsonmenn0: better hope noone wants to use that on s390x01:21
menn0mwhudson: it looks like mmapv1 is assumed by default01:23
mwhudson:(01:25
mwhudsonmenn0: i guess we can have a different default on s390x...01:28
menn0mwhudson: that might have to be what we do01:28
natefinchyou know, I used to love macaroons, but now, I'll be happy if I never see that word again01:43
cheryljlol01:43
menn0axw: is it a known issue that you can't upgrade a hosted model using --upload-tools?01:44
cheryljmenn0: bug 156402601:45
mupBug #1564026: Unable to upgrade hosted model with --upload-tools after upgrading controller with --upload-tools <juju-release-support> <upgrade-juju> <juju-core:Triaged> <https://launchpad.net/bugs/1564026>01:45
cherylj:)01:45
menn0cherylj: yay01:45
menn0cherylj: at least there's a ticket01:45
* cherylj sighs....01:50
cheryljthe fallback in mongo isn't working01:50
cheryljE: Unable to locate package juju-mongodb3.201:51
cheryljand it fails to bootstrap01:51
redirhasta manana juju-dev02:05
cheryljperrito666: are you still around?02:34
anastasiamaccherylj: it's nearly midnight where perrito666 is...02:40
cheryljaxw, anastasiamac, do either of you know if wallyworld's mongo3.2 PR was supposed to fall back to 2.4 on xenial if 3.2 was not available?02:57
cheryljhttps://github.com/juju/juju/pull/471502:57
anastasiamaccherylj: i don't02:58
cheryljbecause right now you can't bootstrap on xenial (with his PR)02:58
cheryljwhich, admittedly, I guess I should've tested before merging it02:59
anastasiamaccherylj: can we revert it?02:59
cheryljThink I'm going to have to02:59
anastasiamaccherylj: looking at the code comments, there was an intent to fall back...03:01
anastasiamac/ We'll try for mongo 3.2 first and fallback to03:01
anastasiamac+// mongo 2.4 if the newer binaries are not available03:01
cheryljyep, I saw that03:01
cheryljit just keeps retrying mongo 3.203:02
anastasiamac:/03:04
axwmenn0: not a known issue to me. wouldn't you need to upgrade the controller with --upload-tools before you can upgrade the hosted model?03:13
axw(sorry for delay, was out)03:13
menn0axw: cherylj pointed out it's a known issue03:13
axwah03:13
axwso I see03:14
menn0axw: if you update the controller with --upload-tools03:14
menn0axw:  then you can't upgrade the hosted model03:14
menn0because that always bumps the build one version past the controller's version :)03:14
axwmenn0: ah, because of the magic +.1 I guess03:14
axwyep03:14
menn0there's a ticket anyway03:14
menn0my favourite oneliner at the moment: lxc list -cn | perl -ne '/(juju-[^ ]+)/ && print "$1\n"' | xargs lxc delete --force03:16
axwmenn0: kill-controller is broken for you too?03:17
menn0axw: only post migration... the old controller still thinks it has control of the migrated agents03:17
menn0axw: that part isn't done yet03:18
menn0axw: it seems to break kill-controller03:18
axwmenn0: ah, ok. some people are having problems with kill-controller & lxd generally03:18
menn0yeah I saw that03:19
menn0it's been mostly ok for me03:19
davecheneyhttps://github.com/juju/juju/pull/500503:22
cheryljhey axw, did you see ian's email about bug 1566414?03:26
mupBug #1566414: juju block storage on ec2 does not default to ebs-volumes <juju-core:New> <https://launchpad.net/bugs/1566414>03:26
axwcherylj: yes, just responding. I've replied to the juju@ list already with the answer tho03:27
cheryljah, cool, thanks!03:27
cheryljah, I see the problem with mongo03:39
cheryljthe version is passed in, but not used when deciding which version to install03:40
cheryljfabulous03:40
anastasiamac\o/03:43
davecheneymenn0: thumper  https://github.com/juju/juju/pull/500503:45
cheryljanastasiamac: did you want to pick up the mongo work?  or should I revert and fix tomorrow?03:54
anastasiamaccherylj: m happy to pick up \o/03:54
anastasiamacjust proposed a streams fix anyway.. :D03:54
cheryljah, so looking for something to do, eh?  ;)03:54
* anastasiamac ducks03:54
anastasiamacaha03:55
mupBug #1566628 opened: Juju cannot bootstrap on xenial without juju-mongodb3.2 package <blocker> <bootstrap> <mongodb> <juju-core:Triaged> <https://launchpad.net/bugs/1566628>03:57
cheryljhmm03:59
cheryljI wonder if this bug requires discussion with sinzui and team03:59
cheryljabout which packages will be supported on which series03:59
cheryljmaybe reverting for tonight is the way to go03:59
cheryljanastasiamac: yeah, just revert for tonight.  Could you do that?04:00
cheryljor I guess I could do it real quick like04:00
anastasiamaccherylj: if u get a chance, sure..04:00
cheryljreview request for the revert:  http://reviews.vapour.ws/r/4450/04:15
anastasiamaccherylj: looking04:16
natefinchcherylj: if it's just a github-initiated revert of the PR, seems like it doesn't really need a review04:22
* cherylj is paranoid04:23
natefinchcherylj: ship it so I can land stuff :D04:23
cheryljhehe04:24
davecheneymenn0: thumper  https://github.com/juju/juju/pull/500504:36
menn0davecheney: sorry, I'm swamped. i'll look.04:39
davecheneyta04:40
* natefinch sleeps for a bit04:42
menn0davecheney: done04:42
davecheneymenn0: thanks04:43
mupBug #1536445 changed: juju rackspace provider requires auth-url <2.0-count> <juju-release-support> <juju-core:Fix Released> <https://launchpad.net/bugs/1536445>05:00
mupBug #1566639 opened: Rackspace provider - "cannot determine available auth versions auth options fetching failed" <rackspace> <juju-core:Triaged> <https://launchpad.net/bugs/1566639>05:00
=== urulama|eod is now known as urulama
menn0davecheney: http://reviews.vapour.ws/r/4451/diff/ pls06:01
davecheneymenn0: https://github.com/juju/juju/pull/501006:09
davecheneyfixes 1.25 blocker06:09
davecheneymenn0: LGTM06:09
menn0davecheney: looking06:10
menn0davecheney: and thanks06:10
menn0davecheney: ship it06:13
davecheneythanks, I'm hoping the other failure in that bug is just a flake06:14
davecheneythis CL should make it clearer anyhoo06:14
mupBug #1566684 opened: Charm hooks to be called "upgrade" and "config" <juju-core:New> <https://launchpad.net/bugs/1566684>07:33
dimiternmorning o/08:11
anastasiamacdimitern: o/ how was ur break? :P08:14
dimiternanastasiamac, much needed :) the weather is getting better as well, as a bonus08:15
anastasiamac\o/ welcome back08:15
dimiternanastasiamac, cheers ;)08:15
thumpero/ babbageclunk08:21
babbageclunkthumper: hi!08:22
dimiternhey thumper, babbageclunk :) how's maas 2 going?08:23
thumperdimitern: good, was going to come to the standup to chat about it08:24
thumperdimitern: how was your break?08:24
dimiternthumper, ah very good, just long enough hehe08:24
thumperdimitern: and come back to a mountain of emails08:24
thumperdimitern: select all, delete?08:24
dimiternthumper, "Mark all as read" :)08:25
thumper:)08:25
mupBug #1566707 opened: Unable to bootstrap lxd with beta3 <juju-core:New> <https://launchpad.net/bugs/1566707>08:28
babbageclunkhey dimitern, welcome back!08:31
dimiternbabbageclunk, thanks!08:33
TheMuemorning08:41
voidspacedimitern: frobware: dooferlad: needs review please http://reviews.vapour.ws/r/4435/08:51
dimiternvoidspace, looking08:51
voidspacedimitern: thanks08:52
voidspacebabbageclunk: did you complete the maas-spaces test?08:53
voidspacemaas2-spaces even08:53
voidspacebabbageclunk: looks to me like that branch is ready for PR08:54
dooferladvoidspace: hangout time09:03
voidspacedooferlad: omw09:03
mupBug #1566751 opened: lxd provider relies on deprecated lxc bridge <juju-core:New> <https://launchpad.net/bugs/1566751>09:37
frobwarejam, ping09:38
babbageclunkvoidspace: I'm just waiting for the availability zones branch to be merged before creating the PR on maas2-spaces, should only be 10misn09:48
babbageclunkmins09:48
voidspacebabbageclunk: no need to wait09:49
voidspacebabbageclunk: the PR will update automatically when az lands09:49
babbageclunkah, ok09:49
babbageclunkvoidspace: https://github.com/juju/juju/pull/501209:50
voidspacebabbageclunk: cool, thanks09:50
babbageclunkvoidspace: so, you're going to do the feature flag - should I start looking at acquire node, or the storage stuff Tim was suggesting?09:51
voidspacebabbageclunk: I was going to do acquireNode and you and Andy pick up storage09:52
voidspacebabbageclunk: as it's nice and isolated so we won't conflict09:52
voidspaceand apparently we'll need it for bootstrap anyway09:52
babbageclunkvoidspace: ok cool - is there a motivating command like bootstrap for that?09:52
voidspacebabbageclunk: not directly - Tim reckoned we'll need it for bootstrap though09:52
babbageclunkvoidspace: ok - so just start hacking in storage.go then, I guess09:53
babbageclunkvoidspace: I mean "hacking"09:53
babbageclunkvoidspace: looks fairly understandable, I'll try starting now and picking your and frobware's brains if I get stuck09:55
voidspacebabbageclunk: cool09:56
voidspacebabbageclunk: availability zones has merged09:59
voidspacebabbageclunk: it says that your spaces branch has conflicts09:59
voidspacebabbageclunk: I think it's just got confused - merge maas2 into it and push10:00
voidspacefrobware: dimitern: dooferlad: review please http://reviews.vapour.ws/r/4454/10:01
dimiternvoidspace, *click*10:01
dimiternvoidspace, babbageclunk, reviewed ^10:19
voidspacedimitern: cool, thanks10:19
frankbandooferlad: ping10:24
voidspacedimitern: why do you think var result []network.SpaceInfo  is better than result := []network.SpaceInfo{}10:25
dimiternvoidspace, marginally better, yes10:27
voidspacedimitern: I mean why?10:27
dimiternvoidspace, as it saves an unnecessary allocation of an empty slice10:27
voidspacedimitern: what's the difference (other than nil initialisation)10:28
dimiternvoidspace, which append does anyway10:28
voidspacedimitern: but if it's already allocated append won't do an extra one - that just moves the initial allocation10:28
voidspacedimitern: doesn't it?10:28
voidspacedimitern: you might be right, in which case the compiler is a bit dumb10:28
dimiternvoidspace, append always allocates and returns a new slice10:28
voidspacedimitern: no it only does that if you reach capacity10:29
voidspacedimitern: in terms of allocation10:29
voidspacesurely!?10:29
dimiternvoidspace, capacity and length are zero for an empty slice10:29
voidspacedimitern: ah, ok - so that is a bit dumb10:30
voidspacedimitern: fair enough, thanks10:30
dimiternvoidspace, :)10:30
dimiternvoidspace, http://play.golang.org/p/sQwf6fSCJw - just to illustrate << babbageclunk10:32
voidspacedimitern: it only grows the capacity one at a time - no overallocation to prevent unnecessary reallocation10:33
voidspacebabbageclunk: that answers our question from yesterday10:33
voidspacedimitern: I assumed go would be smarter than that10:33
dimiternvoidspace, yep10:33
voidspacedimitern: it reallocates on every append - so adding items to a slice in a loop with append is O(n^2)10:34
babbageclunkvoidspace: Oh no!10:35
dimiternvoidspace, you can use make + copy to make it a O(1)10:35
voidspacedimitern: right10:35
dimiternjust won't work if your source data is in a map10:36
voidspacedimitern: still O(n) if you do a copy, right10:36
babbageclunkSo you have to do the exponential growth yourself to get O(1)? That's rubbish.10:36
dimiternvoidspace, oh, right - in general it is, but compiler might be optimizing it to a bulk instruction10:36
voidspacedimitern: ah, maybe10:37
dimiternvoidspace, have you seen this? http://underlap.blogspot.bg/2015/04/go2.html10:38
frobwaredimitern, hoping you've checked the date...10:39
dimiternyeah :D10:39
dimiternbut it took me some time after the initial shock10:39
babbageclunkvoidspace, dimitern - no, it does the exponential growth.10:40
babbageclunkhttp://play.golang.org/p/sQwf6fSCJw10:40
dimiternbabbageclunk, it's doesn't allocate more than it needs - it's expected for you to either pre-make a slice of a given len and/or cap and the use indexing or append on it10:43
dimiternbabbageclunk, https://github.com/golang/go/wiki/SliceTricks - very useful if you haven't looked at it10:43
dimiternhttp://stackoverflow.com/questions/20251900/efficient-appending-to-a-variable-length-container-of-strings-golang also sheds some light10:45
dimiternfrobware, I'm getting lxd test failures on master: http://paste.ubuntu.com/15644992/10:47
=== thomnico_ is now known as thomnico|
dimiternare those known?10:47
babbageclunkdimitern: I might be misunderstanding. I thought you were saying that it resizes and copies on every append, but if it does that the behaviour would be O(n^2).10:47
=== thomnico| is now known as thomnico
frobwaredimitern, entirely possible now10:47
frobwaredimitern, well, since the remove of lxc1 and the lxd bridge10:48
dimiternbabbageclunk, apparently it does that for slices with less than 1024 elements, for longer ones it does cap()x1.25 on realloc10:48
frobwaredimitern, would you mind running a NUC experiment for me?10:49
dimiternbabbageclunk, but the idea is to preallocate the slice and use indexing (or copy(), if no special filtering / transformation is needed)10:49
babbageclunkdimitern: So do you mean the growth factor is 2x for < 1024 elements and then switches to 1.25x after that? I think that's fine.10:49
dimiternfrobware, it needs to be on a nuc, right?10:50
babbageclunkdimitern: yes, that's always going to be the best if possible.10:50
frobwaredimitern, I want to isolate my vMAAS KVM nodes10:50
dimiternbabbageclunk, here's the answer: https://golang.org/src/runtime/slice.go#L5910:50
babbageclunkdimitern: Aha, thanks!10:51
frobwaredimitern, oh, and to mix things up it needs to be with MAAS 1.9.1 and Juju 1.25.410:51
dimiternfrobware, ok, let me fire up my nucs here to make sure they still can be deployed10:52
frobwaredimitern, appreciated. I have bought two - they arrive tomorrow but I'm not at home...10:52
voidspacedimitern: it looks to me like feature flags can be set by the user to arbitrary values and they're runtime checked10:57
voidspacedimitern: so there's no point/need to create one on master - it's just dead code until something in juju actually uses the feature flag10:57
voidspacedimitern: so we can *document* a feature flag for master, but no code changes until maas2 lands10:58
dimiternvoidspace, I'm not quite sure why the ff was suggested, but otherwise that makes sense11:03
dimiternfrobware, bad news :/ my hw maas's power adapter died11:03
dimiternfrobware, I'll try to find a replacement around here, but chances are slim11:04
perrito666cherylj: can you give me more detail when you arrive I might be able to help you with the mongo issue11:04
voidspacedimitern: rick_h_ wanted a feature flag in 2.0 even if the actual support wasn't there yet11:04
voidspacedimitern: but because of the way feature flags are implemented I don't think that actually makes sense11:04
dimiternvoidspace, how so?11:05
voidspacedimitern: I guess it's so we can say that experimental MAAS 2 support added in 2.0.1 is a bugfix rather than a new feature11:05
dimiternvoidspace, they're intended to be immutable once bootstrapped11:05
voidspacedimitern: it doesn't make sense to add a feature flag before any code using it - because a feature flag added to juju does nothing11:05
dimiternvoidspace, ah, in that sense - sure :) I agree11:05
voidspaceI mean, literally nothing11:06
voidspacewe don't check them for validity11:06
voidspaceso you can use arbitrary feature flags that don't exist and merely adding the definition into juju still does absolutely nothing11:06
voidspaceunless it's used by code11:06
voidspaceso we can just *tell* people there's a new feature flag and that has the same effect11:06
babbageclunkvoidspace: ok, merging maas2-spaces. Sorry, got myself a bit confused with merging back from upstream.11:09
voidspacebabbageclunk: :-)11:09
babbageclunkvoidspace: and magit newbieness11:09
voidspacebabbageclunk: so I'm doing acquireNode (which is actually selectNode because of the way the code is written)11:10
voidspacebabbageclunk: so first I need to add hostname and hardwareCharacteristics to maasInstance / maas2Instance11:11
voidspacebabbageclunk: and next we'll need environ.startNode11:11
voidspacebabbageclunk: so there would be more bang-for-buck if you worked on startNode instead11:11
voidspacethen we need StopInstances and the interface stuff used by maasObjectNetworkInterfaces11:13
voidspacewe'll need all that before storage11:13
mupBug #1566791 opened: VLANs on an unconfigured parent device error with "cannot set link-layer device addresses of machine "0": invalid address <network> <juju-core:New> <https://launchpad.net/bugs/1566791>11:16
babbageclunkvoidspace: ok - starting on startNode now11:16
voidspacebabbageclunk: the current implementation returns a gomaasapi.MAASObject11:18
babbageclunkvoidspace: well, we can't have that.11:18
voidspacebabbageclunk: this is passed to maasObjectNetworkInterfaces11:19
voidspacebabbageclunk: so let's have a startNode2 that returns a maas2Instance for now11:19
babbageclunkok11:19
voidspacebabbageclunk: the important bit is getting the api call right11:19
voidspacebabbageclunk: then maybe you can look at maasObjectNetworkInterfaces11:19
voidspacebabbageclunk: but I've got a feeling that's a bit horrible11:19
voidspacebabbageclunk: hopefully the MAAS2 version will be substantially less horrible11:20
voidspacebabbageclunk: but you (we) will need to understand the existing one to be able to port it!11:20
babbageclunkvoidspace: you mean startNode should take a maas2Instance, right? Or a gomaasapi.Machine?11:25
voidspacebabbageclunk: take *and* return I guess11:27
voidspacebabbageclunk: and maas2Instance rather than Machine11:27
voidspacebabbageclunk: so long as that makes sense11:27
voidspacebabbageclunk: otherwise just do what we need to do...11:28
babbageclunkvoidspace: but return a newly created one? It looks like gomaasapi updates the machine in place with the response based on the interface - just looking in the code.11:28
voidspacebabbageclunk: well, the status at least should have changed11:29
voidspacebabbageclunk: so for MAAS 2 we'll probably want a new maas2Instance11:29
babbageclunkvoidspace: yeah, it updates it - so I'll create a new maas2Instance with the same underlying machine.11:30
babbageclunkCool11:30
voidspaceour code has ad-hoc api retries everywhere (well - except not everywhere)11:30
voidspacemaybe we should ask thumper to put a generic retry in place11:30
frobwaredimitern, sync?11:32
dimiternfrobware, omw11:32
voidspacebabbageclunk: can you write up what you do in the status doc please11:40
babbageclunkvoidspace: ok11:41
babbageclunkvoidspace: Dropped out pretty simple - want me to try wiring it into StartInstance, or are you going to do that?11:49
babbageclunkvoidspace: https://github.com/babbageclunk/juju/commit/a697d8a78b33f2f5c05125e985083bec45d6160311:50
babbageclunkvoidspace: should I test that individually, or should that be done via StartInstances.11:53
voidspacebabbageclunk: I've nearly finished extending maasInstance interface (and maas2Instance implementation) with the new methods needed for StartInstance11:54
voidspacethen I need to do new implementation of startNode11:54
babbageclunk?11:54
voidspacebabbageclunk: this is *in* StartInstance11:54
voidspacebabbageclunk: so I think if you work there too it will clash11:54
babbageclunkDidn't I just do that?11:54
voidspacesorry, I meant selectNode11:55
voidspacenot startNode11:55
babbageclunkOk -I'll start on maasObjectNetworkInterfaces stuff11:56
voidspacebabbageclunk: cool11:56
voidspacebabbageclunk: we also need StopInstances11:56
voidspacebabbageclunk: I guess we'll have to test this through StartInstance11:57
voidspacebabbageclunk: doesn't look easy to test in isolation11:57
* voidspace lunches11:57
mupBug #1566801 opened: LXD containers /etc/network/interfaces currently gets overwritten <network> <juju-core:New for frobware> <https://launchpad.net/bugs/1566801>11:58
alexisbjam, fwereade ping12:06
jamalexisb: omw, timezone shift confused me12:06
mupBug #1566751 changed: lxd provider relies on deprecated lxc bridge <juju-core:New> <https://launchpad.net/bugs/1566751>12:28
frankbandooferlad: ping12:39
dooferladfrankban: hi, I was going to have lunch ~now, can it wait 30 minutes?12:40
frankbandooferlad: sure12:40
dooferladfrankban: great, see you soon.12:40
=== Guest66617 is now known as jcastro_
jcastro_axw, +50 to your common-sense approach to killing controllers13:07
mupBug #1566843 opened: juju add-credential should set default when there is only one credential  <docteam> <juju-core:New> <https://launchpad.net/bugs/1566843>13:13
dooferladfrankban: back13:18
frankbandooferlad: I was just pinging to check the progress of https://bugs.launchpad.net/juju-core/+bug/155508313:18
mupBug #1555083: Certificate error when visiting the embedded Juju GUI <2.0-count> <juju-gui> <lxd> <juju-core:In Progress by dooferlad> <https://launchpad.net/bugs/1555083>13:18
dooferladfrankban: a fix has been checked in.13:19
frankbandooferlad: merged to master?13:19
dooferladfrankban: yes13:19
dooferladfrankban: I think13:19
* dooferlad checks13:19
frankbandooferlad: ty13:19
mupBug #1566843 changed: juju add-credential should set default when there is only one credential  <docteam> <juju-core:New> <https://launchpad.net/bugs/1566843>13:22
dooferladfrankban: apologies, it hasn't landed. Not sure how I missed that.13:24
frankbandooferlad: cool it's fixed, could you please go ahead and merge it asap?13:25
dooferladfrankban: sure, I was targetting the embedded GUI branch. Is that OK?13:25
frankbandooferlad: it;s ok13:26
mupBug #1566843 opened: juju add-credential should set default when there is only one credential (when using interactive mode) <docteam> <juju-core:New> <https://launchpad.net/bugs/1566843>13:32
anastasiamacperrito666: i agree about kill vs destroy (for me, destroy sounds more final than kill) :D13:50
perrito666good I am not crazy... oh well I might be, but I am not alone13:55
voidspaceanastasiamac: death is not final?13:55
voidspacethat's good news...13:55
natefinchthere's death, and then there's death and dismemberment13:55
anastasiamacvoidspace: both are fatal but one is more drastic... otherwise why have 2 words to mean the same thing... right?13:56
voidspacenatefinch: so long as they're in that order I don't think it makes a great deal of difference13:56
perrito666yeah, destroy sounds like medieval death, which usually included some form of parts of you on the castle doors13:56
voidspaceanastasiamac: well, you can destroy things that aren't alive but not kill them...13:56
voidspacemaybe we should add a dismember-controllers argument13:56
anastasiamacvoidspace: isn't destroying someone worse than killing them?.. in a way?..13:56
voidspaceanastasiamac: I guess so, I think I just felt like arguing13:57
anastasiamacvoidspace: 3mins to midnight here, so u win \o/13:58
voidspaceyay!14:01
voidspaceat least I get to win at something14:01
perrito666voidspace: juju kill-controller --level=vlad_the_impaler14:04
voidspaceperrito666: :-)14:04
frankbandooferlad: could you please ping me when the fix is merged to embedded-gui?14:21
dooferladfrankban: sure14:21
katcoperrito666: could i get a +1 on some code-cleanup first? http://reviews.vapour.ws/r/4457/14:21
perrito666katco: looking14:23
mupBug #1556293 changed: gce Invalid volume ID destroying environment <ci> <destroy-controller> <destroy-environment> <gce-provider> <juju-core:Invalid> <juju-core 1.25:Fix Committed by anastasia-macmood> <https://launchpad.net/bugs/1556293>14:23
mupBug #1564700 changed: juju 1.25 -- go 1.6 -- provider/joyent tests explode due to incorrect use of AddCleanup <juju-core:Fix Released by dave-cheney> <https://launchpad.net/bugs/1564700>14:23
mupBug #1566893 opened: juju.NewAPIConnection doesn't fall back to using UnresolvedAPIEndpoints when connecting <juju-core:New> <https://launchpad.net/bugs/1566893>14:23
voidspacedooferlad: frobware: babbageclunk: simple one up for review http://reviews.vapour.ws/r/4458/14:23
perrito666katco: shipit, thanks for that great job14:24
katcoperrito666: tyvm... #codescout ;)14:26
frobwarevoidspace, +114:26
perrito666did you just use a hashtag in irc?14:27
* perrito666 -1 nerdpoints katco 14:27
katcolol14:27
katcoi have nerdpoints to spare...14:28
perrito666we all do :p14:28
perrito666we refill every game night on sprints :p14:28
katcohaha14:28
voidspacefrobware: thanks14:30
frobwarevoidspace, the smaller reviews I can look at between re-deploys... :)14:31
voidspace:-)14:31
mupBug #1566707 changed: Unable to bootstrap lxd with beta3 <juju-core:Invalid> <https://launchpad.net/bugs/1566707>14:53
katcoericsnow: standup time15:01
rogpeppefwereade: ping15:16
fwereaderogpeppe, pong15:16
rogpeppefwereade: hiya :)15:16
fwereaderogpeppe, heyhey, been a while -- how's it going?15:16
rogpeppefwereade: good thanks, if a little frantic around here...15:16
fwereaderogpeppe, I bet :)15:17
fwereaderogpeppe, what can I do for you?15:17
rogpeppefwereade: just a brief question about some logic i don't understand that has your name on it15:17
rogpeppefwereade: in dummy.environProvider.PrepareForCreateEnvironment15:17
rogpeppefwereade: it sets "controller" to false if it's true15:17
fwereadebut leaves it if it's anything else?15:17
rogpeppefwereade: i'm wondering why15:17
rogpeppefwereade: yeah15:18
fwereaderogpeppe, there's a tale :)15:18
rogpeppefwereade: i thought there might be :)15:18
rogpeppefwereade: i had a test that was creating a model with controller=true, and it failed 'cos it ended up false15:19
rogpeppefwereade: so it *did* work at one point.15:19
fwereaderogpeppe, basically the problem is that we use the controller environment as a template for creating hosted environments (which is fine) but the dummy provider does not play well with multiple environments that think they're the controller15:19
rogpeppefwereade: ah, ok15:19
fwereaderogpeppe, going so far as to nuke the global testing mongo from underneath the rest of the test infrastructure15:19
fwereaderogpeppe, which leads to surprising errors ;)15:20
rogpeppefwereade: i'm surprised it's a value that's allowed to change15:20
fwereaderogpeppe, I don't think it is changing, is it? PFCE is about tweaking a config for a fresh env15:21
rogpeppefwereade: i.e. why not just return "controller" in RestrictedConfigAttributes ?15:21
rogpeppefwereade: ah, but it *must* be different...15:21
rogpeppefwereade: interesting15:21
fwereaderogpeppe, it probably should be restricted if it's not, though15:22
rogpeppefwereade: it can't be restricted really15:22
rogpeppefwereade: as restricted implies the value can't change from the controller, but in this case it must be different AFAICS15:23
fwereaderogpeppe, ah right I see15:23
rogpeppefwereade: maybe there's no other alternative15:25
rogpeppefwereade: i guess it could return an error15:25
rogpeppefwereade: if controller==true15:25
mupBug #1540061 changed: juju 2.0 alpha + local LXD provider: dns hostname inconsistency <2.0-count> <juju-release-support> <lxd> <s390x> <juju-core:Triaged> <https://launchpad.net/bugs/1540061>15:26
fwereaderogpeppe, I see what you mean -- but not that comfortable with either tbh, so slightly inclined towards not touching it ;)15:27
rogpeppefwereade: fair enough. now that i know what's going on i can fix my test.15:27
fwereaderogpeppe, oh, and, the sting in the tail15:28
rogpeppefwereade: i might add a comment if i have the energy15:28
rogpeppefwereade: oh yes?15:29
fwereaderogpeppe, is that I check for true specifically, because something *else* has a convoluted test that wants to check validation happens at a certain point, and I couldn't see how to do that without allowing nonsense values to pass through untouched15:29
fwereaderogpeppe, I'm sure I commented somewhere, evidently not15:29
rogpeppefwereade: ah! rather than just setting it to false15:29
fwereaderogpeppe, yeah15:29
fwereaderogpeppe, was a pretty shameful day, but it was a terrible merge15:30
rogpeppefwereade: well, the comment says "this looks redundant" but doesn't actually say why it's doing what it's doing15:30
fwereaderogpeppe, well that was stupid of me15:30
fwereaderogpeppe, sorry :)15:30
rogpeppefwereade: np15:30
rogpeppefwereade: BTW (off topic) have you read the Water Knife yet? if not, get it!15:31
tych0frobware: hi, i just noticed that the lxd container type creates no eth0 by default15:51
tych0frobware: i guess i have to do something to tell juju to add a network to it, but i'm not sure what15:52
frobwaretych0, work in progress bug15:54
frobwaretych0, if you bounc eth agent the profile should be created second time around (on a new add-machine lxd:0)15:54
frobwaretych0, however, /e/n/i will still be wrong.15:54
tych0frobware: i sort of remember some discussion about this. something is overwriting it?15:55
tych0frobware: but from my look, the container has no eth0 device in lxd's config, so nothing will add to it15:55
frobwaretych0, https://bugs.launchpad.net/juju-core/+bug/156439515:56
mupBug #1564395: newly created LXD container has zero network devices <bootstrap> <network> <juju-core:In Progress by dimitern> <https://launchpad.net/bugs/1564395>15:56
frobwaretych0, the current workaround is to reboot the node hosting the container15:56
frobwaretych0, and add a new container, old one will still be bust15:57
frobwaretych0, and new container will be bust because of https://bugs.launchpad.net/juju-core/+bug/156680115:58
mupBug #1566801: LXD containers /etc/network/interfaces as generated by Juju  gets overwritten by LXD container start <network> <juju-core:Triaged by frobware> <https://launchpad.net/bugs/1566801>15:58
tych0frobware: ok, thanks15:58
tych0frobware: where in the code is that config actually written?15:59
tych0frobware: i can probably add the PutFile call we need if that's all the change that's required15:59
frobwaretych0, I have a solution I'm currently testing based on a conversation with stgraber15:59
tych0frobware: ok, thanks15:59
frobwaretych0, this http://pastebin.ubuntu.com/15653945/ is the essence of it16:00
tych0frobware: let me know when you get the PR up and i can test. i want to test some other stuff on top of this :)16:00
frobwaretych0, use my hack above ^^16:00
tych0frobware: ok, thanks16:00
tych0frobware: do you want to do PutFile too at some point? or just leave it writing directly?16:00
frobwaretych0, that's not direct to the filesystem, that gets put there by cloud-init16:01
tych0frobware: i think there are some optimizations coming down the path where with zfs the container's fs won't be mounted by default any more16:01
tych0ok, ok16:01
tych0don't mind me then :)16:01
tych0frobware: thanks16:01
frobwareyw16:01
frobwaretych0, the implications of "won't be mounted by default" was reference to us writing directly the fs?16:02
frobware(which we don't)16:02
fwereaderogpeppe, ooh, thank you, will do16:03
tych0frobware: yeah, exactly16:03
tych0frobware: so you should be fine16:03
frobwaretych0, I haven't verified but presumably this "solution" will be good for 14.04 too16:03
tych0frobware: yeah, hopefully so :)16:04
rogpeppefwereade: the shipbreaker books, though YA, are also well worth reading if you haven't16:04
frobwaretych0, the view of the world with bounced machine and patched juju should look like http://pastebin.ubuntu.com/15654417/ and http://pastebin.ubuntu.com/15654447/16:12
tych0frobware: ok16:13
tych0frobware: so the container type juju isn't using lxdbr0 at all then?16:13
frobwaretych0, not for containers instantiated from the MAAS provider. That provider has `spaces' support, so we know the exact network configuration.16:14
tych0ah, i see16:14
tych0but for stuff like gce it still will?16:14
frobwaretych0, yep (and local)16:14
tych0frobware: ok, cool, thanks16:15
frobwaretych0, so I need to consider those cases for my patch.16:15
tych0frobware: well, i'm testing your patch on gce now16:15
tych0frobware: so i'll complain if it doesn'tw ork :)16:15
frobwaretych0, outsourced!16:15
tych0frobware: :D16:15
frobwaretych0, oh16:15
frobwaretych0, in which case I'll hang around a bit if you think you'll know the answer RSN...16:16
tych0yeah, just waiting on some i/o16:16
frobwaretych0, perennially ...16:16
tych0:)16:16
tych0frobware: no dice, http://paste.ubuntu.com/15654773/16:23
tych0frobware: i still have no network device, even in the profile16:23
tych0(presumably because there was no network config populated because gce doesn't know about spaces?)16:24
tych0frobware: i can send a patch for that if you ahve any pointers16:24
frobwaretych0, did you bounce the machine after it had bootstrapped?16:24
tych0frobware: another thought i had was that it seems like juju is creating 1:1 profiles for containers, we could just use the container's config there (the intent of profiles is really to apply to more than one container at a time)16:24
tych0oh, no16:25
tych0let me restart it16:25
tych0and i'll try again16:25
frobwaretych0, I'm being lazy. bounce the juju agent.16:25
tych0too late :)16:25
frobwaretych0, I had thought about creating one profile and sharing it.16:26
tych0frobware: oh, so the config isn't unique to a particular container?16:26
frobwaretych0, which is fine until we launch a container which has a different subset16:26
tych0frobware: i see16:26
fwereadedooferlad, reviewed, not quite there yet but the args/results correspondence is the only thing that's blocking a ship-it16:26
tych0so they might be shared, and might not be16:26
tych0frobware: are you ever going to re-use profiles? if not, maybe it makes sense to just put it on the container itself16:27
dooferladfwereade: thanks!16:27
tych0and cut profiles out of the loop entirely16:27
frobwaretych0, yes. given the current timescales, I went with the simplest approach. but it is something to reconsider.16:27
tych0frobware: ok16:27
frobwaretych0, what's the difference between 'create profile' and 'just put it on the container itself'?16:28
tych0frobware: so profiles are basically just collections of container configuration16:28
frobwaretych0, when we create the container we create and associate that profile with that container16:29
tych0frobware: but you can configure the container itself directly (e.g. `lxc profile device set myprofile` vs. `lxc config device set mycontainer`)16:29
frobwaretych0, where "that" is the -network profile.16:29
tych0frobware: right, that's an extra step you don't really need16:29
tych0you can just configure the container directly16:29
frobwaretych0, through the API?16:29
tych0the profiles are mostly inteded to be shared across multiple containers16:29
tych0frobware: yes, sec16:29
tych0frobware: client.SetContainerConfig()16:30
tych0is very similar to SetProfileConfig()16:30
frobwaretych0, and if you do that, does it still show from: $ lxc profile list16:30
tych0frobware: i'm not sure what you mean16:31
dooferladfrankban: that GUI fix just landed in the embedded-gui branch.16:31
tych0frobware: if you only configure it on the container and don't reate a profile, no profile will show up in lxc profile list16:31
frobwaretych0, right now if I run (from the CLI): lxc profile list, I see the juju-machine-0-lxd-network profile listed (which is only pertinent to that instance)16:31
tych0frobware: right, what i'm saying is don't create or use that profile at all16:32
tych0frobware: just configure the instance directly16:32
frobwaretych0, ok, I see. and does the detail show up in $(lxc info <container>)?16:32
tych0frobware: yes16:32
frobwaretych0, just curious how to verify and/or debug16:32
tych0well16:32
tych0you might need to lxc config show <container>16:33
frankbandooferlad: \o/ thanks, trying it16:33
tych0i don't remember if info dumps the config or not16:33
tych0arg16:33
tych0and my host seems to not have come back up after a reboot :(16:33
* tych0 makes another16:33
tych0yay cloud16:33
frobwaretych0, sounds like my day with 1 particular maas node...16:34
tych0weird16:35
tych0it's trying to ssh to the wrong ip16:35
frobwareMITM :)16:35
frobwaretych0, http://pastebin.ubuntu.com/15655169/ -- lxc config show16:36
frobwaretych0, perhaps the network profile would show up in there if it wasn't discrete16:37
tych0frobware: sorry, i don't understand16:37
tych0what do you mean by perhaps the network profile would show up?16:37
tych0- juju-machine-0-lxd-0-network16:37
tych0isn't it there/16:37
tych0frobware: how do i bounce the juju service?16:38
frobwaretych0, so if I didn't create a discrete profile (juju-machine-0-lxd-0-network) as you suggest and just client.SetContainerConfig() would the config show it differently?16:38
tych0service jujud restart didn't work16:38
tych0frobware: no, it should be the same16:38
tych0well, other than not having the profile there16:38
frobwaretych0, so no content that represents what's in that profile at all?16:39
tych0frobware: well if you do it directly, there's no profile, right?16:39
tych0so there's nothign to represent?16:39
tych0perhaps i'm confused.16:39
frobwaretych0, which for me comes back to how do I debug/verify the network devices16:39
tych0frobware: why not with lxc config show?16:40
frobwaretych0, that's my question, really. would it show up in there?16:40
tych0yes16:40
frobwaretych0, ok, so good. :)16:40
tych0frobware: so how do i bounce the juju service?16:41
frobwaretych0, looking (because of systemd, or its name, or because I reboot)...16:42
natefinchericsnow: does the channels patch have a shipit if I've addressed all the comments?16:43
ericsnownatefinch: I'll look16:43
frobwaretych0, service  jujud-machine-0 stop; service  jujud-machine-0 start16:43
frobwaretych0, any joy with restarting?16:46
tych0not found :(16:46
tych0oh16:46
tych0because it's machine-116:46
frobwarehehee16:46
tych0ok, trying a deploy --to lxd:1 now16:47
mupBug #1566978 opened: GCE provider output oddities <juju-core:New> <https://launchpad.net/bugs/1566978>16:47
frobwaretych0, just $(juju add-machine lxd:1)16:48
ericsnownatefinch: ship-it16:49
frobwaretych0, in your bug, it's not even just .178, the rest is diffeent too.16:50
natefinchericsnow: cool, thanks16:50
ericsnownatefinch: (with some extra tiny comments)16:50
tych0frobware: http://paste.ubuntu.com/15655607/16:51
tych0no luck :(16:51
tych0frobware: right, it's the wrong ip16:51
frobwaretych0, and it machine 1 was bounced?16:51
tych0frobware: yeah16:51
frobware:(16:51
tych0frobware: that's on GCE though16:51
frobwaretych0, I don't have GCE creds to try...16:52
tych0so i guess it doesn't know about spaces or anything?16:52
frobwaretych0, true. I need to verify what AWS does with master/tip, plus my patch.16:52
tych0frobware: yeah, i assume AWS has the same issue16:53
tych0jam might know, he's been fiddling with this on aws16:53
frobwaretych0, I'm just wary of saying that's to be expected because this "bounce the machine" to make it work is just crap16:53
tych0frobware: well it seems to me like there's just no network config emitted by juju at all in the non-spaces case16:53
frobwaretych0, the bounce the agent "appears" to fix the racyness16:53
tych0frobware: is that what the "bounce the agent" thing is supposed to fix?16:54
frobwaretych0, supposed to. bug fix in progress.16:54
tych0ah, ok16:54
frobwaretych0, sometimes you get a case where at least one interface was discovered, but more often that not it's either all or none. Yuck16:55
frobwaretych0, I will try with aws (probably tomorrow now)16:55
tych0ok, np16:55
frobwaretych0, it's difficult to separate the "no network config" with "no network config (because it's buggy)"16:56
frobwaretych0, but for the MAAS case it looks like writing a 00-juju.cfg file is going to be the immediate solution.16:57
tych0:)16:57
tych0right, these are all with the 00-juju.cfg file16:57
tych0patch16:57
tych0(all my runs, that is)16:57
tych0but i still think that's not even it, because shouldn't the profile at least have an interface in it?16:58
alexisbcherylj, mattyw, redir can I get one of you guys to review the latest updates from tych0 : http://reviews.vapour.ws/r/4446/ ??16:58
tych0even if it does ultimately get blasted away by cloud-init on instance boot, the profile is still wrong16:58
mattywalexisb, will do16:58
alexisbthanks mattyw !16:58
frobwaretych0, yes, it should IMO16:59
frobwaretych0, fyi - http://pastebin.ubuntu.com/15634033/16:59
mattywtych0, LGTM, might want to add a card to your board to the issue raised by jam16:59
mattywtych0, but otherwise fine16:59
tych0mattyw: i don't know what that means :(17:00
mattywtych0, you can land it17:00
tych0frobware: right, that is unrelated though isn't it?17:01
tych0frobware: all that happens after the instance boots, and lxd won't template eth0.cfg if you don't have an eth0 configured ina  profile somewhere17:01
tych0profile or container config17:01
tych0mattyw: oh, so i can do the $$merge$$ thing myself?17:02
frobwaretych0, the FYI bit was where write "00-juju.cfg" came from17:02
mattywtych0, you can indeed17:02
tych0frobware: right, that seems reasonable17:02
tych0frobware: i'm just wondering if there's an issue even before that in the non-spaces case17:02
tych0mattyw: ok, thanks!17:02
frobwarealexisb, is is possible to get GCE creds to validate/verify LXD/Juju network profile changes that I'm making?17:03
frobwaretych0, I'm erring on the side of we should (and do) have network info in the non-spaces capable provider. the question is, when it gets to the LXD bits why do we appear to have none.17:05
tych0frobware: ah, ok :)17:05
tych0frobware: if you have any suspcicions i can poke around a bit17:05
frobwaretych0, could you please send me the machine-0 (or 1).log with TRACE logging set.17:06
tych0frobware: where do i set trace logging?17:06
frobwaretych0, juju set-model-config 'logging-config=<root>=TRACE'17:09
frobwaretych0, and deploy another LXD instance17:09
frobwaretych0, If you could drop that in the mail I'll take a look...17:10
tych0frobware: sure, will do17:11
frobwaretych0, I need to drop. Will sync tomorrow. Thanks for beta-ing my patch. :)17:12
tych0frobware: sure, np. i'll send you this log17:12
tych0frobware: thanks for the discussion :)17:12
frobwaretych0, I think we should definitely apply the network profile to the container. It'll mean that we don't litter $(lxc profile list)17:13
tych0frobware: cool. hopefully with the api it is easy enough to make the switch17:14
* frobware heads out to sample ... jellied eels17:14
tych0better you than me :)17:14
sinzuikatco: natefinch: do either of you have a minute to review http://reviews.vapour.ws/r/4459/17:25
natefinchsinzui: ship it17:26
sinzuithank you natefinch17:26
natefinchkatco beat me on RB17:26
katco#sorrynotsorry17:26
natefinchlol17:26
natefinchI forgot you had to confirm the shipit button17:27
bogdanteleagais there some docs on working with 2.0?17:58
bogdanteleagaespecially the new bootstrapping18:02
mupBug #1563607 changed: Handle multi-series charms in 1.25 <charms> <juju-core:Fix Released by gz> <https://launchpad.net/bugs/1563607>18:02
redirnatefinch: looking at http://reviews.vapour.ws/r/4381 now18:06
perrito666bogdanteleaga: dunno, but I can help you18:06
mupBug #1566978 changed: GCE provider output oddities <gce-provider> <ssh> <status> <juju-core:Invalid> <https://launchpad.net/bugs/1566978>18:26
mupBug #1567017 opened: TestDetectSubnetLocal "ip" not in path <centos> <ci> <regression> <test-failure> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1567017>18:26
mupBug #1567020 opened: TestLTSSeriesPackages lxd-bridge: permission denied  <ci> <regression> <test-failure> <unit-tests> <wily> <xenial> <juju-core:Triaged> <https://launchpad.net/bugs/1567020>18:26
cheryljperrito666: if you're interested in looking into the mongo issues from yesterday, the bug is bug #156662818:52
mupBug #1566628: Juju cannot bootstrap on xenial without juju-mongodb3.2 package <bootstrap> <mongodb> <juju-core:Fix Committed> <https://launchpad.net/bugs/1566628>18:52
cheryljperrito666: my fix was reverting Ian's patch.18:52
mupBug #1546662 changed: juju does not respect --agent-version <2.0-count> <bootstrap> <ci> <juju-core:Fix Released> <https://launchpad.net/bugs/1546662>19:29
* redir just noticed the "create an issue" tick box when adding a comment in reviewboard....19:32
perrito666cherylj: looking19:54
perrito666uff, now that I see the error I know what ian did wrong19:56
perrito666changing this line https://github.com/juju/juju/pull/5008/files#diff-19525321094e90f6f9962bb888ca0b17L629 to not return when it errs is enough19:58
perrito666why on earth would the package not be available for xenial?19:58
cheryljperrito666: because the package doesn't exist yet20:00
perrito666oh, I assumed they would be building it for various versions20:00
cheryljperrito666: it will be available soon20:01
cheryljbut the package isn't available yet.  at all for any series20:02
perrito666oh, that should have broken a lot more than xenial then20:02
cheryljand that line you referenced was for upgrade-mongo?   Is that what tries to do the inital install?20:02
cheryljperrito666: wily and xenial20:02
cheryljperrito666: I think the problem I was running into was that the function that selects the package to try to install does it based on the series of the host, not on the selected version of mongo20:03
cheryljspecifically, a mongo version is passed to EnsureServer20:03
perrito666it is20:04
cheryljbut isn't used when choosing the package name20:04
perrito666that is a bug20:04
cheryljok20:04
alexisbperrito666, can you address the bug please so we can get the PR landed?20:08
perrito666alexisb: I am confused, you mean re-landed?20:09
alexisbperrito666, yes20:10
alexisbit was reverted20:10
alexisband we need to land before friday20:10
thumpermorning folks20:13
TheMuethumper: morning (or better evening, at least here *g*)20:13
thumper:)20:14
alexisbmorning thumper20:14
Makyo_cherylj: I believe you had the problem with containers being the wrong series for charms deployed to them?20:14
=== Makyo_ is now known as Makyo
* TheMue uses the time in a hotel to finish his work on a kind of hierarchical tomb with restarting for his loop package20:15
cheryljMakyo: yeah, bug 1564057?20:15
mupBug #1564057: juju2: Charms fail with series mismatch when deployed to containers in bundle <juju-core:Triaged> <https://launchpad.net/bugs/1564057>20:15
Makyocherylj: I've taken over for frankban, and have a PR up at https://github.com/juju/bundlechanges/pull/20 if you're interested.20:16
cheryljMakyo: oh sweet, let me take a look20:16
alexisbthumper, redir, cherylj starting to look through the helpdocs bugs20:17
alexisbfor lp 155524820:17
alexisbcan we just make the format changes in a comment in the bug and then "+1" so it can be merged?20:17
cheryljMakyo: the changes look good, I'm going to build and test20:19
Makyocherylj: awesome, ty20:20
mbruzekaxw: ping20:20
alexisbmbruzek, a little early for him still20:21
mbruzekalexisb: What timezone is Andrew in?20:21
alexisbhe is the wrong side of AUS20:21
alexisbI would have to look up the timezone20:21
mbruzekOK. thanks for the information.20:21
rick_h_lol, who knew there was a right and wrong side of AU20:21
alexisbmbruzek, UTC+8 so around 4:30am atm20:24
cheryljhas anyone been able to bootstrap lxd with tych0's PR (#5004)?20:24
alexisbcherylj, I can try really fast20:25
cheryljalexisb: could you?  I'm seeing an error "2016-04-06 20:14:50 ERROR cmd supercommand.go:448 invalid config: no addresses match"20:25
cheryljbut I don't know if that's user error20:25
alexisblovely20:26
alexisbyep one sec20:26
alexisbI have to kill my current deploy and rebuild master20:26
redircherylj: It worked for me yesterday evening.20:30
cheryljredir: had you updated lxd to 2.0.0~rc8-0ubuntu2?20:33
alexisb ./juju bootstrap local lxd --upload-tools20:36
alexisbERROR invalid config: no addresses match20:36
alexisbcherylj, ^^20:36
* cherylj sadface20:36
cheryljtych0: is there someone we have to do to get lxd to work with your latest PR (#5004) and lxd 2.0.0-rc8?20:37
redircherylj: I was on lxd 2...rc8-ubuntu3 yesterday20:37
alexisbcherylj, it was working for me yesterday20:37
alexisbso its something added sense then20:37
cheryljI can try the commit before 500420:37
redir_when I tried yesterday it was on tych0's branch20:38
redirbrb lunch20:39
cheryljMakyo: the patch works perfectly!  It fixes the problem from bug 1564057.  But, I didn't test other cases (using a "new"directive for a service, etc)20:41
mupBug #1564057: juju2: Charms fail with series mismatch when deployed to containers in bundle <juju-core:Triaged> <https://launchpad.net/bugs/1564057>20:41
cheryljso maybe perfectly wasn't the best description20:42
cheryljperfectly for my test case ;)20:42
cheryljthere20:42
Makyocherylj: awesome, thanks.  Getting other reviews and such from folks, too, but I appreciate it!20:42
cheryljMakyo: thank you very very much for taking that bug.  It was on my "must fix" list for 2.0.20:42
cheryljMakyo: May I assign the bug to you?20:42
Makyocherylj: yep, that'd be great20:43
cheryljkk, thanks again!20:43
alexisbMakyo, you can come and fix bugs for us anytime ;)20:44
Makyoalexisb: Gladly; Go is so much more fun than JS :)20:44
redirMakyo!20:44
Makyoredir!20:44
Makyo_o/20:44
redir:)20:44
alexisbcherylj, I am about to disappear into calls again but let me know how the pre-commit master does (if it bootstraps)20:46
cheryljalexisb: will do20:46
redirfwiw cherylj , alexisb I just bootstrapped lxd with lxd==2.0.0~rc8-0ubuntu5 and juju master @ 97d41bb which includes #500420:47
cheryljalexisb: it's already gotten further :)20:47
cheryljso maybe I need to update lxd?  I'm on 2.0.0~rc8-0ubuntu220:47
cheryljif there's a minimum version, we need to make sure we reference it in the release notes20:48
redirI had ..ubuntu3 yesterday and it worked.20:48
redirdeploying hello world, I mean wordpress... and really going for lunch.20:49
=== redir is now known as redir_lunch
marcoceppiaxw: is type: filesystem valid for storage?20:50
marcoceppimbruzek: ^20:50
alexisbpeople, he is asleep20:51
mbruzekmarcoceppi:  I already asked here20:51
alexisbcherylj, I am running the lastest lxd and it fails20:52
alexisbI think it is something that we committed in the last 24 hours20:52
redir_lunchalexisb: worked here with latest master and latest lxd20:53
alexisbredir_lunch, interesting20:57
=== natefinch is now known as natefinch-afk
natefinch-afkredir_lunch, ericsnow: there's a new review from the same macaroon code that has now been rebased and is a real PR here:  http://reviews.vapour.ws/r/4381/   should be mostly the same code with a few very minor differences.  Sorry for the duplicate review21:01
ericsnownatefinch-afk: reviewing now21:01
babbageclunkthumper: Just added another small note in the maas2 doc - an extra expected error type from ReleaseMachines.21:10
thumperawesome, ta21:11
babbageclunkthumper: Also, thanks for the chat this morning, really good to get some wider context.21:11
thumperall good21:11
cory_fuMy unit seems to have gone into a weird state where the log is spamming with the same two messages over and over: http://pastebin.ubuntu.com/15660941/21:14
cory_fu(This is with juju from charmbox:devel, which I believe is a daily build)21:14
cory_fuOr at least beta321:15
perrito666alexisb: ok, right after I finish this Ill fix the bug, it is trivial-ish21:16
anastasiamaca review plz :D http://reviews.vapour.ws/r/4456/21:30
=== redir_lunch is now known as redir
rediranastasiamac: looking21:38
anastasiamacredir: tyvm, but u have already looked at this :D i need a second reviewer as per ur suggestion :D21:38
rediranastasiamac: yup nvm21:46
* redir is too eager21:46
alexisbperrito666, thank you!  cherylj is going to open a bug and assign it to you, you lucky dog!21:49
perrito666yay, fun day tomorrow :p21:50
tych0cherylj: not that i know of21:57
tych0cherylj: but i can update to a stock lxd on xenial and see21:57
axwmarcoceppi: yes, it can be "block" or "filesystem"21:59
axwmbruzek: ^^ assuming you were going to ask the same21:59
alexisbredir, thumper https://bugs.launchpad.net/juju-core/+bug/155524822:02
mupBug #1555248: help text for juju destroy-controller needs improving <helpdocs> <juju-core:In Progress by reedobrien> <https://launchpad.net/bugs/1555248>22:02
tych0cherylj: so i can bootstrap with current packaged lxd and current juju master22:18
tych0oh, but i still have lxcbr022:19
tych0let me get rid of that and try22:19
tych0cherylj: i'm also doing --bootstrap-series=xenial22:20
tych0cherylj: should i not do that?22:20
cheryljtych0: in my case I didn't need to specify bootstrap series22:26
cheryljI immediately get this error:  2016-04-06 22:26:55 ERROR cmd supercommand.go:448 invalid config: no addresses match22:27
tych0hmm22:30
tych0interesting that it was immediate then22:30
tych0looks like my bootstrap with no lxcbr0 present also succeeded22:30
tych0cherylj: you're doing --upload-tools though i guess?22:31
cheryljyeah22:31
=== urulama is now known as urulama|eod
tych0hmm22:32
tych0without --bootstrap-series it works for me too22:32
tych0cherylj: what hash are you using?22:32
tych0and which lxd package? (dpkg -l | grep lxd22:32
tych0)22:32
cherylj2.0.0~rc8-0ubuntu522:32
cheryljand tip of master.22:32
cherylj97d41bb51fbe94f69fd7442e0fb972b58a81f27222:33
cheryljis the master commit22:33
tych0:(22:33
tych0looks like i am using one commit newer than that, but it shouldn't matter22:33
tych0just some extra \ns in an unrelated area22:33
tych0cherylj: just out of curiosity, what's ifconfig -a on the host?22:34
cheryljtych0: http://paste.ubuntu.com/15661846/22:34
tych0poop22:35
tych0that looks reasonable22:35
tych0oh, heh22:37
tych0no it doesn't either22:37
tych0i bet i know what's going on22:37
tych0cherylj: what if you try with,22:37
tych0https://github.com/juju/juju/pull/498422:37
tych0cherylj: do you get a better error message?22:37
cheryljtych0: give me a few22:38
tych0sure, np22:38
tych0cherylj: if you just want to get past it,22:38
tych0http://tycho.ws/blog/2016/04/lxdbr0.html22:38
tych0you need to configure lxdbr022:38
tych0but the branch above should give you a better error message in this case22:38
mupBug #1567104 opened: Unable to connect to API <ci> <intermittent-failure> <test-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1567104>22:42
alexisbtych0, I am trying your blog instructions I get this:22:42
alexisb~/gowork/bin$ sudo lxd init22:43
alexisberror: You have existing containers or images. lxd init requires an empty LXD.22:43
alexisbalexisb@alexisb-ThinkPad-X1-Carbon-2nd:~/gowork/bin$ lxc list22:43
alexisb+------+-------+------+------+------+-----------+22:43
alexisb| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |22:43
alexisb+------+-------+------+------+------+-----------+22:43
alexisbalexisb@alexisb-ThinkPad-X1-Carbon-2nd:~/gowork/bin$22:43
tych0alexisb: try lxc image list22:43
tych0you probably have an image cached22:43
tych0if you delete that it should let you do it22:43
thumpercherylj: just looking at the bug squad cards22:44
thumpercherylj: would you like all the headings turned into hyperlinks?22:44
thumperI'm ready to click save22:45
* thumper thigns22:45
thumperthinks22:45
thumperwell, we can disable if you lick22:45
* thumper sighs22:45
thumperlike22:45
cmarscherylj, alexisb i'm able to bootstrap latest lxd (2.0.0~rc8) with latest juju master22:46
cmarsjust had to name the bridge "lxcbr0"22:46
tych0cmars: you shouldn't need to do that at all22:47
tych0with current master22:47
tych0you /do/ need to have an lxcbr0 with ipv4 subnets configured, though22:47
cmarstych0, oh cool, even better :)22:47
tych0actually i think the logic in my branch is slightly wrong, it allows ipv4 || ipv6 subnets22:47
tych0but juju requires ipv422:47
tych0i don't have time to fix it right now, but i can tomorrow AM22:47
alexisbok tych0 so when I configured the lxdbr0 it worked22:51
alexisbthat was the issue22:51
tych0cool22:52
tych0the PR i linked above should give you a better error message22:52
alexisbtych0, ok22:52
alexisbwe should also chat with jam about have juju do the lxd setup22:52
alexisbnot an urgent thing but something for usability22:52
alexisbthanks tych022:53
tych0alexisb: i already got yelled at by mark, hence that PR :)22:53
alexisb:)22:53
tych0there may be some other things, though22:54
menn0cherylj: do you know if this failure is unique to the model-migration feature branch? http://reports.vapour.ws/releases/3861/job/lxd-deploy-xenial-amd64/attempt/47522:54
menn0cherylj: my gut says it's not22:54
tych0but basically, the docs should all now say `do lxd init before juju bootstrap foo lxd`22:54
tych0anyway, gotta run. call time for a show22:54
rediris there an option to ignore whitespace in reviewboard?22:55
alexisbaxw, when you have a moment I want to chat kill-controller stuff22:55
alexisbredir, if you are still around could you do a second review of this guy: https://github.com/juju/juju/pull/498423:00
alexisbthat way we can get that change merged23:01
alexisbredir, scratch that sorry23:04
axwalexisb: sorry had to do kid things, back23:10
alexisbaxw, no worries23:10
alexisbI can just jump on your guys standup if you dont mind23:11
alexisbwe can talk there23:11
axwalexisb: sounds good23:11
anastasiamacaxw: standup?23:16
axwalexisb: coming now? or will you be later?23:16
davecheney        var err error23:50
davecheney        s.client = s.APIState.Client()23:50
davecheney        c.Assert(err, jc.ErrorIsNil)23:50
davecheneygolf clap23:50
thumperhahaha23:52

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