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

davecheneyupdate github.com/juju/names failed; trying to fetch newer version00:12
davecheneygodeps: cannot update "/home/dfc/src/github.com/juju/names": fatal: reference is not a tree: 4bd61d19a7fce663e2821fe05ddf69f774d444da00:12
davecheneyanother day, another godeps head desk00:12
bradmanyone able to help with a really weird juju deployment issue? juju deployer is barfing out a traceback at me00:51
menn0wallyworld_: is anyone looking at bug 1396981? that's actually the CI blocker, not the other critical one which i've been looking at.00:52
mupBug #1396981: Upgrade fails with tools sha mismatch <ci> <regression> <upgrade-juju> <juju-core:Triaged> <https://launchpad.net/bugs/1396981>00:52
wallyworld_oh, i didn't see that one00:52
menn0bradm: I can try and help00:53
wallyworld_i'll read the bug00:53
wallyworld_bradm: what's the issue00:53
bradmhttps://pastebin.canonical.com/121262/ is the output00:55
bradmbasically doing a juju deploy of ubuntu charm (calling it infra) is failing at the add unit stage, and then every run there after fails with a 'ERROR cannot add service "infra": service already exists'00:56
bradmthis is using maas with physical nodes, so the deploy will take some time00:57
bradmjuju version 1.20.1100:57
bradmany info missing from that?01:00
wallyworld_bradm: that looks like you're using the python deployer, right?01:01
bradmwallyworld_: yup01:02
bradmwallyworld_: this has worked fine on other deployment stacks, fwiw01:02
wallyworld_i've not seen any of that code sadly, it's all been developed outside of core01:02
wallyworld_do you normally get all those errors?01:03
bradmthe charm url or branch?  yeah, thats just the way we've had to get the charms into place01:03
wallyworld_hmm, ik01:03
bradmthere's probably a fix for it, but you know customer deadlines.01:04
wallyworld_it looks like there's a mismatch between the model knowm by the deployer and that of juju01:04
wallyworld_the deployer doesn't seem to know about the service01:04
bradmit kicks off the initial deploy ok, I can see it in juju status01:04
wallyworld_so juju status shows an infra service all deployed ok01:05
bradmnot deployed ok, they're in pending01:05
bradmbut it does eventually return ok01:06
menn0bradm, wallyworld_: could there be a race... where at the time status was checked the service wasn't there yet?01:06
bradmoddly if I use juju-deployer find service thing, it gives me the right info01:06
wallyworld_i think you really need to talk to someobe who wrote the deployer code01:07
wallyworld_we can speculate, but that won't lead to much01:07
bradmprobably :(01:07
wallyworld_was it kapil who wrote it?01:08
bradmhttps://pastebin.canonical.com/121264/ is kind of interesting01:08
bradmthe juju deploy says the service already exists01:08
bradmwhich, well, it does.01:09
wallyworld_so that implies a scripting error01:09
bradmits just in pending01:09
wallyworld_if you want to add the same charm twice, you need to use a different service name'01:09
wallyworld_doesn't matter if it's in pending or not01:09
bradmsure01:10
bradmI have no idea why its trying to do that, though.01:10
bradmand, yeah, pretty sure its kapil who wrote the code01:10
wallyworld_i think it's past his bedtime now01:10
wallyworld_menn0: that critical bug - sadly there's not enough to go on in the bug report - they really needed to attach all the simplestreams metadata files01:11
bradmyeah, I've tried chasing him down before, I don't think I have any overlap01:11
bradmand it being turkey day doesn't help01:11
wallyworld_maybe rick_h_ knows01:11
menn0wallyworld_: so what can we do to unblock CI01:11
wallyworld_menn0: i'm thinking we just need to revert01:12
wallyworld_but that's a very big hammer approach01:12
wallyworld_i just wish they would attach the relevant info to the bug report so we can diagnose properly01:12
wallyworld_on the surface, having 2 different lots of metadata files, old and new, shouldn't matter01:13
rick_h_wallyworld_: maybe rick_h_ knows what?01:14
wallyworld_hey rick01:14
wallyworld_the deployer is acting up and we here on core know nothing about it01:14
bradmits super confusing that I can ask juju deployer to tell me where the servic e is deployed, but a deployment run tries to do a fresh deploy01:15
bradmrick_h_: I'm having issues with juju deployer barfing with https://pastebin.canonical.com/121262/ on the first run, and then every run after complains about https://pastebin.canonical.com/121264/01:16
bradmyet a juju-deployer -f infra tells me the right location (even if it is still pending)01:17
rick_h_bradm: is this specific to this bundle? Or does it do it on any deployment?01:17
rick_h_bradm: have the deployer file you're using?01:17
bradmrick_h_: its specific to this exact deployment of bootstack, we've got multiple other instance that works fine01:17
bradmrick_h_: the full deployer file?  or just the infra bits?01:19
* menn0 goes for lunch01:20
rick_h_bradm: both?01:20
bradmrick_h_: its a bit complex for the full thing, its a HA juju environment with openstack deployed to it01:20
bradmrick_h_: including landscape, ksplice, nagios, etcetc01:20
bradmhttps://pastebin.canonical.com/121265/ is the infra bit, its about as simple as you can get01:21
bradmthe stacks that work have different physical hardware underlying it, but as far as I can tell its the same config.01:26
bradmsame version of juju-core, minor differences in juju-deployer version, so I downreved the one that wasn't working to be the same01:27
rick_h_bradm: yea, so looking the code in the traceback makes sense. What does juju status have? I'm guessing infra isn't in there?01:28
rick_h_bradm: but yea, got nothing sorry. I didn't even realize that the deployer did local charms for the local:ubuntu stuff.01:28
bradmrick_h_: the infra charm is in state pending, since it takes a while to install01:29
bradmthe infra charm is ok now, but I still get the "service already exists" bit01:31
bradmso for some reason, juju-deployer isn't finding the service there, and trying to deploy it01:31
rick_h_bradm: hmm, race condition then? env_status['services'][svc.name] is failing01:32
bradmrick_h_: I think we're hitting two seperate issues - one race condition for the initial deploy, and one bug because it doesn't find the existing service after its deployed.01:32
rick_h_bradm: right, I'm guessing it doesn't finish writing out/dealing with info on the first pass01:33
rick_h_bradm: so the second pass is always going to fail with it in some sort of incomplete state01:33
bradmrick_h_: yeah, it takes a good 5 - 10 minutes or more for the deploy01:33
bradmrick_h_: but surely it should see that the infra service exists, and not try to redeploy it01:33
thumperrick_h_: WTH?01:35
thumperrick_h_: I don't even...01:35
thumperrick_h_: why are you here on thanksgiving?01:35
bradmrick_h_: looking at the code, it means that env_status['services'] isn't in the list of services01:35
thumperbradm: why you do this to him?01:35
bradmer, I mean, infra isn't in that list01:36
rick_h_bradm: right, the best I can do is to offer frankban can look at if you have it running/give him access to the env tomorrow in EU time01:36
thumperwaigani: when you've made the tweak and it is ready for review, ping me01:36
rick_h_thumper: because my wife is watching a stupid movie, sent the family home, and wallyworld mentioned me so got curious01:36
thumperrick_h_: what movie?01:36
bradmrick_h_: its a customer deploy so I don't know about getting access to it, but we can certainly do some debugging if he's around01:36
rick_h_thumper: going to bail out though :) too much wine to debug deployer :)01:36
rick_h_thumper: 22 jump street01:36
thumperrick_h_: this is why I log out of IRC01:36
wallyworld_rick_h_: thank you :-)01:37
thumperyep that is stupid01:37
bradmrick_h_: many thanks for the help :)01:37
waiganithumper: got distracted, I'll do that now01:37
thumperthe only reason I watched it was because I was on a plane01:37
bradmwaigani: and you too, thanks :)01:37
bradmer01:37
bradmwallyworld_ even01:37
rick_h_bradm: yea sorry. The only thing I can think to do is to run the deployer and pdb and check what's in the list of services01:37
bradmstupid tab complete and me not looking closely :)01:37
waiganibradm: welcome ;)01:37
thumperAGHH!!!!01:37
thumperdog just farted01:37
rick_h_bradm: so it'd basically be running it, stepping through it, trying to see wtf it's doing, and debugging the actual data there.01:37
* thumper coughs01:37
waiganilol01:37
bradmrick_h_: no need to be sorry, any help has been useful, even if just show I'm not missing anything obvious01:38
wallyworld_thumper: so i don't know what to do about bug 1396981. there really isn't enough attached to the bug to prove the root cause is the suspected pull request, and tracking it down will take time, but i'm loath to revert without more proof01:42
mupBug #1396981: Upgrade fails with tools sha mismatch <ci> <regression> <upgrade-juju> <juju-core:Triaged> <https://launchpad.net/bugs/1396981>01:42
wallyworld_would you revert anyway?01:42
thumperI've not seen that bug...01:42
wallyworld_it could be a scripting issue in the tests01:43
wallyworld_for example01:43
wallyworld_thumper: so the pr was merged 3 days ago - you've upgraded from 1.20 since then right?01:43
thumperonly with uploading tools01:44
thumperwallyworld_: is the filename inludec in the hash calculation?01:45
thumperif so, it would be a reason01:45
wallyworld_nope01:45
wallyworld_the filename is the json metadata filenakjme01:45
wallyworld_the hash is calculated on the contents of the tools tarball01:45
waiganithumper: extractPortsIdPart is gone but I've left extractPortsIdParts as the openedPortsWatcher uses it to do some funky tansformId() stuff on the doc id: http://reviews.vapour.ws/r/496/01:46
waiganiand the upgrade step uses it01:47
thumperwallyworld_: I'm not sure that reverting the patch would fix the problem01:48
thumperwallyworld_: it should be easy enough to test locally though, no?01:48
wallyworld_i don't think so either01:48
wallyworld_yes, but i'm in the middlw of something, sigh01:48
menn0thumper, wallyworld_: shall I have a go at reproing bug 1396981?02:36
mupBug #1396981: Upgrade fails with tools sha mismatch <ci> <regression> <upgrade-juju> <juju-core:Triaged> <https://launchpad.net/bugs/1396981>02:36
wallyworld_menn0: if you want, i was about to start looking, just finishing up some other work and about to stash02:36
menn0wallyworld_: I don't mind who does it. I just want CI unblocked :)02:37
wallyworld_yeah, sorry. i'll start looking02:37
menn0wallyworld_: kk. I suspect you'll get there faster. Let me know if I can help.02:41
wallyworld_sure, ty02:41
axwwallyworld_: I've possibly been making a mountain out of a molehill with identifying disks. if MAAS creates a physical volume on the disk, then we can create a logical one and that'll get a stable UUID. we would only hand the logical volume off to the charm, so assuming the charm doesn't go OOB and touch the disk itself, it should be fine to use a device name03:18
axwI'll need to think a bit more...03:18
wallyworld_sure03:19
wallyworld_menn0: thumper: I've marked the bug as Incomplete with an explanation, not sure if that unblocks landings or not03:43
menn0wallyworld_: ok. I have something to land so let me try.03:43
wallyworld_you may need a JFDI03:44
wallyworld_if the first try doesn't work03:44
menn0wallyworld_: seems to have worked... the tests are running03:52
wallyworld_\o/03:52
menn0waigani: finally reviewing your statusDoc changes04:17
waiganimenn0: thanks. When you have a moment, can we talk over how to test the allwatcher branch?04:18
menn0waigani: review done. i think you missed one.04:21
waiganimenn0: the update one?04:21
menn0waigani: yeah.04:22
menn0waigani: doesn't it replace the document?04:22
waiganimenn0: that would already have an env-uuid right?04:22
menn0waigani: don't think so. "$set" will replace the existing document with the new one.04:22
menn0waigani: or maybe i'm wrong04:23
* menn0 checks docs04:23
menn0waigani: ignore me. I misunderstood what $set does04:24
* menn0 updates review04:24
waiganimenn0: okay04:24
menn0waigani: chat in standup channel regarding allwatcher04:25
menn0?04:25
waiganimenn0: that would be great04:25
jw4axw: much thanks for the review and comments!05:27
* jw4 goes back to thanksgiving dinner guests05:28
axwjw4: no worries. happy thinksgiving05:32
wallyworld_fwereade_: you free for a question?07:13
=== urulama_ is now known as urulama
fwereade_wallyworld_, sorry, here08:02
dimiternfwereade_, hey08:27
fwereade_dimitern, heyhey08:27
dimiternfwereade_, I didn't get a reply yet from jamespage about the meeting btw08:27
fwereade_dimitern, bah08:27
dimiternfwereade_, you should've got a copy though08:28
dimiternfwereade_, I'll ping him if I see him, or I'll resend it on monday08:29
dimiternfwereade_, do you know if gustavo is taking time off?08:30
fwereade_dimitern, yeah, I think he's off until december08:30
dimiternfwereade_, ah, good - just in time for me to propose a few more goamz MPs :)08:30
fwereade_dimitern, he's been off for a while I think08:31
dimiternyeah, it seems so08:31
mattywmorning all08:54
dimiternmorning mattyw08:56
wallyworld_fwereade_: you free now?09:10
=== liam_ is now known as Guest93453
fwereade_wallyworld_, yeah09:13
fwereade_wallyworld_, sorry, were you out before?09:13
wallyworld_fwereade_: quick chat in our 1:1?09:13
wallyworld_yeah was afk for a bit09:13
perrito666morning09:27
jamespagedimitern, sorry09:29
dimiternjamespage, it's ok, I'm sure you've been pretty busy09:30
jamespagedimitern, book me a slot for today if you like :-)09:31
dimiternjamespage, sure, I'll send an invite09:31
dimiternfwereade_, when is a good time for a chat today?09:32
dimiternvoidspace, since we're the only ones here - a quick standup? :)10:04
voidspacedimitern: omw10:04
voidspacedimitern: https://bugs.launchpad.net/juju-core/+bug/139698110:06
mupBug #1396981: Upgrade fails with tools sha mismatch <ci> <regression> <upgrade-juju> <juju-core:Incomplete by wallyworld> <https://launchpad.net/bugs/1396981>10:06
dimiternvoidspace, lp:~dimitern/goamz/update-aws-api-version-to-latest10:06
dimiternhttps://code.launchpad.net/~dimitern/goamz/modifysubnetattribute/+merge/24312810:07
fwereade_dimitern, oops, sorry, missed that -- I can come anytime basically10:14
* fwereade_ has a naming problem /grrmbl10:15
dimiternfwereade_, jamespage, ok, how about 12 UTC  for 1h?10:15
jamespagedimitern, fine with me - please invite gnuoy as well10:15
fwereade_dimitern, sgtm10:15
dimiternjamespage, fwereade_, ok, I'll send an invite now, thanks10:16
dimiternfwereade_, jamespage, gnuoy, invites sent10:33
gnuoyta10:34
voidspacedimitern: lGTM10:36
voidspacedimitern: ModifySubnetAttribute that is10:36
dimiternvoidspace, thanks!10:36
=== rogpeppe1 is now known as rogpeppe
fwereade_so, my naming problem11:00
fwereade_given that uniter/context is now uniter/runner11:00
fwereade_and context.Factory is now runner.Factory11:01
fwereade_which produces Runners11:01
mgzmy answer is marathon11:01
mgzwhat's the question?11:01
fwereade_things like NewHookRunner still produce Runners11:01
fwereade_which have methods like RunHook, RunAction, RunCommands11:01
fwereade_the factory really ought to be producing things with just a Run method11:02
fwereade_so the obvious name for that is a Runner11:02
fwereade_ie type Runner interface { Run() error }11:02
fwereade_what then do I call the varying11:02
fwereade_oh wait11:02
fwereade_ok, I think we have Runner as defined above11:03
fwereade_but no11:03
fwereade_ok, so the existing Runner type11:04
fwereade_still needs to exist11:04
fwereade_there's enough behaviour shared between hook/action/command running that it shouldn't be broken up11:04
fwereade_but what do I call that internal type?11:04
anastasiamacfwereade_: hurdler?11:05
fwereade_maybe that's `coreRunner` without a Run method, with `hookRunner`, `actionRunner`, `commandRunner`, each of which implement Runner11:05
fwereade_testing it nicely is maybe yucky11:06
mgzthat seems reasonable, from a code sharing perspecitve11:06
mgztesting should just be on those seperate objects, right? so you expose to tests and exercise, the fact they share coreRunner is just an implementation detail no?11:07
fwereade_mgz, mmmmaybe11:08
fwereade_mgz, I will kick it around and see what I can do11:08
fwereade_mgz, anastasiamac, thanks for listening to my ramblings11:08
anastasiamacfwereade_: have fun ;-) my next suggestion was going to br a "racer" but implications r not pleasant. I like ur suggestion beta ;p11:09
fwereade_mgz, the main thing is that I think it'd be nicer to test the various Runner implementations against a mocked-out coreRunner, and keep the coreRunner tests as they are as much as possible11:10
mgzfwereade_: hmmm11:10
fwereade_so I guess I export_test type CoreRunner struct {*coreRunner}11:10
mgzthat's an interesting idea, couldn't do it with just struct containment11:10
fwereade_or something11:10
perrito666today is a holiday in the US right?11:11
fwereade_or maybe I should get my thesaurus out and call the CoreRunner thing an Invoker or something11:11
anastasiamacperrito666: rite11:11
fwereade_not sure that makes anyones lives much easier though11:11
perrito666ok so I am teamless for a day11:11
anastasiamacperrito666: if it's still thusday11:12
anastasiamacperrito666: i belive some ppl ar taking Friday11:12
fwereade_perrito666, you may officially have a team but most of them have probably taken friday too11:12
* perrito666 thinks that the choice of returning from vacations on a friday might not have been the best11:12
anastasiamacperrito666: teamless but not alone;-)11:12
mgzfwereade_: I don't really think new names for different levels of runners would make it clearer :)11:13
fwereade_mgz, indeed11:13
fwereade_mgz, but having the *same* names for two different levels may be *even less* clear11:13
* fwereade_ grumbles to himself a bit11:14
mgzI can think of lots of terrible suggestions :)11:14
fwereade_haha11:15
fwereade_I think I'm going to get a sandwich and see if inspiration strikes11:15
mgzlike the old add-more-er-s one11:15
fwereade_lol11:15
fwereade_but it's *obvious* that an Ererer is a factory for Erers, which are objects allowing one to express uncertainty11:16
mgz:D11:16
Spadsimport ererererest11:16
* fwereade_ twitches11:16
* fwereade_ goes to get bread11:17
anastasiamacfwereade_: do u need to identify "two different levels" as runners? shouldn't only a "coreRunner" b identfied as such and all others [hookRunner-commandRunner] as smth else?11:18
fwereade_anastasiamac, the urge to call the thing with a Run method Runner is strong, though11:19
anastasiamacfwereade_: :-p the same as "executor" for execute?11:20
* fwereade_ looks shamefaced because he has an Executor with a Run method in uniter/operation11:20
fwereade_it was execute for a while11:21
* fwereade_ should s/Operation.Execute/Operation.Run/ and s/Executor.Run/Executor.Execute/, shouldn't he11:21
* fwereade_ sandwich, anyway11:22
anastasiamacfwereade_: was lighthearted ;D no sinister intention behind (m guilty of naming too many executors in past life)11:33
anastasiamacfwereade_: looking at thesaurus for runner/run is amusing ;-)11:33
voidspace:q11:43
voidspacewrong window...11:43
voidspaceanastasiamac: o/11:43
voidspaceanastasiamac: how's life - late for you isn't it?11:43
anastasiamacvoidspace: life is hot and stormy ;-)11:45
voidspaceanastasiamac: just how I like life11:45
anastasiamacvoidspace: m usually online at this hour - kids r asleep: so blissful :D11:45
voidspaceanastasiamac: unfortunately mine is cold and greay11:45
voidspaceanastasiamac: ah, nice :-)11:46
voidspace*grey11:46
anastasiamacvoidspace: yesterday had hail the size of cricket balls in cbd11:46
voidspaceeven more cold than usual as our bathroom window is being replaces11:46
voidspaceanastasiamac: yow11:46
anastasiamacvoidspace: glass shattered - cars, buildings, roofs11:46
voidspaceanastasiamac: cbd?11:46
voidspaceanastasiamac: wow, I bet11:46
anastasiamacvoidspace: central business district11:46
voidspaceah11:47
anastasiamacvoidspace: we were lucky: just lost power11:47
anastasiamacvoidspace: were running essentials on generator11:47
anastasiamacvoidspace: can u believe that internet is not essential in some households?11:47
voidspaceanastasiamac: that makes our village seem tame by comparison11:47
voidspaceanastasiamac: to be fair it is pretty tame11:48
fwereade_anastasiamac, that's crazy talk11:48
voidspaceanastasiamac: very crazy11:48
anastasiamacvoidspace: fwereade_: yes, apparently ppl prefer fridge to router ;p11:48
voidspacetotally bizarre priorities11:48
* perrito666 merges his branch after one week and it still compiles... success11:49
anastasiamacperrito666: \o/11:49
anastasiamacvoidspace: interesting time to replace bathroom window.. isn't it almost winter?11:51
anastasiamacvoidspace: like one day away?11:51
voidspaceanastasiamac: we're renting - and the landlord offered to replace the single glazed wooden one with a double glazed upvc one11:52
voidspaceanastasiamac: we didn't say no :-)11:52
voidspaceanastasiamac: although we're looking at buying a house in the same village soon anyway11:52
voidspaceanastasiamac: but yeah, pretty wintery here11:53
voidspaceI'm hoping we get snow this winter11:53
voidspacewe didn't last year11:53
voidspacetotal waste of a winter11:53
perrito666ah how I miss winter (which most likely looks like your spring voidspace )11:55
anastasiamaci love the idea of snow but it usually comes with cold which I am not big fan of ;-)11:55
voidspaceperrito666: heh11:56
anastasiamacaltho - winter clothes m fan of11:56
voidspaceanastasiamac: working from home is great :-)11:56
perrito666I am still waiting on the delivery of my AC it is becoming annoying apparently they had a cyber monday sales spike and they are behind on delivery11:56
voidspaceanastasiamac: although no "snow days", so long as the internet works so do we...11:56
voidspaceperrito666: so no AC at the moment?11:56
perrito666voidspace: only in the bedroom11:56
perrito666voidspace: the good news is that here climate has a cycle of 40C, rain, 40C, rain and I am in the rain part atm11:57
voidspacehehe11:57
voidspaceI do love a hot climate. Snow is the *only* redeeming feature of winter here.11:57
voidspaceWell, it makes me appreciate the summer more I guess.11:58
anastasiamacperrito666: in our parts rain brings little relief11:58
perrito666voidspace: I do prefer cold climate, With cold you can pile up clothes on you until it recedes, with hot summer there is only so much you can remove :p11:58
perrito666anastasiamac: where are you?11:58
anastasiamacvoidspace: really? snowball fights, sleigh riding, etc - must b gr8 ;D11:58
anastasiamacperrito666: BrisbaneAustralia11:59
perrito666anastasiamac: I keep wanting to know australia, seems so nice11:59
anastasiamacperrito666: like u - in the middel of summer, hot/wet/hot/wet cycle :)11:59
voidspaceanastasiamac: right, but they all come from snow...11:59
voidspaceanastasiamac: mostly winter is just cold and wet11:59
voidspacesledging is *awesome*11:59
voidspacelots of great fields round here for sledging12:00
dimiternfwereade_, gnuoy, meeting?12:00
anastasiamacvoidspace: i dont remember winter much ;(12:00
perrito666voidspace: well in here its hot and wet, you feel like steamed rice all the time12:00
voidspaceperrito666: :-)12:00
anastasiamacperrito666: u r in Argentina?12:00
perrito666anastasiamac: yup12:03
rogpeppewallyworld_: hiya12:19
rogpeppewallyworld_: just say your email12:19
rogpeppes/say/saw/12:19
wallyworld_hi12:19
wallyworld_hope it made sense12:19
rogpeppewallyworld_: when you were doing your secure wget, were you adding the root cert as a trusted cert somehow?12:20
wallyworld_i was using wget --ca-certificate blah.pem https://ssipaddress:17070/....12:21
wallyworld_where blah.pem is the ca cert12:22
rogpeppewallyworld_: right, i see. yeah, i can see the issue.12:22
wallyworld_rsyslog cert had the same issue12:23
rogpeppewallyworld_: it's a pity that it's not possible to specify a genuinely wildcard domain name12:23
wallyworld_yeah12:23
wallyworld_using ip addresses is insecure sadly also, but we don't have dns names to use12:23
rogpeppewallyworld_: tbh there's no security issue here - we don't rely on the ip address or host name for security at all12:24
rogpeppewallyworld_: it's just that we need to work around the dubious x509 model12:24
wallyworld_rogpeppe: anastasiamac tells me it's insecure, i know not that much about security12:25
rogpeppewallyworld_: it would be insecure if we weren't using a self-signed root cert12:25
wallyworld_ah ok12:25
rogpeppewallyworld_: which we're explicitly trusting12:25
rogpeppewallyworld_: so i guess you'd generate the certificate with all the possible ip addresses of all the state servers12:26
wallyworld_i generate the cert for each state server separately, with just that state server's ip addresses12:27
rogpeppewallyworld_: and all the DNS names too - basically everything from the server addresses12:27
rogpeppewallyworld_: i don't think that's a great idea12:27
wallyworld_since each state server runs its own https sservice12:27
rogpeppewallyworld_: we need to be able to connect to any of the servers with the same cert12:27
rogpeppewallyworld_: or...12:27
wallyworld_we can i think12:27
rogpeppewallyworld_: i see12:27
rogpeppewallyworld_: so each state server has the root cert12:28
rogpeppewallyworld_: and generates its own certificate for its own addresses12:28
wallyworld_yes12:28
wallyworld_the same root cert12:28
wallyworld_seems to work anyway12:28
rogpeppewallyworld_: yeah, that seems like a good way to do it12:28
anastasiamacrogpeppe: wallyworld_: no opinion on security in our case - I was refereing to Department of Defence, Australian Signals Directorate (http://www.asd.gov.au/publications/csocprotect/dns_security.htm)12:29
wallyworld_rogpeppe: cool, so the issue is should i store the ca cert private key in agent conf on the state server12:29
wallyworld_it was discarded but is now needed12:29
rogpeppeanastasiamac: i have no trust in modern web "security" tbh12:30
wallyworld_we already store the server cert private key there12:30
rogpeppeanastasiamac: (hiya, BTW)12:30
anastasiamacrogpeppe: o/12:30
anastasiamacrogpeppe: i don't trust either - this is an explanantion of what might happen and how it the risks can be mitigated12:31
rogpeppewallyworld_: yeah, i think just use the ca cert everywhere we were using the server cert before.12:31
rogpeppewallyworld_: except when actually starting a server12:31
anastasiamacrogpeppe: actually, trust is a bad word for it - all "security" is only "securing" to a degree...12:31
rogpeppeanastasiamac: yup12:31
rogpeppeanastasiamac: but this is all so obviously broken...12:32
anastasiamacrogpeppe: :-( yes it is but wallyworld_ is on it! it'll b unbroken soon :D12:32
wallyworld_thanks rogpeppe , i'll tidy up my branch next week12:33
rogpeppeanastasiamac: our current juju stuff isn't insecure in fact AFAIK12:33
rogpeppeanastasiamac: it's just that wget doesn't know about our special sauce :)12:33
anastasiamacrogpeppe: i have no comment on juju security... i have not seen an RCM to form an opinion12:34
wallyworld_rogpeppe: wget is actually not used by us directly, but by the lxc template scripts. we now (or will soon) cache lxc images in the blobstore, so lxc startup is fast on *all* new machines in the cloud (apart from the first one)12:35
rogpeppewallyworld_: it's a pity that the only available flag on wget to disable common-name checking (--no-check-certificate) also appears to disable the rest of the cert checking12:35
wallyworld_yeah, tell me about it12:35
wallyworld_curl appear no better either i *think*12:35
dimiternfwereade_, gnuoy, jamespage, invites sent for 10.30 utc next wednesday13:10
fwereade_dimitern, cheers13:23
jamespagedimitern, ta14:14
=== tdc_ is now known as tdc
hazmataxw, ping14:49
natefinchfwereade_: you around?17:09
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
natefinchhazmat: you around?17:27
mattywnight all17:34
mattywnatefinch, seems like no one is around17:34
=== kadams54 is now known as kadams54-away
hazmatnatefinch, yes18:04
hazmatnatefinch, wasup?18:05
natefinchhazmat: nvm, figured it out... was wondering which method I was supposed to use to generate GCE keys.18:10
hazmatnatefinch, cool, their console is a bit on the confusing side18:11
natefinchhazmat: yeah... putting things into really vague buckets like "web application" or "service account" .... but yeah, with enough clicking through "learn more" links, I figured out what I was supposed to use.  Finally getting a chance to put the gce provider structure together with the implementation stuff you'd already worked out.18:13
hazmatnatefinch, nice. there's a minor opportunity to come up with a clean provider package structure.. atm there all different by provider impl.18:15
* hazmat goes back to avoid shopping on black friday18:15
natefinchheh18:15
=== kadams54-away is now known as kadams54
voidspaceg'night all19:23
voidspacehappy weekend19:23
=== kadams54 is now known as kadams54-away
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54 is now known as kadams54-away

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