Tuesday, 2020-05-19

*** mikecmpbll has quit IRC00:02
*** evrardjp has quit IRC00:52
openstackgerritTim Burke proposed openstack/swift master: prefactor: Pass s3api Config to S3Requests  https://review.opendev.org/72909102:36
openstackgerritTim Burke proposed openstack/swift master: s3api: Log ratelimited requests as 498s  https://review.opendev.org/72909202:36
openstackgerritTim Burke proposed openstack/swift master: s3api: Add config option to return 429s on ratelimit  https://review.opendev.org/72909302:36
*** gyee has quit IRC03:23
*** psachin has joined #openstack-swift03:39
*** threestrands has quit IRC04:15
*** ccamacho has joined #openstack-swift06:32
*** rpittau|afk is now known as rpittau06:51
*** abelur has quit IRC07:26
*** abelur has joined #openstack-swift07:28
*** evrardjp has joined #openstack-swift07:31
*** evrardjp has quit IRC07:32
*** evrardjp has joined #openstack-swift07:34
*** ccamacho has quit IRC07:40
*** mikecmpbll has joined #openstack-swift07:58
*** tkajinam has quit IRC08:02
*** tkajinam has joined #openstack-swift10:30
*** rpittau is now known as rpittau|bbl10:31
*** rpittau|bbl is now known as rpittau12:04
*** ccamacho has joined #openstack-swift12:18
*** psachin has quit IRC13:35
*** tkajinam has quit IRC14:11
*** tkajinam has joined #openstack-swift14:11
*** mikecmpbll has quit IRC15:00
*** mikecmpbll has joined #openstack-swift15:03
*** gyee has joined #openstack-swift15:46
*** rpittau is now known as rpittau|afk16:22
openstackgerritTim Burke proposed openstack/swift master: s3api: Log ratelimited requests as 498s  https://review.opendev.org/72909216:30
claygTim, my experience is that historically we've had enough trouble with our little environ hook passing that it's worth it do whatever is necessary to observe the expected behavior on p 729092 before I +A, if you don't have any specific recommendations for functionally testing I'm happy to pursue on my own.17:22
patchbothttps://review.opendev.org/#/c/729092/ - swift - s3api: Log ratelimited requests as 498s - 2 patch sets17:22
timburkeclayg, enable ratelimit and put it right of auth; something like `container_listing_ratelimit_0 = 10` and `max_sleep_time_seconds = 0.1` seemed to work well for me, though you could turn the max sleep all the way down to 0 if you want to *everything* 498s17:25
timburkemake s3 listings fast enough to trip ratelimiting, and look at logs to see that it's not logged as the same 503 that comes back to the client17:27
claygyuk, vsaio doesn't setup the config section for ratelimit by default it doesn't seem17:27
timburkenope :-(17:27
claygfor i in {1..20}; do aws s3api list-object --bucket test; done going to be good enough?17:28
timburkeit's simple enough, though: `use = egg:swift#ratelimit`17:28
claygyeah but how do you avoid the obvious yak of adding support to vsaio!!! 😁17:28
timburkestart-up time may dominate; fwiw i did something like `for i in {1..20}; do aws s3 ls s3://test/ & done; time wait` so it's in parallel17:30
clayg`tempurl s3api ratelimit tempauth `17:31
clayg^?17:32
*** evrardjp has quit IRC17:32
claygor, no i guess you're saying `tempurl s3api tempauth ratelimit` 🤔17:33
timburkeyeha, i'd put it after auth -- that's the bit that'll be responsible for translating from /v1/test:tester/test to /v1/AUTH_test/test so you get a single limit for both swift and s317:33
*** evrardjp has joined #openstack-swift17:34
claygtimburke: what about p 729051 you started talking about cake and now I'm super excited about having ratelimits all over my pipeline!!!17:34
patchbothttps://review.opendev.org/#/c/729051/ - swift - ratelimit: Allow multiple placements - 2 patch sets17:34
timburkeall over the place! yeah, with that one, you can do something like `ratelimit s3api tempauth ratelimit` and not double-up book-keeping for swift requests17:35
claygyeah that sounds pretty freaking sexy17:37
timburkedo i remember this right? wasn't there some kind of issue with putting s3api in our default pipeline? trouble with devstack trying to have both s3api *and* swift3, something like that...18:00
*** mikecmpbll has quit IRC18:07
*** mikecmpbll has joined #openstack-swift18:08
openstackgerritTim Burke proposed openstack/swift master: Add s3api to recommended pipeline  https://review.opendev.org/72934418:12
timburkewell, let's see what ^^^ does18:12
*** rcernin has quit IRC18:34
claygoh wow, so swiftclient doesn't like to be ratelimited `Container GET failed: http://saio:8080/v1/AUTH_test/test?format=json 498 Rate Limited   Slow down` 😞18:36
timburkewhomp whomp18:37
timburkefor some reason i thought i'd had it respond reasonably well... *shrug*18:38
timburkehey, wait -- https://github.com/openstack/python-swiftclient/commit/5187fd31318:38
timburkewhy don't we default that to true!?18:39
*** mikecmpbll has quit IRC19:23
*** mikecmpbll has joined #openstack-swift19:23
*** mikecmpbll has quit IRC19:46
*** ccamacho has quit IRC21:09
*** renich has joined #openstack-swift21:10
claygtimburke: FWIW I think I'm done reviewing p 729092 - but I hesitated on the +A since it hasn't been up very long and I'm not such a s3api expert.  Ideally @rledisez or @kota_ could sweep through and knock it out if the trust my review and our comments and commit message make sense?21:22
patchbothttps://review.opendev.org/#/c/729092/ - swift - s3api: Log ratelimited requests as 498s - 2 patch sets21:22
*** rcernin has joined #openstack-swift22:56
openstackgerritTim Burke proposed openstack/swift master: ratelimit: Allow multiple placements  https://review.opendev.org/72905123:01
mattoliveraumorning23:20
*** renich has quit IRC23:41

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!