Bug 1235244 - Missing trusted.ec.config xattr for files after heal process
Summary: Missing trusted.ec.config xattr for files after heal process
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: disperse
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.1.0
Assignee: Ashish Pandey
QA Contact: Bhaskarakiran
URL:
Whiteboard:
Depends On:
Blocks: 1202842 1235246 1235629
TreeView+ depends on / blocked
 
Reported: 2015-06-24 11:48 UTC by Ashish Pandey
Modified: 2016-11-23 23:12 UTC (History)
8 users (show)

Fixed In Version: glusterfs-3.7.1-6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1235246 (view as bug list)
Environment:
Last Closed: 2015-07-29 05:07:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1495 0 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 08:26:26 UTC

Description Ashish Pandey 2015-06-24 11:48:32 UTC
Description of problem:

When a brick is down and we create a file on fuse mount, even after start of brick and heal process, on that brick the config xattr is missing for the file 

[root@rhs3 ~]#  getfattr  -d -e hex -m. /brick/dist/A3/file_141
getfattr: Removing leading '/' from absolute path names
# file: brick/dist/A3/file_141
trusted.bit-rot.version=0x0200000000000000558a8f3d0007b32e
trusted.ec.config=0x0000080c04000200
trusted.ec.dirty=0x00000000000000000000000000000000
trusted.ec.size=0x0000000000400000
trusted.ec.version=0x00000000000002670000000000000000
trusted.gfid=0xafa57f4ce7384e4999d659911b2eb88a

[root@rhs3 ~]#  getfattr  -d -e hex -m. /brick/dist/A2/file_141
getfattr: Removing leading '/' from absolute path names
# file: brick/dist/A2/file_141
trusted.bit-rot.version=0x0200000000000000558a900b000130ac
trusted.ec.config=0x0000080c04000200
trusted.ec.dirty=0x00000000000000000000000000000000
trusted.ec.size=0x0000000000400000
trusted.ec.version=0x00000000000002670000000000000000
trusted.gfid=0xafa57f4ce7384e4999d659911b2eb88a

[root@rhs3 ~]#  getfattr  -d -e hex -m. /brick/dist/A1/file_141
getfattr: Removing leading '/' from absolute path names
# file: brick/dist/A1/file_141
trusted.bit-rot.version=0x0200000000000000558a934b000403e6
trusted.ec.size=0x0000000000400000
trusted.ec.version=0x00000000000002670000000000000000
trusted.gfid=0xafa57f4ce7384e4999d659911b2eb88a



Version-Release number of selected component (if applicable):
[root@rhs3 ~]# gluster --version
glusterfs 3.7.1 built on Jun 23 2015 22:08:58
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General Public License.


How reproducible:
100%

Steps to Reproduce:
1. Bring a brick down
2. Create a file on fuse mount
3. Bring the brick up and run heal process
   "gluster v heal testvol full"

4 - Check the xattr of the file on all the bricks
5 - On the brick which was down, config xattr is missing, however, on all the other bricks config xattr is present for the file. 


Actual results:

config xattr is missing for the file on bad brick

Expected results:

After bringing the brick up and after heal process, config xattr should be present for this brick too

Additional info:

Comment 4 Ashish Pandey 2015-06-30 09:10:16 UTC
Tested it on 3.7.1-6. Heal process is setting trusted.ec.config xattr properly. Marking this as fixed.

Comment 5 errata-xmlrpc 2015-07-29 05:07:29 UTC
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/RHSA-2015-1495.html


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