Bug 1944132
Summary: | rsync --timeout doesn't work when target directory is on NFS | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Renaud Métrich <rmetrich> | ||||
Component: | rsync | Assignee: | Michal Ruprich <mruprich> | ||||
Status: | CLOSED WONTFIX | QA Contact: | rhel-cs-infra-services-qe <rhel-cs-infra-services-qe> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 8.3 | CC: | anrussel, devzero, tkorbar | ||||
Target Milestone: | rc | Keywords: | Reproducer, Triaged | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-12-16 10:52:52 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Renaud Métrich
2021-03-29 11:23:00 UTC
Created attachment 1767314 [details]
systemtap script showing last_io_out updates and reads
Also see https://bugzilla.samba.org/show_bug.cgi?id=15163 why is this being silently closed with "wontfix" ? that way, bugs never get resolved, especially if they there is qualified bugreport and then no action to forward it to upstream project. not good.... Hi Roland, this was not silently closed, it was closed based on comment which is private. The reasoning behind this problem is that this bug specifically mentions rsync over NFS. NFS seems like any other local dir for rsync and is completely transparent in the rsync process. If your mount is hard, then it will wait for infinite amount of time and that will force rsync receiver process to hang. My colleague was able to find out that if you mount your remote directory with soft option for example like this: # mount -o soft,timeo=10,retrans=1 <remote-ip>:/shared /nfsmount then rsync is able to identify that nfs is unresponsive and fails with IO error. There are many issues with the --timeout option in rsync, none of those seem to be getting ahead. Your bug seems to be a bit different than this one. If you feel like this should be addressed in RHEL, feel free to file a new bug, but there is not much I can do without the Upstream developer taking a look first. Hope this helps. Regards, Michal thank you for explanation and clearing up things. it was not transparent to us that there was a private comment, so sorry for the noise. you are right, if local rsync gets stuck in a kernel syscall, there is no way to interrupt it or stop the process. >There are many issues with the --timeout option in rsync, none of those seem to be getting ahead. oh, really? i did not see many in rsync bugzilla. maybe you can point us to some of these? >If you feel like this should be addressed in RHEL, feel free to file a new bug no , i just wanted to make sure that non-upstream bugs not getting silently closed. thank you! No problem, more of the bugs are on github here: https://github.com/WayneD/rsync/issues?q=is%3Aissue+is%3Aopen+timeout Not entirely sure which are actually related or not though. ouch, i wasn't aware that there is github issue tracker being used for rsync bugs, thanks for the pointer. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days |