Bug 1157705
Summary: | BVT: Connectathon i.e. Cthon basic test fails over NFS when quota is enabled | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Lalatendu Mohanty <lmohanty> |
Component: | quota | Assignee: | Vijaikumar Mallikarjuna <vmallika> |
Status: | CLOSED ERRATA | QA Contact: | Saurabh <saujain> |
Severity: | urgent | Docs Contact: | |
Priority: | high | ||
Version: | 2.1 | CC: | asrivast, fharshav, mzywusko, ndevos, rcyriac, rgowdapp, rhs-bugs, smohan, ssamanta, storage-qa-internal, vagarwal, vmallika |
Target Milestone: | --- | Keywords: | Regression, ZStream |
Target Release: | RHGS 2.1.5 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.4.0.70rhs-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-11-13 12:23:47 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: | 1147095, 1158435 |
Description
Lalatendu Mohanty
2014-10-27 14:26:53 UTC
Cthon failure on client side (grep for fail) http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2014/10/7812/781261/1628404/25400270/TESTOUT.log NSF log from the server side: http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2014/10/7812/781261/1628401/25400231/nfs.log I have never seen this before i.e. previous releases. hence marking this as regression. I was unable to reproduce this with the cthon/test7 running 1000x in a loop on a 6x2 distribute-replicate volume mounted over nfs (2 servers running glusterfs-server-3.4.0.69rhs-1.el6rhs.x86_64, NFS-client running RHEL-6.5). Now, after enabling quota (without setting any limits), I actually hit the issue immediately. Even on a new 6x2 volume, the issue happens in the 1st run of test7. This also reproduces with a volume that consists out of one brick. That should be easier to debug :) We will hit this issue with the below test-case as well. I will look at the test-case mentioned in the description to check if it does something similar to the test-case below: 1) Create volume and enable quota with 1GB usage limit 2) Create a file with 600MB 3) rename this file. The command is successful but rename fails with quota exceeded. Patch http://review.gluster.org/#/c/8940/ fixes the issue if ancestor (with has limit set) of src and dest files are same. I think problem here is even though rename failed at back-end we are returning success to the client. I will do more investigation on this and update the bug again. The issue is happening in latest 2.1 code, but works in latest upstream code. I am investigating it in 2.1 code and will update the bug once I find something. unlink on a file which has more than 1 link failed when quota is enabled, hence the problem. Patch submitted: https://code.engineering.redhat.com/gerrit/35825 Executed the ctho test suite while quota was enabled and the limits being set. Issue has not happend on the build, glusterfs-3.4.0.70rhs-1.el6rhs.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2014-1853.html |