Bug 1207979 - BitRot :- In case of NFS mount, Object Versioning and file signing is not working as expected
Summary: BitRot :- In case of NFS mount, Object Versioning and file signing is not wor...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: bitrot
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Venky Shankar
QA Contact:
bugs@gluster.org
URL:
Whiteboard:
Depends On:
Blocks: qe_tracker_everglades
TreeView+ depends on / blocked
 
Reported: 2015-04-01 07:14 UTC by Rachana Patel
Modified: 2016-06-16 12:46 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.8rc2
Clone Of:
: 1224232 (view as bug list)
Environment:
Last Closed: 2016-06-16 12:46:47 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Rachana Patel 2015-04-01 07:14:19 UTC
Description of problem:
=======================
If file is edited from NFS mount then Version is not incremented and bitd is not updating checksum for file


Version-Release number of selected component (if applicable):
=============================================================
0.803.gitf64666f.el6.x86_64

How reproducible:
=================
always

Steps to Reproduce:
===================
1. create and NFS mount volume.
2. enable bitrot
3. create few files.
4. Update file from NFs mount and check version and checksum

on client:-
[root@rhs-client44 linux-3.19]# mount | grep nfs
rhs-client44.lab.eng.blr.redhat.com:/rac1 on /mnt/rac1 type nfs (rw,addr=10.70.36.68)

On server:- 
[root@rhs-client44 linux-3.19]# getfattr -d -m . -e hex /pavanbrick6/r1/f5
getfattr: Removing leading '/' from absolute path names
# file: pavanbrick6/r1/f5
trusted.gfid=0x3f396fffe3754fa8ba6a62afc00b39a4
trusted.glusterfs.bit-rot.signature=0x01000000000000000100000000000000e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
trusted.glusterfs.bit-rot.version=0x0100000000000000551a639300053ca4

from client:-
[root@rhs-client44 linux-3.19]# echo "abc" >> /mnt/rac1/f5


verify on server:-
[root@rhs-client44 linux-3.19]# getfattr -d -m . -e hex /pavanbrick6/r1/f5
getfattr: Removing leading '/' from absolute path names
# file: pavanbrick6/r1/f5
trusted.gfid=0x3f396fffe3754fa8ba6a62afc00b39a4
trusted.glusterfs.bit-rot.signature=0x01000000000000000100000000000000e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
trusted.glusterfs.bit-rot.version=0x0100000000000000551a639300053ca4


Actual Result:-
===============
Object version is not incremented and checksum is not updated

Expect Result:-
===============
On modification it should increment object version and re calculate

Comment 1 Anand Avati 2015-04-14 11:04:20 UTC
REVIEW: http://review.gluster.org/10233 (features/bit-rot-stub: track opens and releases via a list of fds) posted (#1) for review on master by Raghavendra Bhat (raghavendra)

Comment 3 Anand Avati 2015-04-23 14:08:05 UTC
REVIEW: http://review.gluster.org/10233 (features/bit-rot-stub: track opens and releases via a list of fds) posted (#2) for review on master by Raghavendra Bhat (raghavendra)

Comment 4 Anand Avati 2015-04-28 14:11:06 UTC
REVIEW: http://review.gluster.org/10233 (features/bit-rot-stub: track opens and releases via a list of fds) posted (#3) for review on master by Raghavendra Bhat (raghavendra)

Comment 5 Anand Avati 2015-04-30 10:33:26 UTC
REVIEW: http://review.gluster.org/10233 (features/bit-rot-stub: versioning of objects in write fop instead of open) posted (#4) for review on master by Raghavendra Bhat (raghavendra)

Comment 6 Anand Avati 2015-04-30 13:40:25 UTC
REVIEW: http://review.gluster.org/10233 (features/bit-rot-stub: versioning of objects in write/truncate fop instead of open) posted (#5) for review on master by Raghavendra Bhat (raghavendra)

Comment 7 Anand Avati 2015-05-01 12:25:01 UTC
REVIEW: http://review.gluster.org/10233 (features/bit-rot-stub: versioning of objects in write/truncate fop instead of open) posted (#6) for review on master by Raghavendra Bhat (raghavendra)

Comment 8 Anand Avati 2015-05-02 04:04:28 UTC
REVIEW: http://review.gluster.org/10233 (features/bit-rot-stub: versioning of objects in write/truncate fop instead of open) posted (#7) for review on master by Raghavendra Bhat (raghavendra)

Comment 9 Anand Avati 2015-05-06 10:58:39 UTC
REVIEW: http://review.gluster.org/10233 (features/bit-rot-stub: versioning of objects in write/truncate fop instead of open) posted (#8) for review on master by Raghavendra Bhat (raghavendra)

Comment 10 Anand Avati 2015-05-06 20:18:22 UTC
REVIEW: http://review.gluster.org/10233 (features/bit-rot-stub: versioning of objects in write/truncate fop instead of open) posted (#9) for review on master by Raghavendra Bhat (raghavendra)

Comment 11 Anand Avati 2015-05-07 09:12:21 UTC
REVIEW: http://review.gluster.org/10233 (features/bit-rot-stub: versioning of objects in write/truncate fop instead of open) posted (#10) for review on master by Raghavendra Bhat (raghavendra)

Comment 12 Anand Avati 2015-05-08 06:16:40 UTC
REVIEW: http://review.gluster.org/10233 (features/bit-rot-stub: versioning of objects in write/truncate fop instead of open) posted (#11) for review on master by Raghavendra Bhat (raghavendra)

Comment 13 Niels de Vos 2016-06-16 12:46:47 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


Note You need to log in before you can comment on or make changes to this bug.