Bug 1457713

Summary: Permission denied errors when appending files after readdir
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Karan Sandha <ksandha>
Component: sambaAssignee: Poornima G <pgurusid>
Status: CLOSED ERRATA QA Contact: Karan Sandha <ksandha>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: amukherj, anoopcs, ksandha, rhinduja, rhs-smb
Target Milestone: ---   
Target Release: RHGS 3.3.0   
Hardware: All   
OS: Linux   
Whiteboard: 3.3.0-devel-freeze-exception
Fixed In Version: glusterfs-3.8.4-39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1477488 (view as bug list) Environment:
Last Closed: 2017-09-21 04:45:37 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: 1417151, 1477488, 1479655, 1479656    
Attachments:
Description Flags
screen shot none

Comment 5 Poornima G 2017-06-20 09:18:44 UTC
As discussed, the issue wasn't reproduced on setup with 4node samba and 4 clients when ctdb was added. The issue originally was reported with samba cluster but no ctdb which is not a valid setup. Hence deferring it from 3.3.

But would like to retain the BZ and see if there is any other bug that is being exposed only in non CTDB setup as the same was working earlier.

Comment 10 Karan Sandha 2017-07-03 13:12:18 UTC
Created attachment 1293899 [details]
screen shot

Comment 11 Anoop C S 2017-07-06 07:23:07 UTC
Hi Karan,

I looked over the from comment #9. It's weird that I am not seeing any 'Permission denied' or related errors in any of the logs(samba/glusterfs-client/brick logs). Since you mentioned it as 100% reproducible, can you please make the following changes to /etc/samba/smb.conf and re-run the tests in hope of getting some useful logs.

* Change 'max log size = 50' --> 'max log size = 0'
* Add 'log level = 7'
* And in [glusterfs-<VOLNAME>] section change 'glusterfs:loglevel = 7' --> 'glusterfs:loglevel = 8'

Additionally, you can also increase the brick log level to DEBUG.

Comment 18 Poornima G 2017-08-02 08:51:28 UTC
Upstream patches:
https://review.gluster.org/#/c/17956/
https://review.gluster.org/#/c/17910/

Comment 20 Poornima G 2017-08-03 12:30:33 UTC
(In reply to Poornima G from comment #18)
> Upstream patches:

https://review.gluster.org/#/c/17910/
https://review.gluster.org/#/c/17967

Comment 21 Atin Mukherjee 2017-08-09 05:22:56 UTC
(In reply to Poornima G from comment #20)
> (In reply to Poornima G from comment #18)
> > Upstream patches:
> 
> https://review.gluster.org/#/c/17910/

17910 will not be pulled into downstream.

> https://review.gluster.org/#/c/17967

Comment 22 Atin Mukherjee 2017-08-09 05:23:48 UTC
release-3.12 patch : https://review.gluster.org/#/c/18001/
downstream patch : https://code.engineering.redhat.com/gerrit/#/c/114763/

Comment 23 Poornima G 2017-08-09 05:39:47 UTC
https://review.gluster.org/#/c/17910/ is not really related to this bug, hence deferring that patch

Comment 27 errata-xmlrpc 2017-09-21 04:45:37 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-2017:2774

Comment 28 errata-xmlrpc 2017-09-21 04:58:49 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-2017:2774