/srv/irclogs.ubuntu.com/2012/12/18/#juju-dev.txt

fwereadedavecheney, pong00:20
davecheneyfwereade: just checking in about that config hook bug00:40
davecheneybut i solved my own problem00:40
fwereadedavecheney, ah cool00:40
fwereadedavecheney, the config hook -- I, er, just remembered python wrong and just kept on reinforcing my own crackfulness :/00:41
davecheneyfwereade: fairy nuf00:41
davecheneyit worked properly for a while00:41
davecheneybut i'll stop blaiming the charmers for breaking the charm00:41
fwereadedavecheney, it did change pretty recently, last few days, and that's the only time I've seen the bug exposed00:51
davecheneyfwereade: was broken for 1.9.401:01
davecheneypossibly not broken for 1.9.301:01
davecheneyfwereade: https://bugs.launchpad.net/juju-core/+bug/1090176/ raised on 14/1201:03
_mup_Bug #1090176: worker/uniter: precise:wordpress charm is unstable <juju-core:New> < https://launchpad.net/bugs/1090176 >01:03
davecheneyholy shit launchpad is being a bitch today01:44
davecheneyEOF after EOF01:44
fwereadedavecheney, thanks, sorry I missed that bug06:58
fwereaderogpeppe, ping07:44
rogpeppefwereade: pung08:04
fwereaderogpeppe, heyhey08:07
rogpeppefwereade: mornin'08:07
fwereaderogpeppe, I am wondering about InitDir and LogDir, and how we should be setting those for principal units such that their subordinates are set up right, but in such a way that we can run sane tests08:09
fwereaderogpeppe, eg currently I can't test actual subordinate deployment without hitting /etc/init08:10
rogpeppefwereade: yeah, i've wondered about this08:10
rogpeppefwereade: python just does it with mocks, presumably08:10
fwereaderogpeppe, the obvious answer is to just make the default InitDir and LogDir in the deployer package accessible, so we can swap them out for tests08:11
fwereaderogpeppe, but I'm not quite sure that's actually the right thing to do08:11
fwereaderogpeppe, a bit too much action-at-a-distance for my tastes08:12
rogpeppefwereade: are you thinking of making them parameters?08:12
fwereaderogpeppe, maybe-probably, but the question that is really vexing is the ultimate source of those values08:13
fwereaderogpeppe, ah, sorry, you mean command line params?08:14
fwereaderogpeppe, because I am still very keen on the idea that we can basically drop all the command-line params except entityName and dataDir08:15
rogpeppefwereade: no, i didn't08:15
rogpeppefwereade: and i'm working on a CL that does that as we speak08:15
fwereaderogpeppe, really? awesomesauce08:16
fwereaderogpeppe, I sketched something similar over the weekend but it's not really primetime-capable yet08:16
fwereaderogpeppe, the code seemed to be leading me towards an agent package with a Conf{DataDir,EntityName} and a bunch of Read/Write methods for state info bits08:18
fwereaderogpeppe, (and also the agenty bits of environ/tools.go, and the upgrader, and possibly openState and runTasks from curent jujud)08:19
rogpeppefwereade: i'm not changing anything other than the way the parameters get to jujud08:19
rogpeppefwereade: but you may be right that that's the way to go08:20
fwereaderogpeppe, ah, interesting, how are you doing bootstrap?08:20
rogpeppefwereade: just plonk the params in files rather than put them on the command line08:20
fwereaderogpeppe, if the above suggestion doesn't immediately turn you off I will probably do a bit more in that direction08:20
fwereaderogpeppe, I was wondering in particular about the paths to those files for bootstrap vs for agents08:20
fwereaderogpeppe, but this is not actually a very interesting thing to ask you08:21
fwereaderogpeppe, I shall await a CL with good cheer08:21
rogpeppefwereade: why should bootstrap be different?08:22
rogpeppefwereade: (perhaps i just haven't encountered the problem yet!)08:22
fwereaderogpeppe, it doesn't have its own directory, but the agents do, that's all08:23
fwereaderogpeppe, putting the files it needs *somewhere* is easy -- putting them in the *right* place seemed a bit trickier08:24
rogpeppefwereade: for the time being, i was keeping the parameters global08:24
rogpeppefwereade: (thinking that we can move towards a per-agent model as a next step - the main thing is getting params off the command line)08:25
fwereaderogpeppe, my only issue there is that you still need per-agent storage for password/oldPassword08:25
fwereaderogpeppe, so I'm not sure whether it's even possible to *completely avoid the issue08:26
rogpeppefwereade: initial-password can still be global08:26
fwereaderogpeppe, so we always set the same initial password for everything? feels like a bit of a step back08:26
fwereaderogpeppe, (but password cannot be, anyway, right?)08:27
rogpeppefwereade: we do currently use the same initial password for all agents started from cloudinit08:28
rogpeppefwereade: and password already uses the entity name specific storage08:28
fwereaderogpeppe, the first bit surprises me -- I'd expect the provisioner to set an initial password for the MA and write that into the cloud-init08:30
fwereaderogpeppe, similarly to what the deployer does before installing the upstart job08:31
rogpeppefwereade: the cloudinit is passed a single StateInfo08:31
rogpeppefwereade: that tells anything in the new instance how to connect to the state.08:32
fwereaderogpeppe, right, and shouldn't that StateInfo have a fresh password, generated by the provisioner and assigned to the machine?08:32
rogpeppefwereade: that it does08:33
rogpeppefwereade: your point being?08:33
fwereaderogpeppe, that I don;t see how a global initial-password can fit in with per-entity initial passwords, because it's perfectly possible that two new entities might come up at the same time and each need their own initial-passwords08:34
fwereaderogpeppe, if we only have one slot to store that in, we have a problem08:35
rogpeppefwereade: ah, one mo. it's not a problem for the provisioner vs MA, but it is a problem for the MA starting the unit agent08:35
fwereaderogpeppe, yeah, indeed08:35
fwereaderogpeppe, sorry, that is my perpetual perspective, I frequently forget that it is different to other peoples'08:36
fwereade's08:36
rogpeppefwereade: in which case, i don't see (at this moment) any particular problem with having bootstrap-state getting the password from the machine agent's dir (or we could have a "bootstrap" entity name if we wanted)08:38
fwereaderogpeppe, a possibility is to keep the command-line args to bootstrap, because that's a one-shot, and we don't need t worry about it being run with stale data08:39
rogpeppefwereade: that is a possibility, yeah. except i'd like to reuse the code that makes the state.Info, but perhaps it's not worth it.08:40
fwereaderogpeppe, I didn't finish it at the w/e but I was coming down on that side of the question08:41
rogpeppefwereade: and bootstrap-state is different too, as it doesn't change the password08:41
fwereaderogpeppe, I thought that was indeed maybe the case but I didn't dig in08:42
rogpeppefwereade: it is the case - that initial password is changed when the first connection arrives08:42
fwereaderogpeppe, ok, cool08:45
fwereaderogpeppe, well, I shall hold off from any fancy agent packages for now08:45
rogpeppefwereade: what else did you see as a possible client for this possible package (other than jujud itself)?08:46
fwereaderogpeppe, when we're deploying, ISTM that it would be nice to construct the appropriate Conf and just WriteAddrs(), WriteCACert(), WriteOldPassword()08:47
rogpeppefwereade: problem is that it doesn't work for cloudinit08:47
rogpeppefwereade: and in the end it's just three file names08:47
fwereaderogpeppe, also WriteTools, I suspect08:48
fwereaderogpeppe, and, honestly, "it's just 3 file names" is not IMO a valid argument for having 2 or 3 copies of the same data08:49
fwereaderogpeppe, I think the bar for data duplication is much higher than that for code duplication08:49
rogpeppefwereade: three path name constants ? :-)08:50
fwereaderogpeppe, one day, agents will have some mechanism by which we can update certs and servers, right?08:51
rogpeppefwereade: yup08:52
fwereaderogpeppe, ok, that's a derail, sorry, I think I have a tighter focus if I can articulate it08:53
fwereaderogpeppe, I feel the burden of proof is on you, to demonstrate the overwhelming advantages of separating the code for reading and writing the same information08:54
fwereaderogpeppe, but I suspect you do not share this perspective08:54
rogpeppefwereade: i tend to factor out only when it becomes useful. currently we read this info in one place only, and write it in two places (but in two different ways)08:55
rogpeppefwereade: so actually factoring out will only add code currently (package overhead)08:55
rogpeppefwereade: but i agree that it will probably be a good thing for the future08:56
fwereaderogpeppe, my own global perspective is that we already have agenty stuff scattered all over jujud, environs, and deployer, and that the overhead of an additional package to collect those things is dwarfed by the current overhead of having to remember how all those bits fit together08:58
fwereaderogpeppe, it's primarily a my-puny-brain argument08:58
rogpeppefwereade: if it really is possible to collect all those things in a nice way, i'm definitely +108:59
fwereaderogpeppe, my problem is basically that I can't see anyone agreeing to review the change if it happens all at once, but that the initial moves to get us into a position where it makes sense are all kinda pointless and inconvenient in isolation09:01
fwereaderogpeppe, probably I should hack the whole thing out in a frenzy, propose -wip, and also propose a bunch of others with links saying "it may look crazy now, but it lets us do this"09:01
fwereaderogpeppe, or maybe I should just be biding my time09:02
fwereaderogpeppe, I believe that the jujud change you are making is a big step in the right direction, and it may be that the landscape will look different once that's in09:02
rogpeppefwereade: leave it for now - this CL i have may go in that kind of direction, we'll see09:02
rogpeppefwereade: i feel that the most important thing is removing the command-line params (because that makes us upgradable) - the rest is internal refactoring09:03
fwereaderogpeppe, yeah, agreed09:03
dimiternrogpeppe: hey, could you take a look please - https://codereview.appspot.com/6940073/09:04
fwereaderogpeppe, incidentally, how would you feel about old-password rather than initial-password? it makes it a little bit clearer that we can get password-changing for free just by renaming password to old-password09:05
fwereaderogpeppe, nbd, just a suggestion09:05
fwereaderogpeppe, aaaanyway, I'll be going for the mocked-dirs approach for InitDir and LogDir09:06
rogpeppefwereade: i hadn't thought about it from that perspective before; let me think a mo09:07
fwereaderogpeppe, with a possible view to one day putting those into whatever state dir you choose for the agent09:07
fwereaderogpeppe, (one request -- please put them in a subdir, like "agent" or "conf" or something, rather than just in the agent dir)09:08
rogpeppefwereade: any particular reason?09:08
fwereaderogpeppe, tidiness :)09:09
* rogpeppe thinks extra directory hierarchies are often more clutter than tidiness :-)09:09
rogpeppefwereade: too many times i've been in situations where everything is buried in small collections of files in too many directories09:10
rogpeppefwereade: what is the agent dir *for* if not to store this kind of info?09:11
fwereaderogpeppe, I guess all the uniter currently has is charm/ and state/, for some reason I thought it was more09:11
fwereaderogpeppe, but then state/ is uncomfortable in the same namespace as things like addrs and ca-cert, I think09:12
rogpeppefwereade: if we were dynamically creating all kinds of different names, i'd agree. but for a few well-known names, i'd prefer them at the top level09:12
rogpeppefwereade: i don't think so09:12
rogpeppefwereade: we have control over that name space09:13
fwereaderogpeppe, I'm not sure about our discipline levels though -- I have certainly been thoughtlessly dumping uniter-specific stuff directly into the agent's directory09:14
fwereaderogpeppe, maybe the answer is that those should be uniter/state and uniter/charm, leaving the "agent" dir to have "agent" things in it09:14
rogpeppefwereade: i dunno. if "state" and "charm" are all there are, i don't see a particular need to have them in their own directory. "uniter.state" and "uniter.charm" might be better if you're worried about collisions.09:15
fwereaderogpeppe, yeah, that's not bad09:16
fwereaderogpeppe, but as you say probably not even necessary09:17
fwereaderogpeppe, anyway, do you agree that exposing deployer.InitDir and .LogDir for tests to mess with is probably the right approach?09:18
fwereaderogpeppe, (for now only)09:19
rogpeppefwereade: sounds reasonable, yeah09:19
fwereaderogpeppe, cool, cheers -- interesting discussion, looking forward to seeing the cmdline params going away09:19
rogpeppefwereade: me too :-)09:19
* fwereade -> breakfast09:24
dimiternrogpeppe: ping09:38
rogpeppedimitern: pong09:39
rogpeppedimitern: am looking at your CL BTW09:40
dimiternrogpeppe: ok, thanks!09:40
fwereade_dimitern, sent a few comments10:37
dimiternfwereade_: thanks!10:37
jammramm: /wave11:00
mrammjam: /wave back11:00
jammramm: do you have mumble installed? We generally chat on mumble.canonical.com11:01
mrammjam: I don't, installing it now11:01
rogpeppedimitern: you've got some comments.11:34
dimiternrogpeppe: cool, ty11:35
rogpeppedimitern: i haven't finished yet, but i thought there's enough for you to be getting on with for the time being11:35
dimiternrogpeppe: yes,  and i have some from william as well, so I'll get on to it11:35
rogpeppedimitern: ping11:42
dimiternrogpeppe: pong11:43
rogpeppedimitern: i'm looking at lines 852 to 873 and wondering what they do that isn't done by lines 874-87611:43
* dimitern looking11:43
dimiternwhich file?11:44
rogpeppedimitern: service_http.go, sorry11:44
dimitern rogpeppe: well, the first part handles the more bizarre urls, while the second part handles the main urls11:45
dimiternrogpeppe: and also because of the trailing slash auto redirection in net/http server11:46
jamwallyworld___: if you're still around, I dug into the openstack code, and it looks like TempURL is a WSGI middleware, which hints that it it something that may or may not be actually installed on a given openstack site11:46
dimiternrogpeppe: *missing trailing slash* actually11:46
jamwallyworld___: so that would be something to check11:47
wallyworld___jam: yes, that agrees with what martin said also11:47
wallyworld___jam: i sent an email to someone who has helped me previously, we'll see what comes of it11:47
rogpeppedimitern: can you give me an example?11:48
dimiternrogpeppe: ok, so I need to handle /v2/tenant-id/servers/<id> but also /v2/tenant-id/servers (no slash at both places), AND also .../ (any url with trailing slash)11:49
jamwallyworld___: right, so it isn't that you need to have an admin set up a temp key for each user, they can do that themselves. But an admin needed to have the whole site have temporary urls enabled.11:49
dimiternrogpeppe: the first one will get handled in the /v2/tenant-id/ part, so I need to catch it and handle it with the second11:49
wallyworld___jam: yes, so we'll see what we are told as to whether it has been setup for canonistack or not11:49
rogpeppedimitern: won't the /v2/tenant-id/servers handler catch all of them?11:50
rogpeppedimitern: sorry, /v2/tenant-id/servers/11:50
dimiternrogpeppe: no, because it's /v2/tenant-id/servers11:51
rogpeppedimitern: well, you'd need a handler for /v2/tenant-id/servers *and* /v2/tenant-id/servers/11:51
dimiternrogpeppe: and if it was ../servers/ it will, but I don't need that, since the API expects no slash anywhere at the end11:51
dimiternrogpeppe: hmm.. I'll try this it may simplify that func11:52
rogpeppedimitern: that's easy enough to check for (you could even have a general handler, wrapping another handler, that forbids a trailing slash)11:52
dimiternrogpeppe: can you give me an example of that?11:53
rogpeppedimitern: ok, one mo11:53
rogpeppedimitern: http://paste.ubuntu.com/1447373/11:58
fwereade_yay: http://paste.ubuntu.com/1447375/11:58
dimiternrogpeppe: ty11:59
rogpeppedimitern: that's a fairly general technique - you can use it for all kinds of things12:00
dimiternrogpeppe: I see, ok, sounds good, will give it a try12:00
rogpeppefwereade_: did the juju charm not work before?12:01
fwereade_rogpeppe, I thought it was a subordinate, and it appears to be acting like one :)12:01
rogpeppedimitern: i recommend going for some of my other suggested changes first BTW - they're pretty much orthogonal to the path handling12:02
fwereade_rogpeppe, however a bunch of the subordinates declare a juju-info interface :/12:02
rogpeppefwereade_: yay!12:02
fwereade_rogpeppe, so I can't work with those12:02
rogpeppefwereade_: hmm, is that not allowed now?12:02
fwereade_rogpeppe, duplicate relations were never allowed, it's a straight-up bug IMO12:03
rogpeppefwereade_: ah yeah12:03
fwereade_sorry a juju-info *relation*12:03
fwereade_rogpeppe, (requiring juju-* interfaces is ok, but not providing them; and hooks and relations can't start with juju-)12:04
fwereade_oh, are we meeting?12:06
rogpeppefwereade_: good question12:10
rogpeppefwereade_: i have some lunch smells coming from downstairs12:10
fwereade_rogpeppe, oh, no, apparently it's an hour away yet12:11
rogpeppefwereade_: cool. mmm scrambled eggs & smoked salmon on bagels. not so healthy but v tasty12:11
=== mohits1 is now known as mohits
jamso I went to: https://plus.google.com/hangouts/_/33acfc2c8af8792568274fa110371db956f9fde7# but so far nobody else has joined. I know I'm still early, but I figured I'd check if I have the right link.12:58
jamIt was part of one of the calendar invites. (though I seem to have 2 invites... ?)12:58
dimiternguys?13:01
jammramm: we see you, but I don't hear you, or you seem to hear me13:03
jamrogpeppe: are you still here this week? ^^13:03
rogpeppejam: i am13:04
rogpeppejam: i'm joining now13:04
jamsounds good13:04
=== otubo1 is now known as otubo
fwereade_wallyworld___, ping14:26
wallyworld___hi14:26
fwereade_wallyworld___, I seem to be seeing duplicate changes in some of your CLs14:27
wallyworld___hmmm. i just lbox proposed them, but there's about 3 branches stacked on each other so perhaps it got confused14:27
fwereade_wallyworld___, for future reference, please ease my puny brain by doing `lbox propose -req lp:some/branch`, and the14:27
fwereade_wallyworld___, yeah, it doesn't autodetect14:27
wallyworld___sorry, i did think i did the -req param but i must have messed it up14:28
wallyworld___too many things on the go14:28
fwereade_wallyworld___, -req only works the first time you propose I'm afraid14:28
wallyworld___i'm also used to just using lp14:28
fwereade_wallyworld___, to fix it I think you need to delete the MP and start again14:29
fwereade_wallyworld___, from my pov don't waste time with that now14:29
wallyworld___oh, so if i lbox propose some futher changes, it doesn't work?14:29
fwereade_wallyworld___, yeah, -req status can't change14:29
wallyworld___i -req i mean?14:29
fwereade_wallyworld___, I think it's a property of the LP MP and LP doesn't let yu change it14:29
wallyworld___lp does handle things correctly14:30
wallyworld___you can change a base branch and the diffs up the line are all ok14:30
wallyworld___i'll just try not to have so much stuff in progress14:30
fwereade_wallyworld___, ha, yeah, that's probably the answer14:31
wallyworld___part of the issue is the need to land stuff in lock step14:31
fwereade_wallyworld___, fwiw LP doesn't seem to know that https://codereview.appspot.com/6923056/ and https://codereview.appspot.com/6929055/ share content either14:31
wallyworld___lp only knw about its own diffs, not codereview14:32
fwereade_wallyworld___, I *think* lockstep package ugliness is orthogonal to this14:32
wallyworld___what i mean is i have to delay goose stuff till jujucore is +1, and visa versa14:32
fwereade_wallyworld___, yeah, but LP is claiming a 600-odd-line diff for each of those, and they definitely share content14:32
wallyworld___ah ok. that implies i forgot the -req sadly14:33
fwereade_wallyworld___, meh, it happens :)14:33
rogpeppeboiler man has just come. will be afk for a little14:34
wallyworld___plus today go get ate my homework, so when i pushed stuff after that it may have screwed up also14:34
fwereade_wallyworld___, you have a review on https://codereview.appspot.com/6923056/ which may cover some others too, I will try to figure it out14:34
fwereade_wallyworld___, haha, ouch, that's happened to me too :)14:34
wallyworld___i really hate go's lack of proper dependency versioning14:34
wallyworld___thanks for wading through all my crap though14:35
wallyworld___i owe you a beer14:35
fwereade_wallyworld___, np at all, but I may take you up on that all the same ;p14:35
wallyworld___ok, for sure14:35
wallyworld___right now, i just want to land them all to clear my plate :-)14:36
fwereade_wallyworld___, if the bits I've said look good are actually originally from a different branch, feel free to assume their little micro-LGTMs apply14:36
fwereade_wallyworld___, the only blocker there is the "local" test14:36
wallyworld___ok, i'll look at the email, which local test?14:37
fwereade_wallyworld___, https://codereview.appspot.com/6923056/patch/6001/300614:37
fwereade_wallyworld___, or rather https://codereview.appspot.com/6923056/diff/6001/environs/openstack/local_test.go14:38
fwereade_wallyworld___, which lets you see my actual comments14:38
wallyworld___the was alsoi *think* i just copied the ec2 stuff for that14:38
wallyworld___bah14:39
wallyworld___ignore the first bit of garbage above14:39
fwereade_wallyworld___, (I did mean to fix those tests when I noticed them but... y'know how it is :))14:41
wallyworld___np, i'll fix the openstack stuff tomorrow14:41
wallyworld___fwereade_: i'm off to bed now (well after midnight here), thanks for reviewing, have a good break if i don't "see" you again before you go14:44
fwereade_wallyworld___, cheers, sleep well -- sorry to keep you up14:44
fwereade_wallyworld___, and happy holidays :)14:44
wallyworld___np, i was awake anyway, too much to do14:44
fwereade_rogpeppe, btw, https://codereview.appspot.com/6944058/ has been addressed I think15:04
fwereade_and, jam or dimitern (or anyone else on?) I would *really* like to get https://codereview.appspot.com/6946071/ merged before I finish today and want for but one LGTM15:05
dimiternfwereade_: ok, looking15:05
fwereade_dimitern, awesome15:05
fwereade_dimitern, if you're new to the uniter you may have questions, ask away as you encounter them15:06
dimiternfwereade_: sure15:06
dimiternfwereade_: so basically, instead of reading the state in a few places, you read it once?15:09
fwereade_dimitern, that is one of the important bits, yes15:09
fwereade_dimitern, the rough chain is:15:10
dimiternfwereade_: i didn't see what happened to the ModeStart though15:10
fwereade_dimitern, keep a local copy of state, because:15:10
fwereade_dimitern, I need to write my started state, and don't have any other easy way of inferring what it should be, and I don't want to have to read state every time I write it15:11
fwereade_dimitern, because: I now need to keep track of whether I've run the start hook15:11
dimiternfwereade_: yeah15:11
dimiternok15:11
fwereade_dimitern, because: I can no longer assume that we've already started when we run config-changed, and the correct action at that point depends on whether we've started15:12
dimiternfwereade_: I see15:12
dimiternfwereade_: I'm looking at that exactly15:13
fwereade_dimitern, I don;t think there ever was a ModeStart -- there's a ModeStarting, which no longer needs to set unit status because ModeConfigChanged will have already done it15:13
fwereade_dimitern, and then there's the mode that runs "normally" which is ModeAbide15:14
dimiternfwereade_: yeah, ModeStarting15:14
dimiternfwereade_: LGTM15:14
dimiternit's actually not hard to follow15:15
dimitern:)15:15
fwereade_dimitern, awesome :D15:15
fwereade_dimitern, tyvm15:15
fwereade__rogpeppe, heh, deployer tests will be much easier once you've killed the cmdline params too15:37
* fwereade__ finds something else to do15:37
rogpeppefwereade__: ping17:12
fwereade__rogpeppe, pong17:12
rogpeppefwereade__: what do you think of storing the server cert and key inside mongodb?17:12
rogpeppefwereade__: so the only time we need to store them in a file is for mongodb itself17:13
fwereade__rogpeppe, not sure what the benefit is17:13
fwereade__rogpeppe, we need the cert to connect in the first place though17:13
rogpeppefwereade__: no, we never need the server cert to connect17:14
rogpeppefwereade__: it's for the server only17:14
fwereade__rogpeppe, ah, sorry, wrong cert -- and, um, actually not sure at all17:15
rogpeppefwereade__: currently the server cert and key gets passed in cloudinit, but with the api server being a task/worker of the machine agent, we don't necessarily know whether we want to do that when we create the cloudinit script17:15
fwereade__rogpeppe, ah, ok, this makes sense17:15
fwereade__rogpeppe, yeah17:15
rogpeppefwereade__: storing them in mongodb means that anyone with access to mongodb can act as a state server, which seems reasonable17:16
fwereade__rogpeppe, I am generally -1 on storing anything outside state tbh17:16
fwereade__rogpeppe, I think I'm firmly +1 on keeping them in mongo17:16
rogpeppefwereade__: ha, we can even store the mongodb passwords inside mongo, i think17:16
rogpeppefwereade__: and i think that might be necessary17:17
fwereade__rogpeppe, yeah -- long-term they'll be API passwords, not mongodb passwords, right?17:17
rogpeppefwereade__: no, we will need a mongodb password too17:17
rogpeppefwereade__: otherwise anyone could get access to the mongodb17:17
fwereade__rogpeppe, for each agent?17:18
rogpeppefwereade__: and bypass the api17:18
rogpeppefwereade__: i dunno. probably not. maybe just one password17:18
fwereade__rogpeppe, that sounds more like it to me, but I may be missing something17:18
rogpeppefwereade__: but we'll still need some way of communicating that password to new machines that we might wish to become api servers.17:19
rogpeppefwereade__: and i think the solution is simply to make it available through the API17:19
rogpeppefwereade__: (only to sufficiently deserving entities, of course)17:19
fwereade__rogpeppe, yep, I'm convinced17:20
fwereade__rogpeppe, probably one password per deserving entity, I guess17:20
rogpeppefwereade__: maybe, i dunno17:20
rogpeppefwereade__: probably, as that's exactly what we do now17:21
rogpeppefwereade__: depends if mongodb provides some kind of log of stuff any particular user has done17:21
rogpeppefwereade__: if not, there's probably no point17:21
fwereade__rogpeppe, all will no doubt become clear in the fullness of time :)17:22
rogpeppefwereade__: only problem is i can't store the server cert and key in the state currently, because everyone has access to it.17:22
rogpeppefwereade__: gotta go, haven't got it working yet, sorry.18:12
rogpeppeg'night all18:13
hazmatanybody around?20:36
hazmatjust trying to verify go 1.0.2 is the one with the http client regression20:36
hazmatcause its also the distro version for golang in quantal i believe..20:39
arosalesdavecheney: Hello22:01
arosalesfwereade_:  you guys having a G+ hangout?22:03
davecheneyarosales: doubt it22:05
davecheneyisn't mark on medical leave ?22:05
arosaleshe is, but he asked I kick a G+ off if folks were interested in having one.22:05
arosalesdavecheney: just saw you and fwereade_ in channel though  . . .22:05
davecheneywilliam is _supposed_ to be on leave22:06
arosales:-)22:06
arosalesdavecheney: so its just you huh22:06
arosalesat this time anyways22:06
fwereade_arosales, davecheney: I, er, sort of am -- I'm just writing documentations, which hardly counts as work ;p22:06
davecheneyarosales: two secs, changing computers22:06
fwereade_arosales, davecheney: but no, I don;t really fancy a call ;)22:06
arosalesfwereade_: hey thats my whole job ;-)22:06
arosaleslol22:06
fwereade_arosales, it was perhaps hard to detect the irony dripping from my voice22:07
fwereade_or not ;)22:07
arosalesfwereade_: ah22:07
fwereade_but, y'know, the CL's still open and if I come back to it in 2 weeks it'll be the last thing I want todo22:07
arosalesfwereade_: davecheney: totally up to you guys on a G+. Only if it is useful or you need some one to say hello to :-)22:07
fwereade_arosales, I'm good thanks :)22:08
arosalesfwereade_: I'll let you get back to the all too important work of docs ;-)22:08

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