Friday, 2017-06-23

*** tonanhngo has quit IRC00:10
*** caiobrentano has joined #openstack-swift00:13
*** openstackstatus has quit IRC00:13
*** openstackstatus has joined #openstack-swift00:16
*** ChanServ sets mode: +v openstackstatus00:16
*** ndk- has quit IRC00:16
*** portante has quit IRC00:17
*** ndk_ has joined #openstack-swift00:19
*** portante has joined #openstack-swift00:19
*** tonanhngo has joined #openstack-swift00:21
*** ndk_ has quit IRC00:23
*** ndk_ has joined #openstack-swift00:26
*** tonanhngo has quit IRC00:26
*** tovin07_ has joined #openstack-swift00:34
*** dmellado has joined #openstack-swift00:37
*** zhugaoxiao has quit IRC00:39
*** Administrator__ has quit IRC00:39
*** portante has quit IRC01:00
*** caiobrentano has quit IRC01:01
*** ndk_ has quit IRC01:01
*** dmellado has quit IRC01:06
*** portante has joined #openstack-swift01:07
*** ndk_ has joined #openstack-swift01:07
*** itlinux_ has joined #openstack-swift01:12
*** hoonetorg has quit IRC01:35
*** hoonetorg has joined #openstack-swift01:52
openstackgerritKazuhiro MIYAHARA proposed openstack/swift master: Symlink support in container-sync  https://review.openstack.org/42166901:54
*** zhurong has joined #openstack-swift02:10
*** itlinux_ has quit IRC02:24
kota_hello world02:27
*** caiobrentano has joined #openstack-swift02:56
*** zhurong has quit IRC02:58
*** zhurong has joined #openstack-swift03:00
*** SkyRocknRoll has joined #openstack-swift03:19
mattoliveraukong: hey sorry, been away with the family. Ahh yes the delete affinity patch. I'll find some time this arvo to jump back in. Thanks for bringing it up. Also sorry it's taken me a while.03:26
mattoliverauI'm not working on Swift fulltime atm so can only review/write when I have free moments.03:27
*** gkadam has joined #openstack-swift03:43
*** zhurong has quit IRC04:02
*** psachin has joined #openstack-swift04:08
*** caiobrentano has quit IRC04:11
*** links has joined #openstack-swift04:15
*** qwertyco has joined #openstack-swift04:30
*** zhurong has joined #openstack-swift04:35
*** klrmn has quit IRC04:41
*** m_kazuhiro has joined #openstack-swift05:10
*** qwertyco has quit IRC05:17
*** qwertyco has joined #openstack-swift05:18
*** ChubYann has quit IRC05:19
*** psachin has quit IRC05:32
* kota_ is grubing increase part power patch to look at05:33
*** psachin has joined #openstack-swift05:39
*** qwertyco has quit IRC05:46
*** qwertyco has joined #openstack-swift05:47
-openstackstatus- NOTICE: unknown issue with the git farm, everything broken - we're investigating06:05
*** ChanServ changes topic to "unknown issue with the git farm, everything broken - we're investigating"06:05
*** gyee has quit IRC06:08
*** m_kazuhiro has quit IRC06:20
mattoliverau^^ ahh git farm is broken, so I'm not going crazy. #silverlining :)06:21
*** qwertyco has quit IRC06:22
*** qwertyco has joined #openstack-swift06:22
*** rcernin_ has joined #openstack-swift06:32
*** hseipp has joined #openstack-swift06:41
mahaticmattoliverau: :D06:41
*** cschwede has joined #openstack-swift07:02
*** cschwede has quit IRC07:03
*** cschwede has joined #openstack-swift07:04
*** ChanServ sets mode: +v cschwede07:04
*** cschwede has quit IRC07:05
*** cschwede has joined #openstack-swift07:05
*** ChanServ sets mode: +v cschwede07:05
*** tovin07__ has joined #openstack-swift07:07
*** tovin07_ has quit IRC07:09
*** skudlik has joined #openstack-swift07:14
*** pcaruana has joined #openstack-swift07:18
*** tesseract has joined #openstack-swift07:45
acolesgood morning07:56
-openstackstatus- NOTICE: ok git.openstack.org is working again, you can recheck failed jobs08:04
*** ChanServ changes topic to "ok git.openstack.org is working again, you can recheck failed jobs"08:04
mahaticacoles: o/08:35
acolesmahatic: hi08:45
*** SkyRocknRoll has quit IRC08:59
*** hseipp has quit IRC09:07
*** vvargaszte has joined #openstack-swift09:07
*** aselius has quit IRC09:10
*** ChanServ changes topic to "Swift is 7 years old! | Logs: http://eavesdrop.openstack.org/irclogs/%23openstack-swift/ | Meetings: https://wiki.openstack.org/wiki/Meetings/Swift | Review Dashboard: http://not.mn/reviews.html"09:11
*** skudlik has quit IRC09:25
*** zhurong has quit IRC09:37
*** skudlik has joined #openstack-swift09:48
*** chlong has quit IRC10:03
*** tovin07__ has quit IRC10:04
*** bkopilov_ has joined #openstack-swift10:43
*** bkopilov has quit IRC10:47
*** cnf has left #openstack-swift10:50
*** kei_yama has quit IRC11:15
*** dmellado_ has joined #openstack-swift11:17
*** dmellado_ is now known as dmellado11:19
*** hseipp has joined #openstack-swift11:29
*** openstackgerrit has quit IRC11:33
*** jistr is now known as jistr|errand12:00
*** caiobrentano has joined #openstack-swift12:08
*** lucasxu has joined #openstack-swift12:56
*** qwertyco has quit IRC12:58
*** qwertyco has joined #openstack-swift12:58
*** catintheroof has joined #openstack-swift13:00
*** silor has joined #openstack-swift13:03
*** silor has quit IRC13:05
*** Dinesh_Bhor has quit IRC13:10
*** gkadam has quit IRC13:21
*** jistr|errand is now known as jistr13:25
*** silor has joined #openstack-swift13:34
*** qwertyco has quit IRC13:35
*** qwertyco has joined #openstack-swift13:35
*** psachin has quit IRC13:36
*** MVenesio has joined #openstack-swift13:41
*** qwertyco has quit IRC13:43
*** qwertyco has joined #openstack-swift13:43
*** qwertyco has quit IRC13:49
*** cbartz has joined #openstack-swift13:49
*** oshritf has joined #openstack-swift13:54
*** chlong has joined #openstack-swift13:55
*** jeremyfreudberg has joined #openstack-swift14:14
jeremyfreudberghey swift guys, does swift have support for generating temp urls at the level of container? or only per-object?14:15
acolesjeremyfreudberg: just objects, but you can generate a tempurl with an object name prefix https://docs.openstack.org/developer/swift/middleware.html#tempurl14:21
jeremyfreudbergacoles, cool. kind of hard to tell from the docs, does the prefix have to be "/"-separated (pseudo folder) or can it be any string?14:29
*** cbartz has quit IRC14:30
jeremyfreudbergacoles, never mind my question, it just got through my head that it works for the whole container14:37
*** silor has quit IRC14:44
*** silor1 has joined #openstack-swift14:44
*** noark9 has joined #openstack-swift14:44
*** jeremyfreudberg has left #openstack-swift14:46
*** silor1 is now known as silor14:46
*** skudlik has quit IRC14:48
acolesjeremyfreudberg: sorry, got distracted. I see what you mean - the doc examples show prefix/rest-of-path but as far as I can tell from the code prefixrest-of-path works i.e. no requirement for a / delimiter after prefix. (disclaimer: I have not used the prefix form in practice)14:53
*** jistr is now known as jistr|mtg14:54
*** rcernin_ has quit IRC15:01
*** ukaynar has joined #openstack-swift15:07
*** aselius has joined #openstack-swift15:11
*** links has quit IRC15:16
*** ukaynar has quit IRC15:23
*** ukaynar has joined #openstack-swift15:23
*** klrmn has joined #openstack-swift15:25
*** ukaynar has quit IRC15:26
*** ukaynar has joined #openstack-swift15:27
*** jistr|mtg is now known as jistr15:30
*** ukaynar has quit IRC15:31
*** oshritf has quit IRC15:33
*** openstackgerrit has joined #openstack-swift15:35
openstackgerritChristian Schwede proposed openstack/swift master: Make swift-dispersion-report importable  https://review.openstack.org/47695315:35
*** MVenesio has quit IRC15:37
openstackgerritChristian Schwede proposed openstack/swift master: Make swift-dispersion-report importable  https://review.openstack.org/47695315:40
openstackgerritChristian Schwede proposed openstack/swift master: Add bin/swift-dispersion-report  https://review.openstack.org/47695515:40
notmynamegood morning15:57
*** vvargaszte has quit IRC16:07
*** links has joined #openstack-swift16:17
*** pcaruana has quit IRC16:18
*** klrmn has quit IRC16:18
*** lucasxu has quit IRC16:19
timburkegood morning16:20
*** gyee has joined #openstack-swift16:21
*** hseipp has quit IRC16:28
*** cschwede has quit IRC16:31
notmynamehmm... quite a few bugs filed overnight (from a small number of people)16:35
*** silor has quit IRC16:40
*** skudlik has joined #openstack-swift16:53
*** MVenesio has joined #openstack-swift16:55
*** itlinux has joined #openstack-swift17:00
*** noark9 has quit IRC17:00
*** tesseract has quit IRC17:11
*** links has quit IRC17:15
*** itlinux has quit IRC17:16
*** lucasxu has joined #openstack-swift17:20
*** NM has joined #openstack-swift17:26
*** ChubYann has joined #openstack-swift17:27
*** klrmn has joined #openstack-swift17:37
*** silor has joined #openstack-swift17:41
*** ukaynar has joined #openstack-swift18:01
openstackgerritTim Burke proposed openstack/swift master: Add probe tests to better characterize If-None-Match support  https://review.openstack.org/47699218:04
*** ukaynar has quit IRC18:42
*** ukaynar has joined #openstack-swift18:42
openstackgerritAlistair Coles proposed openstack/swift master: WIP: Rebalance respects others builders' last_part_moves  https://review.openstack.org/47700018:44
acolesclayg: ^^ just noticed an intermittent test failure but getting what I have off my machine18:45
claygnp18:46
acolesheh, I like that patch number18:46
notmynamenice18:46
*** ukaynar has quit IRC18:47
claygfor some reason this reminders me of a class clown making a joke in algebra in middle school...18:47
clayg"Mrs. Sims - how come everytime you do this stuff you always have to use some ungodly numbers like that?"18:48
clayg"What do you mean... ungodly?"18:48
clayg"Any number large than 4... or with a decimal... or fractions..."18:48
claygI don't think I ever really had a sense of one number being better than another - so I always found it immensely enjoyable18:49
acolesclayg: I had lecturer who infomed us before our finals that if we derived an answer to his questions that did not conform to those ^^ constraints (plus being negative) then we should recheck our workings :)18:50
clayglove it18:51
acolesI think he worked quite hard to design quite complex questions with answers in {1,2,3}18:51
acolesgood night18:52
*** silor has quit IRC18:58
*** MVenesio has quit IRC19:37
openstackgerritTim Burke proposed openstack/swift master: Make If-None-Match:* work properly with 0-byte PUTs  https://review.openstack.org/47699219:46
*** ukaynar has joined #openstack-swift20:00
*** tonanhngo has joined #openstack-swift20:15
*** vint_bra has joined #openstack-swift20:25
*** esnyder has joined #openstack-swift20:28
esnyderdoes anyone have advice/pointers for doing per-account bandwidth ratelimiting for swift clusters? i realize that this is hard to do, what with the various proxy nodes not easily having access to what traffic is doing on other proxies :)20:30
notmynameesnyder: no. you're right that the hard part is finding a summary across all nodes20:35
notmynameif you need real-time ratelimiting (eg to protect the cluster), the ratelimit middleware in swift can be used. but that's for limiting writes per second instead of bytes per second20:36
notmynameif you're ok with not-real-time, then you can aggregate the logged bandwidth used and make limits based on that20:36
esnydernotmyname: thanks for confirmation. yes, we have issues w/ our total traffic (bytes) through loadbalancer rather than total requests/sec (or rather, we can limit req/sec w/ ratelimit already)20:37
notmynamehowever, for that, you'll need to do log processing (fairly easy) and some feedback code to limit based on what you got from logs (somewhat more complicated)20:37
notmynameI imagine that some load balancer that understands the request might be able to be configured to do what you want. but that's toally a SEP for me, so I have no idea20:38
notmynamehttp://hitchhikers.wikia.com/wiki/Somebody_Else%27s_Problem_field20:38
esnydernotmyname: yes, exploring LB side possiblities. but, when thinking about swift side, am also having a hard time seeing how to implement bandwidth limit in middleware (assuming i fix the summary-accross-nodes thing). am i just missing it, or would that need to be somewhere else?20:40
notmynameif I were writing middleware to ratelimit by bandwidth, I'd do somethng like the existing ratelimit middleware: I'd add the current request's bytes to a total stored in the memcache pool, and i'd check that value before every reuqest20:41
esnyderso, does that help if reads are mostly of really big objects? isn't it all or nothing per request?20:42
notmynamethe bytes actually sent on the wire are tracked as they're sent. so a 5GB download that is stopped 2GB through will only track 2GB of bytes20:44
notmynamesee the InputProxy in utils.py and how it's used in proxy_logging.py20:46
esnyderthanks, i'll go read code and ponder some20:47
notmynameor the bytes_sent in iter_response() in proxy_logging20:47
esnyderi'm just having a hard time seeing, in ratelimit.py, how it helps in large object situation.  for instance, you have client making single request for 100GB file (for example). at the time that ratelimit can decide whether to sleep or not, everything is good. as soon as it decides not to sleep, the client is going to read that 100GB as fast as it can, right?20:49
esnyder(or even, as soon as your sleep is over)20:50
notmynameoh, I was thinking of some completely new middleware20:52
esnyderyes, me too, just analogizing20:52
notmynameand it would probably not do the exact same thing as the existing ratelimit20:52
notmynamewait + fast-as-possible is ok when it's doing req/sec20:53
esnyderto rephrase: how can i, in middleware, slow down a large object GET? or does it have to happen outside middleware?20:53
notmynamethe new bw_ratelimit would be more about yielding the iterator for the response body (or request body?) a little at a time20:53
*** lucasxu has quit IRC20:53
esnyderi see20:53
notmynameyeah, you'd wrap the app iter and yield it as fast or as slow as you want20:53
esnyderok, thanks for the help20:54
*** cschwede has joined #openstack-swift20:57
*** ChanServ sets mode: +v cschwede20:57
torgomaticesnyder: protip: don't forget about iterator closing; if someone calls .close() on your iterator, you then have to .close() the app iter, otherwise you leak file descriptors20:57
* torgomatic has written that bug a couple different times now20:57
esnydertorgomatic: thanks. i still struggle w/ wsgi mware conventions, so every little hard won tip like that is much appreciated!20:58
*** tonanhngo has quit IRC20:58
notmynametorgomatic: do you remember if we have a handy wrapper for that?20:58
timburkewith closing_if_possible(inner_iter): for chunk in inner_iter: ... ?20:59
*** tonanhngo has joined #openstack-swift20:59
timburkeon the test side, FakeSwift's unclosed_requests is great -- i just went through closing all the subrequest iters in versioned_writes in https://review.openstack.org/#/c/307937/21:00
patchbotpatch 307937 - swift - Close all versioned_writes subrequests' app_iters21:00
esnyderawesome, thx21:01
claygawww... no zaitcev :'(21:01
notmynameso if you're in the inner iter and out in the outer iter you get a close, make sure in the inner iter ends the iter21:02
notmynamethat's hard for me to say out loud21:02
notmynameit's the swift sobriety test! please clearly enunciate the following: ...21:03
*** tonanhngo has quit IRC21:04
timburkebasically, as soon as you get an app_iter, you want to be thinking about a finally block that closes it21:04
timburkeeither in your middleware, or returning it so it's someone else's problem21:05
esnyder(one last q... is there a handy example of some middleware of this general form of "process each piece of the data that would have been returned, had this middleware not been in the pipeline"?)21:06
esnyderi guess in the middleware/crypto?21:07
esnyderlooks like. thanks all for the help, much appreciated.21:10
*** catinthe_ has joined #openstack-swift21:10
*** catintheroof has quit IRC21:12
*** tonanhngo has joined #openstack-swift21:22
*** tonanhngo has quit IRC21:26
*** skudlik has quit IRC21:27
*** tonanhngo has joined #openstack-swift21:31
*** NM has quit IRC21:36
*** tonanhngo has quit IRC21:36
*** caiobrentano has quit IRC21:37
*** tonanhngo has joined #openstack-swift21:38
*** tonanhngo has quit IRC21:42
*** tonanhngo has joined #openstack-swift21:50
*** ukaynar has quit IRC21:50
*** catinthe_ has quit IRC21:52
*** tonanhngo has quit IRC21:55
claygwhy don't we land patch 406111 - both changes were just minor cleanups to patch 34647522:15
patchbothttps://review.openstack.org/#/c/406111/ - swift - Initial placement gets one go22:15
patchbothttps://review.openstack.org/#/c/346475/ - swift - For any part, only one replica can move in a rebal... (MERGED)22:15
claygpatch 428408 is also pretty sure is good/obvious - I think rledisez' clusters are basically already doing this (sort of)22:17
patchbothttps://review.openstack.org/#/c/428408/ - swift - Don't rehash primaries in reconstructor handoffs_o...22:17
*** tonanhngo has joined #openstack-swift22:30
timburkeclayg: re 406111, i remember taking a look at it (i even have a draft about how the bitmap buddy makes sense), but got lost trying to figure out why marking parts moved during initial rebalance resulted in such worse rings. initial dispersion going from ~40 to ~60 seems bad, no? i would assume there's similar weirdness in balance though i don't remember whether i investigated what the current code produces...22:30
timburkeare we just assuming that people are going to rebalance their rings several times before pushing out that inital set?22:31
timburkeon 428408, i already +2ed, what are the rest of you waiting for? :P22:32
*** tonanhngo_ has joined #openstack-swift22:32
*** infurno has joined #openstack-swift22:33
*** tonanhngo has quit IRC22:34
*** tonanhngo_ has quit IRC22:37
*** tonanhngo has joined #openstack-swift22:38
*** tonanhngo has quit IRC22:43
*** tonanhngo has joined #openstack-swift22:45
*** chlong has quit IRC22:45
*** cschwede has quit IRC22:45
*** tonanhngo has quit IRC22:49
openstackgerritTim Burke proposed openstack/swift master: Make If-None-Match:* work properly with 0-byte PUTs  https://review.openstack.org/47699222:50
*** tonanhngo has joined #openstack-swift22:51
*** tonanhngo has quit IRC22:55
*** tonanhngo has joined #openstack-swift22:57
*** tonanhngo has quit IRC23:02
*** tonanhngo has joined #openstack-swift23:03
*** tonanhngo has quit IRC23:08
*** caiobrentano has joined #openstack-swift23:10
*** NM has joined #openstack-swift23:32
*** NM has quit IRC23:51
*** gyee has quit IRC23:52
*** NM has joined #openstack-swift23:53

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