19:00:24 #startmeeting swift 19:00:25 Meeting started Wed Nov 26 19:00:24 2014 UTC and is due to finish in 60 minutes. The chair is notmyname. Information about MeetBot at http://wiki.debian.org/MeetBot. 19:00:26 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 19:00:28 The meeting name has been set to 'swift' 19:00:34 hello, world 19:00:39 who's here for the swift meeting? 19:00:55 o/ 19:00:58 hello 19:00:58 \o 19:01:32 o/ 19:01:46 #link https://wiki.openstack.org/wiki/Meetings/Swift 19:01:52 a few things to talk about today 19:01:57 I know cschwede isn't around 19:02:00 peluse: are you here? 19:02:04 (for later) 19:02:40 and I'm guessing the US thanksgiving is keeping others out 19:02:43 hello 19:02:57 #topic testing changes 19:03:06 * cutforth is glad i got daylight savings sorted out with UTC 19:03:12 cutforth: :-) 19:03:23 so...cool stuff in the openstack-infra world that affect us 19:03:31 #link https://review.openstack.org/#/c/137184/ 19:03:54 tl;dr is that the tests run against swift patches should be reduced 19:03:55 whoa - i'm late 19:04:11 in the commit message there's a link to the mailing list thread on it 19:04:28 looks like it hasn't landed yet, but I'm hoping it will soon 19:04:52 cool 19:05:13 I'm hoping this will reduce the chances for swift patches to fail in the check and gate queues. resulting in shorter times to land patches because of less need for "recheck" 19:05:38 (also, torgomatic bot thanks for posting those comments all the time) 19:05:45 hehe :) 19:05:58 any questions about that change? 19:06:41 #topic swift CLI/SDK changes 19:06:59 this one is kinda big, and a follow up to what we talked about last week and at the summit 19:07:11 as a recap....well let me post the link 19:07:17 #link https://etherpad.openstack.org/p/kilo-swift-swiftclient 19:07:32 the bottom of that etherpad is where we've been taking notes on what to do 19:07:51 the general plan is to focus new client SDK dev work in openstack-sdk 19:08:18 I've been talking with that team this week, and mentioned it to ttx yesterday. 19:08:23 notmyname: fwiw i haven't looked at the openstack sdk at all 19:08:42 clayg: I have a little. they're is very little there right now for swift 19:09:17 briancurtin has been most responsive in #openstack-sdks 19:09:45 notmyname: do they have something that looks like "def api_action(parts, of, the, request, as=parameters): ... return status, headers, body" 19:10:16 k, i should hang out in there 19:10:29 clayg: https://github.com/stackforge/python-openstacksdk/tree/master/openstack/object_store 19:10:41 they don't have much at all now 19:11:02 notmyname: k, that's probably for the best! 19:11:27 :-) 19:11:43 oh, no, it's OO :\ 19:12:02 that's at least one level too high for where we want to start ;) 19:12:10 hi briancurtin :-) 19:12:13 hey 19:12:47 clayg: I think they'd be happy for us to make it better. so far briancurtin et al have been very receptive to ideas. of course nobody has proposed code yet ;-) 19:13:30 asselin: mmedvede the next version of the script is posted. will be testing it again today. now, all of the subtree splits are done on a single cloned merge repo. this will be much easier for us to track and update the history on the entire repository. 19:13:32 notmyname: ack, i should get on that! 19:13:44 notmyname: be nice to get in there before things 1.0 on us 19:13:45 AFAIK there isn't yet any high-level design for "here's what the SDK must look like". which is good 19:13:50 clayg: +1000 19:14:16 yep, not a whole lot is nailed down, it's all fairly malleable, especially at the higher-levels 19:14:19 briancurtin: is that true? any existing thing yet? 19:14:21 (sorry, guys, wrong room) 19:14:46 sweston: it's cool - we're just hanging out 19:15:16 briancurtin: cool. great to hear 19:16:09 we haven't yet discussed how reviews will work for swift stuff in openstack-sdk. ie who reviews, who approves, etc. I want to figure that out when/if it becomes a problem 19:16:25 briancurtin: is there anything we should be aware of there? 19:16:32 notmyname: let's start with patches. 19:16:39 clayg: right. my thoughts exactly 19:16:41 :-) 19:16:58 k, enough on that then - unless we want to talk tatics of most important patches or design 19:17:06 anyone else ahve any questions about it? 19:17:17 yeah there's not a lot of process here (yet), just want to enable 19:18:27 ok, next topic 19:18:35 thanks for saying hi, briancurtin! 19:18:48 #topic EC status update 19:19:09 peluse: clayg: torgomatic: what's going on with EC this week? 19:19:40 what's top of the list to review? 19:19:42 well you merged the don't store errors in the ring, so we need to merge master and update the node index stuff 19:19:46 well, the error-limiting patch just landed, so that'll make the plumbing better for indexes 19:19:48 merge master, fix node index 19:19:52 clayg++ 19:19:53 yay yay yay! 19:20:02 gogogogogogogo! 19:20:16 after that sam is going to write a GET path and the whole world is going to change 19:20:49 at a minimum, it'll rotate slightly slower 19:21:19 anyone have any questions on EC? 19:22:02 peluse: notmyname: torgomatic: I'd acctually like to know how to do the master merge if someone could shoulder surf maybe? 19:22:20 clayg: ya, I can do that with you today 19:22:23 clayg: sure, I'll head over once the meeting is done 19:22:28 that's all I have about EC 19:22:37 i'm sorta interested in doing more pushing ec refactors into master and merging them back in this round than we did with storage policies - it's something I feel like I could help with 19:22:49 cool 19:22:52 notmyname: torgomatic: kk 19:22:57 that's it on EC from me 19:23:04 ok, thanks 19:23:11 #topic priority reviews 19:23:17 I wanted to ask about a couple 19:23:38 what are we waiting on for fsync() dirs? https://review.openstack.org/#/c/126923/ 19:23:48 * clayg yawns 19:23:49 acoles: tdasilva: ? 19:24:06 i had two queries... 19:24:29 notmyname: ppai has been doing some research on the fsync tree question 19:24:33 ok 19:24:37 OMG will this patch ever merged?! https://review.openstack.org/#/c/131238/ 19:24:37 1. do we need to run the fsync all the way up a new directory tree or is it sufficient to fysnc the leaf and assume the fs does the rest 19:24:38 but so far he has only found out what i had already posted 19:25:16 our understanding is that because of xfs journaling you only need to do on the leaf 19:25:25 2. is it ok to not worry so much about quarantined objects - proposal is to not fsync their dirs 19:25:25 clayg: my recheck-bot's persistence will get it in there eventually 19:25:50 acoles: fsyncs are for suckers - we have three copies it'll be fine 19:25:52 maybe torgomatic could also take a lok at that 19:26:03 clayg: in 3 buffers ;-) 19:26:04 tdasilva: maybe *after* EC GET 19:26:08 clayg: lets rip em all out then!) 19:26:09 notmyname: exactly! 19:26:16 * clayg is totally down 19:26:22 acoles: I'm much less worried about losing a known-broken thing than a good one, especially if the consequence is that the broken guy stays put until the next auditor run and then gets removed 19:26:37 er, quarantined 19:26:38 acoles: by gut reaction is that quarantines don't need dir fsyncs. they're already known bad 19:27:05 torgomatic: i put an example on the review where the known bad doesnt stay around 19:27:41 torgomatic: notmyname : i'm not digging in on the quarantines but wanted a discussion (so good we're having it) 19:27:43 idk, i guess i've seen crazy looking directories that might have been the result of a missing fsync after a put, but it's more likely the missing fsync after a rsync 19:28:17 acoles: if the FS loses a file during a rename (using the rename() syscall), the FS is broken 19:28:49 it's either got to move or not-move... isn't that one of those atomic things? 19:29:04 torgomatic: yeah! 19:29:35 torgomatic: isn't that FS dependent? but for XFS that's supposed to be true 19:29:37 we could probably put it in and it'll turn out it's a noop that's like maginally more safe on some other filesystem 19:30:01 acoles: tdasilva: torgomatic: notmyname: the only question is really the benchmark right? 19:30:02 torgomatic: its when you rename to another dir, then fsync the original dir (entry gone) then lose the destination dir 19:30:07 well I guess acoles has other questions 19:30:26 tdasilva: so ppai is still doing research? 19:30:37 or is that already done and recorded in gerrit? 19:30:37 acoles: why do we fsync the /tmp dir?! 19:30:57 clayg:? 19:31:03 notmyname: I asked him to ping xfs guys on the question of going up the tree to fsync all the new dirs 19:31:12 .... i thought put's start out (orignal dir) in /tmp 19:31:21 acoles: right; I'm saying that if your FS code returns from that fsync() and the file doesn't have a directory entry *somewhere*, the FS is broken 19:31:22 well... /srv/node/sdX/tmp but w/e 19:32:00 torgomatic: yes, that's exactly what I heard from one of our xfs guys 19:32:01 clayg: ah, no the example i found was during replication and quarantining, not PUT path 19:32:08 * clayg feels like he's never gone looking for "complete" uploads in /tmp 19:32:08 same thing about the leaf dir 19:32:47 replication!? I think that almost definately needs less fsyncing that the intial write - i.e. I didn't think a suffix rsync currently had any fsyncing' 19:32:59 torgomatic: what i have read is unclear on that 19:33:54 acoles: I see 19:33:57 bah, if someone said it's best practice to fsync somewhere, and the code is already written, and we benchmark and it's fine we probably don't have much to argue on do we? 19:34:08 so backing up - the proposed change improves what we have at least! questions i have are whether more is needed 19:34:16 acoles: :-) 19:34:18 OTOH if we benchmark it and it *sucks* we're probably not going to do it without making it optional 19:34:36 acoles: hooray for shipping improvements! :) 19:35:10 acoles: so are you +2 on the change as it stands? 19:35:48 clayg: like you said, some benchmark would be good first, but otherwise yes 19:36:11 can anyone else commit to reviewing it? 19:36:39 hmm...looks like my name is already on it ;-) 19:37:23 other patch... 19:37:33 reworking splice/tee https://review.openstack.org/#/c/135319/ 19:37:36 what's blocking on that? 19:37:48 torgomatic: you're +2. so just another reviewer? 19:38:07 swifterdarrell is on it, but he's out for the rest of the week 19:38:38 * clayg yawns 19:39:00 the clayg yawn. kinda like the creiht sigh ;-) 19:39:15 a) that's mean 19:39:19 b) they're not the same 19:39:20 lol 19:39:23 ;) 19:39:31 torgomatic: bueller? 19:39:42 notmyname: nothing's blocking on it IIRC 19:39:44 ok, thnaks 19:40:07 so for you non-USians, if you review it later this week, great! if not, we'll but darrell next week 19:40:07 it's a safety improvement; as it stands now, you can write a caller of splice() that scribbles on your process's memory in unexpected and exciting ways 19:40:16 we don't *have* any, but someone could write one 19:40:22 ya, it's a Big Deal (tm) IMO 19:40:36 ok, last patch 19:40:46 this is FYI 19:41:00 so merge https://review.openstack.org/#/c/135319/ and footguns-- 19:41:25 the defcore stuff has made some progress. this is what the foundation is using to determine what is openstack and what isn't. 19:41:44 there's a porposed patch for swift stuff. take a look if you are curious. 19:41:45 https://review.openstack.org/#/c/136677/ 19:42:04 #topic open discussion 19:42:11 anything else you want to bring up? 19:42:51 notmyname: it bugs me to know end I can't get probetsts to exit 0 when I have ssync on 19:42:53 yes... let me get the link 19:43:04 https://review.openstack.org/133315 19:43:15 https://review.openstack.org/#/c/136548/ 19:43:30 oh yeah... that's a good one sam 19:43:41 looks like we need two - i'll take one 19:44:07 there are bytestrings that (a) are invalid UTF-8, (b) py2 accepts them, but (c) py3 doesn't, making objects with those names bad news for Swift's hypothetical py3 future 19:44:36 torgomatic: there's a whole lot of future. it might in fact have not-python2 in it 19:44:48 torgomatic: we're doing full py3 support right after we add the v1.1 api and rewrite the objet server in go right? 19:45:04 clayg: sounds about right ;-) 19:45:12 ok, I'll review the unicode one too 19:45:34 clayg: what do you need on the ssync test one? just another reviewer? 19:45:34 well, when someone talks about rewriting Swift, my usual response starts with "go", so... maybe? 19:46:18 so cschwede sent me a PM a while back: "Feel free to assign me tasks...." 19:46:38 notmyname: yes, I'm already +2 on it (ssync probetest one) 19:46:38 so, therefore, cschwede can you review https://review.openstack.org/#/c/136548/ please? 19:46:39 ;-) 19:47:24 anything else to bring up in the meeting this week? 19:47:30 notmyname: yeah, if you use vagrant-swift-all-in-one (or try it out) it's easy enough to set your localrc file to build you an ssync saio and just run probetests on master then again on the patch 19:47:30 notmyname: I also asked cschwede to review the fsync patch 19:47:49 cschwede: can do all the reviews! 19:48:13 :-) 19:48:17 clayg: cool. good info. thanks 19:48:29 ok, if nothing else, let's adjourn 19:48:45 happy thxgiving everyone 19:48:46 thanks eveyone form attending. have a great rest of the week! 19:48:52 #endmeeting