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

ericsnowwallyworld_: thanks for the review on http://reviews.vapour.ws/r/549/ (I finally got around to responding)00:20
wallyworld_sure, i'll go look00:20
ericsnowwallyworld_: thanks00:24
axwwallyworld_: thanks for doing the backport - was about to do that00:54
wallyworld_axw: np, i got blocked on something else so thought i may as well00:54
wallyworld_ericsnow: what's happening with the current CI blocker?01:12
ericsnowwallyworld_: sinzui was going to add a 5 minute sleep before running backup in the script (or something like that)01:13
wallyworld_ok, thanks01:13
wallyworld_i guess we still added the wait for ha?01:13
ericsnowwallyworld_: I don't know what's going to happen with that blocker bug01:13
ericsnowwallyworld_: voidspace's patch did not go in01:14
wallyworld_oh ok01:14
wallyworld_was it rejected?01:14
ericsnowwallyworld_: incidentally, that failing test passed at least once today, so we must be relatively close on when HA is becoming ready01:14
wallyworld_mongo sorta sucks that it seems to lie to us about if it is ready01:15
ericsnowwallyworld_: yep01:15
ericsnowwallyworld_: that's the gist of the current blocker bug, if I understand correctly01:16
wallyworld_we need to find a solution01:16
ericsnownate was talking about getting in touch with the mongo folks (I'll follow up tomorrow)01:16
ericsnowsounds like he has had some contact with them before about replica set stuff01:17
ericsnowwallyworld_: on that upload patch are you okay with me leaving the cmd tests as is (they do mock out the API client)01:19
wallyworld_yep01:19
ericsnowk01:19
axwwallyworld_: can't hear you anymore...02:17
=== kadams54 is now known as kadams54-away
thumperaxw: FWIW, I was mostly joking about exa, yotta and zeta bytes...02:54
wallyworld_thumper: 640k is enough for anybody02:56
axwthumper: heh :)02:56
thumperfor sure02:56
axwthumper: doesn't really hurt02:57
axwif someone tries it, it's likely to fail for the foreseeable future, but... may as well do the 10 minute job now and forget about it02:57
axwwallyworld_: sent out the email. I've got a workshop to go to at the school, heading off in a few02:58
wallyworld_axw: sure, tyvm02:58
=== linstatsdr_ is now known as LinstatSDR
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
huwshimihatch: Ugh, now I have to mock classList.remove and classList.add because we don't have a dom to work with :(05:09
hatchhuwshimi: wrong channel? :)05:10
huwshimierm05:10
bodie_watching the first end-to-end run of an Action right now :)08:41
bodie_if anyone would like to play with / break it, we have a branch available at under "actions" https://github.com/juju-actions/juju/08:44
bodie_landing a commit in a moment that should make "do", "fetch", and "defined" functional, along with the charm-side stuff08:44
bodie_also some good content in the wiki at that fork08:48
dimiternbodie_, sweet \o/ I'll give it a try later today08:58
bodie_dimitern, awesome :) there's a Phoronix testing suite charm we have linked in our wiki, but marcoceppi knows more about how to use it08:59
dimiternbodie_, cool, thanks - I'll give you a shout if something is unclear :)08:59
bodie_dimitern, great, and feel free to open issues if you manage to break something09:17
dimiternbodie_, sure, no worries09:17
voidspaceericsnow: ping09:55
dimiternvoidspace, jam1, standup?10:01
voidspacedimitern: ok10:01
voidspacedimitern: jam1 will be off won't he10:02
dimiternvoidspace, ah, it's friday - yeah10:02
voidspaceTheMue: stdup?10:02
perrito666morning10:15
voidspaceperrito666: o/10:18
dimiternjamespage, ping10:33
dimiternjamespage, hey, a friendly reminder to send me that mail with request-address/interface use cases when you have time please :)10:34
jamespageon my list for today10:34
dimiternjamespage, thanks!10:34
perrito666how is the blocking status on CI?12:48
rick_h_heh, surprised no one's written an irc bot yet :) !ci-status12:48
* perrito666 goes figure out if he is hearing gunshots or fireworks brb12:52
perrito666back13:00
voidspaceericsnow: ping13:42
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
dimiternvoidspace, are you working on bug 1399277 as well?14:33
mupBug #1399277: ensure-availability is not reliable <ci> <ha> <regression> <juju-core:In Progress> <https://launchpad.net/bugs/1399277>14:33
voidspacedimitern: yes14:34
voidspacedimitern: we hope this branch is the fix http://reviews.vapour.ws/r/583/14:34
voidspacedimitern: but it needs a review14:35
voidspacedimitern: and I'm not convinced it's sufficient but it will definitely help14:35
voidspacedimitern: I got a "ShipIt" but I added a change to go from "all healthy" to "majority healthy" which needs review14:35
voidspacedimitern: and as this changes ericsnow's code I'd really like him to see it before I merge it14:35
dimiternvoidspace, ok, I'll have a look14:37
voidspacedimitern: PickNewAddress is done bar the tests, it's quite a funky little algorithm14:44
voidspacedimitern: several possible places for fence post errors, so needs careful checking14:45
dimiternvoidspace, great!14:46
dimiternvoidspace, you have a review btw14:46
dimiternvoidspace, eww... my first comment got awkwardly formatted14:47
voidspacedimitern: I understand14:47
voidspacedimitern: and I don't know a better way than string comparison14:47
voidspacedimitern: I agree it's icky14:47
voidspacedimitern: suggestions welcomedc14:47
voidspace*welcomed14:47
voidspacedimitern: ericsnow has another PR that does the same thing but hides it in a function - I think I'll just merge that14:48
dimiternvoidspace, this is an error coming from mgo, right?14:48
voidspacedimitern: right14:49
sinzuivoidspace, I have also added a 5m sleep after status reports all machines has-vote. that change did improve the pass rate.14:50
voidspacesinzui: cool14:50
voidspacesinzui: only "improve", or "fixes the problem"?14:50
voidspaceshame to add five minutes to the run time14:50
sinzuiimproved14:50
voidspace:-/14:50
sinzuia automatic retest passed. So we passed slowly14:51
voidspaceif a five minute sleep doesn't solve this problem then a half hour sleep wouldn't - there's some other issue14:51
voidspacethat at least is progress14:51
sinzuidimitern, how goes your work with bug 139737614:52
mupBug #1397376: maas provider: 1.21b3 removes ip from api-endpoints <api> <cloud-installer> <fallout> <landscape> <maas-provider> <juju-core:In Progress by dimitern> <juju-core 1.21:In Progress by dimitern> <https://launchpad.net/bugs/1397376>14:52
dimiternsinzui, I'm about to propose a fix for 1.22, just fixing a final test14:54
sinzui\o/14:54
dimiternsinzui, it took a lot of time to ensure I don't break something; live tested on maas, local, canonistack, ec214:54
sinzuiunderstood14:55
dimiternvoidspace, ah, too bad then - go with string comparison :)14:55
ericsnowvoidspace: o/14:59
voidspaceericsnow: hey, hi15:32
voidspaceericsnow: I made a change to IsReady15:32
voidspaceericsnow: I'd like your agreement before I merge15:33
voidspaceericsnow: http://reviews.vapour.ws/r/583/15:33
ericsnowvoidspace: k15:33
* ericsnow takes a look15:33
voidspaceericsnow: with the current implementation, if one state server in an HA environment goes down15:33
voidspaceericsnow: and *then* the user tries to backup15:33
voidspaceericsnow: IsReady will always report false and they can't backup15:33
voidspaceericsnow: so I changed IsReady to check for majority healthy rather than all healthy15:33
voidspaceericsnow: (majority healthy is the requirement a mongo replicaset has to be functioning)15:34
perrito666mm, tests dont like to be ctrl+z15:43
natefinchvoidspace: why are we using health at all?    It's not at all clear what "up" means..... plus, there's a bug in the logic, because the member you're getting the status from always excludes its own value for health, so it'll default to false.15:43
natefinchvoidspace: there's member status which seems much more detailed about what each state actually means.15:43
alexisbericsnow, voidspace ping15:45
voidspacealexisb: pong15:45
ericsnowalexisb: hey15:45
alexisbhey guys, do you guys know where the April PyCon is going to be held?15:46
voidspacenatefinch: interesting, that doesn't seem to happen in practise15:46
alexisbie what location15:46
voidspacenatefinch: so I think your're wrong about defaulting to false15:46
ericsnowalexisb: montreal15:46
voidspacealexisb: montreal15:46
alexisbok thanls15:46
alexisbthanks15:46
voidspacealexisb: the proposed sprint date clashes with the pycon sprints15:46
voidspacealexisb: or is that deliberate?15:46
alexisbyep that is what I am working on15:46
voidspacealexisb: cool15:46
voidspacenatefinch: if you were right, the current implementation would *always* return false15:47
voidspacenatefinch: so backup could *never* work - which isn't what we're seeing15:47
ericsnowsinzui, voidspace: the current failure (connection refused) with the HA backup CI test may not be HA-related15:52
ericsnowsinzui, voidspace: see http://reviews.vapour.ws/r/590/15:52
ericsnowso, an API client is only good for a single request (and then disconnects)?15:53
ericsnowanyone ^15:53
voidspacealexisb: I have a talk and poster session on juju submitted to pycon15:54
voidspacealexisb: no idea if either has been (or will be) accepted yet15:54
alexisbvoidspace, awesome15:54
sinzuiericsnow, I don't know, but I have hope that the 5m sleep gives juju a moment to gather its wits15:54
voidspacehehe15:54
ericsnowsinzui: I think it helped15:54
voidspaceericsnow: I'm merging  your PR with the better error checking for IsReady with mine15:54
voidspacejust running tests15:55
natefinchvoidspace: hmm that;s true.  Weird. I wonder why it doesn't work that way... since the docs definitely say the value doesn't exist for the member you get status from, and therefore the bool should default to false15:55
sinzuiericsnow, agreed, the test is still retried, but at least its odds of success are better15:55
ericsnowvoidspace: I don't think we need to switch to WaitUntilReady to fix the current failures15:56
voidspacenatefinch: my defence is that *that* code (in juju) pre-exists my PR which just waits for it15:56
natefinchvoidspace: http://docs.mongodb.org/v2.4/reference/command/replSetGetStatus/15:56
ericsnowvoidspace: though the fix to IsReady stands on its own15:56
voidspaceericsnow: I think it's an improvement and we *definitely* need to move to checking for majority healthy rather than all15:56
natefinchvoidspace: oh yeah, totally... I just wondered if you knew why it was there.  I guess I should ask git who to ask15:56
voidspaceericsnow: otherwise if one state server goes down you can't backup!15:56
voidspacenatefinch: it's ericsnow :-)15:56
voidspacenatefinch: I did look in detail at the CurrentConfig and CurrentStatus meanings, but it was a little while ago now15:57
ericsnownatefinch: I just did what we were doing elsewhere in juju15:57
voidspacemaybe mgo does helpful magic for us15:57
ericsnownatefinch: actually, the code I added just calls other code that predates mine15:58
ericsnownatefinch: that code is what does the check IIRC15:58
voidspacenatefinch: in that doc I see "self" included in members with meaningful data15:58
voidspacei.e. health and state15:58
voidspacewith "self": true15:58
ericsnowperrito666: here's that fix to try out: http://reviews.vapour.ws/r/590/15:59
perrito666ericsnow: going15:59
voidspacenatefinch: "The members field holds an array that contains a document for every member in the replica set."15:59
voidspacenatefinch: what are you reading?15:59
natefinchvoidspace: replSetGetStatus.members.health16:00
natefinchThe health value is only present for the other members of the replica set (i.e. not the member that returns rs.status.) This field conveys if the member is up (i.e. 1) or down (i.e. 0.)16:00
voidspacenatefinch: hah, ah right16:00
voidspacenatefinch: indeed, I concur with your reading16:01
perrito666ericsnow: you will need a bit of patience, this test takes a bit to run16:01
voidspacenatefinch: so we should be checking for Member.self and assuming health: 1 for that member16:01
voidspaceelse you couldn't connect to it16:01
ericsnowperrito666: I figured as much16:01
ericsnowperrito666: thanks16:01
voidspacebut looks like we don't need to in practise16:01
voidspacenatefinch: ah, but see the MemberStatus struct16:02
voidspacenatefinch: and specifically the Healthy field16:02
voidspace                                    16:02
voidspace        // Healthy reports whether the member is up. It is true for the16:02
voidspace        // member that the request was made to.16:02
voidspacenatefinch: so we specifically don't need to do that16:02
voidspaceericsnow: so this is my latest version: http://reviews.vapour.ws/r/583/diff/#16:03
voidspaceericsnow: my feeling is that it's only an improvement16:03
voidspaceericsnow: and so we should merge16:03
natefinchvoidspace: yeah, but I wrote that, and the code does not seem to back it up (assuming the docs on mongodb are more likely to be accurate than my code comments)16:04
voidspacenatefinch: yet it seems to be true in practise16:04
ericsnowvoidspace: agreed16:05
voidspaceericsnow: I'm going to hit merge then, we'll see if it helps16:05
ericsnowvoidspace: thanks for doing that16:05
voidspaceericsnow: we'll see...16:06
voidspaceI need a break, biab16:06
ericsnowdoes anyone know if an API client is only good for a single request (and then disconnects)?16:08
perrito666sinzui: mgz_ abentley "ImportError: No module named boto" <-- what is boto?16:09
sinzuiperrito666, it is a python lib for talking to aws16:09
sinzuiperrito666, sudo apt-get install boto16:10
ericsnowvoidspace: BTW, the "connection refused" condition for isConnectionNotAvailable should probably be dropped16:10
perrito666sinzui: oh ok, I though it was some internal module from ci16:10
sinzuiperrito666, sudo apt-get install python-boto16:10
ericsnowvoidspace: that message came from the API, not from mongo16:10
ericsnowcmars: could I get a review on http://reviews.vapour.ws/r/590/? (you're OCR, right?)16:12
ericsnowcmars: if I understood right, it should help unblock CI16:12
cmarsericsnow, yep, i'll take a look, was just reading 58316:12
mgz_perrito666: what sinzui said, but I think it's python-boto16:12
perrito666mgz_: it is16:12
ericsnowcmars: ta16:12
cmarsericsnow, ok, awesome. i know nothing about HA & replica sets, so i'll probably have lots of stupid questions16:12
ericsnowcmars: well, my patch is unrelated to HA :)16:13
cmarsericsnow, even better :)16:13
ericsnowcmars: and it's small16:13
cmarsericsnow, why can't you use an API client for more than a single request?16:16
ericsnowcmars: I haven't gotten any answer on that yet :P16:16
ericsnowcmars: I find it surprising if true (which is what perrito666 explained to me recently)16:17
cmarsericsnow, hmm. let me look a bit at NewAPIClient just to see if this mostly harmless. would i be likely to see any difference in tests passing in my dev env with vs without this patch?16:17
ericsnowcmars: in the interest of getting CI unblocked I figured I'd take the chance that the patch helped (since it doesn't hurt)16:18
* cmars wishes CI could test PR branches for these kinds of experiments16:18
cmarsbut i don't want to be terribly difficult either16:18
ericsnowcmars: no worries16:19
mgz_cmars: it's doable16:19
cmarslet me look over that api client just a few minutes & I'll let you know.16:19
ericsnowcmars: I definitely want an answer to the API client question either way :)16:19
ericsnowcmars: thanks16:19
ericsnowmgz_: that would be awesome16:20
cmarsmgz_, thanks. is it difficult?16:20
ericsnowmgz_: from what perrito666 told me, it's a pain setting things up to run CI tests yourself16:20
mgz_ericsnow: it not super fun, the other option is we can send alternative branches through16:26
cmarsmgz_, wasn't trying to be difficult, i was thinking of the github pull request jenkins plugin. i think it'd be able to pull something like this off (though maybe it is tricky to fit into the existing setup?)16:28
mgz_cmars: sure but if you're talking about actual ci runs rather than just the gating, that's too much to do on every push to a proposed branch16:29
cmarsmgz_, ah, that's true, it'd have to be a targeted approach and maybe that's where it falls down16:29
ericsnownatefinch: on second thought, using member.Healthy in IsReady is strictly my fault16:30
ericsnownatefinch: I made the decision based on the doc comments in MemberStatus16:31
ericsnownatefinch: so I'm sure it could stand improvement :)16:31
ericsnowmgz_: for Python core development the CI is set up to allow running against a branch on a dev repo on request16:33
ericsnowmgz_: that works well16:33
cmarsericsnow, is the backups httpClient reusing the API websocket http connection to upload and download files?16:35
ericsnowcmars: nope16:35
perrito666mgz_: hit this before? http://pastebin.ubuntu.com/9384377/16:35
cmarsericsnow, where does it get its httpClient initialized?16:36
mgz_perrito666: got your ec2 creds soruced?16:36
ericsnowcmars: pretty sure its api/http.go16:36
perrito666mgz_: nope, I dont recall being required before, though it makes sense16:36
cmarsericsnow, ah, ok thanks16:36
perrito666cmars: ericsnow if you can find out why cient fails to being re-used you get each a beer on me next sprint16:37
mgz_perrito666: you can also have the ccred sin the environment.yaml name you pass16:37
ericsnowcmars: that code follows the precedent of charm download and tools upload16:37
perrito666mgz_: I am passing:  WORKSPACE=$(pwd) ./assess_recovery.py --ha-backup /home/hduran/gocode/bin  perritoec216:37
perrito666perritoec2 being my ec2 env16:38
mgz_perrito666: so, if perritoec2 had the creds, I'd expect that excdeption not to happen16:38
cmarsperrito666, do you see client re-use issues in other facades or just backups?16:38
mgz_I always just source my creds instead of putting them in the yaml16:38
perrito666mgz_: it has them, since it works :p16:38
perrito666cmars: I have not actually tried, but most likely only backups facade16:39
perrito666cmars: i first encountered this error while trying to retry actions waiting for upgrade to finish16:39
ericsnowmgz_, perrito666: ^^^ in the restore patch16:39
ericsnow(http://reviews.vapour.ws/r/298/)16:40
ericsnowperrito666: oh, right (pre-dating restore)16:40
perrito666ericsnow: ?16:40
perrito666ericsnow: I am trying your patch again now16:41
ericsnowperrito666: thanks16:41
cmarsericsnow, LGTM'd it. let's give it a shot16:48
ericsnowcmars: k16:48
ericsnowcmars: opening a bug on the api client re-use thing first16:49
cmarsericsnow, perfect16:50
perrito666ericsnow: we should write a facade call empirical test to make succesful and unsuccesful facade calls and see how the client behaves there16:50
natefinchericsnow> natefinch: I made the decision based on the doc comments in MemberStatus16:56
natefinchericsnow: and that's what you get for basing your implementation on my shoddy documentation ;)16:56
ericsnownatefinch:  :)16:56
ericsnownatefinch: and it was quite late and I was working on unblocking CI so perhaps I wasn't as rigorous for the sake of urgency :)16:57
perrito666ericsnow: well my test run failed for the second time without relation to your patch :p running a third one17:05
ericsnowperrito666: k :(17:05
ericsnownatefinch: want me to open a bug on IsReady?17:07
natefinchericsnow: I don't know for sure that it needs a bug... it's entirely possible that Health is perfectly acceptable and does The Right Thing... I'm just wary of trusting vague docs :)17:09
perrito666:p MayBeReadyOrJustAlways017:10
ericsnownatefinch: well, I'll open a bug just so we make sure we at least look into it :)17:10
ericsnownatefinch: we can easily close it17:10
natefinchericsnow: good point17:10
ericsnownatefinch: https://bugs.launchpad.net/juju-core/+bug/1399730 (feel free to comment on the bug)17:18
mupBug #1399730: replicaset.IsReady should check MemberStatus.State rather than Healthy. <tech-debt> <juju-core:New> <https://launchpad.net/bugs/1399730>17:18
ericsnownatefinch: in fact, feel free to pick up the bug ;)17:19
rogpeppeis there any way from the command line to get juju to print the environment UUID?17:38
ericsnowrogpeppe: the only one I know of is a little indirect: "juju backups create" :)17:41
rogpeppeericsnow: i'm not sure i'm gonna use that one :)17:41
ericsnowrogpeppe: the env UUID in the backup metadata17:41
ericsnowrogpeppe: yeah, I figured :)17:41
rogpeppei guess it might be good as part of juju status17:41
ericsnowrogpeppe: +117:41
rick_h_rogpeppe: does the juju api endpoints command do it?17:42
rogpepperick_h_: i don't think so17:42
rogpepperick_h_: that just prints the api endpoint addresses17:42
rick_h_k17:42
ericsnowsinzui: both my and voidspace's fixes have landed so I'm hopeful for the HA backups CI test result17:43
sinzuirock17:43
ericsnowsinzui: keep in mind that our fixes don't really address the underlying concern we have with knowing for sure that HA is ready17:44
sinzuiericsnow, understood. I hope all our work improve the test's success.17:45
ericsnowsinzui: me too!17:45
sinzuiericsnow, CI found the new commits and has started the tests.17:45
ericsnowsinzui: cool17:45
ericsnowalexisb: we're still on in 10 minutes, no?17:50
alexisbericsnow, yep17:50
ericsnowalexisb: k17:50
=== kadams54 is now known as kadams54-away
perrito666ericsnow: pre-good news, the test passes17:57
ericsnowperrito666: cool17:57
ericsnowperrito666: and it fails without the patch?17:57
perrito666ericsnow: I did not try, but I assumed so18:00
perrito666I am runing the same code as CI18:00
ericsnowperrito666: cool18:00
ericsnowperrito666: CI should be running the test in a little while18:00
perrito666ericsnow: lets hope with the same results18:00
=== kadams54-away is now known as kadams54
cmarsericsnow, just LGTM'd 54918:15
ericsnowcmars: thanks!18:30
alexisbkatco, mind if I take a few minutes to chat with natefinch before we meet?18:30
katcoalexisb: not at all!18:30
LinStatSDRHello All.18:30
katcoalexisb: ty for asking :)18:30
ericsnowcmars: would you mind reviewing a couple more for me (http://reviews.vapour.ws/r/591/ and http://reviews.vapour.ws/r/578/)?18:32
cmarsericsnow, already on 59118:32
ericsnowcmars: http://reviews.vapour.ws/r/557/ too if you feel up to it :)18:32
ericsnowcmars: awesome18:32
ericsnowsinzui: how soon do you think we'll know on the CI results for functional-ha-backup-restore?18:37
sinzuiericsnow, about an hour. We are in the dull period where CI is publishing streams for the cloud-based tests18:38
ericsnowsinzui: k18:38
voidspaceg'night all18:38
voidspacehave a happy weekend18:38
ericsnowvoidspace: thanks for all your help18:39
voidspaceEOW18:39
voidspaceericsnow: see you on monday18:39
ericsnowsinzui: FWIW, perrito666 verified that with my patch the CI test passed on his EC2 instance18:43
sinzuifab18:44
alexisbok katco ready and joing the hangout18:48
ericsnowcmars: thanks for those reviews19:12
=== kadams54 is now known as kadams54-away
ericsnowsinzui: looks like the test made it past the spot where it's been failing :)19:23
cmarsericsnow, fingers crossed :)19:25
ericsnowsinzui: so the test passed and I'm confident that it will pass in re-test19:31
ericsnowsinzui: should that blocker bug be marked as fixed-released or should the CI tag be dropped?19:32
sinzuiericsnow, I am marking it as fix released19:33
ericsnowsinzui: okay, cool19:33
ericsnowsinzui: thanks for all the help19:33
ericsnowsinzui: I think that sleep really helped19:33
katcoalexisb: http://www.pvponline.com/comic/2007/12/06/kringus-risen-part-419:56
alexisblol nice!19:56
katcoalexisb: we call our cat kringus because he likes to get in the tree :)19:56
ericsnowcmars: I'm guessing you got those errors from a header file in the mongo source...20:19
ericsnowcmars: are they exposed in mgo at all?20:20
ericsnowcmars: or are those from errno?20:22
cmarsericsnow, I grepped 'connection' out of the go stdlib :)20:39
cmarsjust for a sample20:39
cmarsericsnow, mgo doesn't have anything specific to connection errors, other than when trying to dial20:39
=== kadams54 is now known as kadams54-away
ericsnowcmars: okay, I'll go with the ones you listed (see http://golang.org/pkg/syscall/ and http://golang.org/src/pkg/syscall/zerrors_linux_amd64.go)20:41
natefinchericsnow: beware using anything from syscall.  It should set off warning bells in your head if you ever import it.  It is explicitly not cross-platform compatible.  Sometimes the methods & types will be the same across platforms, and sometimes they won't be.  We need to at least make sure that everything compiles on all our platforms (by which of course I mean Windows)20:49
ericsnownatefinch: good point20:51
ericsnownatefinch: in this case the errnos are set up for most (all?) platforms go supports, including windows20:52
ericsnownatefinch: the errno constants are all I need20:53
natefinchericsnow: ok, just wanted to make sure.  Syscall always gives me the heebie jeebies :)20:53
ericsnownatefinch: hey, good thinking20:53
=== kadams54-away is now known as kadams54
ericsnowcmars: I've updated http://reviews.vapour.ws/r/591/ with those errnos21:07
ericsnowcmars: do you think you'll have time to look at http://reviews.vapour.ws/r/557/?21:08
ericsnowcmars: it's a large patch, but most of it is mechanical21:08
ericsnowcmars: I tried to break it down helpfully in the description21:09
cmarsericsnow, thanks. yep, i'll take at 557 next21:13
ericsnowcmars: awesome! thanks for grinding through these :)21:14
cmarsericsnow, i don't think i'm qualified to approve 557, sorry21:28
ericsnowcmars: no worries :)21:28
ericsnowcmars: thanks for taking a look21:28
ericsnowcmars: I'll see if I can talk axw into it on Monday :)21:30
natefinchericsnow: I wonder if we shouldn't just put availabilityZone into hardware characteristics21:44
ericsnownatefinch: I considered that but from my cursory introduction to that corner of juju it didn't seem to fit quite right there21:46
ericsnownatefinch: what would be the motivation?21:46
ericsnownatefinch: other than reducing the churn in that patch :)21:46
natefinchericsnow: reducing churn is a noble goal.  But it also just seems like something you might want to pass around with hardware characteristics.21:48
ericsnownatefinch: I suppose, but it still doesn't seem like a good fit IMHO21:50
natefinchericsnow: at least as good a fit as "tags".  AZ can't change for the hardware anymore than the architecture can.  Where the hardware is seems like a valid piece of info about the hardware.21:51
ericsnownatefinch: FWIW, on IRC axw gave me a non-binding LGTM on the approach after a cursory review21:51
natefinchlol21:51
ericsnownatefinch: fair enough21:51
natefinchericsnow: I think it's worth bringing it up to others first... I don't want to muck up other parts of the code if changing HW chars has other specific meaning, but from a pure code point of view, it's a lot better than adding yet another return value to all these functions.21:52
ericsnownatefinch: sounds good21:53
ericsnownatefinch: at once point I believe I had the AZ as stored on the Instance (and expected with an AvailabilityZone method)21:54
ericsnows/expected/exported21:55
natefinchericsnow: I thought of that too... I think HWC is slightly better.. but not 100%21:57
ericsnownatefinch: agreed; instance.Instance is more about stuff that I expect can change21:57
=== kadams54 is now known as kadams54-away
cmarsi'm done. have a good weekend juju people23:10

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