Wednesday, 2024-05-22

opendevreviewMatthew Oliver proposed openstack/swift master: obj: skip to async_pending when root is busy  https://review.opendev.org/c/openstack/swift/+/91966707:05
-opendevstatus- NOTICE: There will be a short Gerrit outage while we update to the latest 3.8 release in preparation for next weeks 3.9 upgrade.17:02
opendevreviewTim Burke proposed openstack/swift master: s3api: Clean up some sha256 validation/mismatch errors  https://review.opendev.org/c/openstack/swift/+/92020619:12
timburke#startmeeting swift21:01
opendevmeetMeeting started Wed May 22 21:01:21 2024 UTC and is due to finish in 60 minutes.  The chair is timburke. Information about MeetBot at http://wiki.debian.org/MeetBot.21:01
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.21:01
opendevmeetThe meeting name has been set to 'swift'21:01
timburkewho's here for hte swift meeting?21:01
zaitcevAnd then...21:01
mattolivero/21:03
timburkei neglected to update the agenda, but there have been a few bodies of work moving forward21:03
zaitcevOh, hey.21:03
timburke#topic labeled metrics21:04
mattoliverzaitcev: congrats on getting cinder core too! 21:04
timburkeoh, nice! i hadn't been following -- congrats!21:05
zaitcevmattoliver: thanks!21:05
timburkeshreeya and yan have continued trying to untangle our statsd client from our logger21:05
zaitcevI know even less about Cinder than I do about Swift, but they have such a pile of reviews that here we are.21:05
timburkefirst in the chain is to break out configuration21:06
timburke#link https://review.opendev.org/c/openstack/swift/+/91944421:06
patch-botpatch 919444 - swift - Move StatsdClient config parsing from get_logger t... - 3 patch sets21:06
timburkeand i don't think it's quite there yet, but i think the next patch is going to try to get the statsd references out of logs.py21:08
timburke#link https://review.opendev.org/c/openstack/swift/+/91548321:08
patch-botpatch 915483 - swift - HybridMultiObjectDispatcher - 11 patch sets21:08
timburkewhile continuing to have utils.get_logger return a weird frankenstein object that lets you call both log and stat methods21:09
timburkei know they started to get a little lost in some details like the logger thread locals (which we use to add transaction id and client ip to server log lines)21:11
mattoliverlol, but the plan is the franlentein monster will go sometime in the future when we have a "better" metrics client?21:11
timburkenot sure -- it seems likely to break 3rd party middlewares and the like. maybe eventually with appropriate deprecations, though?21:12
timburkei think there's some alignment, though: it's enough of a win for us to just get the stats stuff out of the logger, we don't have to try to fix all the weird/bad things we don't like about our loggers right now21:13
mattoliveryeah, I guess we would need a migration plan to move forward on that. 21:14
timburkei.e., logger thread locals can stay on the logger; the frankenlogger will get a __setattr__ in addition to the __getattr__ (or do something more explicit with a bunch of @property methods); and we're just going to try to carve out a pure statsd client21:16
mattoliverkk21:18
timburkei'm still a little nervous about the refactor distracting from the actual desired improvement, but at the same time, it's always been a little weird that stats and logs were lumped together the way they are21:19
timburkenext up21:19
timburke#topic backend ratelimiting21:19
timburkewe landed some patches in the last couple weeks21:20
timburke#link https://review.opendev.org/c/openstack/swift/+/84053121:20
patch-botpatch 840531 - swift - backend ratelimit: support reloadable config file (MERGED) - 10 patch sets21:20
timburke#link https://review.opendev.org/c/openstack/swift/+/84054221:20
patch-botpatch 840542 - swift - backend ratelimit: support per-method rate limits (MERGED) - 9 patch sets21:20
timburkethese are things we've been using with our clusters for a while now, and got to see some recent active use while trying to keep container servers from getting overloaded21:22
timburkewhich i believe also prompted mattoliver to write up21:22
timburke#link https://review.opendev.org/c/openstack/swift/+/91966721:22
patch-botpatch 919667 - swift - obj: skip to async_pending when root is busy - 4 patch sets21:22
mattoliverYeah, and I think they're great tools for ops to have in their back pocket. 21:22
mattoliveryup! 21:23
mattoliverBascially bypasses sending the container-update if the root container is crazy busy and go straight to async_pending to give the container more breathing space. 21:24
mattoliverrather the join in the DDOS fun :P 21:24
timburkei still wonder a little if it would be better for the proxy to 503 the PUT, and avoid the pile-up that way. or at least have an option for it or something?21:27
timburkenext up:21:29
timburke#topic aws-chunked support21:29
timburkei finally got around to writing my own s3 signer/client to explore some error conditions21:30
timburkefirst target was fixing up some sha256-mismatch errors21:30
timburke#link https://review.opendev.org/c/openstack/swift/+/91869421:30
patch-botpatch 918694 - swift - cors: Add ability to allow requests with credentials - 3 patch sets21:30
mattoliverwoah, nice one man21:31
timburkebut i plan on using it more as i explore the additional checksum support and aws-chunked protocol21:31
timburkebah! that wasn't the link i meant...21:31
timburke#link https://review.opendev.org/c/openstack/swift/+/92020621:32
patch-botpatch 920206 - swift - s3api: Clean up some sha256 validation/mismatch er... - 1 patch set21:32
mattoliverthat looks better :)21:32
timburkestill working on restacking the other patches, but something to look forward to21:33
timburke#topic python 3.1321:34
timburkethe first beta was released a couple weeks ago! and a fresh beta is due out next week!21:34
mattolivernice work pushing it forward Tim!21:34
timburkei haven't gotten to trying it out yet, but i'd like to soon, so we can identify any issues early21:35
timburkethe only trouble i already know of is the removal of cgi21:35
timburke#link https://review.opendev.org/c/openstack/swift/+/88790821:35
mattolivernice, and be on the front foot for once. Thanks for all your hard work getting swift modern python ready. 21:35
patch-botpatch 887908 - swift - Stop using cgi.parse_header - 3 patch sets21:35
timburke...which it looks like is due for a rebase21:36
opendevreviewMerged openstack/swift master: docs: Update further-reading URL for cross-domain policies  https://review.opendev.org/c/openstack/swift/+/91974821:36
timburkethat's all i've got for this week21:37
timburke#topic open discussion21:37
timburkeanything else we should bring up?21:37
mattoliverWe've already mentioned the skip to async pending. The only other things I'm poking at is the db vacuum and leader election algorithm stuff21:38
mattoliverbut haven't had much of a chance to push them forward much. Maybe I'll have news next meeting.21:38
mattoliverSo I'm good21:38
timburkeoh yeah -- i should take another look at the vacuum patch21:39
mattoliverOh and I've meet with the Qatar students twice. They're onboarding. Building SAIOs and you might see them pop in and out here as they get their dev envs set up :) 21:39
mattoliverI've walked through what swift is, topology and we've walked through my SAIO and poked at things. So hopefully they feel comfortable building and breaking their own SAIOs.21:41
mattolivernext meeting with them I plan to go through swift code locations and maybe point them in the right place to get started.21:41
mattoliverThey seem like a good bunch.21:41
timburkeoh good! thanks again for working with them -- how's the timezone difference?21:42
mattolivernot too bad. We meet on my Monday late arvo, which is like 9am their time. So far working well21:42
mattoliverI hope once they get better access here, we can be alot more async21:43
timburkenice21:45
timburkeall right, i think i'll call it21:45
timburkethank you all for coming, and thank you for working on swift!21:45
timburke#endmeeting21:45
opendevmeetMeeting ended Wed May 22 21:45:35 2024 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)21:45
opendevmeetMinutes:        https://meetings.opendev.org/meetings/swift/2024/swift.2024-05-22-21.01.html21:45
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/swift/2024/swift.2024-05-22-21.01.txt21:45
opendevmeetLog:            https://meetings.opendev.org/meetings/swift/2024/swift.2024-05-22-21.01.log.html21:45

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