Thursday, 2023-06-22

VoidwalkerI believe I've found a solution to update the missing container listing information. It seems that by recovering the container and object names with swift-object-info, we can then just copy the file onto itself, and it will preserve all the file (meta)data and add it to the listing.02:22
VoidwalkerOnce disk space is sorted, we're a simple bash script away from having that all back.02:25
opendevreviewOpenStack Proposal Bot proposed openstack/swift master: Imported Translations from Zanata  https://review.opendev.org/c/openstack/swift/+/88669403:37
opendevreviewPhilippe SERAPHIN proposed openstack/swift master: Adjust column width  https://review.opendev.org/c/openstack/swift/+/88670404:45
opendevreviewPhilippe SERAPHIN proposed openstack/swift master: Add Major:Minor detection  https://review.opendev.org/c/openstack/swift/+/88673309:48
reid_gGood morning. I have a question about https://opendev.org/openstack/swift/src/tag/2.29.2/swift/common/wsgi.py#L210 . What does it solve? I keep running into issues where we stop object and start it again and end up getting messages that some of the ports are already in use (port per device config). The only way I have found to fix it is to reboot the server. Sometimes we get12:53
reid_gthe message after a fresh reboot as the services are starting. It is happening in Ussuri and Yoga.12:53
opendevreviewASHWIN A NAIR proposed openstack/swift master: format sysmeta in swift-container-info  https://review.opendev.org/c/openstack/swift/+/88193616:20
timburkereid_g, does turning off keepalive help with that? what version of eventlet are you running? it should be setting SO_REUSEPORT since 0.20.0 back in 2016, so i would've thought the rebind should be fine... what user is starting the main worker-management process? do you have something different configured as `user` in your conf file?16:46
timburkeis it just the object server that exhibits this, or do you see it with the other servers, too?16:48
opendevreviewASHWIN A NAIR proposed openstack/swift master: combine duplicated code in replication and EC GET paths  https://review.opendev.org/c/openstack/swift/+/88664517:54
opendevreviewASHWIN A NAIR proposed openstack/swift master: combine duplicated code in replication and EC GET paths  https://review.opendev.org/c/openstack/swift/+/88664517:58
opendevreviewASHWIN A NAIR proposed openstack/swift master: unify duplicate code in replication, EC GET paths  https://review.opendev.org/c/openstack/swift/+/88664518:06
opendevreviewTim Burke proposed openstack/swift master: py3: Quiet RemoteDisconnected tracebacks  https://review.opendev.org/c/openstack/swift/+/88678018:39
opendevreviewASHWIN A NAIR proposed openstack/swift master: unify duplicate code in replication, EC GET paths  https://review.opendev.org/c/openstack/swift/+/88664518:56
reid_gI really only see the issue with swift-object. I will check the other questions tomorrow. I got a bit distracted today and have to run to pickup my kid now.20:12
timburkeno worries, i know how that is :-)20:18
timburkeVoidwalker / paladox copying data back on itself should work, provided (1) you don't need to worry about overwrites/consistency issues, (2) you don't need to try to preserve last-modified times, and (3) you don't mind incurring a bunch of disk I/O to copy the data20:29
paladoxtimburke: thanks for weight suggestion, changing it to match disk space seems to have fixed the out of storage.20:30
paladoxnow seems to load balance much better20:30
timburkegiven the single replica and the small cluster, (1) probably isn't much of an issue. (3) makes me nervous given your disk-full state, though20:30
timburkeyay! glad to hear it20:30
timburkeanother option would be to just write down fresh async pendings for everything using something like https://paste.opendev.org/show/bdHCdLOoJQoNAPC0pLyL/ -- though you'd want to up your reclaim age a bunch to make sure the updater actually processed all the ancient asyncs20:31
paladoxi lowered the reclaim age from the default 7 days to 6 hours as 7 days was too long to keep around objects we deleted and we don't store more then one copy so it was pointless as my understanding is the feature is for replicators incase one went out temporarily and rejoined20:33
timburkepaladox, yes -- that seems appropriate for resolving the disk-full in particular -- *after* that, when we're fixing the objects not appearing in listings, it may be worth increasing it (depending on how you go about fixing it)20:38
paladoxoh20:39
opendevreviewTim Burke proposed openstack/swift master: py3: Quiet RemoteDisconnected tracebacks  https://review.opendev.org/c/openstack/swift/+/88678020:46
opendevreviewMerged openstack/swift master: Green GreenDBConnection.execute  https://review.opendev.org/c/openstack/swift/+/86605122:27
paladoxhttps://www.irccloud.com/pastebin/EFDO7YgY/23:21
paladoxnot sure why i get that as swift list works.23:21
paladoxtimburke: any idea what could cause ^?23:23
paladoxoh, think i found it. Wish the error was a bit more descriptive23:30
paladoxswift list -l --debug helped23:30
paladoxhttps://www.irccloud.com/pastebin/DR2KE7Zc/23:30
paladoxfixed that with a swift post.23:31
kotagood morning23:59

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