Bug 1299169
Summary: | [abrt] find explicitly aborts suspiciously enumerating nfs-ganesha NFS mount | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matt Benjamin (redhat) <mbenjamin> |
Component: | findutils | Assignee: | Kamil Dudka <kdudka> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 23 | CC: | kdudka, mbenjamin, zaitcev |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | findutils-4.5.14-7.fc22 findutils-4.5.16-4.fc23 findutils-4.6.0-7.fc24 findutils-4.6.0-8.fc26 findutils-4.6.0-8.fc25 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-09-20 17:05:16 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1252549 |
Description
Matt Benjamin (redhat)
2016-01-16 21:42:08 UTC
Could you please re-test this with the -noleaf option of find? Please report also the exact NVRs (Name Version Release) of findutils for both Fedora 22 and Fedora 23: $ rpm -q findutils with -noleaf, there is no abort; the nfs mount contains no symlinks findutils-4.5.16-1.fc23.x86_64 findutils-4.5.14-3.fc22.x86_64 (In reply to Matt Benjamin (redhat) from comment #0) > * I expect find not to misbehave catastrophically if a directory has more or > less dirents than reported in it's link count You have basically described the cause -- find relies on something that your file system does not guarantee to hold. (In reply to Matt Benjamin (redhat) from comment #2) > with -noleaf, there is no abort; the nfs mount contains no symlinks Thanks for the confirmation! This means that the issue is caused by the leaf optimization, which was recently enabled in find to increase performance when traversing large NFS directories. See bug 1252549 for details. > findutils-4.5.16-1.fc23.x86_64 > findutils-4.5.14-3.fc22.x86_64 findutils-4.5.14-3.fc22.x86_64 does not enable the leaf optimization for NFS but, if you update to findutils-4.5.14-6.fc22, which is already stable, it will behave similarly. Could you please check whether oldfind(1) deals with this situation any better? IIRC, oldfind enables leaf optimization by default but implements a fallback for file systems that are not compatible with that optimization... I'll be able to try it this evening. reported upstream: http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/35539/focus=35650 Thanks, Kamil! Matt, have you had any time to check how oldfind(1) deals with that situation? Is it easy to setup such a file system for experimenting locally? I forgot to run oldfind. I might be able to do it during the day us eastern, I promise to do it this evening at latest. It's all upstream first, but you need to set up a development Ceph cluster with the RGW service, and a development nfs-ganesha above that. I you have the chops to set up a full ceph cluster and try nfs-ganesha, both built from source, then yes... (In reply to Matt Benjamin (redhat) from comment #8) > I forgot to run oldfind. I might be able to do it during the day us > eastern, I promise to do it this evening at latest. So it is evening :-) Have you had any luck with oldfind? > It's all upstream first, but you need to set up a development Ceph cluster > with the RGW service, and a development nfs-ganesha above that. I you have > the chops to set up a full ceph cluster and try nfs-ganesha, both built from > source, then yes... I have no experiences with Ceph at all, so this would be difficult for me. Could you please grant me SSH access to a machine where the bug occurs? Another instance of this bug was reported to me privately yesterday. I have decided to unconditionally disable the leaf optimization for NFS in stable releases of Fedora until we have a better solution. findutils-4.5.16-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-6fc93cb14c findutils-4.6.0-7.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-fa6026a2e2 findutils-4.5.14-7.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-4204f66082 findutils-4.5.14-7.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-4204f66082 findutils-4.5.16-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-6fc93cb14c findutils-4.6.0-7.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-fa6026a2e2 findutils-4.6.0-7.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. findutils-4.5.16-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. findutils-4.5.14-7.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. Nobody has been interested in debugging (or at least providing some debugging environment for) this bug since January. Upstream and some Linux distros have already disabled the optimization that triggered the bug. I am disabling the optimization in Fedora now... findutils-4.6.0-8.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-97dba33593 findutils-4.6.0-8.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-97dba33593 findutils-4.6.0-8.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. |