/srv/irclogs.ubuntu.com/2016/10/19/#juju-dev.txt

mupBug # changed: 1274460, 1274922, 1276943, 127697600:19
* redir eods a little early for M's birthday00:21
mupBug # changed: 1277307, 1277359, 1279093, 1281376, 1281377, 1282731, 128381400:43
mupBug #1284183 changed: jujuclient.EnvError: <Env Error - Details:  {   u'Error': u'watcher was stopped', u'RequestId': 9, u'Response': {   }} <api> <status> <juju-core:Fix Released> <https://launchpad.net/bugs/1284183>00:49
mupBug #1285115 changed: very slow upgrade-charm run <upgrade-charm> <juju-core:Fix Released> <https://launchpad.net/bugs/1285115>00:49
mupBug # changed: 1286517, 1286570, 1287661, 128803402:16
mupBug # changed: 1288745, 1293324, 1294458, 129446202:25
mupBug # opened: 1288745, 1293324, 1294458, 129446202:40
anastasiamacwallyworld: menn0: thumper: m having one of those funnily interesting days \o/ where can I find a list of all hooks that we support and conditions under which they fire? :D02:41
wallyworldsource code :-)02:41
wallyworldnot sure there's doc?02:42
anastasiamac:D where in source code?02:42
wallyworldthere might be02:42
anastasiamacor docs?02:42
anastasiamacwe do not have a list?02:42
wallyworldnfi about docs02:42
wallyworldmay do but i've never used them02:42
katcoanastasiamac: https://jujucharms.com/docs/stable/reference-charm-hooks02:42
menn0anastasiamac: does this help: https://jujucharms.com/docs/stable/developer-event-cycle02:42
anastasiamackatco:  menno: this is awesome :D tyvm02:43
wallyworldin case docs are out of date, hooks are defined in charm/hooks/hooks.go02:44
mupBug # changed: 1288745, 1293324, 1294458, 1294462, 1294843, 1297940, 1298662, 1298755, 129903202:46
anastasiamacwallyworld: thank you :)02:47
mupBug #1299040 changed: juju should fire depart/join hooks when units are dead <hooks> <juju:Triaged> <juju-core:Won't Fix> <https://launchpad.net/bugs/1299040>03:01
mupBug #1299579 changed: support unconfined and nested container app armor profile in local provider <improvement> <local-provider> <ubuntu-engineering> <juju-core:Won't Fix> <https://launchpad.net/bugs/1299579>03:01
mupBug #1299584 changed: dead machines stuck in status <destroy-machine> <landscape> <juju-core:Fix Released> <https://launchpad.net/bugs/1299584>03:01
mupBug # changed: 1300033, 1300755, 1300823, 1301565, 1301999, 1302015, 130320403:28
mupBug #1303205 changed: an option for add-machine to return back the registered machine id <add-machine> <improvement> <juju-core:Fix Released> <https://launchpad.net/bugs/1303205>03:37
mupBug #1307643 changed: juju upgrade-juju --upload-tools does not honor the arch <simplestreams> <upgrade-juju> <upload-tools> <juju-core:Fix Released> <https://launchpad.net/bugs/1307643>03:37
mupBug #1308101 changed: juju/testing: suite-level Patch never gets restored <tech-debt> <testing> <juju-core:Fix Released> <https://launchpad.net/bugs/1308101>03:37
wallyworldmenn0: at some point, tomorrow or whenever, i'd love eyeballs on this https://github.com/juju/juju/pull/6473 . There's one commit that's important; the rest can be eyeballed as it's already been reviewed when landing into the feature branch initially. And it's hidden by feature flag and will need rework anyway as spec has changed :-(04:04
mupBug # changed: 1308966, 1309441, 1311781, 1312786, 1312951, 1314682, 131759604:04
mupBug # changed: 1318601, 1318923, 1319441, 1319608, 1320218, 1321407, 1321408, 1321793, 1322829, 1323441, 132362304:34
menn0wallyworld: ok looking now04:46
wallyworldit can wait04:46
wallyworldlate for you04:46
menn0wallyworld: yeah, actually it looks big :)04:47
menn0wallyworld: which commit is the important one?04:47
wallyworldthe one commit that needs review is small04:47
wallyworldit's in the PR04:47
menn0wallyworld: duh04:47
menn0:)04:47
frobwarehackedbellini: https://bugs.launchpad.net/juju/+bug/163474404:51
mupBug #1634744:  bootstrap fails with LXD provider when not using lxdbr0 <bootstrap> <lxd-provider> <juju:New> <https://launchpad.net/bugs/1634744>04:51
menn0wallyworld: reviewed that commit and found a few little problems04:53
* menn0 is EOD04:53
wallyworldmenn0: ty04:53
bradmis there a reason there's a juju add-subnet, and lists-subnet, but no apparent way to edit said subnet?05:54
anastasiamacbradm: no reason :D05:59
bradmalthough there's not a lot in the way of editting you can do, I guess06:01
bradmjust remove would do06:01
mupBug # changed: 1313862, 1324097, 1324666, 1324949, 136786306:19
anastasiamacfrobware: do u know if this si still applicable for juju 2?06:24
anastasiamachttps://bugs.launchpad.net/juju-core/+bug/92862406:24
mupBug #928624: cached unit public addresses are problematic when public ip address changes <addressability> <canonical-is> <canonical-webops-juju> <network> <juju-core:Triaged> <pyjuju:Won't Fix> <https://launchpad.net/bugs/928624>06:24
frobware anastasiamac: I would say yes, or still warrants investigation or a repro.06:26
anastasiamacfrobware: tyvm!06:26
mupBug # changed: 766721, 928624, 1371558, 137201606:40
mupBug #1049340 changed: cross-model relations <canonical-is> <canonistack> <feature> <ubuntu-engineering> <juju:Triaged> <juju-core:Won't Fix> <pyjuju:Confirmed> <https://launchpad.net/bugs/1049340>06:49
mupBug #1634761 opened: juju 2 subnet refresh from cli <canonical-bootstack> <juju-core:New> <https://launchpad.net/bugs/1634761>06:49
mupBug #1634761 changed: juju 2 subnet refresh from cli <canonical-bootstack> <juju-core:New> <https://launchpad.net/bugs/1634761>07:05
mupBug #1049340 opened: cross-model relations <canonical-is> <canonistack> <feature> <ubuntu-engineering> <juju:Triaged> <juju-core:Won't Fix> <pyjuju:Confirmed> <https://launchpad.net/bugs/1049340>07:05
mupBug # changed: 1049340, 1173089, 1183309, 1188126, 1194483, 1208430, 1208787, 120911207:11
mupBug #1634761 opened: juju 2 subnet refresh from cli <canonical-bootstack> <juju-core:New> <https://launchpad.net/bugs/1634761>07:11
mupBug # opened: 1173089, 1183309, 1188126, 1194483, 1208430, 1208787, 120911207:17
mupBug # changed: 1173089, 1183309, 1188126, 1194483, 1208430, 1208787, 1209112, 1209452, 121318607:20
mupBug #1209452 opened: juju status should report hardware characteristics in a more structured format <hours> <status> <ui> <juju-core:Fix Released> <https://launchpad.net/bugs/1209452>07:32
mupBug #1213186 opened: Show user progress of deployed service <papercut> <performance> <ui> <juju:Triaged> <juju-core:Won't Fix> <https://launchpad.net/bugs/1213186>07:32
mupBug #1209452 changed: juju status should report hardware characteristics in a more structured format <hours> <status> <ui> <juju-core:Fix Released> <https://launchpad.net/bugs/1209452>07:41
mupBug #1213186 changed: Show user progress of deployed service <papercut> <performance> <ui> <juju:Triaged> <juju-core:Won't Fix> <https://launchpad.net/bugs/1213186>07:41
mupBug #1217726 changed: gui: viewing a service or a service unit causes the api server to enumerate all availalble tools <api> <juju-gui> <juju-core:Fix Released> <https://launchpad.net/bugs/1217726>07:50
mupBug #1218651 changed: Requests to meta-data service do not timeout <canonistack> <performance> <security> <juju:Triaged> <juju-core:Won't Fix> <https://launchpad.net/bugs/1218651>07:50
mupBug #1634761 changed: juju 2 subnet refresh from cli <canonical-bootstack> <juju:Triaged> <https://launchpad.net/bugs/1634761>07:50
mupBug # changed: 1221501, 1221685, 1223339, 1223752, 1227450, 1229755, 1234287, 1234677, 123666208:26
mupBug # changed: 1238677, 1241763, 1241840, 1242725, 1243768, 1244382, 124484108:38
mupBug # opened: 1238677, 1241763, 1241840, 1242725, 1243768, 1244382, 124484108:47
mupBug # changed: 1238677, 1241763, 1241840, 1242725, 1243768, 1244382, 124484108:56
mupBug # changed: 1248674, 1248800, 1252322, 1253651, 1254790, 1255786, 1257729, 125949609:05
frobwareon my nuc: load average: 2251.20, 1112.39, 431.3709:25
frobwarelol - no wonder it is slow to login...09:25
* frobware grabs some coffee and waits for the load avg to dip below 100...09:26
voidspaceperrito666: you've touched the vsphere provider - do you know who wrote it?09:39
=== jamespag` is now known as jamespage
frobwaremgz: ping10:23
frobwaremgz: any chance you could jump on a HO w.r.t. simplestreams10:52
SimonKLBhey, could anyone here give me some best practice for dealing with exceptions during a config update in a charmed software - to give some context, right now im using data_changed() to see if the configuration has changed but if the configuration task does not complete it might be unchanged in the software10:57
SimonKLBand since data_change is updateing the unitdata it would not think the config has changed the next iteration10:58
SimonKLBit would be nice with some kind of two step update rather than writing the new data when using data_changed(), for example first being able to check if the data has changed and then commiting it to the unitdata.kv when it's actually successfully completed11:00
aluriahi o/ -- I'm trying to get a similar behavior than when I deployed ubuntu --to lxc:N (using juju1) --> now, using --to lxd:N (using juju2)   --- on juju1+LXCs, I had to edit /usr/share/lxc/templates/lxc-ubuntu-cloud to map ifaces into bare metal bridges11:03
alurianow, I see juju2+LXDs already creates all ifaces listed in "juju list-subnets" -- is that the expected behavior? Could I limit somehow the devices shown on "lxc config show <lxd-name>" ?11:04
aluriaie. have an LXD only mapping a couple of ifaces into bare metal bridges11:04
aluriafrobware: if I may ask you ^^11:06
frobwarealuria: not at the moment, though that is something we are aware of. In a future version this may well be dynamic (i.e., we will only add what is needed in the container).11:07
frobwarealuria: just to be clear, you're seeing this on MAAS, correct?11:08
aluriafrobware: thx -- and how is the order chosen? ie. eth0 maps to br0-net2, eth1 to br0-net0, ...11:09
aluriafrobware: on MAAS 2, indeed11:09
perrito666voidspace: answered you in priv11:09
frobwarealuria: they should be paired so that eth0 in the container will be br-eth0 on the host11:10
frobwarealuria: you can see the mapping if you run: lxc config show <container-name>11:10
aluriafrobware: hmm, we're using disable-network-management=True and copying our own /e/n/interfaces file, so names don't follow br-eth0, etc.11:11
dimiternaluria: if you want not to bridge certain maas node interfaces, keep them unconfigured in maas - juju won't bridge unconfigured interfaces11:11
aluriafrobware: and yep, "lxc config show <lxd-name>" helps to troubleshoot, but I was wondering if that order will be followed on every redeploy (hope so) + on every lxd (I imagine that will happen)11:12
dimiternaluria: can I ask why are you using disable-net-mgmt: true ?11:12
aluriadimitern: I'm using "disable-net-mgmt: true" b/c we used to (in bootstack)... to be able to configure bonds, vlan tagging, bridges and make LXCs bridge via the bridge we want and not lxcbr011:13
mgzfrobware: yo, how can I help?11:14
frobwaremgz: I'm stuck, blocked and confused. Can you jump on a HO?11:14
aluriadimitern: with juju2, things will change (iirc, on maas 2.2?, bridges will be supported)11:14
dimiternaluria: ah, I see - well, with juju2 you should have most of that config done by juju on maas11:14
dimiternaluria: maas 2.1 has initial bridges support (already released?)11:14
mgzfrobware: same one as for standup?11:15
frobwaremgz: yep.11:15
aluriadimitern: not on ppa:maas/stable but we'll have to check devel series in the near future -- thx for the info on "juju2 not bridging unconfigured interfaces"11:17
dimiternaluria: it's on ppa:maas/next but on Y, IIRC11:17
aluriadimitern: ah, it looks it's also on X, ta11:18
dimiternaluria: yeah, for L2 support (e.g. neutron) that's how it'll work; in future releases we'll have better way of communicating "I just want L2 device(s) thank you"11:20
dimiternI'd appreciate a second look at https://github.com/juju/juju/pull/6468 please11:28
frobwarevoidspace, dooferlad: ^^ any volunteers for dimitern's PR. I took a look but somebody else should too.11:55
dimiternit's easier to review now, as the prereq has landed and I rebased onto develop11:55
voidspacefrobware: dimitern: looking11:57
dimiternvoidspace: ta!11:57
dimiternfrobware: I figured out how to trigger juju ssh hanging on demand :) not a blackhole route to the node's public address (gets EINVAL) but iptables -t filter -I OUTPUT 1 -s <IP>/32 -j DROP12:18
dimiterneven better (somewhat..) I managed to trigger the bug in parallel.Try12:24
dimiternwhen a dual-NIC juju controller node has -j DROP rule on its first nic arriving from the client12:24
voidspacedimitern: so you've added AllNetworkAddresses to the sshclient  shim12:49
dimiternvoidspace: yeah12:49
voidspacedimitern: but this PR doesn't implement AllNetworkAddressess, was it pre-existing just not exposed?12:49
voidspacedimitern: and what's the difference between Addresses and AllNetworkAddresses (except the error return value)12:50
dimiternvoidspace: it was in the prerequise PR - 646712:50
voidspacedimitern: ah12:50
dimiternvoidspace: Addresses() returns the merged machine and provider addresses stored on the machine doc (considered obsolete source)12:51
dimiternvoidspace: and AllNetworkAddresses() returns the machine's addresses assigned to link layer devices12:51
voidspacedimitern: the machine doc is now considered obsolete? what is authoritative12:51
voidspaceah12:51
voidspacecool12:51
dimitern(but as []network.Address, more usable across package boundaries - i.e easier to test, than []*state.Address)12:52
voidspacedimitern: so has PrefferedPublic|PrivateAddress been updated to use link layer device addresses?12:52
dimiternvoidspace: nope, not yet12:52
voidspacedimitern: I thought the preferred addresses were still using machine/provider12:52
voidspaceright12:52
voidspacecool12:52
dimiternvoidspace: but I'd like to, eventually12:52
voidspacedimitern: that PR looks fine to me, pretty straightforward really12:52
voidspacedimitern: just going to read frobware's comments12:53
dimiternvoidspace: they are, but on maas the LLD addresses are a better source (and have all the "metadata" along with them - i.e. subnets, dns settings, etc.)12:53
dimiternvoidspace: tyvm! :)12:54
voidspacedimitern: yep, I like the change to consider LLD authoritative (i.e. to have a proper network model)12:54
voidspacedimitern: but we need to be consistent - having two sources of truth is bad :-(12:54
dimiternvoidspace: yeah :/ but we'll sort that along the way in the next releases I hope12:54
voidspacedimitern: cool12:55
macgreagoiraluria: Feel welcome to ping me if you want to go over any of those differences. You'll love it! ;-)12:59
hackedbellinifrobware: thanks for pointing me the bug13:19
rick_h_voidspace: ping for chat13:33
rick_h_voidspace: bailing out, will see you in standup13:43
dooferladdimitern: https://github.com/juju/juju/pull/6476 fixes one of your annoyances if you want to take a look13:54
voidspacerick_h_: oh crap13:56
voidspacerick_h_: forgot again dammit13:56
voidspacerick_h_: was afk - see you in a few moments13:56
dimiterndooferlad: cheers - looking13:57
rick_h_voidspace: katco natefinch dimitern ping for standup14:00
lazyPowerhas anyone seen an issue where juju deploying a bundle yields a response message like the following:  ERROR cannot deploy bundle: cannot create machine for holding easyrsa, etcd and kubernetes-master units: cannot add a new machine: An internal error has occurred (InternalError)14:10
lazyPowerthis was filed here: https://github.com/juju-solutions/bundle-kubernetes-core/issues/30  -- and we've not seen anything like this before. I think its bug-worthy on the core side, but i'm not sure what else i can add aside from this bugs output as we didn't encounter it.14:11
katcoalexisb_: rick_h_: https://medium.com/feature-request-management-in-saas/roadmaps-a-product-teams-friend-or-foe-43b1d5cdc1a6#.kqna52meq14:24
rick_h_qkaty14:25
rick_h_bah14:25
rick_h_katco: ty14:25
* macgreagoir is still here. Now no need for the early EOD.15:01
redirdoes 1.25 series require the --upload-tools flag to upgrade jujud to a locally built version?15:08
dimiternredir: still does, just 2.0 doesn't need it15:12
redirtx dimitern15:13
redirwas there a way to see the logs like --show-logs in 1.24? or did it require  logging in?15:18
dimiternredir: you could try `juju debug-log` ?15:22
redirI'm a little late coming back from dr. Trains delayed -- should be back in about 15 minutes17:00
aluriahi again -- in juju-deployer, we used to use "overrides" for config variables that existed in multiple services (now applications) -- I haven't found such an option on juju2 bundles -- would I need to repeat the same key-value on all charms that have it as config param?17:26
hoenircan anyone review my latest patches ? https://github.com/juju/juju/pull/641417:37
hoenirhttps://github.com/juju/juju/pull/646417:38
rick_h_katco: can you help look at that first one please? ^17:40
rick_h_perrito666: do you have time to look at the second one today? ^17:40
natefinchaluria: try on #juju .... they generally know bundles better than we do17:40
perrito666rick_h_: I do, I am actually waiting on something to break17:40
rick_h_aluria: sorry, the built in bundles don't support the variable substitution like the deployer does17:41
perrito666hoenir: reviewed the second, targetted to the wrong branch but otterwise sems find17:55
perrito666fine17:55
hoenirperrito666, and what branch is the "dev branch" ?17:56
perrito666develop17:57
hoenir"develop" branch?17:57
perrito666I misstyped wanted to type develope17:57
perrito666develop17:57
hoenirbut why develop? Why the dev design changed? We know make pr only on develop? Why not on master "as usual"?17:58
hoenirperrito666, could you add more details?17:58
rick_h_hoenir: sorry, we've got a new development workflow that started this week17:58
natefinchrick_h_: is the new development workflow on the wiki?17:58
rick_h_natefinch: no, only in the email and docs17:59
perrito666I was about to ask, do we have a pub... oh17:59
perrito666ok17:59
hoenirwhy not send an email to all contribs when a dev design is changing ? It's really hard and somewhat annoying to "change over night"...18:00
hoenirI will make new pr's on develop, thanks guys.18:01
natefinchit's pretty easy to move PRs, btw18:01
perrito666hoenir: no need to, you can re-target your existing one18:02
hoenirnatefinch, , perrito 666 thanks, for the first one I've changed  the branch in the end, but for the second I already created a new PR and closed the older one. So I think it's ok for now.18:05
perrito666hoenir: pass me the second one so I can review/approve18:06
hoenirperrito666, right away18:06
hoenirhttps://github.com/juju/juju/pull/647718:07
katcorick_h_: hoenir: i will tal at 6414 later today; trying to wrap up some changes18:08
hoenirkatco, thanks !18:08
hoenirperrito666, hmm smth failed, should I rebase with the master and afer rebase with develop ?18:08
perrito666hoenir: no, just let me figure out how to fix what failed :)18:10
perrito666rick_h_: sinzui any of you remember the invocation to re-run checks18:12
perrito666?18:12
rick_h_perrito666: !!build!!18:12
perrito666and perhaps we need to make godeps run a couple of times before failing that one18:12
perrito666rick_h_: mm, I might not be in the right group of people then, it did nothing18:12
perrito666hoenir: interesting aproach18:14
hoenirperrito666, thanks, the changes Implies, that, the user data script could be run multiple times without producing errors or changing the way the jujud is installing and setting up the env windows registers, etc.18:19
perrito666hoenir: now we need those tests to run again18:22
perrito666rick_h_: can you try the !!build!! incantation?18:22
rick_h_perrito666: link me please, ln the phone18:26
perrito666rick_h_: https://github.com/juju/juju/pull/647718:27
hoenirhttps://github.com/juju/juju/pull/647718:27
hoenirwhy the first failed?18:30
perrito666hoenir: godeps failed due to network/server issues18:33
perrito666it is a check that runs a basic set of tests18:33
perrito666once that passes you can merge18:33
hoenircould anyone provide a link all of the "incantations"?18:35
perrito666hoenir: there is only 2 as far as I know !!build!! will cause these to re-run and $$merge$$ that will cause a merge (I am not sure they will work for everyone though)18:36
perrito666brb18:36
hoenirand the log ? 2016-10-19 18:50:55 ERROR trusty failed with 2 perrito66618:55
hoenirperrito666, nevermind I founded.18:57
hoenirhttp://juju-ci.vapour.ws/job/github-check-merge-juju/79/artifact/artifacts/trusty-out.log18:58
hoenirYeah so the scripts are valid but they don't 100% match in the unit test(added one space by mistake or smth).19:02
hoenirperrito666, https://www.diffchecker.com/k9QPGjvA fixing it now19:03
hoenirperrito666, fixed !19:23
* redir lunches19:29
* perrito666 does some serious open heart surgery to vsphere provider21:11
katcodo we only support linux w/ the manual provider?21:31
perrito666katco: afaik21:34
katcoperrito666: k just checking, ta21:34
perrito666meh I am not sure if I should refactor this code or publish it as a bad practices manual21:38
katcoperrito666: refactor. here's why: http://ronjeffries.com/xprog/articles/refactoring-not-on-the-backlog/21:39
katcoperrito666: just try and keep it a narrow refactoring (difficult in our codebase bc there are sticky bad things that have propagated)21:39
perrito666katco: well the code doesnt actually work so not that narrow21:40
perrito666:p21:40
katcolol21:40
katcowell then you don't have much of a choice do you lol21:40
perrito666it does the wrong thing and written in the wrong way :p21:40
perrito666so you see my issue  :p21:40
katcoperrito666: refactor. this shouldn't even be a question lol21:40
perrito666katco: still could sell very well as an oreilly reference book :p21:41
katcofrobware: does this really work? https://github.com/juju/juju/blob/staging/environs/manual/addresses.go#L1722:01
katcofrobware: i still don't know much about our networking stuff, but i imagined a more robust resolution framework22:02
anastasiamacI can see both $$merge$$ and !!build!! being used... is there a considerable difference between the two? is there a preference?22:12
perrito666anastasiamac: afaik build only triggers the automated tests22:16
anastasiamacperrito666: k so with !!build!!, there is no landing... we are just requesting a check that land is possible?22:17
perrito666anastasiamac: exactly it is for cases where tests fail I presume22:17
anastasiamacperrito666: thnx \o/22:19
wallyworldmenn0: i replied to your comments? care to take a look?23:06
alexisbmenn0, thumper ping23:16
thumperyes?23:16
thumperwallyworld: the folks behind exploding kittens have a new game coming23:37
thumperwhich I have backed alrady23:37
wallyworldthumper: me too!23:37
thumperbearsvsbabies.com23:37
thumper:)23:37
wallyworldlooks awesome23:37
thumperyeah23:37
thumperveebers: I was thinking of spending some time up the road at the cafe23:41
thumperveebers: interested in joining me?23:41
wallyworldthumper: still no coffee machine?23:42
thumperwallyworld: no :-(23:42
wallyworldffs23:42
thumperword23:42
menn0thumper: hangout again? I've dug a bit further23:42
thumperyep23:43
* perrito666 reaches new levels of not enough bandwidth23:44
perrito66639k upload...23:44
veebersthumper: ugh, sorry I just organised to grab some lunch with the girls (we have Kerris sister down for Kerris b-day) :-\ Maybe later today or tomorrow?23:45
thumperhmm...23:46
thumperI'll probably be there 1-3pm23:46
thumperish23:46
veeberscool, I'll be in touch :-)23:47
redirwhat if there's no sdb for new regions. empty string?23:58
perrito666yay vsphere provider working correctly23:59
* perrito666 jumps like doc brown23:59

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