Bug 1278270
Summary: | [Tier]: "failed to reset target size back to 0" errors in tier logs while performing rename ops | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rahul Hinduja <rhinduja> |
Component: | tier | Assignee: | Bug Updates Notification Mailing List <rhs-bugs> |
Status: | CLOSED ERRATA | QA Contact: | Rahul Hinduja <rhinduja> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | rhgs-3.1 | CC: | mliyazud, rcyriac, rhinduja, rhs-bugs, sankarshan, storage-qa-internal |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | RHGS 3.1.2 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.7.5-13 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-03-01 05:51:33 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: | 1260783, 1260923 |
Description
Rahul Hinduja
2015-11-05 06:52:16 UTC
I was not able to reproduce. spoke with Rahul Hinduja, He suggested to use a tool crefi to do operations on files. Now trying it. I am able to reproduce this bug in glusterfs-3.7.5-5 with the above steps, but I am not able to reproduce this bug in latest build glusterfs-3.7.5-7. I am trying to find the root cause for the problem and why it is not reproducible in latest. (In reply to Mohamed Ashiq from comment #6) > I am able to reproduce this bug in glusterfs-3.7.5-5 with the above steps, > but I am not able to reproduce this bug in latest build glusterfs-3.7.5-7. I > am trying to find the root cause for the problem and why it is not > reproducible in latest. With the latest build watermarks are enables by default. The failure reported in the bug is during migration. Please check if promotes/demotes are happening. If the hot tier has lots of space, please make use of options like "cluster.watermark-hi" and "cluster.watermark-low" OR use test mode: "cluster.tier-mode test" (In reply to Rahul Hinduja from comment #7) > (In reply to Mohamed Ashiq from comment #6) > > I am able to reproduce this bug in glusterfs-3.7.5-5 with the above steps, > > but I am not able to reproduce this bug in latest build glusterfs-3.7.5-7. I > > am trying to find the root cause for the problem and why it is not > > reproducible in latest. > > With the latest build watermarks are enables by default. The failure > reported in the bug is during migration. Please check if promotes/demotes > are happening. If the hot tier has lots of space, please make use of options > like "cluster.watermark-hi" and "cluster.watermark-low" OR use test mode: > "cluster.tier-mode test" It was not reproducible in 3.7.5-7 since the watermarks are enabled by default. By keeping the cluster.tier-mode test as suggested by Rahul, I am able to reproduce this bug. Its because when tier tries to migrate file, posix_ftruncate fails with EINVAL. Nithya has filed a bug[1] to address the issue and has a patch sent upstream[2]. I applied the patch and tried reproducing the issue. I am not able to see the logs anymore. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1284823 [2] http://review.gluster.org/12750 could you please check the same. Verified with build: glusterfs-3.7.5-13.el7rhgs.x86_64 Performed create,chmod,chown,chgroup,symlink,truncate,rename. No errors related to "failed to reset" logged. Moving the bug to verified state. [root@dhcp37-165 glusterfs]# grep -i "failed to reset" vol0-tier.log [root@dhcp37-165 glusterfs]# 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-2016-0193.html |