Bug 1721357

Summary: DHT: Internal xattrs visible on the mount
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Nithya Balachandran <nbalacha>
Component: distributeAssignee: Nithya Balachandran <nbalacha>
Status: CLOSED ERRATA QA Contact: Sayalee <saraut>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.5CC: amukherj, rhinduja, rhs-bugs, storage-qa-internal, vdas
Target Milestone: ---Keywords: Regression
Target Release: RHGS 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-6.0-7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-30 12:21:54 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: 1696809    

Description Nithya Balachandran 2019-06-18 05:09:54 UTC
Description of problem:

The new pass-thru feature which is enabled by default in 3.5.0 causes internal dht xattrs to be visible on the mount point.


Version-Release number of selected component (if applicable):


How reproducible:

Consistently 
Steps to Reproduce:
1. Install 3.4.4 and create a 1x3 volume 
2. Fuse mount the volume and create some directories (dir-1 to dir-10)  and files on the volume
3. Upgrade the node to 3.5.0 and fuse mount the volume
4. Run getfattr -e hex -m . -d /mnt/fuse/dir*



Actual results:
# file: dir-10
security.selinux=0x73797374656d5f753a6f626a6563745f723a6675736566735f743a733000
trusted.glusterfs.dht.mds=0x00000000
user.dirtest=0x64697274657374

# file: dir-2
security.selinux=0x73797374656d5f753a6f626a6563745f723a6675736566735f743a733000
trusted.glusterfs.dht.mds=0x00000000
user.dirtest=0x64697274657374

# file: dir-3
security.selinux=0x73797374656d5f753a6f626a6563745f723a6675736566735f743a733000
trusted.glusterfs.dht.mds=0x00000000
user.dirtest=0x64697274657374

...


Expected results:

trusted.glusterfs.dht.mds is an internal xattr and should not be visible on the mount point.

Additional info:

This was introduced by the pass-thru feature.

Comment 10 errata-xmlrpc 2019-10-30 12:21:54 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://access.redhat.com/errata/RHEA-2019:3249