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

marcoceppiWhat would it take to make region a constraint rather than an environments.yaml key?00:10
marcoceppiWould that even be a worthwhile endevor?00:10
thumper-gymmarcoceppi: not worthwhile IMO00:21
=== thumper-gym is now known as thumper
=== axw_ is now known as axw
wallyworld_thumper: https://codereview.appspot.com/68250046/01:44
thumperta01:44
=== axw_ is now known as axw
thumperwallyworld_: I feel much more comfortable now that the existing tests failed :) and it is just that you didn't run them03:03
wallyworld_yep03:03
wallyworld_i did say that also in my reply to roger :-)03:03
thumperdavecheney: hey, not sure why hp was failing deploying ubuntu charm03:03
thumperwallyworld_: ah, missed that03:03
wallyworld_np :-)03:03
thumperdavecheney: works on amazon and local03:03
thumperdavecheney: what is hp doing different?03:03
thumperhas me very confused03:04
* thumper pats wallyworld_ on the back for implementing something that I need03:09
wallyworld_which iiis?03:10
wallyworld_thumper: what did i implement?03:11
thumper--description for the supercommand so it works nice with plugins03:11
wallyworld_ah, that was a while ago03:11
thumperyeah03:11
thumperwhen you did the metadata one I think03:11
wallyworld_thumper: if you get a chance at some point, i've updated the system key updater to use keymanager https://codereview.appspot.com/6899004303:20
thumperkk03:21
* thumper is getting sidetracked by other issues...03:21
* thumper must get back on track03:21
* thumper files bugs03:21
marcoceppithumper: I guess it's best to just wait for cross environment relations?03:22
thumpermarcoceppi: ENOCONTEXT03:23
marcoceppithumper: re: regions as constraints03:23
thumpermarcoceppi: yes03:23
wallyworld_thumper: ffs. found the local provider tools issue. host machine is trusty, charm is precise, so looks for different tools04:09
wallyworld_gotta think about the least invasive way to fix04:10
thumperwallyworld_: ah...04:40
thumperwallyworld_: interesting04:40
thumperwallyworld_: hang on04:40
thumperwallyworld_: trusty is only the machine 004:40
thumpermachine 1 which has the charm is precise04:41
wallyworld_yep04:41
wallyworld_the wrong location is being used somehow04:41
thumperok04:41
wallyworld_the UA on machine 1 talks to state server on machine 004:42
wallyworld_the state server looks in its data dir for tools04:42
wallyworld_and only finds trusty04:42
axw_wallyworld_, thumper: I merged trunk into a branch and reproposed... now the changes from trunk are coming through in Rietveld. LP has the correct diff. Anyway to fix Rietveld's diff?04:53
wallyworld_axw_: nope :-(04:53
wallyworld_shiteveld sucks04:53
thumperaxw_: delete the merge proposal in LP04:53
wallyworld_launchpad rocks04:53
axw_hrm, I may have been impatient anyway04:53
thumperand start again04:53
axw_it might be okay. yeah I thought that'd be the answer :\04:54
wallyworld_same thing happened to me today04:54
wallyworld_with my system ssh key upgrader branch04:54
axw_ah it's okay, I was looking at diff-from-previous which adds things as expected... PEBKAC04:55
* thumper looks at https://code.launchpad.net/~wallyworld/juju-core/system-sshkey-upgrader/+merge/208277 because reitveld is dumb at trunk merges05:20
wallyworld_yes it is :-(05:20
thumperwallyworld_: can't see the trivial test I wanted...05:21
wallyworld_oh, did i forget05:21
wallyworld_let me check the comment again05:21
wallyworld_thumper: all i did in auth keys was to add 2 constants05:22
* thumper demands tests05:23
thumperthat's all it does now05:23
thumperwhat about later?05:23
thumperthe test is trivial to write05:23
wallyworld_sigh. the code was already in trunk05:23
thumperI know...05:23
thumperbut you made it public05:23
thumperpublic functions should have tests05:24
* thumper pays wallyworld_ back for demanding tests05:24
* thumper is just helping really05:24
wallyworld_thumper: i didn't write any of that code05:24
wallyworld_but ok05:24
thumpercall it review creep05:24
thumperit earns you brownies05:24
* wallyworld_ sighs again 05:24
wallyworld_yeah yeah05:24
axw_thumper: finally got the tests done... new CL for worker/rsyslog: https://codereview.appspot.com/68930045/05:45
=== thumper is now known as thumper-back-for
=== thumper-back-for is now known as thumper-afk
* thumper-afk back for meeting later06:23
axw_wallyworld_: I now have an LGTM for https://codereview.appspot.com/68930045/, but not for its prereq. If you have a spare few minutes, would you mind taking a look at https://codereview.appspot.com/69000043/?06:32
axw_basically just deleting a whole lot of code :)06:32
axw_if you're too busy it can wait till tomorrow06:33
wallyworld_looking06:43
=== rvba` is now known as rvba
rogpeppe1mornin' all08:01
=== rogpeppe1 is now known as rogpeppe
evhazmat: how's your super sexy juju lxc fast provisioning coming along?08:53
mattywdimitern, do you have a moment?09:25
dimiternmattyw, sure09:43
dimiternabout 15m to the weekly meeting09:43
=== thumper-afk is now known as thumper
thumperev: o/09:50
thumperev: I'm takeing hazmat's fast lxc and putting it in trunk09:50
thumperexpect some good stuff over the next few weeks09:51
evthumper: you're my hero09:58
dimiternfwereade, mgz, meeting?10:00
=== psivaa-afk is now known as psivaa
mgzdstroppa: around again, poke me if you have more StopInstances questions12:09
dstroppathanks mgz, I've made some changes, running tests now12:11
dstroppaback to the other issue: I've update goose, but now get this http://paste.ubuntu.com/7004730/12:12
dstropparunning on precise12:12
mgzdstroppa: but `go build ./...` is clean?12:17
dstroppamgz: same error12:19
mgzdstroppa: but no more details? if the branch doesn't build you want to get a proper error out of the go compiler12:21
dstroppamgz: this is the only output I get http://paste.ubuntu.com/7004758/12:22
mgzdstroppa: as a first check, you can run `godeps -u dependencies.tsv` using lp:godeps which will tell you about other goosey problems12:22
mgzdstroppa: ugh, I can't actually remember what the cause of things like that is12:26
mgzrogpeppe: ^if go build just dies with a kill signal, what's going on?12:27
mgzOOM I think was one of them12:27
dstroppamgz: updated all dependencies, still same error12:45
dstroppaI'm running in a vagrant box with 512MB12:45
mgz...it could be the OOM then12:45
mgzgive it another 51212:46
dstroppamgz: yup, it was OOM12:55
mgzbot was down it should now be up again12:55
mgz(if people have things they need to land)12:55
mgzlooked like a mongo wedge12:55
mgzdstroppa: ace12:56
mgzdstroppa: the other thing we should do today is land the storage branch12:57
dstroppamgz: cool12:58
mgzit probably wants a bump in dependencies.tsv for the latest gojoyent, retesting, then we can go12:58
hazmatev, its not polished for end-users, entirely undocumented, and requiring some manual setup.. http://github.com/kapilt/juju-lxc  its what i'm using daily... the improvements will land into core though13:07
evhazmat: wooohoo!13:08
mattywrogpeppe, time for a quick question?13:14
rogpeppemattyw: sure13:14
mattywrogpeppe, my add/remove user branch - https://codereview.appspot.com/61620043/ - I hadn't actually checked that the caller had permission to add/remove the user (using a common.GetAuthFunc)13:15
mattywnow that I am - what should the rules be? I'm tempted for now to just let everyone add/remove13:16
mattyw(for now basically meaning until we start implementing roles in the next couple of weeks)13:16
rogpeppemattyw: i think that's fine for the time being - we don't have any roles yet13:16
mattywrogpeppe, cool! so I'll just always return true in my auth func13:17
rogpeppemattyw: seems fine (i think there's a helper function for that actually - it might be called AuthAlways or something)13:17
mattywrogpeppe, I'll take a look - thanks again13:18
dstroppamgz: storage branch updated, retested and ready to go13:36
mgzdstroppa: then, set commit message and I can mark approved (or just use `bzr rv-submit` yourself)13:37
=== marcoceppi_ is now known as marcoceppi
dstroppamgz: set a commit message, got an "unknown command" when running bzr rv-submit13:44
mgzanyone know what "bad record MAC" is about as a failure on the bot?14:13
mgzI didn't find an lp bug14:13
mgz's mongo related14:13
rogpeppemgz: i *think* that's a mongo bug14:14
rogpeppemgz: and might be fixed in the next mongo version14:14
mgzrogpeppe: ta, I think I'll file a juju-core bug for refernce14:17
sinzuirogpeppe, mgz, does juju reject unsigned image json? Can devs build their own os images, generate the streams, and juju will accept them?14:17
rogpeppesinzui: i'm not sure, but i think it should do14:17
rogpeppesinzui: but i'm not sure what we use for the root key14:17
rogpeppesinzui: for checking the sig validity14:18
mgzsinzui: they can provide their own image and streams, we have places where they can set alternatives to streams.canonical.com14:18
sinzuiI think there is one implementation of simplestreams, so the behaviour of os images should match the tool behaviour14:18
rogpeppemgz: do you know how it verifies self-generated streams?14:18
sinzuimgz, that is exactly what some canonical people are testing. They think they need sjson14:19
mgzthere's a difference between unsigned .json (which we just accept) and .sjson - I'm not how we'd verify self-signed .sjson14:22
rogpeppemgz: isn't that a security hole?14:25
mgznot really, if you're uploading your own simplestreams data to a personal container in the cloud storage,14:26
rogpeppemgz: or... i suppose whether it's signed or not is encoded in whether the configured URL ends in ".sjson" or not14:27
mgzyou're just relying on the cloud and secure conections to make sure what you put there is what you end up using14:27
mgzrogpeppe: it's a little more involved that that14:27
mgzthe code has a flag that enables a fallback url lookup if the .sjson at a given location doesn't exist14:28
mgzwhich is not set in all cases14:28
rogpeppemgz: is that in the environ config ?14:29
mgzso, it goes something like, .sjson at configured location, .json at configured location, .sjson at cloud default, .sjson at streams.canonical.com I believe14:29
mgz..but probably with even more steps14:29
rogpeppemgz: where does the "configured location" come from?14:30
rogpeppemgz: is it tools-metadata-url ?14:30
mgztools-metadata-url in environments.yaml for instance14:30
=== frankban_ is now known as frankban
rogpeppemgz: ah, so we're rely on DNS being secure?14:31
rogpeppes/rely/relying/14:31
mgzyeah, and https, and the cloud itself, if the user sets that as config14:32
sinzuimgz, rogpeppe We allow people to setup their private clouds...they should know how to make their cloud secure14:32
rogpeppemgz, sinzui: i was actually thinking of the default case, not the custom-cloud case14:33
mgzI would not swear by it, but the true default case shouldn't do the fallback to looking for .json in any of our base locations14:33
sinzuiown image in public cloud? I think that is push to bucket with acls for yourself and friends14:33
rogpeppemgz: ah, so the only way to have it actually secure is to use our default?14:34
mgzI think so, I'm not sure how we'd add a new trusted signing key for self-signed simplestreams at present14:35
mgzwallyworld may actually have a way though14:35
mgzdstroppa: ah, you're back on15:07
mgzdstroppa: you need to merge trunk to resolve conflicts15:07
dstroppamgz: doing it now15:10
mgzdstroppa: one more thing, you're still using loggo from launchpad.net15:35
mgzyou need to switch to the github import15:35
dstroppamgz: I can see the github import http://bazaar.launchpad.net/~dstroppa/juju-core/joyent-provider-storage/view/head:/provider/joyent/provider.go15:38
=== Ursinha is now known as Ursinha-afk
mgzdstroppa: oh, I probably forgot to pull gojoyent15:43
mgzdstroppa: flagged for the bot to land15:47
dstroppamgz: cool15:48
mgzdstroppa: you need to send a message to juju-dev mailing list telling everyone to get the gojoyent library as a new dep15:48
dstroppamgz: will do15:48
=== Ursinha-afk is now known as Ursinha
mgzdstroppa: though, the bot hates me at the moment, so it may not land straight away15:53
* fwereade is going to be back for most of the evening, but needs to stop for a bit now; I have a couple of reviews up that I'd greatly appreciate opinions on15:55
rogpeppenatefinch: ping16:06
natefinchrogpeppe: pong16:08
rogpeppenatefinch: i was looking at the replicaset tests, and it seems they assume that replSetGetStatus always returns the members in id order16:08
rogpeppenatefinch: do you know that's guaranteed?16:08
natefinchrogpeppe:  I don't remember16:09
rogpeppenatefinch: i wonder if it might be worth sorting it just to make sure16:10
natefinchrogpeppe: certainly couldn't hurt in the tests, and I don't think anywhere else relies on the order16:11
rogpeppenatefinch: actually, looking at the mongo server code, it does seem to sort it16:12
rogpeppenatefinch: but i agree, i won't do any harm16:12
rogpeppes/i wo/it wo/16:12
mattywfwereade, do you want to schedule a hangout to discuss the owner-tag juju status branch - or shall we just do it on irc?16:15
natefinchrogpeppe: do you have some time to talk about ensure mongo server?  I'm kinda thrashing because I don't quite understand what I'm supposed to be writing.16:29
rogpeppenatefinch: sure. give me a moment to make this test pass again and we'll chat16:30
natefinchrogpeppe: cool16:30
rogpeppenatefinch: https://plus.google.com/hangouts/_/calendar/am9obi5tZWluZWxAY2Fub25pY2FsLmNvbQ.mf0d8r5pfb44m16v9b2n5i29ig?authuser=116:33
fwereademattyw, I think I'll be meeting with casey about charm store stuff tomorrow -- if you'll be there, can we maybe piggyback it on that?16:49
=== vds` is now known as vds
dstroppaarosales: https://bugs.launchpad.net/juju-core/+bug/128580317:58
_mup_Bug #1285803: [Joyent Provider] metadata mismatch when testing again Joyent Public Cloud <juju-core:New> <https://launchpad.net/bugs/1285803>17:59
arosalesdstroppa: thanks. I'll confirm this is not the image or the stream data17:59
mgzdstroppa: your added dependencies.tsv file has spaces rather than tabs, fix that and I can try landing again18:03
dstroppamgz: just pushed r198318:08
mgzdstroppa: reflagged18:13
sinzuiHi devs, I see we are again announcing the juju-restore plugin. It says it restores a juju backup. How would someone make a backup? there is no juju-backup installed18:34
mgzsinzui: juju-backup does *exist*...18:35
mgzsinzui: where's your packaging branch live atm?18:36
sinzuibut no one added it to be installed. I see the restore is there18:36
sinzuiI can add that and james can pickup my changes18:36
mgzthat sounds like the right thing.18:36
sinzuiDo I want to do that now and delay the release?18:36
sinzuiwell I have some release notes to write so as long and I an writing , I can let CI tell me it works18:37
mgzI think so.18:37
mgz*** Test killed: ran too long (10m0s).18:50
mgzFAIL launchpad.net/juju-core/worker/upgrader 600.014s18:50
mgzbot hates me, one more time as I go...18:50
rogpeppeg'night all19:01
natefinchg/night rogpeppe19:02
sinzuihmm, since juju-backup is not a go plugin, installing it is more difficult than I imagined19:09
natefinchsinzui: sorry, I actually haven't ever used juju plugins.19:33
sinzuinatefinch, np. I just assumed it was a go plugin like juju-restore and juju-metadata. The installation is simple but different from everything else in the rules file19:35
sinzuiI was stressing because I want this packaging change included in the build and test that just started19:35
ahasenackmarcoceppi: around?20:01
marcoceppiahasenack: otp20:01
ahasenackok20:01
ahasenackmarcoceppi: for posterity: http://pastebin.ubuntu.com/7006888/20:02
ahasenack    def setup(self, timeout=600):20:02
ahasenack(...)20:02
ahasenack            with timeout(timeout):20:02
ahasenackthat can't work, right? :)20:02
thumperfwereade: you up?20:02
thumperahasenack: no, I don't think so20:02
thumperahasenack: lookup confusion20:03
natefinchthumper: he said he was going to be away in the afternoon and around in the evening.  It's evening there, but not sure exactly what hours he was going to be around20:03
thumpernatefinch: thanks20:03
thumperI'm about to go mobile and head into town20:03
thumperwill work from there while the car gets serviced20:03
ahasenackmarcoceppi: fixed in 1.3.1, nm20:04
marcoceppiahasenack: yeah, that was patched really quickly20:04
ahasenackmarcoceppi: :)20:05
marcoceppiunfortunately not before it was released :\20:05
thumperfwereade: around now?21:00
=== BradCrittenden is now known as bac
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha

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