/srv/irclogs.ubuntu.com/2014/09/12/#juju-dev.txt

davecheneymenn0: your welcome00:36
* davecheney swallows guilt about not knowing enough about what he was reviewing00:36
davecheneymenn0: https://github.com/juju/juju/pull/74300:52
davecheneyif you're feeling like it00:52
wallyworldaxw: running late for 1:1, otp01:58
axwwallyworld: nps, ping when ready01:58
* wallyworld should not leave my keyboard unlocked when I am getting lunch02:35
wallyworldaxw: sorry about delay, is now ok?02:51
axwwallyworld: sure, be there in a minute02:51
menn0davecheney: sorry about the delay. looking at that PR now.03:30
menn0it's been a bit of circus at my place today03:30
davecheneyno probs03:34
menn0davecheney: done03:43
menn0is anyone able to have a look at https://github.com/juju/juju/pull/732/ ?03:55
=== urulama-afk is now known as urulama
=== BradCrittenden is now known as bac
wallyworldTheMue: hey Frank, when you come on, could you take a look at https://github.com/juju/juju/pull/737 It introduces a new facade, and copies a bunch of code off Client for the EnsureAvailability() API. This will allow a newer version of EnsureAvailability() to be implemented06:14
wallyworldthanks in advance :-)06:15
dimiternmorning all06:42
=== b is now known as Guest39961
TheMuemorning08:03
TheMuewallyworld: yep, will take a look in a moment08:03
mattywmorning all08:14
mattywfolks - what's our general guideline for pr size?09:00
TheMuemattyw: asap -> as small as possible ;)09:00
TheMuemattyw: mine grow always too much, that's not good. hard to review and sometimes trouble to merge.09:01
mattywTheMue, I have a 500 line one and a 100 line one - thinking about merging them09:02
TheMuemattyw: I think LOC aren't a good metric here. if it helps the reviews to see them both together a merging IMHO makes sense.09:04
TheMuewallyworld: you've got a review09:10
perrito666morning09:51
voidspaceperrito666: morning10:16
TheMueperrito666: o/10:19
TheMuedimitern, voidspace: ho?10:47
voidspaceTheMue: omw10:47
dimiternTheMue, me too, sorry10:48
* perrito666 looks at an empty space where my calendar says natefinch should be13:34
perrito666:p13:34
natefinchperrito666: heh13:34
perrito666I can reschedule, just tell me so I go back to headbanging with nirvana13:35
natefinchperrito666: I'm stuck with a kid right now, so yeah, later would be good13:35
perrito666ok, nirvana it is13:36
sinzuiHi devs, I want you all to know that while master and 1.20 are reported as failures for the last 2 days, we don't think juju is at fault. CI may not either. utopic lxc fails and the reason might be because utopic, or that ci tests need special rules for ubuntu devel series that have lots of package changes13:49
perrito666sinzui: tx13:56
perrito666has anyone hit this with local?13:56
perrito666'error executing "lxc-create": lxc_container: No such file or13:56
perrito666      directory - bad template: ubuntu-cloud; lxc_container: bad template: ubuntu-cloud;13:56
perrito666      lxc_container: Error creating container juju-precise-lxc-template'13:56
sinzuiperrito666, no, but that looks like /var/cache/lxc has bad data? have you tried to delete it13:57
perrito666sinzui: no I havent, tx for the advice13:58
sinzuiperrito666, when that is stale. or you get a download error, you will get messages like that13:58
perrito666mm, seems empty13:58
sinzuiperrito666, stale images can report that when a crucial package has changed like openssl13:58
sinzuiperrito666, that is interesting. lxc will populate the cache before it creates.13:59
sinzuiperrito666, we might have a name mismatch...14:00
sinzuiperrito666,14:01
sinzui$ sudo ls /var/cache/lxc14:01
sinzuicloud-precise  cloud-trusty  trusty14:01
perrito666mmm, why in the universe whould this happen14:01
sinzuithe ubuntu-cloud template nows how to find those series. it is provided with lxc, but might really by in the lxc-templates package14:02
perrito666sinzui: odd, let me recompile this just in case14:06
wwitzel3I'm looking at PR746 from TheMue and I don't really understand how that API versioning fits in to the juju run. Since juju run doesn't actually use Facades at all.14:12
ericsnownatefinch: standup?14:13
TheMuewwitzel3: will tell you later, mom14:21
wwitzel3TheMue: sounds good, I sent a mail to juju-dev so others can benefit from it too14:22
wwitzel3TheMue: since when I asked about versioning most of the responses I got were, "no idea"14:23
wwitzel3TheMue: thanks :)14:23
TheMuewwitzel3: just writing a doc about it14:37
TheMuewwitzel3: has been a discussion between William, John and me14:37
perrito666does anyone know if I can trigger lxc template download?14:44
perrito666by hand14:44
perrito666?14:44
gsamfiracan someone have a look at: https://github.com/juju/utils/pull/27 . This is needed to fix some tests on Windows14:49
perrito666sinzui: do you know the answer to my question?15:08
sinzuiperrito666, I do know you can do it but I don't know the command. I think it is ubuntu-cloud-somthing15:09
sinzuiperrito666, I can give you an lxc example to create a container that will trigger the series you want to try15:10
sinzuisudo lxc-create -t ubuntu -n trusty -- -r trusty -b $USER15:11
sinzui^ perrito66615:11
sinzuiperrito666, sudo lxc-create -t ubuntu -n precise -- -r precise -b $USER15:16
sinzuiwill match the cache the error is about15:17
TheMuewwitzel3: so, now I've got some time for you15:38
TheMuewwitzel3: you're talking about version of a command, am I right?15:39
TheMuewwitzel3: this sounds strange to me, so far we only talked about versioning for the API15:39
TheMuewwitzel3: so in case the change of the command also needs a change of an API then it's ok15:40
wwitzel3TheMue: well, that is what was suggested on the reivew, yes.15:41
TheMuewwitzel3: ah, ic, so you're having an existing facade and you now have to change it (new method or change params or result of a method)?15:42
perrito666sinzui: thank you very much man15:42
wwitzel3TheMue: No, there is no existing facade15:42
TheMuewwitzel3: but to realize your command you would have to add a new facade because action happens on the server and no current facade matches to it?15:45
wwitzel3TheMue: hrmm, there was no facade changed or registered for this at all .. https://github.com/juju/juju/pull/70515:48
TheMue*click*15:50
wwitzel3TheMue: instead of passing in a string, I pass in a struct .. but I don't see how versioning is going to do anything here .. if you have a new client and you run juju run --help .. you will see the new options15:50
wwitzel3TheMue: and if you have the new client and provide those options, the old server will just ignore them15:51
TheMuewwitzel3: I see it, it's apiserver/client.15:52
wwitzel3TheMue: the problem is we do some validation before it ever gets to the server, for valid names15:52
perrito666well look at that, https://bugs.launchpad.net/juju-core/+bug/1330406 there was a bug for this15:52
mupBug #1330406: juju deployed services to lxc containers error executing "lxc-create" with bad template: ubuntu-cloud <bootstrap> <local-provider> <lxc> <juju-core:Triaged> <https://launchpad.net/bugs/1330406>15:52
TheMuewwitzel3: now lets say the apiserver stays at the current version but you install a new client, how will they work together?15:52
TheMuewwitzel3: the API on the server expects different params than the client sends15:53
TheMuewwitzel3: here we have to support both, the old way as well as the new way on the server15:53
TheMuewwitzel3: the client chooses the best version matching to its own version and uses it15:54
wwitzel3TheMue: if we have a new client, and an old server .. it will work .. the server will ignore the new options15:54
ericsnowabentley: thanks for all your help15:55
wwitzel3TheMue: it is not changing how the existing options work15:55
ericsnowabentley: will you need more info for the SSL stuff than what I've sent you?15:55
abentleyericsnow: No, that should be good.  OTP.15:56
ericsnowabentley: no worries :)15:56
wwitzel3TheMue: if there is an old client and new server, it will also work. The new server knows how to parse all the options from the old client15:56
wwitzel3TheMue: I'm not against it, if we need to do it, I just fail to see how it is going to improve the user experience .. since a new client, with old server will still result in the user seeing options that aren't available on the server.15:59
wwitzel3TheMue: unless we are going to version it so that we report an error to the user when they use those options15:59
wwitzel3TheMue: but I thought the point was so that automated scripts and such don't break16:00
wwitzel3TheMue: which in this case, they wouldn't16:00
wwitzel3can lunch be a verb? ..16:08
* wwitzel3 lunches16:08
=== jheroux_away is now known as jheroux
perrito666there you go, I just needed to purge lxc and re install it16:13
=== allomov__ is now known as allomov
TheMuewwitzel3: yes, I've seen how the client calls a number of individual server functions w/o changed args. had seen it wrong first16:36
=== jog_ is now known as jog
mattywnight all, have a good weekend16:52
katcomattyw: tc16:52
alexisbericsnow, I am running a bit late17:00
alexisbwill ping you17:00
ericsnowalexisb: k17:00
alexisbok ericsnow ready and joining the hangout17:09
=== jheroux is now known as jheroux_away
ericsnowcmars: could you take a look at https://github.com/juju/juju/pull/736?18:17
ericsnowcmars: as well as https://github.com/juju/utils/pull/3318:25
cmarsericsnow, ok19:48
ericsnowcmars: thanks!19:48
natefinchahh my god.  I hate it when I realize I've wasted hours on a stupid logic error19:49
ericsnowcmars: I just put up a couple really small ones too (749 and 750)19:49
ericsnowabentley: sorry to bug you but what's the status on copying those SSL files over?19:52
abentleyericsnow: Sorry for the delay.  Busy, busy day.  I'll do that next after this code review.19:53
ericsnowabentley: much appreciated!  sorry to add to your already overflowing plate :(19:54
natefinchanyone know anything about aufs?19:54
perrito666natefinch: if he logic error wasn't stupid you wouldnot hate it?19:54
natefinchperrito666: it would be less embarassing to myself if it were something complicated.19:55
perrito666natefinch: you had no reason to feel embarrassed until you told us about your mistake19:55
perrito666.p19:55
perrito666:p19:55
natefinchheh19:55
natefinchnah.... I guess embarassed is the wrong word, frustrated with myself19:56
natefinchexport FOO=bar doesn't affect the external terminal when I put it in a .sh file and run the file.... why?   And what's the right way to do that?  I'm trying to write a script that'll set up a debugging environment... but the export line doesn't seem to work20:16
abentleyericsnow: Try https://reviews.vapour.ws/r/20:17
ericsnowabentley: works great.  Thanks!20:18
natefinchYour connection is not private. Attackers might be trying to steal your information from reviews.vapour.ws (for example, passwords, messages, or credit cards).20:18
natefinchthat's from Chrome.... maybe because it's a self-signed cert?20:18
abentleynatefinch: indeed, that is why.20:19
natefinchabentley: ahh, yeah, if I click on the "advanced" link, it says that20:19
natefinchhrm20:19
ericsnownatefinch: with that we are all set to cut over tomorrow night :)20:24
natefinchericsnow: cool20:24
natefinchabentley, ericsnow: how hard would it be to get a real cert for that page?  a huge warning from the browser is not exactly the most professional foot to put forward20:25
abentleynatefinch: Well, we could ask sabdfl if he's got a copy of the Thawte root cert lying around in his sock drawer.  Then it would be free :-)20:27
natefinchabentley: lol20:27
ericsnownatefinch: It's just a matter of buying it.  We have a CSR ready to submit.  The domain is owned by Curtis, so I'd certainly let him make the call first. :)20:27
ericsnowabentley: nice one :)20:27
natefinchericsnow: I figured.  Let's do that ASAP... it's like $50 or something for a cert, it seems silly not to get one... but also doesn't seem like something we should gate on.20:28
ericsnownatefinch: agreed20:28
ericsnownatefinch: I'll add it to the to-do list :)20:28
natefinchericsnow: just warn people to expect that error message when you send the cut-over email20:30
ericsnownatefinch: sounds good20:30
=== Beret- is now known as Beret
ericsnowcould anyone spare me a minute for a 3-line patch? https://github.com/juju/juju/pull/74921:49
=== HankM00dy is now known as thehe
=== mup is now known as 16WAAEA3S
=== makyo_ is now known as Makyo
=== rodlogic is now known as Guest11715
=== benji is now known as Guest28630
=== bodie_ is now known as Guest70589

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