21:00:25 #startmeeting swift 21:00:26 Meeting started Wed Feb 17 21:00:25 2016 UTC and is due to finish in 60 minutes. The chair is notmyname. Information about MeetBot at http://wiki.debian.org/MeetBot. 21:00:27 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 21:00:29 The meeting name has been set to 'swift' 21:00:31 who's here for the swift meeting? 21:00:33 o/ 21:00:35 * onovy 21:00:36 hola! 21:00:38 o/ 21:00:39 o/ 21:00:41 Hi :) 21:00:41 o/ 21:00:41 o/ 21:00:42 o/ 21:00:43 hey 21:00:46 yo 21:00:50 here 21:00:57 hi 21:01:01 o/ 21:01:03 . 21:01:50 welcome, everyone 21:01:55 hi 21:01:58 agenda for this week is 21:02:03 #link https://wiki.openstack.org/wiki/Meetings/Swift 21:02:50 as a general note, I was asked to make patchbot not lurk in here 21:03:20 I've moved patchbot in for this meeting, but we'll have to remember to add/remove it for each meeting. please help me remember :-) 21:03:30 let's get started, then 21:03:33 #topic hackathon 21:03:44 just two weeks until the hackathon (really, more like 1.5) 21:03:57 lots of good stuff collected so far on 21:04:04 #link https://etherpad.openstack.org/p/swift-hackathon-feb-2016 21:04:15 please add any topics you're interested in to that etherpad 21:04:34 and feel free to add your name on other topics and comment on stuff that looks interesting or terrible 21:04:55 acoles just send some logistical infos to hackathon attendes. big kudos Alistair! 21:04:59 weee 21:05:08 it looks like we'll be in the same situation we were in last time. abotu 2x more topics that people in the room :-) 21:05:14 cschwede: yup, I got it too 21:05:26 so check your email for some logicstics info for the hackathon 21:05:46 email appears as from "Logistical information" so look hard for it in your inboxes ! 21:05:49 whoa - it even says "Logistical information" how apt 21:05:53 cool, and acoles revealed the evening stuff 21:05:53 * acoles is eventbrite novice 21:06:04 a tour of roman baths. in bath. 21:06:09 tada! 21:06:13 :-) 21:06:37 +1 21:06:43 acoles: thank you for continuing your work on setting all this up and getting it organized. it will be a great week :-) 21:06:47 hello 21:06:52 * mattoliverau pretemds to not be listening to this part 21:06:55 acoles: do I bring a bathing suit or is it more roman that that? 21:07:04 lol 21:07:46 clayg: errrr...not in the museum but there is a modern spa next door 21:07:59 does anyone have any questions about the hackathon? 21:08:00 should you desire 21:08:09 mattoliverau: awww 21:09:20 ok, no questions 21:09:24 #topic release status 21:09:30 another one! 21:09:43 late last week I released a new version of swift-bench 21:09:49 thanks for it! 21:09:49 first one in 2 years! 21:10:22 for swiftclient, I'd like to have a release done this week 21:10:39 actually, I just want it done before I get on the plane from bristol, but I'd prefer this week over next 21:11:02 so i've got an authors/changelog update in progress locally now. I hope to finish that this afternoon 21:11:03 the logging issue of tokens is still hanging around 21:11:07 oh come on, type "git push", shut your laptop, and get on a plane for 12 hours. what's the worst that could happen? 21:11:21 but no accepted solution yet I think 21:11:22 torgomatic: the bots will save us 21:11:40 joeljwright: what's the patch link on that? (or is it just still in LP?) 21:11:47 joeljwright: is that waiting on truncating vs hashing the token? 21:12:00 and what about liberty/kilo stable releases? 21:12:04 one sec - need to gid in history 21:12:11 s/gid/dig 21:12:12 patch 194884 and patch 259273 21:12:12 timburke: https://review.openstack.org/#/c/194884/ - python-swiftclient - don't log sensitive request and response header va... 21:12:13 timburke: https://review.openstack.org/#/c/259273/ - python-swiftclient - ecnode auth token in swiftclient log message 21:12:28 https://review.openstack.org/#/c/194884/ 21:12:31 joeljwright: patch 194884 - python-swiftclient - don't log sensitive request and response header va... 21:12:44 sorry joeljwright, beat you to it :) 21:12:46 https://review.openstack.org/#/c/259273/ 21:12:46 joeljwright: patch 259273 - python-swiftclient - ecnode auth token in swiftclient log message 21:12:51 dammit! 21:12:57 didn't look 21:13:01 at least I got them both! 21:13:04 :D 21:13:25 IMO it should be the same as swift itself. truncated instead of hashed. that would make it easier for any sort of log correlation. 21:13:32 * notmyname shoudl leave a comment to that effect 21:13:44 +1 21:13:48 +1 too 21:14:02 joeljwright: can you set the linked bug to "critical" status? that way we know that's blocking a release 21:14:04 the battle between —debug for curl commands and security is ongoing though it seems 21:14:32 notmyname: kk 21:14:35 thanks 21:14:53 also seems we need to resolve any differences between the two patches. they do something similar 21:15:00 well if there is a battle there security normally wins; I think there was some hope you could have your cake and eat it too 21:15:20 clayg: I agree with you, it seems like it should be possible 21:15:28 and those curl commands are damned useful 21:15:35 for sure 21:15:38 yup 21:15:48 joeljwright: i think it's important that the defaults be secure 21:16:00 definitely 21:16:09 joeljwright: acoles: if then the command line client can say "I'm the boss, I know where I'm logging, I want real tokens at debug level to the console" 21:16:20 that'd be a) secure and b) useful 21:16:29 where is the line drawn though? 21:16:37 do we accept local logging of tokens? 21:16:43 "local"? 21:16:56 local files if they're configured? 21:17:00 how to be safe? 21:17:06 or just debug console output 21:17:08 ? 21:17:52 I'm not sure exactly how the implemenation would fall out - all that matters is no logger of full tokens at any level by default 21:18:18 clayg: agreed 21:18:21 that seems reasonable 21:18:59 where by default means "import swiftclient; configure_my_root_loggers(); swiftclient.do_stuff()" 21:19:04 i like clayg's idea of leaving it to the application (in swiftclient's case shell.py) to muck about with the logger to allow logging of tokens 21:19:36 ^^ this is how I imagined it might work out 21:19:37 if someone (like our shell.py) does import swiftclient; configure_my_root_logger(); swiftclient.enable_my_insecure_logging(); swiftclient.do_stuff()" and that results in tokens to the console - so be it 21:20:04 it's how library logging is supposed to work - it's the app job to configure logging - but the library must have sane defaults 21:20:12 because really, there's nothing to stop an application from logging Connection.auth_token directly *anywau* 21:20:14 where defaults == what happens if you configure a root loger 21:20:27 timburke: good point! 21:20:42 all over but the typing 21:20:49 :) 21:21:04 well, except there's the resolution between zack's patch and bing hu's patch 21:21:21 that's part of the typing - git review - it's all just typing 21:21:25 heh 21:21:44 ok. I've starred both. they need some typing in gerrit and a code editor :-) 21:21:58 let's move on for the meeting agenda 21:22:06 notmyname: the bug is critical tho - it's holding the release right? 21:22:11 notmyname: i think that's good/ok 21:22:13 clayg: absolutely 21:22:16 notmyname: nice 21:22:25 #topic some community stats and starred patches 21:22:30 real quick, though: patch 265417 would also be nice to get in; acoles has already +2ed 21:22:30 timburke: https://review.openstack.org/#/c/265417/ - python-swiftclient - _RetryBody doesn't need to take explicit etag/cont... 21:22:50 notmyname: and what about liberty/kilo stable releases? 21:22:53 timburke: will take a look 21:22:56 thanks 21:23:09 onovy: ah, I meant to say something about swift releases 21:23:10 #undo 21:23:11 Removing item from minutes: 21:23:18 hey, that worked 21:23:22 joeljwright: IIRC its not a difficult review 21:23:23 (I think) 21:23:44 acoles: :) 21:24:00 lol, not 0x977c490 21:24:04 for swift release (master or stable), there are no definite plans yet, other than it's generally good to release 21:24:04 notmyname: yup! now go +1 patch 272727 21:24:05 timburke: https://review.openstack.org/#/c/272727/ - openstack-infra/meetbot - Add __str__ methods for items 21:24:43 notmyname: ok, thanks :) 21:24:49 onovy: AFAIK there are no outstanding patches for backports to stable branches 21:25:00 only CVE? :) 21:25:22 onovy: other than the personal request you've made for a backport to unsupported juno 21:25:27 https://github.com/openstack/swift/commit/8c1976aa771f8c43c5dbe676bd9a5efc69f09eae 21:25:30 liberty CVE 21:25:41 https://github.com/openstack/swift/commit/a4c1825a026655b7ed21d779824ae7c25318fd52 21:25:43 kilo CVE 21:25:45 onovy: is that not landed? 21:26:05 don't see any 2.3.1 release 21:26:13 so commited: yes. released? no 21:26:15 onovy: oh. wrt releases. we (the swift community) don't do the releases for stable branches 21:26:29 that's handled by the openstack stable maintenance team IIRC 21:26:36 ah 21:26:38 ok. 21:26:55 if you ping them on it and find new info for somethign that we need to do, please let us know :-) 21:27:06 ok, moving on now? 21:27:09 yep, thanks 21:27:27 #topic some community stats and starred patches 21:27:47 some of you have noticed I've got some more scripts for tracking some stuff in the community 21:27:54 2 things I wanted to highlight in the meeting 21:28:06 first is review times 21:28:20 good news! we're doing better :-) 21:28:26 \o/ 21:28:30 Patch owner review stats: 21:28:30 mean: 6 days, 10:54:27.703903 21:28:30 median: 1 day, 18:14:26 21:28:36 better than... what? 21:28:39 Patch reviewer stats: 21:28:39 mean: 5 days, 23:24:23.975351 21:28:40 median: 9:01:49.666667 21:28:49 better than we were 21:28:58 also "reviewers" are doing better than "owners" right now 21:29:11 go reviewers! 21:29:12 ie reviewers are responding in gerrit faster than patch authors are 21:29:25 hmm...interesting 21:29:28 I've got some scripts for gaming the metrics tracked by your scripts :p 21:29:41 lol 21:29:41 (not really) 21:29:42 torgomatic: of course you do 21:29:50 however, there are currently 21 unreviewed patches: https://gist.github.com/notmyname/92edb4012f83e88612f1 21:29:57 ah 20 21:30:06 but notmyname's scripts game your gaming scripts torgomatic :P 21:30:31 unreviewed by "anyone", right? 21:30:47 onovy: correct. either no comments or only comments from the author 21:31:08 wait, so there are *no* unreviewed client patches? i'm skeptical :P 21:31:18 lol 21:31:18 notmyname: but only on their last patchset, there are patches that have been reviewed already (on older patchsets) 21:31:20 this is only for master branch of swift. sorry timburke 21:31:26 timburke: https://review.openstack.org/#/c/280200/ 21:31:26 onovy: patch 280200 - python-swiftclient - Add copy object method 21:31:28 there are :) 21:32:15 the second community thing I wanted to share is the list of community-starred patches 21:32:21 https://gist.github.com/notmyname/d524486b45f2b9f4c322 21:32:28 onovy: also, patch 184956 (from May!) 21:32:28 timburke: https://review.openstack.org/#/c/184956/ - python-swiftclient - Accept gzip-encoded API responses 21:32:33 timburke: ;) 21:32:50 this is a list of the top patches that have been starred by everyone in the community 21:33:34 count is the number of users that starred a patch? looks quite high 21:33:36 (weighted by the starrer's level of activity in the community) 21:33:47 ahh, k 21:34:27 my goal is to take all this info and put it into some html format so that it's more easily sharable and findable 21:34:27 notmyname: is there a list that is not weighted? 21:34:28 i really need to get that concurrent reads done then.. I know what I'm doing today :) 21:35:06 sounds like we need a "community dashboard" :) 21:35:15 tdasilva: no. you want to see just the count of how many people have starred something? 21:35:21 yeah 21:35:25 tdasilva: yeah. that's what I'm going for :-) 21:35:28 you can never have too many dashboards! 21:36:14 notmyname: will you make list dynamic - I don't make a habit of starring patches, maybe others too, so the ranking could change in response to it being shared 21:36:56 acoles: right. it will likely be updated once a day. but yes, it's currently limited by people actually starring things 21:37:20 and I think you're right. that will change if it's more public 21:37:51 this is ongoing work, so let's move on for the meeting 21:38:07 #topic auditor bug 1183656 21:38:08 notmyname: thanks for working on this stuff 21:38:09 bug 1183656 in OpenStack Object Storage (swift) "object auditors don't finish" [High,In progress] https://launchpad.net/bugs/1183656 - Assigned to Christian Schwede (cschwede) 21:38:19 cschwede: what's up with your patch on this? what do we need 21:38:23 cschwede: and thanks for working on it! 21:38:29 notmyname: it’s there: patch 279440 21:38:29 cschwede: https://review.openstack.org/#/c/279440/ - swift - Skip already checked partitions when auditing obje... 21:38:30 thanks for sharing that and all the awesome work you've put into the review tracking notmyname 21:39:16 cschwede: looks likes some comments from mattoliverau just now 21:39:34 cschwede: you got a pre-coffee review.. I appologise :P 21:39:56 I've bumped up the bug priority to critical so it will block a release 21:40:06 please continue to review this patch 21:40:07 yep, and some from onovy and briancli1e earlier - thx! 21:40:17 np 21:40:41 #topic in-process fast-POST tests (DONE) 21:40:45 acoles: thanks for working on this 21:40:50 looks like it's all done 21:41:09 I thought I saw some failures earlier with this test. have you noticed anything? 21:41:17 yes, in a while I will make the job voting, but done for time being 21:41:29 ah, i have not seen any yet 21:41:38 ok. could have been spurious gate stuff, too 21:41:54 #topic ho's RBAC tests (done!) 21:41:56 anyone know how to search for specific job stats in gerrit? 21:42:10 thanks for helping with this, everyone. cschwede thanks for pushing this across the line 21:42:17 acoles: no :-( 21:42:27 yw! 21:42:28 acoles: I think you maybe can but only on a specific jenkins job 21:42:34 notmyname: ok. i'll keep an eye on it 21:42:41 acoles: oh, I'll bet you can find something with the kibana interface 21:43:09 acoles, cshwede, all: thanks for it :-) 21:43:14 #topic pyeclib migration 21:43:27 onovy: seems this is "done" except for the global requirements update 21:43:32 or maybe that landed too, earlier today 21:43:38 onovy: anything else to do here? 21:43:47 i think it's done 21:43:50 yay 21:44:03 glob is done, your review is failing 21:44:04 on gating 21:44:09 your/our 21:44:32 ok. I'll check it 21:44:38 #topic hash_path prefix and suffix. (or life with py3) 21:44:46 cschwede: you brough this up. want to introduce it? 21:44:54 yep 21:45:18 cschwede: it merged already I think 21:45:40 so the problem might be that in py3 the hash_path_suffix is parsed differently, and therefore all your objects might become invalid - if we are not careful 21:45:41 patch 236998 21:45:41 notmyname: https://review.openstack.org/#/c/236998/ - swift - Port get_hmac() and hash_path() to Python 3 21:45:55 Sam raised that concern earlier, and i have a sample in the review 21:45:57 cschwede: yeah. that's bad. let's not do that :-) 21:46:18 switching to a Raw config parser helps, but pls have a look everyone 21:46:26 so my uderstanding is that a % in one of these values make py3 break? 21:46:41 at the end, if someone uses some arbitrary bytes in the value you end up with a different value 21:46:58 notmyname: yes, because py3 interprets the %. that is fixed with the raw parser 21:47:34 i think we also need a note that one should only use printable chars for the hash-values 21:47:40 and https://review.openstack.org/#/c/281492/ seems releated 21:47:40 notmyname: patch 281492 - swift - Add note on using printable chars for swift_hash_p... 21:47:41 yeah 21:48:07 exactly. it’s just a start, we could add a logger warning also, … 21:48:16 I had a similar thought as clayg about a validator of this 21:49:05 validator might be difficult if the parser changes - ie the value to compare against? 21:49:06 ok, so for now, with patch 236998, what's the status? what's the behavior change with the current patch set? 21:49:06 notmyname: https://review.openstack.org/#/c/236998/ - swift - Port get_hmac() and hash_path() to Python 3 21:49:25 I'm not terribly worried; I think most conscientious admins are going to use some random hex digits, and most other admins are just gonna type "hunter2" in there and call it a day 21:49:26 what do we need to figure out in here today? 21:49:48 more eyes on the review ;) 21:50:06 ok 21:50:19 #topic fix chunked GET support in proxy-server 21:50:26 patch 256201 21:50:26 notmyname: https://review.openstack.org/#/c/256201/ - swift - Fix proxy-server's support for chunked transferrin... 21:50:28 for hexadecimal values there should be no problem 21:50:31 takashi: this one is yours 21:50:38 notmyname: yes 21:50:46 am I reading this right? you're adding chunked transfer coding to reads from swift? 21:51:01 notmyname: right 21:51:04 very cool :-) 21:51:25 it is needed when we put some middleware on the top of object-server, which does streaming processing of object 21:51:34 and from review comments, it seems that the use case is 3rd party middleware that could change...right. what you said :-) 21:52:05 takashi: kota_: other than "moar reviews" is there anything needed here to specifically note? 21:52:15 is there a particular migration or upgrade issue? 21:52:23 notmyename: no 21:52:25 or other question that needs to be figured out? 21:52:26 ok 21:52:35 I just want to ask review for it 21:52:40 enough if we get more reviews :) 21:52:50 kota_: you've already added one +2 ;-) 21:53:02 thansk for working on this. seems like it would offer some very interesting new functionality for 3rd party integration 21:53:04 yeah, I like/want to land this :) 21:53:06 I'd just like to wish good luck to anyone putting middleware in the object server, and don't call me when you encounter an erasure-coded object ;) 21:53:18 :-) 21:53:42 torgomatic: :-) 21:54:15 torgomatic: I hope so :-) 21:54:21 torgomatic: yeah, storlets do the object server middleware thing, but this seems to be proxy side. so maybe it's not an issue for this patch? 21:54:48 notmyname: right 21:54:57 oh, yeah. proxy for now has a problem with chunked transfer. 21:55:01 last topic on the agenda this week... 21:55:18 #topic add functional test for access control 21:55:30 second patch and also the one that is in unreviewed patches :-) 21:55:30 patch 213608 21:55:31 notmyname: https://review.openstack.org/#/c/213608/ - swift - Add functional test for access control (container ... 21:56:06 ho_away: it's only 1917 lines long. I'm *shocked* it's not reviewed yet ;-) 21:56:15 lol 21:56:25 ok, this is the followup to the basic RBAC testing structure that landed last week, right? 21:56:25 yeah, only :-) 21:56:39 notmyname: yep 21:57:09 i could add another patch with docstrings if you like. makes it easier to review 21:57:34 this patch adds test cases for container acl 21:57:50 cschwede: that sounds like a good idea to me :-) 21:58:14 cschwede: you are a scholar and a gentleman :) 21:58:37 cschwede: thanks for it :-) 21:59:00 yw :) 21:59:21 great :-) 21:59:25 45 seconds left 21:59:26 and we're out of time for the meeting 21:59:31 perfect timing 21:59:46 thanks everyone for coming this week. thanks for working on swift 21:59:49 #endmeeting