Bug 1387495

Summary: Fuse mount point went to Read only while deleting files
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Ravishankar N <ravishankar>
Component: arbiterAssignee: Ravishankar N <ravishankar>
Status: CLOSED WORKSFORME QA Contact: Karan Sandha <ksandha>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.2CC: amukherj, bugs, ksandha, pkarampu, ravishankar, rhinduja, rhs-bugs, smohan, storage-qa-internal
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1332517 Environment:
Last Closed: 2016-11-14 15:35:31 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: 1332517    
Bug Blocks:    

Description Ravishankar N 2016-10-21 05:56:38 UTC
+++ This bug was initially created as a clone of Bug #1332517 +++

Description of problem:
The FS went to Read Only mode when files were deleted from the mount point.

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


How reproducible:
2/2

Steps to Reproduce:
1. create two volumes arbiter and arbiter nfs mount them using FUSE and nfs respecitvely on same client.

2.create files using for (( i=1; i <= 100000; i++ ))

do
 echo dir$i
  mkdir scr$i
 echo file$i
  touch pt$i
 echo "dd command" $i
 dd if=/dev/urandom of=think$i count=5 bs=512k
done


3. start deleting files from both the mount points. 
Actual results:

the files got deleted from fuse mounted FS but READ ONLY FS error generated while deleting the FS 
Expected results:
the files should be deleted from both the mount points without any errors.

Additional info:

--- Additional comment from Karan Sandha on 2016-05-04 03:08:38 EDT ---

the sosreports are at  rhsqe-repo.lab.eng.blr.redhat.com:/var/www/html/sosreports/1332517

--- Additional comment from Karan Sandha on 2016-05-04 03:33:36 EDT ---

*** UPDATED ***


Steps to Reproduce:
1. create two volumes arbiter and arbiter nfs mount them using FUSE and nfs respectively on same client.

2.create files using for (( i=1; i <= 100000; i++ ))

do
 echo dir$i
  mkdir scr$i
 echo file$i
  touch pt$i
 echo "dd command" $i
 dd if=/dev/urandom of=think$i count=5 bs=512k
done


3. start deleting files from both the mount points. 
4. Bring down one of the replica brick using "init 0" command on the server.
5. ERRORS of ROFS start generating on the client when the deletion is in progress.

--- Additional comment from Ravishankar N on 2016-05-11 06:23:22 EDT ---

Moving it to new as I haven't gotten a chance to look at it.