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

=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== Ursinha_ is now known as Ursinha
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
mupBug #1499571 changed: Restore failed: error fetching address <backup-restore> <blocker> <ci> <regression> <reliability> <retry> <juju-core:Fix Released by mfoord> <juju-core 1.24:Fix Released by mfoord> <juju-core 1.25:Fix Released by mfoord> <https://launchpad.net/bugs/1499571>04:38
mupBug #1499571 opened: Restore failed: error fetching address <backup-restore> <blocker> <ci> <regression> <reliability> <retry> <juju-core:Fix Released by mfoord> <juju-core 1.24:Fix Released by mfoord> <juju-core 1.25:Fix Released by mfoord> <https://launchpad.net/bugs/1499571>04:41
mupBug #1499571 changed: Restore failed: error fetching address <backup-restore> <blocker> <ci> <regression> <reliability> <retry> <juju-core:Fix Released by mfoord> <juju-core 1.24:Fix Released by mfoord> <juju-core 1.25:Fix Released by mfoord> <https://launchpad.net/bugs/1499571>04:44
mupBug #1499571 opened: Restore failed: error fetching address <backup-restore> <blocker> <ci> <regression> <reliability> <retry> <juju-core:Fix Released by mfoord> <juju-core 1.24:Fix Released by mfoord> <juju-core 1.25:Fix Released by mfoord> <https://launchpad.net/bugs/1499571>04:47
mupBug #1499571 changed: Restore failed: error fetching address <backup-restore> <blocker> <ci> <regression> <reliability> <retry> <juju-core:Fix Released by mfoord> <juju-core 1.24:Fix Released by mfoord> <juju-core 1.25:Fix Released by mfoord> <https://launchpad.net/bugs/1499571>04:50
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
voidspaceTheMue: dooferlad: grabbing coffee, with you in 5 minutes09:03
voidspacesorry09:03
mattywTheMue, ping?09:37
TheMuemattyw: pong!09:37
=== akhavr1 is now known as akhavr
mattywTheMue, just reviewing http://reviews.vapour.ws/r/2820. On the whole it looks great, couple of questions though09:38
mattywTheMue, 1) the juju/helptopics stuff. that documentation is available through the command line right?09:38
TheMuemattyw: exactly, and I'm currently porting and extending it to jujucharms.com09:39
mattywTheMue, 2) There didn't seem to be any documentation about how to get units to spread across availability zones. is that documentation there somewhere (did I miss it or is it missing)09:39
mattywTheMue, you mean so the docs will appear on jujucharms.com?09:40
TheMuemattyw: btw, 1.25 already as this branch in. has been a start on master, a backport to 1.25 due to needs, and then adopting the changes in master again09:40
TheMuemattyw: yes, they will09:40
mattywTheMue, ok - my comments are only minor spelling things, and one place I'd like a bit more of an example, I'll let you work out where best to merge those in09:40
TheMuemattyw: the spreading is done via constraints, but it's a good hint if you want them more detailed09:41
TheMuemattyw: you're looking on it as a user :)09:41
mattywTheMue, I'm published my comments so far09:41
mattywTheMue, regarding the spreading across zones. I'd like to see examples of command line commands - and what you end up with. similar to my comment regarding the dmz/cms subnets example09:42
mattywI like seeing examples that say "if you run these commands at the command line this is the setup you end up with"09:42
TheMuemattyw: ok, will add it09:43
mattywTheMue, you're great, thanks very much. let me know when there's a pr for jujucharms.com. Very excited about seeing that09:43
TheMuemattyw: great, so I've already got a reviewer for it, thx09:44
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
voidspacedooferlad: ping10:11
dooferladvoidspace: pong10:11
voidspacedooferlad: bridgeConfigTemplate in provider/maas/environ.go10:13
voidspacedooferlad: it starts by attempting to detect if the bridge has already been setup10:13
voidspacedooferlad: the first line is:10:13
voidspacegrep -q "iface {{.Bridge}} inet dhcp" && exit 010:13
voidspacedooferlad: it seems to me that's buggy, as it's missing the filename argument to grep (?)10:14
voidspaceI believe it should be10:14
voidspacegrep -q "iface {{.Bridge}} inet dhcp" {{.Config}} && exit 010:14
voidspacewould you concur?10:14
dooferladvoidspace: Yes10:15
voidspacedooferlad: thanks10:15
dooferladvoidspace: np10:15
dooferladvoidspace: though grep will wait for stdin if you don't pass it a file10:16
dooferladvoidspace: don't know if the script assumes it will be piped the current file?10:17
voidspacedooferlad: right, but I don't think that's how we're using it (and it's executed on a non tty)10:17
dooferladvoidspace: seems buggy anyway10:17
voidspacedooferlad: we pass in .Config to the template, so I don't see why we would also pass in the file10:17
voidspacea later invocation of grep uses {{.Config}}10:17
voidspacedooferlad: I'll try and double check we're not passing the file10:17
voidspacedooferlad: the script is executed via cloudcfg.AddRunCmd which has no mechanism for passing a file (unless it's done via the command itself - which it isn't)10:19
voidspaceI guess that invocation of grep always terminated with a non-zero exit code so it was effectively always ignored10:19
dooferladvoidspace: how can that possibly work then? Grep will just sit waiting for input...10:19
voidspaceon a non-tty won't it just immediately exit with an error10:20
voidspaceas it can't get any input10:20
dooferladvoidspace: ah, yes10:20
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== jamespag` is now known as jamespage
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
ericsnowcmars: FYI, I've merged master into the lxd-provider branch and added the missing dependencies14:56
cmarsericsnow, awesome stuff14:57
ericsnowcmars: yeah, keep an eye on that branch14:57
dooferladnatefinch: Hi, do you know much about why the uniter hook execution lock is file based and isn't reset on startup? I thought we only had one jujud running, so the choice seems odd.15:01
natefinchdooferlad: I don't know.15:05
dooferladnatefinch: thanks. Will reach out on list.15:05
natefinchdooferlad: I have some guesses, because we do run things in different processes occasionally, but I don't know the details.15:05
dooferladnatefinch: Ah, didn't know we had >1 process running sometimes. I have been tracking down a problem where the lock doesn't get released because the host is rebooted. Clearly nothing has it at that point!15:08
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
mupBug #1503740 opened: Storage should be behind a feature flag in 1.24 <juju-core:Triaged by axwalk> <https://launchpad.net/bugs/1503740>15:37
mupBug #1503740 changed: Storage should be behind a feature flag in 1.24 <juju-core:Triaged by axwalk> <https://launchpad.net/bugs/1503740>15:40
=== akhavr1 is now known as akhavr
mupBug #1503740 opened: Storage should be behind a feature flag in 1.24 <juju-core:Triaged by axwalk> <https://launchpad.net/bugs/1503740>15:43
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
mgzdoes anyone actually understand bug 1501563?15:56
mupBug #1501563: 1.26-alpha1 client gets connection shutdown deploy 1.22 server <blocker> <ci> <regression> <test-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1501563>15:56
mupBug #1474588 changed: Many hook failures after upgrade <canonical-bootstack> <regression> <juju-core:Incomplete by menno.smits> <juju-core 1.24:Incomplete> <https://launchpad.net/bugs/1474588>16:07
mupBug #1474588 opened: Many hook failures after upgrade <canonical-bootstack> <regression> <juju-core:Incomplete by menno.smits> <juju-core 1.24:Incomplete> <https://launchpad.net/bugs/1474588>16:10
=== akhavr1 is now known as akhavr
mupBug #1474588 changed: Many hook failures after upgrade <canonical-bootstack> <regression> <juju-core:Incomplete by menno.smits> <juju-core 1.24:Incomplete> <https://launchpad.net/bugs/1474588>16:13
perrito666mgz: nope, not really clear what is going on there16:14
perrito666mgz: it would seem that apiserver abruptly cuts off while colocating a charm16:15
=== akhavr1 is now known as akhavr
mgzperrito666: would --debug logging help?16:33
mgztasdomas: looks like dafe43b5683c9b22af86ee744a8ea7f088b087b6 caused bug 1501563 - any idea why?16:33
mupBug #1501563: 1.26-alpha1 client gets connection shutdown deploy 1.22 server <blocker> <ci> <regression> <juju-core:Triaged> <https://launchpad.net/bugs/1501563>16:33
=== akhavr1 is now known as akhavr
natefinchericsnow: I'm just going to write a new command from scratch, unless you object?   Seems like all the work we did for the base command stuff does not apply to the new command structure16:42
ericsnownatefinch: yep16:43
perrito666mgz: might, but not sure16:43
perrito666mgz: depends if we actually put debug messages around the broken part16:44
=== akhavr1 is now known as akhavr
mgzperrito666: indeed, which is why I was asking if you had an inkling :)16:45
mgzwe could also just try removing tasdomas' change16:45
mgzseems to have another branch on top of it though16:46
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
ericsnowrogpeppe: is there anything special that needs to be done relative to adding a new top-level section to metadata.yaml?17:35
ericsnowrogpeppe: as far as I can see it's pretty straight-forward17:35
natefinchericsnow: see katherine's response in email - it's about the code not the yaml17:37
ericsnownatefinch: yeah, that's what I'm asking about17:38
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
rogpeppeericsnow: technically you don't need to do anything in the charm package at all19:22
ericsnowrogpeppe: does it ignore unrecognized entries?19:23
rogpeppeericsnow: yeah, you can have any files you like in a charm19:23
rogpeppeericsnow: it's just a zip file19:23
ericsnowrogpeppe: I mean unrecognized entries in metadata.yaml itself19:23
rogpeppeericsnow: i thought you were adding a new file19:24
ericsnowrogpeppe: no longer19:24
rogpeppeericsnow: what's this for?19:24
natefinchsame thing, new name19:24
ericsnowrogpeppe: same feature (now called "payloads"19:24
ericsnow)19:24
ericsnowrogpeppe: we have to move it back into metadata.yaml19:25
rogpeppeericsnow: i'm pretty sure that metadata.yaml isn't the right place - that's the public interface of the charm19:25
rogpeppeericsnow: and this isn't actually something that's part of that, right?19:25
ericsnowrogpeppe: it's not my call19:25
ericsnowrogpeppe: agreed19:25
rogpeppeericsnow: so wtf?19:25
natefinchrogpeppe: this is the direction we have been given from the highest levels of the echelon19:26
rogpeppenatefinch: well if he wants the model broken, i guess we'll have to break it19:27
natefinchrogpeppe: yep19:28
natefinchrogpeppe: we argued it and other things for a month or so, and at the sprint the law was laid down.19:28
rogpeppeericsnow: so anyway, charm.ReadMeta does ignore extra members19:31
rogpeppeericsnow: so you can easily add more if you want to19:31
ericsnowrogpeppe: in that case we could avoid adding any code to the charm repo19:32
ericsnowrogpeppe: we'd just parse out the extra bits we care about19:32
rogpeppeericsnow: i'm not sure19:32
ericsnowrogpeppe: I'm fine either way19:32
rogpeppeericsnow: i think that the metadata.yaml parsing code in charm should parse all the metadata19:33
rogpeppeericsnow: otherwise you'll need to do nasty things like re-parse and second-guess the format19:33
ericsnowrogpeppe: k19:36
rogpeppeericsnow: that's not to say it has to be specified in total detail with all allowed keys etc. it's sometimes possible to allow a more general format and add more specific checks at higher levels19:37
rogpeppeericsnow: it depends really19:37
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
sinzuicherylj: https://bugs.launchpad.net/juju-core/+bug/146834920:22
mupBug #1468349: discoverySuite.TestDiscoverServiceLocalHost: invalid series for wily and vivid <centos> <test-failure> <unit-tests> <vivid> <wily> <juju-core:Fix Released by dooferlad> <juju-core 1.24:Won't Fix> <https://launchpad.net/bugs/1468349>20:22
cheryljthanks, sinzui20:22
=== akhavr1 is now known as akhavr
katcorogpeppe: what natefinch says is true20:47
rogpeppekatco: i believe it20:47
perrito666katco: that was a powerful statement20:52
katcoperrito666: lol didn't catch that20:52
=== akhavr1 is now known as akhavr
perrito666katco: ?20:54
katcoperrito666: i didn't mean to say that everything nate says is true ;)20:55
katcoperrito666: because now i have introduced a tautilogical fallacy. as soon as he says "this statement is false", i am wrong20:56
=== akhavr1 is now known as akhavr
perrito666oh great, now you broke the universe20:57
mgzrogpeppe: poké20:59
mgzrogpeppe: any idea where the bits and pieces you ran to clean up txn db things for 1.23 issues are?20:59
rogpeppemgz: oh twats, i saw that email out of hours and forgot to reply this morning20:59
rogpeppemgz: one mo21:00
=== akhavr1 is now known as akhavr
mgzrogpeppe: merci21:06
rogpeppemgz: so the main thing is https://github.com/rogpeppe/mgo/pull/2/files21:07
rogpeppemgz: which is a patch to mgo (not accepted)21:07
rogpeppemgz: and then there's mgopurge.go: http://paste.ubuntu.com/12708968/21:08
rogpeppemgz: which actually does the job21:08
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== bradm_ is now known as bradm
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
=== akhavr1 is now known as akhavr
mgzwallyworld: bug 1452422 - but see also bug 127174423:53
mupBug #1452422: Cannot boostrap from custom image-metadata-url or by specifying metadata-source <sts> <juju-core:Fix Released by wallyworld> <juju-core 1.24:Fix Released by wallyworld> <https://launchpad.net/bugs/1452422>23:54
mupBug #1271744: bootstrap on maas with --metadata-source fails <bootstrap> <maas> <maas-provider> <upload-tools> <juju-core:Triaged> <https://launchpad.net/bugs/1271744>23:54
=== akhavr1 is now known as akhavr

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