Wednesday, 2023-05-17

opendevreviewMerged openstack/swift master: docs: Update versions in Getting Started doc  https://review.opendev.org/c/openstack/swift/+/88331400:17
opendevreviewMerged openstack/swift master: docs: Remove references to out-dated install guides  https://review.opendev.org/c/openstack/swift/+/88331300:20
opendevreviewOpenStack Proposal Bot proposed openstack/swift master: Imported Translations from Zanata  https://review.opendev.org/c/openstack/swift/+/88263503:04
edausqhello and thank you for the work on "Properly read py2 object metadata on py3"07:23
edausqwe have been testing it but we are now encountering a metadata issue, on a full py3 cluster, after ssync replication07:25
edausqI don't have much logs for now to open a ticket07:29
kotafor the meeting tomorrow, sorry, I got a cold and cough so i'll be absent on that one.09:30
opendevreviewAlistair Coles proposed openstack/swift master: proxy: add periodic zero-time sleep during object PUT  https://review.opendev.org/c/openstack/swift/+/88336712:31
opendevreviewAlistair Coles proposed openstack/swift master: Support swift.proxy_logging_status in request env  https://review.opendev.org/c/openstack/swift/+/78480816:04
opendevreviewAlistair Coles proposed openstack/swift master: s3api: add option to log '503 Slow Down' as 429  https://review.opendev.org/c/openstack/swift/+/88341516:04
timburkeno worries, kota! rest up17:00
timburkeedausq, well shoot. i'll be interested in seeing some logs for it; maybe even better, find an affected object and grab the output of `xattr -l <diskfile>`17:02
timburke#startmeeting swift21:00
opendevmeetMeeting started Wed May 17 21:00:10 2023 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
acoleso/21:01
timburkei negelcted to update the agenda again, but i think there was only one main new thing i wanted to draw attention to21:02
timburkereal quick on old business:21:02
timburke#topic GeneratorExits in EC GET path21:03
timburke#link https://review.opendev.org/c/openstack/swift/+/88035621:03
timburkestill hasn't merged -- i was trying to give clayg some time to take another look, but i might just go ahead and merge it since it's been a couple weeks21:04
timburkegood work, indianwhocodes!21:04
timburke#topic requests-mock fixture and recursion errors21:04
timburke#link https://review.opendev.org/c/openstack/swift/+/88210521:04
timburkehas merged, so we're unblocked on adding some s3 testing to probe tests21:05
acoleshttps://review.opendev.org/c/openstack/swift/+/880356/comment/4a113b26_d6fd1c9d/21:05
mattoliverNice21:05
acoleswas there an answer to this question https://review.opendev.org/c/openstack/swift/+/880356/comment/4a113b26_d6fd1c9d/21:06
timburkeno -- good point. i *think* the answer will be "nothing material"; either way, the finally block's executing, and there isn't much of anything else in that generator -- it might have some implications up a stack level, though21:08
timburke(also, i suppose i'm -1 on the unnecessary `pass`)21:08
timburkethanks for keeping me honest, acoles ;-)21:09
timburke#topic non-ascii py2 metadata on py321:10
timburke#link https://review.opendev.org/c/openstack/swift/+/87855821:10
acolesI guss something used to get an exception and now doesn't, maybe that was the bug (there's no bug report, but there's mention of a traceback??)21:10
timburkemetadata fix has merged, but the user reported there's some new issue -- will be anxious to see the new bug report when it comes through21:11
mattoliveroh really :(21:12
mattoliverI did confirm every 2.6 and 2.7 version for the magic21:12
mattoliveror lack of magic21:12
timburkeseems to be something with ssync in a py3-only cluster -- so i'm trying running probe tests like that, to start (though i'm not entirely sure we've got probe tests to exercise replicating non-ascii meta...)21:15
mattoliverkk21:16
timburkei think that about covers it for old items21:16
timburkethe main new thing i wanted to bring up was something acoles has been running down this week21:17
timburke#topic non-cooperative EC PUTs21:17
timburke#link https://bugs.launchpad.net/swift/+bug/201995521:17
timburkewe've seen some strange things, like timeouts popping well after they were scheduled21:18
timburketurned out, our network was fast enough to keep up with us reading in client chunks, encoding them to frags, and writing them out to backend buffers such that no calls ever actually blocked21:19
acolesoh yeah, patch here https://review.opendev.org/c/openstack/swift/+/883367?usp=email21:19
mattoliveroh, interesting!21:19
timburkewe already had some protection from that in the GET path, such that every 5 chunks we'd sleep(0) just to give other greenthreads a chance, but nothing like it in the PUT path21:20
acoleswe got alerted to this by some timeouts popping but taking much longer to pop that the timeout value!21:20
mattoliverNice find, and I guess it's also thanks to all the timing logs. 21:21
acolesturns out that neither the thread being timed and the thread managing the timeout would run while a PUT thread was chugging away on a GB or so of EC data21:21
acolesonce the PUT complete, the other threads ran and boom, the timeout finally popped21:21
acolesWith the fix, we hopefully won't see those timeouts at all21:22
timburkei take it as another reminder that we should probably look into using something other than eventlet for our per-client parallelism21:22
acolesI got some feedback on the patch, I'll give it another spin and hopefully come up with something a little more elegant21:24
timburke👍21:24
timburkeoh! one other new thing i wanted to bring up21:25
timburke#topic netifaces21:25
timburkeit was pointed out on the ML that the project has been archived21:25
timburke#link https://lists.openstack.org/pipermail/openstack-discuss/2023-April/033261.html21:25
timburkewhich doesn't seem like a great place for us to have one of our dependencies21:26
mattoliveryeah :(21:26
timburkewe only use it for getting a node's own IP addresses, so i took a stab at making the C calls ourselves and dropping the dep21:26
timburke#link https://review.opendev.org/c/openstack/swift/+/87322221:27
timburkethere was also a bit of utils-breakup to it, since i was adding a fair few new classes21:27
timburkeanybody feel strongly about having me respin that as two patches? first pull things apart, then make my changes?21:28
zaitcevwait, why two21:29
mattoliverI'll take a look at it. But from an initial glance, I think its fine as one. 21:29
zaitcevI remember that patch, it looked just fine to me.21:29
zaitcevOh, you mean moving things in utils.21:30
mattoliverwe want to split utils up where is makes sense.. and this is just that, and it has enough to warrant it. Nice work Tim. 21:30
mattoliverI'll review it today21:30
zaitcevI ended opening it in another window too and then compared line by line.21:31
timburkethanks mattoliver -- but it's not "just that", which was why i'm debating about respinning it as two stacked patches ;-)21:31
zaitcevNot worth debating in this case IMHO. Just do it next time.21:32
timburkealso note that it uses https://www.man7.org/linux/man-pages/man3/getifaddrs.3.html -- and i'm not entirely sure what platforms support it21:33
timburkeso, for now, it can still fall back to netifaces (which looks to have some other ways it can get interface data sometimes), but log a warning about it21:34
timburkeassuming we haven't gotten any reports from users, we can fully remove it in a couple years or something21:34
timburkeall right, i think that's all i've got21:35
timburke#topic open discussion21:35
timburkeanything else we should bring up this week?21:35
zaitcevNaah. Well, aside from the perennial poking Alistair about the watcher vs sharding.21:35
acolesI get 3 test failures in test_ipaddrs, so maybe macos doesn't support it21:35
acoles🏃‍♂️21:36
acoleszaitcev: it made it as far as my todo list :)21:36
mattoliverI have a slightly crazy patch: https://review.opendev.org/c/openstack/swift/+/883050 which is attempting to no-op py2 tracing on the tracing chain... tests in py2 now seem to pass. Allowing the code to run in py2 (but you don't get tracing) because optel is py3 only.21:37
timburkeacoles, thanks -- i meant to try it on OS X...21:37
mattoliveralthough, just removing py2 support to swift would also work :P 21:38
timburkemattoliver, 🎉21:38
timburkeone of these days...21:38
mattoliverlol21:38
zaitcevDid you guys know that nVIDIA has a massive OpenStack installation?21:40
timburkei may have heard something about a pretty big swift cluster there ;-)21:40
timburkebut yeah, i've also heard about us using some of the other projects -- though i'm siloed enough to not actually have much interaction with them21:41
mattoliverDid we know who they are, I might reach out.. though, who and what not might need to be a discussion taken offline. 21:42
mattoliverIf your not referring to use of swift, then cool :) 21:43
acolesn2d o/21:45
timburkeall right, i think i'll call it anyway21:46
timburkethank you all for coming, and thank you for working on swift!21:46
timburke#endmeeting21:46
opendevmeetMeeting ended Wed May 17 21:46:40 2023 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)21:46
opendevmeetMinutes:        https://meetings.opendev.org/meetings/swift/2023/swift.2023-05-17-21.00.html21:46
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/swift/2023/swift.2023-05-17-21.00.txt21:46
opendevmeetLog:            https://meetings.opendev.org/meetings/swift/2023/swift.2023-05-17-21.00.log.html21:46
opendevreviewTim Burke proposed openstack/swift master: tests: Make dark data probe tests pass with sync_method = ssync  https://review.opendev.org/c/openstack/swift/+/88345222:26
opendevreviewTim Burke proposed openstack/swift master: probe tests: Skip versioning tests if not enabled  https://review.opendev.org/c/openstack/swift/+/88345523:03
opendevreviewMerged openstack/swift master: Unit test for keepalive timeout  https://review.opendev.org/c/openstack/swift/+/88151723:20
opendevreviewMerged openstack/swift master: memcached: log user provided keys in exception error logging.  https://review.opendev.org/c/openstack/swift/+/88090323:20
opendevreviewMerged openstack/swift master: Add cap_length helper  https://review.opendev.org/c/openstack/swift/+/83102023:20

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