Bug 1322247

Summary: SAMBA+TIER : File size is not getting updated when created on windows samba share mount
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Vivek Das <vdas>
Component: tierAssignee: Mohammed Rafi KC <rkavunga>
Status: CLOSED ERRATA QA Contact: Vivek Das <vdas>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: asrivast, kramdoss, nbalacha, rcyriac, rhinduja, rhs-bugs, rhs-smb, rjoseph, rkavunga, sankarshan, sashinde, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.9-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1330567 (view as bug list) Environment:
Last Closed: 2016-06-23 05:14:29 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: 1311817, 1330567, 1331263    

Description Vivek Das 2016-03-30 06:52:56 UTC
Description of problem:
On a windows client when a tiered volume is mounted and microsoft office files are created with some data in it, the size of the file is still remains 0KB.

For a distribute volume it reflects the actual size for the same files.
Even on "cifs" & "fuse" the actual size is reflecting.

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

samba-4.2.4-15.el7rhgs.x86_64
glusterfs-3.7.9-1.el7rhgs.x86_64

How reproducible:
Always

Steps to Reproduce:

1.Mount a tier volume (cold tier : Distributed-Disperse | 2 x (8 + 4) | Hot Tier Type : Distributed-Replicate 4 x 2 = 8) on windows client

2. Create microsoft office files with data in it.
3. Check in windows explorer.
4. Refresh the explorer.


Actual results:

File size is 0KB

Expected results:

Actual size should reflect

Additional info:

Comment 1 Vivek Das 2016-03-30 07:00:20 UTC
sosreports uploaded @http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/1322247/

Comment 4 Mohammed Rafi KC 2016-04-26 13:29:05 UTC
upstream http://review.gluster.org/14079

Comment 11 Vivek Das 2016-05-02 16:39:58 UTC
Verified with already available files in the share as well creating all kinds of files to check whether the file size is getting reflected or not.
Looks fine so marking it as verified.

Comment 13 errata-xmlrpc 2016-06-23 05:14: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://access.redhat.com/errata/RHBA-2016:1240