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

wwitzel3davecheney: so I think I need to make two methods in runlistener.go .. where I am getting confused is the JujuRunEndpoint isn't part of apiserver00:15
davecheneywwitzel3: i'm worried I can't really help with this00:16
davecheneyi dunno anything about facades, apart from the fact that they exist00:16
wwitzel3same here :)00:16
davecheneywhen i think of version i think of the version.Version type00:16
davecheneyand i start to get that twitch00:16
wwitzel3hah00:16
ericsnowdavecheney: your lucky day: https://github.com/juju/juju/pull/73100:18
ericsnowdavecheney: all about facades :)00:18
davecheneywallyworld_: can you check the builder00:19
davecheney14050004300:19
davecheneyAGinstancei-ab993640job_namegithub-merge-juju00:19
davecheney+ set +x00:19
davecheneyStarting instance i-ab99364000:19
davecheneyit's jammed here00:20
davecheneyi think our ec2 account may have gone over quota00:20
davecheneyericsnow: /me looks00:20
wallyworld_davecheney: i can kill and restart?00:21
davecheneywallyworld_: sure00:22
davecheneywhat does the ec2 console say about that instance ?00:22
josedavecheney, wallyworld_: I'm having problems with bootstrapping on ec2 too00:23
josegets stuck00:23
joseon 1.20.600:23
wallyworld_maybe aws is having issues00:24
joseI'm updating my PC just in case it's any dependencies (don't think so)00:24
josebut will try bootstrapping again after that00:24
davecheneyjose: are you using canonicals' account ?00:25
josedavecheney: nope, personal account. just a community charmer here.00:26
davecheneyintersting00:26
josebrb00:27
menn0ericsnow: PTAL at https://github.com/juju/juju/pull/724 if you have a chance00:38
menn0ericsnow: it turns out there was a very easy way to avoid that race using mgo/txn asserts00:38
ericsnowmenn0: oh good00:38
menn0ericsnow: so thanks for pushing on this as it made me think harder :)00:39
ericsnow:)00:39
menn0ericsnow: the error handling bit is potentially controversial as there's a race there00:39
menn0ericsnow: but it's a small one and it makes the error returned so much more helpful00:40
menn0ericsnow: the race is only with the selection of error message as opposed to something functional00:40
ericsnowmenn0: much better00:41
wallyworld_davecheney: ec2 all good again, your build went through00:42
menn0davecheney: I need some PRs reviewed, 2 small and already looked at by ericsnow, 1 slightly larger but not crazy00:43
menn0https://github.com/juju/juju/pull/72400:43
menn0https://github.com/juju/juju/pull/72600:43
menn0https://github.com/juju/juju/pull/73200:43
menn0:)00:43
davecheneymenn0: ok00:46
menn0davecheney: ta00:47
menn0how about: "the last upgrade did not complete fully" ?00:52
davecheneymenn0: sure00:52
davecheneymenn0: i'm the wrong person to review these PR's00:56
davecheneyi have no idea what they are doing00:56
menn0davecheney: ok00:57
davecheneysorry00:57
davecheneyall i know about your work is it's too subtle for me to seagull review00:57
menn0davecheney: there's only one, perhaps 2 people who understand it apart from me...00:59
menn0davecheney: I can explain it to you if that would help00:59
davecheneymenn0: i'm also comfortable that you know what you're doing01:03
davecheneybetter than anyone else in this area01:03
davecheneyso if you want LGTM, you've got it01:03
menn0davecheney: that's a little unsatisfying but I'll take it because I don't want to get stuck on this01:04
axwsorry wallyworld__, didn't realise you were still reviewing01:33
wallyworld__axw: i got caught up with 1) a reboot due to network, 2) a critical issue in #juju01:34
wallyworld__sorry01:34
axwnps01:34
wallyworld__axw: i'd love a stress test (should have been done originally) - say 10 go routines all uploading the same data, and then checking the results. what do you think?01:35
axwwallyworld__: there is one in juju (that's how I got bit :))  - I can write one in this repo01:36
wallyworld__i think that would be good01:37
davecheneymenn0: ok, i'll have another swing after lunch01:51
davecheneywaigani: are you going to address https://github.com/juju/juju/pull/71301:52
davecheneyand submit it ?01:52
waiganidavecheney: hmph how did I miss that? I'll tidy it up and submit today.01:56
davecheneyi got to the pull requets tab, then filter by my own and open to see which things are outstanding or that CI has nacked01:58
waiganiah, I totally didn't take in that filter bar.. handy02:00
thumpermenn0: meeting time02:05
wallyworld__axw: meeting \o/02:05
axwdoh, thanks02:05
josewallyworld__, davecheney: btw, I did get to deploy on EC202:06
joseit bootstrapped successfully on 1.20.702:06
wallyworld__\o/02:06
davecheneyjose: great02:06
davecheneymust have just been a temporary cloud brainfart02:06
joseyeah, probably02:06
ericsnowdavecheney: FYI, I've addressed your comments on https://github.com/juju/juju/pull/73102:12
wwitzel3axw: I need you!02:13
axwwwitzel3: ?02:13
wwitzel3axw: I have no idea how to go about version the JujuRunEndpoint02:13
wwitzel3s/version/versioning02:14
davecheneyericsnow: ta02:14
axwwwitzel3: I haven't properly versioned an API before :)02:14
axwI just know it's possible ;)02:14
ericsnowwwitzel3, axw: isn't jam the API versioning guru?02:15
axwyup02:15
wwitzel3axw: thanks02:15
wwitzel3I was trying to follow examples from apiserver02:16
wwitzel3but runserver is special02:16
axwwwitzel3: I think I was pointing at the wrong place when I said do versioning02:17
axwwwitzel3: it matters more in cmd/juju/run.go02:17
wwitzel3axw: how do we version that? :)02:20
axwwwitzel3: I *think* it's a matter of bumping the 0 to 1 in the RegisterStandardFacade call, in apiserver/client/client.go - I don't know how you have to versions though02:23
axwwwitzel3: maybe two calls, one with 0 and 1: you're better off asking jam02:24
wwitzel3axw: ok, I think I will ask jam02:24
wwitzel3haha, yeah ;)02:24
axwwallyworld__: I don't think we're on the same flight btw, I'm arriving on the 2nd02:28
axwgoing to bruges with my brother02:29
wallyworld__axw: ah yes, i saw the flight number02:29
wallyworld__and hotel checkin date02:29
perrito666mmpfh I dont have a decent time windows to go see herge's museum, I hate european business hours02:32
davecheneywallyworld__: what is happening with the cloudbase reviews02:32
davecheneythey are _still_ in there, clogging up the review queue02:32
wallyworld__davecheney: i believe wayne and john are helping sheppard them through02:33
perrito666davecheney: wallyworld__ one of you has the wrong cloud02:33
perrito666you mean cloudsigma davecheney ?02:33
davecheneyprobably02:33
davecheneyi just saw them there, again, lurking02:34
perrito666davecheney: cloudbase are the windows guys02:34
davecheneywwitzel3: what's happening with the cloudthingy reviews ?02:34
davecheneyperrito666: true02:34
perrito666cloudsigma is the pile of patches02:34
davecheneyso, we hired a woman from russian called Anistasia02:35
davecheneythat's like hiring a man from New Zealand called Tim02:35
perrito666I am sure no one told her jokes about her name ever...02:36
davecheneyperrito666: the joke wasn't Anistasia ...02:36
perrito666davecheney: mine was :p02:36
perrito666I now practically nothing about new zealand :p02:36
davecheneyyou are speaking to a man from Australia called Dave02:36
davecheneyit's about as dinkum as they come02:36
perrito666as I said, in argentina there is only one person we know from Australia and its not one you are particularly proud of02:38
perrito666:p02:38
davecheneynot Steve Erwin ?02:38
davecheneyTony Abbott ?02:38
perrito666ah he was from there too?02:38
perrito666dunno his real name, the guy from the movies with the large knife02:38
davecheneyPaul Hogan!02:39
perrito666yup02:39
davecheneynope, we're proper proud of Hoges02:39
perrito666:D cool02:39
perrito666(I believe I just now know his real name)02:39
davecheneythat movie is require watching for all primary school children02:39
natefinchthe guy from the movies with the large knife - lol02:39
perrito666crocodile dundee thats it02:39
natefinchroight02:40
davecheneybonza!02:40
perrito666wow he was in other movies I saw and did not recognize him02:40
ericsnowthat ain't a knife02:40
natefinchwell, past bedtime for me.  Night all.02:40
perrito666its a good thing local names changein time here, most people gets named after characters from the current successful soap opera02:41
perrito666so if I hear a not so common name and I can place it I most likely know when you are born02:41
perrito666natefinch: cheers02:41
davecheneyplease, observe, https://www.youtube.com/watch?v=Xn_CPrCS8gs02:43
perrito666lol02:44
perrito666I must admit I would like to know australia but the roundtrip takes my whole holiday time :p02:44
perrito666flights from my city to sydney are between 48 and 62 hs02:46
davecheneythink what it's like to live here02:46
davecheneyyou can't go anywhere before having to turn aroud and come back02:46
perrito666davecheney: we are freaking close, its just there are no available flights02:47
perrito666have you noticed how close our countries are?02:47
davecheneyperrito666: i can hear you if the wind blows in the right direction02:47
perrito666davecheney: its a 20h straight flight02:48
ericsnowwwitzel3: do you mind if I delete that test review request you made on reviewboard?02:48
perrito666over the pacific02:48
perrito666we seem to be on the same latitude diff longitude iirc02:50
perrito666yet for some reason I need to go to peru and then to canada02:50
davecheneyo_O02:51
perrito66611000km02:51
perrito666oh, wait, apparently for 20k I get a more direct flight :p02:52
perrito666hehe ok, sleep time, see you all tomorrow morning02:52
menn0anyone able to review this? https://github.com/juju/juju/pull/73203:26
* menn0 has a lot of PRs to get merged03:27
=== blackboxsw is now known as blackboxsw_away
waiganithumper: https://github.com/juju/juju/pull/713 land it or trash it?03:58
thumperwaigani: I defer to fwereade, can I get you to check with him?03:59
waiganithumper: yep will do03:59
wwitzel3ericsnow: go for it04:29
wwitzel3ericsnow: I'll torch it04:29
ericsnowwwitzel3: k04:29
ericsnowwwitzel3: nate had me worried when he said we were cutting over to ReviewBoard immediately :)04:30
thumperdavecheney: https://github.com/juju/juju/pull/733 when you get a moment04:32
* thumper is signing off to pack04:32
jamhey wwitzel3, how's the cloudsigma stuff coming ?04:33
wwitzel3jam: good, I've left all my inital reviews if you want to look over them04:40
wwitzel3jam: I don't have an API key or anything to do any actual testing of the provider, but if you can get me that, I'd be happy to do it.04:40
jamwwitzel3: did you hear back on any of them? / have you tried to ping Vitaly directly at all?04:40
wwitzel3jam: nope04:41
wwitzel3jam: and no one shows up for the meetings anymore .. are those still happening?04:41
jamwwitzel3: I think you just need to ping Vitaly, because the meetings are "on hiatus until further notice"04:43
ericsnowwallyworld_: you think you could spare me a review on https://github.com/juju/juju/pull/736?04:43
ericsnowwallyworld_:  It's all about a new API facade (something you appear to have fresh in your mind).04:43
jambut since we've gotten reviews up, we'll want to make sure they know the ball is in their court04:43
wwitzel3jam: ok04:43
jamwwitzel3: I have an account, I'm trying to find if I can give you access without giving you my personal stuff04:43
wwitzel3jam: rgr04:43
wallyworld_ericsnow: sure, just doing some support in #juju, will look as soon as i can04:43
wwitzel3jam: oh, since I have you :) I need help04:44
jamwwitzel3: did you see what config they take? Is it just username + password ?04:44
ericsnowwallyworld_: you might also take a look at the server side of that I just landed to make sure I got it right04:44
ericsnowwallyworld_: no worries04:44
ericsnowwallyworld_: I'm going to bed anyway :)04:44
wwitzel3jam: yes, username: and password: and region: are the config options04:44
wallyworld_ok, sleep well04:44
ericsnowdavecheney: thanks for all your reviews04:44
wwitzel3brb04:46
davecheneyericsnow: np04:47
jamwwitzel3: see my PM04:47
wwitzel3jam: so, for a PR I have up which adds an option to juju run, axw though I might need to version the cmd/juju API for juju run05:04
wwitzel3jam: but I couldn't find an existing example of doing that05:04
wwitzel3jam: I pinged some other people and they all said ping you ;) so you win!05:04
wallyworld_axw: i didn't use the facade patch because i was just copying across existing code. i did migrate the server side tests to *not* go through the client so i guess i could have done that extra change too05:05
axwwallyworld_: ah I see05:07
axwwallyworld_: btw, in this one case I was pointing out that patching could be avoided altogether05:07
axwif we just don't pass in *api.State05:07
wallyworld_yeah, i thought about doing that actually, but then fell asleep last night and forgot to pick it up later this morning05:08
wallyworld_i'll make that change05:08
wallyworld_axw: i have to enhance the tests in the next branch when placement directives are actually used, so i'll look at using the testing facade then05:09
axwwallyworld_: SGTM05:09
jamwwitzel3: so, TheMue is currently working on versioning the Agent API, which will give us an example of how it is to be done. It is unfortunately not trivial, but I do want us to get in the habit of doing it.05:21
jamwwitzel3: registering a new facade that is a higher version is trivial05:22
jamwwitzel3: doing the correct testing so that you test we actually expose exactly the v0 and the v1 implementations is the harder part05:22
=== arosales is now known as rosales
=== rosales is now known as arosales
TheMuemorning07:04
TheMueah, reading about optimal testing for versioning, fine07:05
=== marcoceppi is now known as rosales
=== rosales is now known as marcoceppi
TheMuejam: btw, regarding the testing in my case we sadly have no "hey this method is new" neither "oh, this method changed". we're only returning one more possible value as job. so there's a separation between v0 and v1 tests, but it's not the best demonstrator. *sigh*07:53
jamTheMue: yeah, understandable07:53
TheMuejam: but we now know the direction, so there soon will be a better one too. and it's enough to document it.08:00
voidspacetrying to remember my stack overflow login :-/09:26
voidspaceI think it was with openid09:26
voidspacewhich I don't think they support any more09:26
voidspacehah, so they do - but my openid provider has gone away09:27
voidspaceluckily I delegate so I can fix that09:27
dimiterndavecheney, jam, tasdomas, others? state changes to allow opening/closing port ranges on units and the openedPortsWatcher in state: https://github.com/juju/juju/pull/73909:28
dimiterntasdomas, this is a slightly modified version of your PR including only changes in state09:29
davecheneydimitern: OTP09:29
dimiternthere will be 3 more09:29
davecheneywill have a look soon09:29
dimiterndavecheney, sure, np09:29
tasdomasdimitern, looking10:00
jamdimitern: looking as well10:04
dimiternthanks guys!10:04
tasdomasdavecheney, could you take another look at https://github.com/juju/juju/pull/640 ?10:05
jamvoidspace: should we be disabling the IPv6 test since we know it is flaky until you fix it?10:33
voidspacejam: yep10:33
jamvoidspace: can you propose that?10:34
voidspacejam: yep10:34
jamvoidspace: do you say anything but yep?10:34
voidspacejam: yep10:34
voidspace...10:34
jam:)10:34
jamI was hoping you'd go for it10:34
voidspacejam: :-)10:34
voidspacejam: I was going to disable it as part of this mp10:34
voidspacejam: but...10:34
voidspacejam: I'm deferring to mongo support for this - so in the meantime disabling that test is a quicker fix for the instability10:35
jamI was just thinking about how much wallyworld is happy that things are going better, and I'd like us to support that10:35
voidspacejam: cool10:35
voidspaceand I agree10:35
voidspacehmmm... my post to mongodb-user hasn't shown up10:36
voidspaceI know google groups is slow but it was quite a while ago and there's been another post since :-/10:36
jamvoidspace: sounds more like a "you have been put into the moderated queue" sort of change.10:37
jamvoidspace: what were you posting there ?10:37
voidspacejam: possibly, but it's a google group10:37
voidspacejam: so I backed out the "wait until I can see the config" change I made yesterday because it just didn't work10:37
voidspacejam: and the IPv6 test was passing most of the time except when it failed for the known reason10:38
voidspacejam: so I ran all the tests...10:38
voidspacejam: and the AddRemoveSet test (non-ipv6) still fails sometimes10:38
voidspacejam: with "majority of servers must be up"10:38
voidspacejam: (the ipv6 test *never* fails with that - because it's a bit slower I think)10:38
voidspacejam: but it means that my CurrentStatus approach for telling when the replicaset is ready10:39
voidspacejam: *isn't* correct10:39
voidspace:-(10:39
voidspacejam: so I'm asking what is the *right* way to tell when the replicaset is ready10:39
voidspacejam: and I think it's the same issue as the config one - after applying the config the replicaset can report that everything is fine10:39
voidspacejam: whilst the config change is still propagating10:39
voidspacejam: and *then* things can become unstable10:40
voidspacejam: but that's a surmise10:40
voidspacejam: so I want to ask both questions10:40
voidspaceI posted the first but haven't seen it arrive10:40
jamvoidspace: sounds reasonable to get feedback10:40
voidspacethe second is "is it expected that calling replSetReconfig takes some time10:41
jamvoidspace: you could also try: #mongodb10:41
voidspaceand how can I tell when it's completed10:41
voidspaceyeah, I'm in there now and about to10:41
voidspacebut I figure the americans mostly won't be online yet10:41
jamvoidspace: those lazy bastards!10:43
voidspace:-)10:43
voidspacejam: stdup?10:46
voidspacejam:         mgo.SetDebug(true)10:54
voidspace        mgo.SetLogger(c)10:54
perrito666morning juju-ers11:04
rogpeppe1so, this reviewboard thing: do the review comments actually end up in github, or is it an entirely independent comment-storage system?11:10
perrito666lol, some nerd humor for the am https://pbs.twimg.com/media/BxNQl-LIEAARcVn.jpg11:15
perrito666rogpeppe1: as I understood they dont end up in gh11:15
perrito666since this system promises to stop the mail spam I assumed it would not send every comment to gh11:16
rogpeppe1perrito666: what language is that?11:16
perrito666rogpeppe1: I dont think its a language, the syntax highlighting hints that its not valid at all11:18
perrito666It would be fun to have that compile though11:18
perrito666I am easily amused11:18
rogpeppe1perrito666: i don't get it at all :-\11:19
voidspaceI've now switched my openid provider to google and I can login to stackoverflow again!11:19
voidspacerogpeppe1: perrito666: morning11:19
perrito666voidspace: good morning11:19
rogpeppe1voidspace: hiya11:19
perrito666rogpeppe1: do you know the song?11:19
rogpeppe1perrito666: ah, a song! no, i don't think so.11:19
perrito666rogpeppe1: google rammstein du hast11:20
perrito666https://www.youtube.com/watch?v=-gZ25MYwWpM <-- its quite old11:20
perrito6669711:20
perrito666as I understand the song makes no much sense when translated and, at least around here, its like their only known hit11:22
rogpeppe1perrito666: enjoying it11:23
rogpeppe1perrito666: ta11:24
perrito666rogpeppe1: :)11:24
urulamaperrito666, rogpeppe1: i guess you know this already, but it's playing with words, which when spoken change from "hate" to "have"11:25
perrito666urulama: I do not speak a word of german so actually for me its just a catchy tune11:26
rogpeppe1urulama: i didn't know that. i don't know any german.11:26
natefinchericsnow: what's the status on reviewboard?  Is there anything we need to do before we can use it?11:26
rogpeppe1nice light listening compared to what i was listening to just now :-)11:27
perrito666rogpeppe1: you do not seem the extremely heavy metal person11:29
rogpeppe1perrito666: you'll be surprised!11:29
rogpeppe1perrito666: was just listening to Meshuggah11:30
perrito666rogpeppe1: btw, shall I bring a portable backgamon game?11:30
rogpeppe1perrito666: definitely!11:30
perrito666rogpeppe1: I have a bunch of magnetic chess games in the house, I assume all of those have bg boards in the back11:31
perrito666:p11:31
rogpeppe1perrito666: i think i might have one too. i might be tempted to bring a proper board along, as it's much more pleasant to play with...11:35
perrito666rogpeppe1: ah, but can you play upside down? :p or in a car?11:35
perrito666or in outer space11:36
rogpeppe1perrito666: good point. i will bear that in mind next time i'm on a spaceship with an urgent desire to play backgammon11:36
rogpeppe1:-)11:38
voidspacejam: answer in #mongodb12:02
=== Guest67627 is now known as wallyworld
voidspacejam:  replSetGetStatus reports each members view of the world, not a consolidated one.12:02
voidspacejam: so it's not an objective status - it's the status according to whichever node we're talking to12:02
voidspacejam: so really we need to be asking all nodes12:02
voidspacejam: plus "the mgo driver should be tracking the state of the replica set members by calling isMaster on each to detect when one of them reports "master:true" meaning it can take writes."12:03
voidspacejam: which is slightly unrelated to the "majority up" issue12:04
cmarsjam, got a few minutes to chat? wanted to revisit the login API PR, https://github.com/juju/juju/pull/39212:06
jam voidspace: so is CurrentStatus using IsMaster calls, right?12:08
voidspacejam: not directly, not our IsMaster12:11
voidspacejam: it directly calls replSetGetStatus12:11
jamvoidspace: so I wonder if it would be useful to also call ismaster12:11
jammaybe ?12:11
voidspacejam: we need to talk to *all* the replica set members12:11
voidspacejam: as they can all have a different view on the world12:11
voidspacejam: skot on #mongodb is pretty sure that *mgo* is already doing this12:12
voidspacefor health monitoring12:12
jamvoidspace: so it *is* talking to all of them, that doesn't mean it is polling the replicaSet data for all of them12:12
jamvoidspace: it uses ismaster calls12:12
jamsee cluster.go12:12
voidspacejam: we can poll all of them for data and wait until they converge12:14
voidspacejam: but skot thought that waiting until one reports isMaster could be enough12:14
voidspacejam: which mgo is already doing from the sounds of it12:14
voidspacealthough that *may* not be enough for config changes (even if it's enough for writes)12:15
voidspaceI will see12:15
voidspacetesting this could be fun12:15
voidspacejam: I'm going to propose a branch disabling the ipv6 test and then come back to this after lunch12:15
=== jheroux_away is now known as jheroux
natefinchericsnow: you around?13:10
mattywanyone else didn't know about gofmt -s. Or is it just me?13:37
natefinchmattyw: I knew about it but never used it... I'd be interested to see how it changes things.13:38
mattywnatefinch, one example: https://github.com/juju/juju/pull/676#discussion_r1734079413:38
ericsnownatefinch: just got on13:41
* perrito666 aliased gofmt as omgf because he misstiped that too often13:42
natefinchmattyw: ahh that's cool13:42
natefinchericsnow: cool.... so, what do you think is left with reviewboard before we can go live?13:42
ericsnownatefinch: just the things I listed in that email (SSL, backups, redundancy)13:43
natefinchericsnow: yeah, but those aren't really needed.... are we worried someone's going to spoof our reviewboard site and make us review different code? :)  Also - it doesn't actually hold the code or anything, so it's not like backup and redundancy are really super critical.  Redundancy would be nice, but I don't think we need to gate on it.13:44
rogpeppe1natefinch: i think the reviews are worth backing up - the context of a change is sometimes as important as the change itself13:46
ericsnownatefinch: I don't think SSL or backups are going to be a super heavy lift and will be worth taking an extra few days to get them up13:46
dimiternjam, tasdomas, if you have a minute, can you take a final look at https://github.com/juju/juju/pull/739/ ?13:46
dimiternthat is, if jam's still around13:47
rogpeppe1natefinch: BTW one thing i really liked about the old codereview system is that you could look at a commit and it linked directly to the review (with all its steps visible). is that going to be the case with reviewboard?13:47
rogpeppe1natefinch: (i'm still finding that incredibly useful for finding out why some piece of old code is the way it is)13:47
rogpeppe1ericsnow: ^13:48
natefinchrogpeppe1: for a level of indirection yes.  The PR should be updated with a link to the review on reviewboard.13:48
natefinch(currently this will be manual)13:48
rogpeppe1natefinch: we should make that automatic otherwise noone will do it13:48
ericsnowrogpeppe1, natefinch: for now everyone will be manually adding a link to the review in a PR comment13:49
ericsnowrogpeppe1: we will work on automating that which is a reasonably tractable problem13:49
rogpeppe1ericsnow, natefinch: the other thing that i'm really hoping reviewboard offers, but can't easily work it out from the site is: if i make a comment and someone makes a change, can i easily see the change that's been made in response to my comment?13:49
dimiternnatefinch, or perhaps you can have a look instead? https://github.com/juju/juju/pull/739/13:50
rogpeppe1that's something i miss every time i do a github review13:50
ericsnowrogpeppe1: more or less; each update to the review request shows up as a selectable link and you can easily diff between versions of the review request in the web UI13:51
natefinchericsnow: if you think you can get backup and SSL done in a few days, that's cool... but do we actually need to gate on it?  Can you do it in flight, or will it require a wipe to deploy?13:51
ericsnowrogpeppe1: so if someone updates a change (even via rebase) you can see what they changed13:51
rogpeppe1ericsnow: cool13:52
rogpeppe1ericsnow: i guess there are no reviews up there where there have been multiple changes made in response to review comments, so it's difficult to see13:52
ericsnownatefinch: in flight, but I want to wipe before we officially switch over to clear out the testing that people have been doing13:53
ericsnowrogpeppe1: try it out :)13:53
ericsnowrogpeppe1: I did it but have since removed that review request13:54
natefinchericsnow: then let's wipe and switch over.  No backups or SSL for a few days seems like no big deal13:54
ericsnownatefinch: I at least want the SSL done since it will change the URL13:55
rogpeppe1ericsnow: another thing: for large reviews, is it possible to get a file-by-file summary without seeing all the diffs in the same page?13:55
natefinchericsnow: can't we auto-forward http to https?13:55
ericsnownatefinch: then folks don't have to update their bookmarks, etc.13:55
ericsnownatefinch: I guess13:55
natefinchericsnow: we should be doing that anyway13:56
ericsnownatefinch: also I was hoping we could get a few more days of people trying reviewboard out before switching over13:56
natefinchericsnow: meh. No one's trying it now, and they won't until we force them to.  I trust you and wayne have tried it out and not found anything hugely lacking.13:56
natefinchericsnow: and we can always go back if there's some deal breaker we fin13:57
natefinchfind13:57
ericsnownatefinch: yeah, it's not a huge thing; I just wanted to minimize the possible disruption so I figured waiting until Monday was the best balance between that and switching over ASAP13:58
tasdomasdimitern, LGTM13:58
tasdomasdimitern, have you tried bootstrapping an env with that code?13:59
dimiterntasdomas, hmm, good point, will do now13:59
dimiterntasdomas, thanks13:59
tasdomasdimitern, it's probably best to try, just in case some code path is not actually tested14:00
tasdomasdimitern, I've also found the mongodb charm to be a good test case14:00
natefinchericsnow: I hate waiting.  But if you think it's best to wait, I'll trust your decision.  How sure are you about being ready Monday?14:01
ericsnownatefinch: either way I think Monday is a good goal; I'll at least focus on getting SSL sorted out14:02
ericsnow...by then14:03
ericsnownatefinch, wwitzel3, perrito666: standup14:03
perrito666natefinch: standup?14:15
voidspacejam: I believe you're reviewing today14:44
voidspacejam: tricky one for you14:44
voidspacehttps://github.com/juju/juju/pull/74014:44
natefinchvoidspace: LGTM'd14:59
voidspacenatefinch: thanks14:59
voidspaceniemeyer: ping15:01
perrito666natefinch: cool, guess which country is the first one in the list of not supported countries for hangouts calls :p15:15
natefinchperrito666: only because your country starts with A15:16
perrito666we are the only country with an A in that list, such an honor15:17
perrito666:p15:17
natefinchperrito666: well, that's why you're first :)15:18
=== hatch__ is now known as hatch
mattywfolks - do we have a way of mocking out the api clients yet?15:36
perrito666ok, I am grepping a lot here, does anyone know what is the portion of code that generates the actual path to deploy a charm?16:05
ericsnowjam: could you give me a review for https://github.com/juju/juju/pull/736?16:07
niemeyervoidspace: Hey, just read your email16:13
voidspaceniemeyer: just seen your reply16:18
niemeyervoidspace: Commented on the ticket as well16:19
voidspaceniemeyer: I saw16:19
voidspaceniemeyer: the issue is that we setup the replicaset config through session.Run(bson)16:19
voidspaceniemeyer: and the addresses have to be serialised in the bson with the incorrect form16:20
voidspaceI believe16:20
niemeyervoidspace: and how's that an issue?16:20
voidspaceniemeyer: ah, I think I misunderstood your reply16:20
voidspaceniemeyer: what you're saying sounds exactly like what John is saying16:21
voidspaceniemeyer: I'm fixing our functions so that we only use correct addresses outside of mgo / replicaset (which is intended to go into mgo I believe)16:21
voidspaceniemeyer: so we (I) need to find the places in cluster.go where we have addresses in the wrong format and fix them16:22
niemeyervoidspace: IIRC, there's just one way to get server addresses from the MongoDB side.. I can easily fix it16:25
voidspaceniemeyer: ok16:26
niemeyervoidspace: One of the things we have to understand, though, is whether those addresses _always_ have a port or not16:26
voidspaceniemeyer: we *always* send them with a port16:26
niemeyervoidspace: That's not the same thing, though16:27
voidspaceniemeyer: heh, right16:27
niemeyervoidspace: Do you have an ipv6 deployment at hand?16:33
alexisbperrito666, I will be a bit late to our 1x1 (~15 mins) which means wwitzel3 I will also be late to our 1x116:36
alexisbwill ping you guys when Iam ready16:37
voidspaceniemeyer: no16:37
voidspaceniemeyer: I use replicaset/replicaset_test.go which uses the ipv6 addresses16:37
voidspaceniemeyer: and fails sometimes16:37
niemeyervoidspace: Why sometimes? The problem described is deterministic, right?16:38
voidspaceniemeyer: right, but what doesn't seem to be deterministic is whether or not the replicaset operations cause a syncServers16:38
voidspaceniemeyer: if the test always failed we wouldn't have committed it16:39
voidspaceniemeyer: it's probably timing related as it fails more often in CI, which runs on a slower system16:39
niemeyervoidspace: I have no idea about what the test does, but there's something fishy going on there16:39
voidspaceniemeyer: it is odd16:40
niemeyervoidspace: This problem is deterministic.. either the address is parsed, or it is not16:40
voidspaceniemeyer: yep, I agree16:40
voidspaceniemeyer: I added an extra log line to mgo - the actual error from net.DialTimeout16:40
voidspaceand when the test fails, that log line was showing "too many colons in address"16:40
voidspaceI am *sometimes* seeing in the non-ipv6 version of the test this failure16:41
voidspace    &mgo.QueryError{Code:13144, Message:"exception: need most members up to reconfigure, not ok : localhost:36246", Assertion:false} ("exception: need most members up to reconfigure, not ok : localhost:36246")16:41
voidspaceindicating members that are in the replicaset are reporting as being down16:41
voidspace(this is not as frequent a failure)16:41
voidspacethis maybe a total red herring16:42
voidspaceand a different issue16:42
voidspacebrb, need coffee16:42
niemeyervoidspace: When the ipv6 test does fail on some system, does it fail consistently?16:43
voidspaceniemeyer: nope, I run it a few times and it fails "sometimes"16:45
voidspaceCI sees the same thing - it fails, re-run and it passes16:45
niemeyervoidspace: Ok, there's definitely something else at play than the addresses then16:47
perrito666alexisb: np just ping me on irc16:47
voidspaceniemeyer: when it dies, it dies with "no reachable servers" - which is a message from mgo when all the net.DialTImeout fail16:52
voidspaceniemeyer: and logging shows that the actual error from net.DialTimeout is "too many colons in address"16:52
niemeyervoidspace: Not quite.. it's a message when it cannot find a reachable server16:52
voidspaceniemeyer: so why it *passes* sometimes I can't tell you16:52
voidspaceniemeyer: but when it fails, it *is* from the address16:53
niemeyervoidspace: Which can happen for any other reason too16:53
voidspacebut I added logging to show the actual error16:53
voidspaceas mgo discards the actual error16:53
niemeyervoidspace: Ok, so when it does pass, what addresses is it looking at, and why have they changed since the last run?16:53
voidspaceniemeyer: I can add logging with the address and see what it's using when it passes16:54
voidspaceshortly16:54
voidspacethat will be interesting16:54
niemeyervoidspace: That'd be appreciated, thanks!16:54
niemeyervoidspace: On my side, I've set up a RS on ipv6 and can confirm the addresses always come in the bad format with a port, from the command that mgo uses to obtain them16:55
niemeyerEven if no port was specified16:55
voidspacecool16:55
niemeyervoidspace: Also interestingly, ::1 does not exercise the bug16:56
niemeyervoidspace: Because mongo converts it into the local hostname16:56
niemeyervoidspace: Which is why I asked about consistency.. it might explain why it fails in some cases, but it cannot explain why it would alternate in consecutive runs in the same system16:56
mattywnight folks17:02
wwitzel3alexisb: ready when you are :)17:30
perrito666wwitzel3:17:31
perrito666<alexisb> 16:30:09> perrito666, I will be a bit late to our 1x1 (~15 mins) which means wwitzel3 I will also be late to our 1x117:31
perrito666<alexisb> 16:30:16> will ping you guys when Iam ready17:31
alexisbperrito666, yeah17:31
alexisbyeah17:32
alexisbI know17:32
alexisbstill on17:32
perrito666alexisb: no hurry I was just answering to wwitzel3 in case you where not here17:32
wwitzel3ahh I didn't get the highlight with it in sentence like that :/17:32
wwitzel3need to fix that17:32
wwitzel3thanks perrito66617:33
perrito666wwitzel3: heh, I have a regex that higlights all possible mentions of my name, very useful17:33
perrito666wwitzel3: btw, stil waiting for go to definition17:34
wwitzel3oh right17:34
wwitzel3perrito666, ericsnow: https://github.com/dgryski/vim-godef17:35
perrito666wwitzel3: ta17:35
ericsnowwwitzel3: nice17:36
natefinchperrito666, wwitzel3: I think even the author of that plugin now uses https://github.com/fatih/vim-go17:36
perrito666why is that everyone uses screenshots of vi in mac for docs17:37
perrito666vi does not look even close to that on other os17:37
wwitzel3perrito666: mine does :)17:37
wwitzel3perrito666: different chrome, but mine looks almost identical shading and color scheme17:38
perrito666wwitzel3: nah I doubt you have such a nice font rendering17:38
wwitzel3perrito666: I used Ubuntu Mono under Mac, so I didn't notice a difference17:38
perrito666wwitzel3: ah, that might be the reason, but on good displays it is really interesting the difference, fonts are very nice, I currently use fisa-vim-config and I am really happy with it to be honest17:39
alexisbok perrito666 I am ready and joining the hang out17:39
wwitzel3perrito666: I use wwitzel3-vim-config ;)17:40
wwitzel3natefinch: thank you17:45
wwitzel3natefinch: was able to remove 3 bundles and replace it with that one17:45
natefinchwwitzel3: nice, yeah, he's a twitter-friend and I constantly see people saying how awesome vim-go is.  It's almost enough to make me want to try vim.   Almost.17:46
rick_h_vim ftw!17:46
rick_h_vim your zsh and double the win!17:46
wwitzel3rick_h_: I still haven't mangaged to care enough to try zsh yet, but then again, I use gnome-panel under xmonad :P17:47
rick_h_wwitzel3: oh man, remind me to blow your mind in brussels, especially if you're a vim person17:47
katcoemacs eclipses all!17:47
rick_h_you use emacs with eclipse? You're crazy :P17:48
katcohaha17:48
wwitzel3katco: it would be cool to have lisp generate all my code for me ..17:48
rick_h_or you mean emacs was out eclipsing eclipse before java was cool?17:48
katcowwitzel3: i am actually a very complicated lisp macro.17:48
rick_h_oh the jokes every die17:48
rick_h_first I get wwitzel3 into a geekdesk, next up, zsh17:48
rick_h_like water pollution the ideas spread :P17:49
wwitzel3rick_h_: to be fair, the geekdesk wasn't a hard sell, I'd been eyeballing them for a couple years and standing for five, but you did tip it with the frame only17:54
wwitzel3rick_h_: as for zsh .. not sure how you're going to get me to care about what shell I use :)17:55
rick_h_wwitzel3: oh I'll do it, I've done it before and I'll do it again :)17:55
alexisbalright wwitzel3 I am ready and joining the hangout18:15
perrito666bbl bike time18:15
wwitzel3alexisb: yep, ok18:17
perrito666hey, is anyone here going to openstack summit in paris and knows the actual difference between full access and keynote + expo18:34
perrito666?18:35
=== fuzzy_ is now known as Ponyo
natefinchperrito666: no to both18:45
perrito666natefinch: thanks for that default answer :p18:45
natefinchperrito666: heh figured that was better than no answers :)18:45
perrito666natefinch: yup18:46
perrito666well its a pretty steep difference, I surely miss things like the plone conf, those where cheap, since no one but the exact same people wanted to go to those year after year18:47
natefinchperrito666: lol plone18:48
perrito666natefinch: we all have a dark past18:48
perrito666I believe people are still using that18:49
perrito666I've heard that if you go deep enough into the abstraction layers you get to narnia18:50
natefinchperrito666: haha18:50
perrito666natefinch: hazmat was there too, I saw him18:54
natefinchperrito666: I have heard he lives in Narnia18:54
perrito666natefinch: yeah, he also did a payment system for narnia18:55
perrito666which I had to maintain for years :p18:55
natefinchlol18:55
=== HankM00dy is now known as thehe
=== urulama is now known as urulama-afk
sebas5384hello! i'm looking for a documentation of the juju socket api20:36
sebas5384somebody haves some favorite one?20:37
sebas5384i was looking this https://github.com/Ubuntu-Solutions-Engineering/macumba/blob/master/macumba/__init__.py20:39
wallyworld_sinzui: i have code to be able to read tools from /v2 - do you know the timeline for publishing metadata to that path?21:25
sinzuiwallyworld_, I don't. We have some issues sorting out mirrors and syncing21:26
wallyworld_ok, i'll just have it queued up, ready to go when we are ready21:26
wallyworld_sinzui: also, did we want to use paths like http://streams.canonical.com/juju/tools/<tag>/streams/v1, where <tag> is released, proposed, testing etc21:30
wallyworld_i like that better - keep tools as top level21:30
sinzuiwallyworld_, I like that suggestion21:30
wallyworld_sinzui: ok, i can add a config setting to allow tag to be set. i should say that it will end in v2 also21:31
sinzuiwallyworld_, lets not rush21:31
wallyworld_yeap, just thinking out loud21:31
wallyworld_first plan is to get v2 in place, so we can release 1.2121:32
wallyworld_sinzui: did we want to publish to juju/tools/released/streams/v2 to start with21:32
wallyworld_if we are changing the path anyway to get 1.21 out21:33
sinzuiwallyworld_, CI 's release process is not arbitrary. Every version we test has 5 streams published. I need to think about how we find packages, makes tools, store them temorariiy or permanently, then ensure syncing only does was we intend, particuarly when my computer, CI and streams need to stay in sync21:33
wallyworld_yep. i'm just trying to ensure we have common agreement on what juju needs to do first up to unblock 1.21 so i can have things ready when needed21:34
sinzuiwallyworld_, I do like your <tag> suggestion. I never liked the sibling /testing/ we use and I need /proposed/ too21:35
wallyworld_i don't plan aon landing anything until all the pieces are lined up21:35
wallyworld_ok, i'll make sure juju, when required to, can be flipped to get tools from juju/tools/released/streams/v2 to start with21:36
sinzuiwallyworld_, If we publish separate streams, or ones with tags, we don't need v221:37
wallyworld_that is true21:37
voidspaceniemeyer:21:37
voidspaceniemeyer: ping21:37
sinzuiwallyworld_, I like tags because it sources like a single tree to maintain and sync21:38
wallyworld_sinzui: ok, i'll stick with v1, but with a default "released" tag in the path21:38
wallyworld_agreed21:38
wallyworld_sinzui: it also aligns with how image metadata is sourced21:38
wallyworld_there's already an image-stream setting21:39
wallyworld_we'll have a tools-stream also i imagine21:39
niemeyervoidspace: Hey21:39
voidspaceniemeyer: hey21:39
voidspaceniemeyer: so when I log the address and have a successful run21:39
voidspaceniemeyer: I see a bunch of failures due to the ipv6 addresses21:39
voidspaceniemeyer: but a single address "localhost:port"21:39
voidspaceniemeyer: possibly the root server21:39
voidspaceniemeyer: and as that can be contacted successfully it passes21:40
sinzuiwallyworld_, abentley reviews my "proposed" branch and pointed out that I failed to take into account diverging sets of tools for releases, proposed, and testing.21:40
voidspaceniemeyer: why we sometimes *don't* see that I don't know - it hasn't failed in the last few runs21:40
niemeyervoidspace: Ok, so the question remains21:41
wallyworld_sinzui: i'm not sure i follow - do you have a quick example?21:41
voidspaceniemeyer: yeah, I'm digging in a bit - I have a talk to work on too so I may have to continue tomorrow21:42
sinzuiwallyworld_, when we choose to assemble tools, we need to know its purpose to put it in the right place. The idea of proposed is that it will contain everything we intend to publish to released, which includes things we wont release because of defects21:43
niemeyervoidspace: No problem21:43
niemeyervoidspace: The described problem needs to be fixed no matter what21:43
sinzuiwallyworld_, a devel might only contain last stable and recent devel releases21:43
voidspaceniemeyer: it's worrying if it fails because sometimes that *one* server is really unreachable21:44
voidspaceniemeyer: and we have unexplained unreachable servers21:44
voidspaceso it's worth pursuing I think21:44
sinzuiwallyworld_, so the official "released" tools will be different from proposed, by some percentage, and if we do a devel set of streams, it will be very divergent21:45
niemeyervoidspace: Right exactly21:45
wallyworld_sinzui: yes, there will be different metadata for each <tag>. all the tools tarballs could be in the one path, pointed to by different metadata21:45
sinzuiwallyworld_, testing streams will continue to be released plus the version we are testing21:45
niemeyervoidspace: It's worth debugging not because that one bug isn't a bug.. it definitely is and must be fixed. It's worth debugging because there might be a _different_ issue.21:45
voidspaceniemeyer: agreed21:46
sinzuiwallyworld_, okay, but how does "juju metadata generate-tools" know which are proposed, released, devel, testing, when they are ail in the same path (is you mean tools/releases)21:46
sinzuiwallyworld_, the release scripts are making tools, and placing the historic of the tools into a directory, and running the metadata command, not it needs to do thos for many directories, or maybe you mean juju will know about each purpose and make the metadata for all of them21:48
=== jheroux is now known as jheroux_away
sinzuiwallyworld_, the simplest change is to not change juju, only we...Juju QA/Canonical...need specialised streams21:49
sinzuiwallyworld_, Juju can do nothing, and the assemble-public-tools learns about purpose to make a tree with several streams21:50
sinzuiwallyworld_, publish-public-tools needs to change, but maybe it can be simplified to sync all streams instead of one.21:51
=== sebas538_ is now known as sebas5384
sinzuiwallyworld_, I would prefer Juju devel to know exactly where to pickup streams rather than me telling me people to set tools-metadata-url. But I will always need to do that with proposed streams because the client/tools will be copied to released. Devel knows it is devel so we can make to look in  /devel/tools/ or tools/devel/. For users to test upgrades from stable, they need to set tools-metadata-url anyway.22:26
davecheneywaigani: menn0 email standup today ?22:55
menn0davecheney, waigani: I'm happy to22:55
waiganidavecheney: yep22:55
davecheneykk22:55
davecheneyLOG] 0:00.467 INFO juju.apiserver [79] user-admin@local API connection terminated after 180.030205ms23:08
davecheney[LOG] 0:00.468 INFO juju.apiserver [7A] unit-wordpress-0 API connection terminated after 35.127121ms23:08
davecheneyi like this way this looks23:08
menn0davecheney: looks good to me too23:17
menn0davecheney: can you do a meta-review of https://github.com/juju/juju/pull/738 pls23:19
menn0davecheney: thanks for the review23:33

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