Thursday, 2022-11-17

opendevreviewMatthew Oliver proposed openstack/swift master: trace: Add RequestTraceMiddleware with OpTel  https://review.opendev.org/c/openstack/swift/+/85755908:15
opendevreviewMerged openstack/swift master: sharder: merge shard shard_ranges from root while sharding  https://review.opendev.org/c/openstack/swift/+/85290510:07
zigoI have a very quick ring and weight question.14:15
zigoCurrently, we have many clusters with weight 100, 133, 150, etc., and  that's very annoying. I wish to move to a "weight = size of the disk" type of thing.14:15
zigoIf I do that, with some replace_weight thingy, is that ok? Swift wont shuffle all partitions when doing the rebalance?14:15
zigotimburke: ^14:20
zigoI just tried, I think that's kind of fine to do it ! :)14:30
timburkezigo, yes, should be fine to do! as long as all disks are scaled by the same (non-zero) factor, nothing should move16:35
timburke🤔 might be nice if swift-ring-builder had some scale_weights command to do that for you...16:36
timburkeoh yeah! zigo, i remember you mentioning some failing unit tests on 32bit arches -- did that get resolved? https://qa.debian.org/excuses.php?package=swift is looking better now. iirc it looked like off_t maybe got resized...16:45
zigotimburke: It did migrate because I have blacklisted the failing unit tests.19:50
zigo# These are failing on 32 bits:19:50
zigo# test.unit.common.test_utils.TestPunchHoleReally.test_punch_a_hole19:50
zigo# test.unit.common.test_utils.Test_LibcWrapper.test_argument_plumbing19:50
zigoThat's what I have in debian/tests/unittests currently.19:50
timburkezigo, got it, thanks. i'll see if i can find a way to reliably get an off_t from python...20:30
timburkemaybe ssize_t would be close enough? not sure how best to go about finding which (if any) platforms have those not the same size...20:45
timburkeor maybe long_t ?20:51
timburke:-/ but then, fallocate won't work for uploads over 2GB on those 32 bit platforms... we could switch the test to use lseek64 easily enough, but i'm not sure there's a 64-bit equivalent of fallocate on 32 bit platforms...21:00
timburkehuh. https://github.com/python/cpython/blob/v3.11.0/Lib/ctypes/__init__.py#L483-L491 looks sus to me21:10
opendevreviewGhanshyam proposed openstack/swift master: Temporary pin the swift-dsvm-functional nodeset to Focal  https://review.opendev.org/c/openstack/swift/+/86494621:30
gmanntimburke: ^^ pining nodeset to Focal to allow devstack base job migration patch to merge tomorrow. you can revert it issue it is fixed. appreciate if you can merge it before tomorrow. thanks21:32
opendevreviewASHWIN A NAIR proposed openstack/swift master: proxy-server exception logging shows replication_ip/port  https://review.opendev.org/c/openstack/swift/+/86086623:39

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