Wednesday, 2025-04-30

elodillestimburke_: hi, sorry for pinging you, but could you take a look at the 2023.2 Bobcat EOL patch of swift please: https://review.opendev.org/c/openstack/releases/+/94824012:52
elodillesit would be nice to have an ACK from the team o:)12:52
opendevreviewYan Xiao proposed openstack/swift master: Object-server: add labeled timing metrics for other object server requests  https://review.opendev.org/c/openstack/swift/+/94854813:59
opendevreviewShreeya Deshpande proposed openstack/swift master: stats: s3 helper functions  https://review.opendev.org/c/openstack/swift/+/94079115:18
opendevreviewShreeya Deshpande proposed openstack/swift master: stats: s3 helper functions  https://review.opendev.org/c/openstack/swift/+/94079117:48
opendevreviewTim Burke proposed openstack/swift master: sq: rename _do_get_updating_namespaces back to _get_updating_namespaces  https://review.opendev.org/c/openstack/swift/+/94857018:21
opendevreviewTim Burke proposed openstack/swift master: sq: Pull NamespaceCachePopulator off controller  https://review.opendev.org/c/openstack/swift/+/94857118:21
opendevreviewTim Burke proposed openstack/swift master: sq: Pull _populate_updating_namespaces out to a NamespaceCachePopulator-like  https://review.opendev.org/c/openstack/swift/+/94857218:21
opendevreviewJames Nguyen proposed openstack/swift master: Fix the inconsistent use of printing errors  https://review.opendev.org/c/openstack/swift/+/94857519:12
opendevreviewYan Xiao proposed openstack/swift master: Object-server: add labeled timing metrics for other object server requests  https://review.opendev.org/c/openstack/swift/+/94854819:58
opendevreviewTim Burke proposed openstack/swift master: sq: common: add memcached based cooperative token mechanism.  https://review.opendev.org/c/openstack/swift/+/94858520:19
*** timburke_ is now known as timburke20:37
timburkealmost meeting time!20:59
timburke#startmeeting swift21:00
opendevmeetMeeting started Wed Apr 30 21:00:31 2025 UTC and is due to finish in 60 minutes.  The chair is timburke. Information about MeetBot at http://wiki.debian.org/MeetBot.21:00
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.21:00
opendevmeetThe meeting name has been set to 'swift'21:00
timburkewho's here for the swift meeting?21:00
mattolivero/21:00
timburkeas usual, the agenda's at21:01
timburke#link https://wiki.openstack.org/wiki/Meetings/Swift21:01
timburkeand i even remembered to update it today!21:01
timburkefirst up21:02
timburke#topic aws-chunked21:02
timburkei think acoles and i have got the chain looking pretty good -- it's time to rally some other people to leave reviews!21:03
timburkethe chain starts with adding support for the new protocol21:04
timburke#link https://review.opendev.org/c/openstack/swift/+/83675521:04
timburkethen has a series of patches to get us at least validating checksums on upload (even if we aren't storing and returning them yet)21:04
mattoliverKk, I need to loop back to this. If it's ready I'll try to take another look. Might be nice to have a break from the rabbit hole I'm in :) 21:05
timburkeoh, boo! i accidentally left a style error at the end of my last set of uploads. will try to fix that shortly21:06
timburkespeaking of patches that seem about ready to merge...21:06
timburke#topic memcache-tokens to reduce backend requests21:06
rwmtinkywinky46o/ (sorry late!)21:07
timburkejianjian has been driving this for a while -- i just realized that we've been running with it in prod for more than a year!21:07
timburkeyesterday i finally got around to really putting it through its paces, and i'm pretty happy with it -- definitely saw a good reduction in backend requests when restarting memcache mid swift-bench run21:09
timburkei left a handful of suggestions as potential squash patches, though -- i feel like we can get the code changes a little tighter21:10
mattoliverOh yeah, this is awesome! Made a huge difference, everyone should benefit!21:10
mattoliverKk, so let jian take another look then it might be ready to merge :) 21:11
timburkeafter testing, i was left thinking we probably want it on by default :-)21:11
timburkeall that memcache restarting gave me a little trouble with auth, though, until i remembered...21:12
timburke#topic fernet tokens for tempauth21:12
timburke#link https://review.opendev.org/c/openstack/swift/+/86127121:12
timburkethat patch was great! restart memcache, no more trouble with auth!21:13
timburkezaitcev already left a +2 -- anyone else want to take a look, or should i just merge it?21:13
timburkewe've had a similar approach in out out-of-tree auth middleware for some time21:13
mattoliverits in tempauth, so feel like its safer to just merge. But I could take a look if you want. 21:15
timburkeeither way. it's been around a while21:15
timburkenext up21:16
timburke#topic testing on py31321:16
timburkei noticed that py313 is listed as one of the 2025.2 runtimes21:16
timburke#link https://governance.openstack.org/tc/reference/runtimes/2025.2.html#python21:17
timburkeand already merged a unit test job21:17
timburke#link https://review.opendev.org/c/openstack/swift/+/94796821:17
timburkefunc tests also already pass21:18
timburke#link https://review.opendev.org/c/openstack/swift/+/94799821:18
timburkebut i'm not sure whether we want CI all the way up there yet21:18
opendevreviewMerged openstack/liberasurecode master: Make check-symbols.sh work on OS X  https://review.opendev.org/c/openstack/liberasurecode/+/92996321:19
timburkei haven't gotten around to trying probe tests yet -- certainly, getting them in CI might be tricky21:19
timburkeand i should note that all of this is with a python build that still has the GIL, rather than a free-threaded build21:20
timburke(the py313 jobs used to grab a free-threaded build, but that changed a few months ago)21:22
timburke#link https://opendev.org/zuul/zuul-jobs/commit/b95cfa4ad7bd8083d037104310f766074ec7324621:22
timburkei wouldn't mind figuring out how to get a free-threaded build in CI again, but i don't think many of our (transitive) dependencies provided free-threaded wheels, so that could be a complication21:24
mattoliverwell I like the idea of one day using the free-threaded version of python. Might be a way out of the eventlet hole eventually ;) 21:24
timburkebut it'd be especially nice for pyeclib -- that way we can try to get rid of the `PyUnstable_Module_SetGIL(m, Py_MOD_GIL_USED)`21:25
timburkespeaking of...21:26
timburke#topic modernizing pyeclib21:26
timburkei'd appreciate some consensus on us dropping some old python versions there21:26
timburke#link https://review.opendev.org/c/openstack/pyeclib/+/93809821:26
timburkewe currently test on py27, py35, py36, py37, py38, py39, py310, py311, py312, and py313. that's a lot of pythons!21:28
timburkefrom the ptg it sounded like we're ok with dropping more than half of them, to bring pyeclib (at least) in line the broader openstack expectations around supported python versions21:29
timburkebut it still seems like the sort of change that should merge with more than just my say-so -- so i'd appreciate other cores weighing in on it (if only on the broader "which pythons should we support?" question, rather than the specific tactics of the patch)21:30
mattoliverfyi, just checked the tempauth fernet token patch.. looks great! So +Aed it. 21:30
timburkethanks, mattoliver!21:30
mattoliveryes, let's drop the older python releases!21:31
mattoliverlets make the testing metric smaller21:31
mattoliver*matrix21:31
timburkeonce we do that, we can clean up a bunch of things, too -- not just getting rid of py2-isms (of which there were remarkably few, as i recall), but also using stdlib's enum module21:32
timburkeand if we *really* want to go all crazy-modern, i even took a stab at moving the project to use pyproject.toml21:33
timburke#link https://review.opendev.org/c/openstack/pyeclib/+/94754321:33
mattoliverwhat! pyproject, we're really finally modernizing this stuff :)21:34
timburkeit's like whoa21:34
mattoliverLol I had draft comment on 938098, opps21:35
timburkei think there's a whole lot of stuff in that setup.py that doesn't need to be there in this day and age21:35
timburkeno worries -- i know i tend to have a lot of unpublished drafts laying around, too21:36
mattoliverinteresting, but there still is a setup.py so people who still build on older distros cough cough can still build it. I like that21:36
timburkemattoliver, bingo! not only that, but PTI has some specific setup.py invocations it expects21:37
timburke#link https://governance.openstack.org/tc/reference/pti/python.html#specific-commands21:37
timburkeanyway, that's all i've got for this week21:38
timburke#topic anything else we should bring up?21:38
rwmtinkywinky46if there's time, may I ask some object lock questions? :)21:38
mattoliverI'll make sure this still builds in our downstream infrastructure, and if it does that I think it's something we can merge. Might need to think about how we bump the next version. But maybe it doesn't matter that much. 21:38
timburkethanks mattoliver21:39
timburkerwmtinkywinky46, absolutely! whenever i see a less-frequently-seen person, i like to try to leave some extra time :-)21:39
rwmtinkywinky46thanks :)21:39
rwmtinkywinky46we'll be offering a patch set soon(tm) for adding object lock, consisting of a new middleware and patches to s3api to remove the stubs and wire it to the new middleware when it's loaded21:40
rwmtinkywinky46however, I'm unclear on how middleware should do role checks, since governance mode relies on the user having a role21:40
opendevreviewMerged openstack/liberasurecode master: Mark a bunch of things internal  https://review.opendev.org/c/openstack/liberasurecode/+/92997421:40
rwmtinkywinky46I *think* we need to also patch swift's keystoneauth to include a config for the role and pass the existance into the env like other role checks are done, but wanted to check this was the expected practice21:41
timburkeyeah, that sounds right. generally speaking, the auth middleware(s) should be the place making auth decisions. when it can't do that immediately (for example, because one client request spawns multiple backend requests) it does it via the authorize callback21:43
rwmtinkywinky46yes okay, thanks. I'll get them working on that part of object lock as well, then I think we might be good to submit. thanks!21:45
timburkecool! i look forward to seeing it!21:45
mattoliverAnd if keystoneauth is going to pass in something, like here is a roles of the user, or what ever you need maybe make sure tempauth (being the test/dev version can do it to.. so we can test the features of the new middleware without keytone setup. 21:45
rwmtinkywinky46okay, I'll make sure that's included!21:46
mattoliverit can be super simple there. like just define the roles in the config for a user and it'll be included or whatever. 21:46
rwmtinkywinky46thanks all for your time :)21:47
indianwhocodeso/21:47
mattoliverI've been distracted on other downstream work. So I don't have much to report21:49
timburkefwiw, tempauth sometimes lags a little behind keystone on features like with https://github.com/openstack/swift/commit/98a0275a and https://github.com/openstack/swift/commit/cf4f320621:51
timburke(mostly i just wanted to find those to offer as an example of the last time we did this sort of a thing)21:51
timburkeall right, i think i'll call it for the week then21:53
timburkethank you all for coming, and thank you for working on swift!21:53
timburkereminder that next week we'll be meeting at 0700 instead of 0210021:53
timburke#endmeeting21:53
opendevmeetMeeting ended Wed Apr 30 21:53:50 2025 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)21:53
opendevmeetMinutes:        https://meetings.opendev.org/meetings/swift/2025/swift.2025-04-30-21.00.html21:53
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/swift/2025/swift.2025-04-30-21.00.txt21:53
opendevmeetLog:            https://meetings.opendev.org/meetings/swift/2025/swift.2025-04-30-21.00.log.html21:53
mattolivernice, thanks timburke , now back to making sure the kids have and are eating breakfast 21:54
timburkeyeah, that sounds like a good plan :D21:54
opendevreviewTim Burke proposed openstack/swift master: s3api: Validate additional checksums on upload  https://review.opendev.org/c/openstack/swift/+/94407322:45
opendevreviewTim Burke proposed openstack/swift master: s3api: Add support for crc64nvme checksum calculation  https://review.opendev.org/c/openstack/swift/+/94614122:45
opendevreviewTim Burke proposed openstack/swift master: Add labeled metrics to s3api  https://review.opendev.org/c/openstack/swift/+/93948122:45
opendevreviewTim Burke proposed openstack/liberasurecode master: Fix write locking when destroying instances  https://review.opendev.org/c/openstack/liberasurecode/+/92932422:58
opendevreviewTim Burke proposed openstack/liberasurecode master: Fix write locking when creating instances  https://review.opendev.org/c/openstack/liberasurecode/+/92932522:58
opendevreviewTim Burke proposed openstack/liberasurecode master: Add read locks when accessing EC descriptors  https://review.opendev.org/c/openstack/liberasurecode/+/92984722:58
opendevreviewMerged openstack/swift master: tempauth: Support fernet tokens  https://review.opendev.org/c/openstack/swift/+/86127123:45
opendevreviewTim Burke proposed openstack/pyeclib master: Move to pyproject.toml  https://review.opendev.org/c/openstack/pyeclib/+/94754323:54

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