/srv/irclogs.ubuntu.com/2014/10/02/#juju-dev.txt

perrito666hi again00:20
ericsnow_CI has failed to build for me 3 times in a row: "35 repositories updated; 2 failed"00:42
ericsnow_any thoughts?00:42
davecheneygodeps: cannot update "/var/lib/jenkins/workspace/github-merge-juju/tmp.uAmw1jccO3/RELEASE/src/bitbucket.org/kardianos/service": package bitbucket.org/kardianos/service: https://api.bitbucket.org/1.0/repositories/kardianos/service: 503 Service Unavailable00:47
davecheneybitbucket is down00:47
ericsnow_davecheney: ah00:47
=== ericsnow_ is now known as ericsnow
* thumper needs a casual (╯°□°)╯︵ ┻━┻00:51
* perrito666 hangs the call and immediately falls asleep on the desk02:21
perrito666see some of you tomorrow, cheers02:21
ericsnowwwitzel3: did you look at Open in api/apiclient.go?02:42
ericsnowwwitzel3: that's where the cert stuff happens on the client side02:43
ericsnowwwitzel3: past that there isn't a whole lot you can plug into02:46
wwitzel3ericsnow: looking now03:18
wwitzel3ericsnow: yeah I started there but wasn't able to actually figure anything out, as far as I can tell, in that file, on line 231, we are already doing that exact tls config for the websocket.03:22
ericsnowwwitzel3: maybe it's a websockets vs. normal HTTP thing then (as backups is using direct HTTP requests for download)03:23
wwitzel3ericsnow: maybe, yeah, I will dig in to more in the morning, I'm going to take some medicine and try to get some extra zzz's tonight.03:24
wwitzel3ericsnow: appreciate you taking a peak at it though03:24
ericsnowwwitzel3: yeah, I'm EOD soon too03:24
ericsnowwwitzel3: np03:24
thumperdavecheney: care to leave a ship it? http://reviews.vapour.ws/r/13303:55
=== thumper is now known as thumper-afk
davecheneythumper-afk: looking04:30
davecheneydone04:30
=== uru_ is now known as urulama
thumper-afkdavecheney: ta05:39
TheMuemorning07:50
jammorning TheMue07:51
jam2TheMue: you're gone tomorrow, right? I'm surprised to not see Dimiter here yet.08:05
jam2fwereade: I'd like to chat with you about possible TXN designs.08:05
fwereadejam2, heyhey08:06
TheMuejam2: no, have been here yesterday, had my hangout with dimiter and missed you08:06
jam2TheMue: yeah, sorry I missed the hangout, ended up getting distracted and missed the ping08:06
fwereadejam2, sgtm -- juju-sapphire?08:06
jam2fwereade: I'm in a cafe, but we can certainly give it a shot08:07
TheMuejam2: I made my final changes to my comming PR in the evening and right now doing the last checks before proposal *yay*08:07
dimiternjam2, hey08:25
dimiternjam2, TheMue, http://reviews.vapour.ws/r/123/ - if you can have a look08:26
fwereadejam2, did I fall over or did you?09:02
=== jam21 is now known as jam1
jam1fwereade: I'm at a cafe that gives "free wifi" but only in 1 hour blocks09:05
jam1so I just switched back to tethering my phone09:05
jam1but I don't trust the 3G for a hangout09:05
=== jam21 is now known as jam1
jam1fwereade: anyway, I think I've gotten enough to at least progress from here, thanks09:06
fwereadejam1, cool09:09
dimiternjam1, fwereade, hey, I really like to land this branch, if you can have a look and say it's fine - http://reviews.vapour.ws/r/123/09:13
TheMuedimitern: will take a look now while my suite is running in the background ;)09:14
dimiternTheMue, cheers!09:15
fwereadedimitern, ah yeah sorry I got some of the way through the second page there yesterday09:24
dimiternfwereade, np, was it looking ok?09:24
fwereadedimitern, yeah, maybe a couple of minor quibbles09:24
fwereadedimitern, just going through the rest now09:24
dimiternfwereade, great, thanks!09:25
dimiternfwereade, re doing all ports in a single api call in finalize.. if it's ok with you, now once we have versioning in the uniter api, it will be easier to add a FinalizeHookContext api call that does all in one09:26
fwereadedimitern, yeah, agreed, we don't want that yet09:27
dimiternbut as a follow-up, once the rest of the port ranges PRs land09:27
dimiternfwereade, cheers09:27
fwereadedimitern, that's LGTM, but please bear all the quibbles in mind -- I think they do need work, but they don't have to be that PR09:28
fwereadedimitern, the v0/v1 split is worth landing even if all the details aren't pefect09:28
dimiternfwereade, sure, will do09:29
dimiternfwereade, re "FWIW, I would be really happy to see this removed. I guess it's a derail right now, but it's completely pointless -- part of an early abortive metering thing." - can you expand on this one a bit please?09:32
=== rogpeppe is now known as rogpeppe1
=== rogpeppe1 is now known as rogpeppe
dimiternfwereade, specifically, what's wrong with calling ParseUserTag at the end of ServiceOwner?09:35
fwereadedimitern, sorry, it's about ServiceOwner itself09:41
dimiternfwereade, so you're saying we should get rid of it at some point?09:43
fwereadedimitern, yeah09:43
dimiternfwereade, that's fine, what I did is just fix it to be consistent with other api calls (permission checks, bulk ops, etc.)09:43
fwereadethat definitely doesn't have to be in this one09:44
fwereadedimitern, it's just something I mention whenever I see it09:44
dimiternfwereade, right :)09:44
dimiternTheMue, thanks for the review as well09:44
TheMuedimitern: yw ;)09:45
TheMuedimitern: just proposing mine now09:46
TheMuejam2: I have to say while I'm happy with the way we found to handle API versioning the original approach based on the EnvironmentCapabilities as dimiter suggested it has a somehow more clear logic.10:00
=== thumper-afk is now known as thumper
thumperfwereade: hey, got a few minutes to chat?10:18
mgztrivial review someone please! <http://reviews.vapour.ws/r/140/>10:40
dimiternTheMue, you've got a review10:43
dimiternmgz, looking10:43
TheMuedimitern: just got the notification, thanks10:43
dimiternmgz, LGTM10:45
mgzdimitern: thanks!10:46
dimiternjam, fwereade, reproposed ports sandboxing against master - http://reviews.vapour.ws/r/141/ please take a look11:41
* dimitern needs to step out for ~1h11:45
mgzrogpeppe: when you have a mo <https://code.launchpad.net/~gz/godeps/print_project_not_dir/+merge/236860>11:48
rogpeppemgz: LGTM11:49
hazmatjam, was that tokumx build i gave for 1.5 targeted towards a build dir / bin .. rebuilding 2.0.0 atm12:20
dimiternjam, fwereade, review poke :)12:40
mgzrogpeppe: if you add me to ~godeps-maintainers I'll go ahead and land12:51
hazmatjam, tokumx 2.0 binary https://www.dropbox.com/s/f78gcixuerpbpjw/tokumx-2.0.0-linux-x86_64.tar.gz?dl=012:52
hazmatw/ ssl12:52
rogpeppemgz: done12:52
mgzrogpeppe: landed, thanks!12:58
rogpeppemgz: definitely nicer error messages, thanks12:58
hazmatjam, ping me if you've got a minute to chat toku, added some comments to the docs13:10
fwereadejam, I don't seem to be able to change teams in githib -- can you?13:14
mgzfwereade: you should be able to, but I can if needed as well13:21
mgzfwereade: (things related to the juju team at least)13:21
fwereademgz, yeah, I thought I could once, didn't seem to be happening today though13:21
fwereademgz, would you remove vlad from hackers, and add gabriel-samfira, please?13:21
mgzsure thing.13:22
mgzI'll also owner you.13:22
arosalesany folks seen this error before13:25
arosaleshttp://pastebin.ubuntu.com/8479146/13:25
arosalesis this a out of memory on the provider (maas) or juju bootstrap?13:26
mgzgabriel has been sent an email, he'll need to accept to be added13:26
mgzarosales: ...that's a good one13:27
mgzarosales: I would say it, but I bet maas is misbehaving here as well13:27
mgzarosales: check the maas logs?13:27
arosalesmgz: ya I see OperationalError: out of memory in maas logs13:33
* arosales sighs13:33
perrito666natefinch: ericsnow ?13:42
ericsnowperrito666: here13:46
perrito666ericsnow: we seem to have the standup now13:47
perrito666instead of later13:47
perrito666:p13:47
mgzgsamfira: twothings, pr707 was go fmt sad, <http://juju-ci.vapour.ws:8080/job/github-merge-juju/872/console>, and you need to join juju/hackers on github for $$merge$$ to be obeyed13:54
gsamfiramgz: yup, fixed and pushed13:54
gsamfiramgz: I think I have :)13:55
mgzokay, should be all set then, let me see13:56
mgzgsamfira: github seems to be lagging, juju has you as in the hackers team, but your profile doesn't have you in juju13:58
gsamfiramgz: eventual consistency ftw :). No rush, its fine13:59
mgzgsamfira: ah, you need to set your membership of juju to public13:59
gsamfirahmm..lemme see13:59
mgzgsamfira: on the <https://github.com/orgs/juju/people?query=samfira> page should see a link14:00
gsamfiraahh14:00
gsamfirathanks!14:00
gsamfirawas looking for that miniscule link14:01
mgzgsamfira: itsgoing14:02
gsamfiraworked :)14:02
gsamfiramgz: thanks!14:02
perrito666I really hate the local power company14:43
=== kadams54_ is now known as kadams54
=== dames is now known as thedac
dimiternfwereade, updated http://reviews.vapour.ws/r/141/diff/1-2/15:08
dimiternfwereade, it should be good to land now15:08
dimiternnatefinch, hey, can you have a look as well?  http://reviews.vapour.ws/r/141/ I really need to land this15:12
perrito666brb15:20
fwereadedimitern, posted a quick question/concern, does it make sense?15:42
dimiternfwereade, so, currently at the api level there's no relation given or needed when calling OpenPorts or ClosePorts15:45
dimiternfwereade, but we can add it easily later in the params.EntityPortRange struct15:45
fwereadedimitern, we can always fix up the api later, yeah15:45
fwereadedimitern, it's keeping track at the context level that I'm mostly concerned about15:46
fwereadedimitern, we half keep track and half not? because we have machinePorts that does know about relations, but pending that doesn't15:46
dimiternfwereade, pending does know now, but the RelationTag field of PortRangeInfo is ignored for now15:47
fwereadedimitern, but the keys don't know15:47
fwereadedimitern, as it is that data structure can only hold one info per range15:47
dimiternfwereade, that's correct, but isn't this how it should be - in the context of a relation hook?15:48
fwereadedimitern, don't think so -- just because there's a default relation in play doesn't mean you're barred from changing others15:48
fwereadedimitern, you just need to be explicit about it15:49
dimiternfwereade, I agree, but later we'll add a [-r rel-id] argument to open-port, close-port, and opened-ports15:50
dimiternfwereade, it doesn't make sense to do it now, because it's ignored15:50
fwereadedimitern, mmm, I'd rather have the context-level stuff understand relations but always be using a magic null relation -- rather than have to rewrite that logic when we try to incorporate them15:51
fwereadedimitern, I think it can even be written and tested sanely right now, you just need to pass a hardcoded not-really-a-relation into those methods15:52
fwereadedimitern, then enabling it at the command level becomes trivial, instead of a hidden whoops-rewrite-logic thing15:52
dimiternfwereade, so you're saying pendingPorts should be something like map[X]PortRangeInfo, where X is struct { Ports network.PortRange, RelationTag names.RelationTag } ?15:54
fwereadedimitern, something like that, yeah15:54
fwereadedimitern, I know it's kinda tedious15:55
fwereadedimitern, but since we're writing it now we may as well get it right, ratherthan reworking it later15:55
dimiternfwereade, ok, fair point15:55
fwereadedimitern, awesome, tyvm15:55
dimiternfwereade, and re your other question15:56
dimiternfwereade, changing the map key should solve that as well I think15:56
fwereadedimitern, yeah, I think so15:56
dimiternfwereade, sweet! thanks, I will change it and repropose15:57
dimiternfwereade, can you LGTM it conditionally, so I can land it after that?16:07
fwereadedimitern, it kinda feels like that's the heart of the CL is the trouble there16:07
fwereadedimitern, give me an ETA on the changes and I'll set an alarm to come and look though16:08
dimiternfwereade, I'll be done in 1h, will ping you16:09
perrito666if anyone has time http://reviews.vapour.ws/r/142/diff16:43
dimiternfwereade, updated - http://reviews.vapour.ws/r/141/diff/2-3/16:55
dimiternperrito666, "You don't have access to this review request."16:55
perrito666dimitern: sorry I keep forgetting to publish these things16:57
perrito666done16:57
dimiternperrito666, cheers, looking16:58
dimiternperrito666, reviewed17:02
* dimitern is way past eod now, time to go17:03
natefinchok, I think I might actually be able to do a little work now17:13
=== urulama is now known as urulama-afk
marcoceppinatefinch: if on a server deployed with juju17:27
marcoceppiI take down eth0 and bring up eth1 on a different network17:27
marcoceppiwill juju agent detect that change?17:27
marcoceppiin 1.20.917:27
natefinchbuh17:28
marcoceppiI figured17:28
marcoceppi(asking for a friend ;)17:28
natefinchlhaha17:28
marcoceppinatefinch: so, not really going to happen?17:29
natefinchuh all the networking guys are off by now, so I'm not sure.  I'd be pretty sure that juju wouldn't figure it out on its own.17:29
marcoceppican I kick juju in the ass to figure it out?17:29
marcoceppithat you know of17:29
marcoceppilike restart the agent17:29
natefinchmarcoceppi: you can certainly try... I don't know what it'll do, honestly.17:39
katcois there a way to specify an environment for any juju command? i.e. juju -e local (blah)18:53
natefinchyes?18:55
natefinch- e local?18:55
natefincher -e18:55
natefinchthat should work on anything that requires an environment18:55
katcohm doesn't seem to work for me? "error: flag provided but not defined: -e"18:55
katcoso you have to specify after the subcmd?18:56
natefinchmight have to be after the command, I forget if it cares18:56
katcohm. just trying to figure out if there's a way i can make sure i don't hose my actual juju environment while developing :p18:56
natefinchkatco: you can always rename the jenv for that environment18:56
natefinchto something not .jenv18:57
natefinchthen it's untouchable18:57
katcoyeah but then i have to flip bits around everytime i want to switch b/t developing and doing something with my env.18:57
katcoit's a good suggestion, but not ideal =/18:57
natefinchkatco: there's a request in to be able to "lock" an environment so you don't accidentally muck up a pristine environment, but no one has tried tackling it yet18:58
katcoah cool18:58
katcodamn juju developers.18:58
katconever get to the important stuff! ;p18:58
katcooh hey natefinch where/when you flying out? wondering if i'll catch any canonical ppl on my flight18:59
natefinchwell, the clientside part is trivial, but you want the serverside to respect it too... but then older juju clients wouldn't be able to unlock the environment, so what then?  Maybe not a big deal.  But anyway... it's tricky.18:59
natefinchkatco: Saturday 7pm EST BOS-Heathrow-Brussels19:00
natefinchBritish Airlines IIRC19:00
katcoah... i'm in dc19:00
katcoi mean i have a layover there, then direct to brussels19:00
katcooh for the days when lambert intl. airport was actually an international airport lol.19:01
natefinch*nod* This was the best times for me, gives me the most time on Saturday with my family without being a ridiculously extra long flight for no reason19:01
natefinchjej19:01
natefinchhhe19:01
katcoyeah, i'm flying out sat. night19:01
katcomight see you at the brussels airport19:02
katcoget in at like 7am i think19:02
natefinchI get in at 11am.... I wanted to get in at 8am, but it would have meant leaving home at like noon on saturday19:02
natefinchgotta run, the kids are refusing to take a nap and my wife is feeling worse again.19:42
perrito666I can neve understand how being I kid I also refused to nap19:53
perrito666and now I would give my life for a nap19:53
perrito666katco: ericsnow some of you wants to add a review to http://reviews.vapour.ws/r/142/ ?19:53
ericsnowperrito666: I'll take a look19:54
katcoperrito666: i'm trying to wrap up a change, i'll try and have a look when i'm done19:54
katcoperrito666: thanks for the ping19:54
perrito666is it my perception or git rebase will hit the same conflict every time?20:08
perrito666ericsnow: ta20:29
thumperFYI, I'm going to be in and out a lot today as I prepare for the sprint next week21:08
thumperneed to be at the airport in 7 hours21:08
thumperso need to pack etc.21:08
rogpeppe1random network question: anyone know what this arp line means?22:01
rogpeppe1? (192.168.0.4) at (incomplete) on en1 ifscope [ethernet]22:01
rogpeppe1i'm having LAN routing issues22:01
ericsnowEOD a little early22:01
rogpeppe1and i think that's one of the symptoms22:01

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