[Bugs] [Bug 1224232] New: BitRot :- In case of NFS mount, Object Versioning and file signing is not working as expected

bugzilla at redhat.com bugzilla at redhat.com
Fri May 22 11:11:34 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1224232

            Bug ID: 1224232
           Summary: BitRot :- In case of NFS mount, Object Versioning and
                    file signing is not working as expected
           Product: Red Hat Gluster Storage
           Version: 3.1
         Component: glusterfs
     Sub Component: bitrot
          Severity: high
          Assignee: rhs-bugs at redhat.com
          Reporter: rmekala at redhat.com
        QA Contact: rmekala at redhat.com
                CC: bugs at gluster.org, mzywusko at redhat.com,
                    nsathyan at redhat.com, racpatel at redhat.com,
                    vshankar at redhat.com



+++ This bug was initially created as a clone of Bug #1207979 +++

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 at 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 at 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 at rhs-client44 linux-3.19]# echo "abc" >> /mnt/rac1/f5


verify on server:-
[root at 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

--- Additional comment from Anand Avati on 2015-04-14 07:04:20 EDT ---

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 at redhat.com)

--- Additional comment from Anand Avati on 2015-04-23 10:08:05 EDT ---

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 at redhat.com)

--- Additional comment from Anand Avati on 2015-04-28 10:11:06 EDT ---

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 at redhat.com)

--- Additional comment from Anand Avati on 2015-04-30 06:33:26 EDT ---

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 at redhat.com)

--- Additional comment from Anand Avati on 2015-04-30 09:40:25 EDT ---

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 at redhat.com)

--- Additional comment from Anand Avati on 2015-05-01 08:25:01 EDT ---

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 at redhat.com)

--- Additional comment from Anand Avati on 2015-05-02 00:04:28 EDT ---

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 at redhat.com)

--- Additional comment from Anand Avati on 2015-05-06 06:58:39 EDT ---

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 at redhat.com)

--- Additional comment from Anand Avati on 2015-05-06 16:18:22 EDT ---

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 at redhat.com)

--- Additional comment from Anand Avati on 2015-05-07 05:12:21 EDT ---

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 at redhat.com)

--- Additional comment from Anand Avati on 2015-05-08 02:16:40 EDT ---

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 at redhat.com)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=SPmjiwmg7V&a=cc_unsubscribe


More information about the Bugs mailing list