Bug 1165097

Summary: [USS]: data unavailability for a period of time when USS is enabled/disabled
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Rahul Hinduja <rhinduja>
Component: snapshotAssignee: Vijay Bellur <vbellur>
Status: CLOSED ERRATA QA Contact: Rahul Hinduja <rhinduja>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rhgs-3.0CC: amainkar, ansubram, nsathyan, rhs-bugs, rjoseph, senaik, storage-qa-internal, surs, vbellur, vmallika
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.0.3   
Hardware: x86_64   
OS: Linux   
Whiteboard: USS
Fixed In Version: glusterfs-3.6.0.35-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1168643 (view as bug list) Environment:
Last Closed: 2015-01-15 13:42:35 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: 1162694, 1168643    

Description Rahul Hinduja 2014-11-18 10:43:11 UTC
Description of problem:
=======================

The data which is created from NFS client disappear for a brief when USS is enabled/disabled.

[root@wingo vol0]# ls
etc
[root@wingo vol0]# ls
etc  etc1
[root@wingo vol0]# ls
etc
[root@wingo vol0]# ls
etc  etc1
[root@wingo vol0]# ls
etc  etc1
[root@wingo vol0]# ls
etc
[root@wingo vol0]# ls
etc  etc1
[root@wingo vol0]# ls
etc  etc1

In the above output directory etc is created from the fuse mount and etc1 is created from the nfs mount. ls is performed from the fuse mount. And is happening whenever tried to enable/disable uss from server

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

glusterfs-3.6.0.32-1.el6rhs.x86_64


How reproducible:
=================

Was able to reproduce multiple times


Steps to Reproduce:
===================
1. Create 4 node cluster 
2. Create and start 2x2 volume
3. Mount the volume (Fuse and NFS) on /mnt/vol0 and /mnt/nvol0 respectively
4. From Fuse cp -rf /etc /mnt/vol0/
5. From NFS cp -rf /etc /mnt/nvol0/etc1
6. From server do gluster volume set vol0 uss on/off in a loop
7. While uss enable/disable is in progress do ls from fuse mount on /mnt/vol0/

Actual results:
================

Some time it shows the data which is created from nfs and some times it doesn't show


Expected results:
=================

Data was created before performing enable/disable, it should show always


Additional info:
================

If not performing uss on/off, the data is always present

Comment 6 Anand Subramanian 2014-11-25 10:47:03 UTC
Question : is there any sleep between doing the uss enable and disable in a loop?

Comment 7 rjoseph 2014-11-26 08:44:02 UTC
(In reply to Anand Subramanian from comment #6)
> Question : is there any sleep between doing the uss enable and disable in a
> loop?

Just wondering if this has any impact on data unavailability on the main volume? 
It would be great if you can share any such known issues if exists.

Comment 12 Vijaikumar Mallikarjuna 2014-12-01 06:18:28 UTC
Patch submitted: https://code.engineering.redhat.com/gerrit/#/c/37548

Comment 15 errata-xmlrpc 2015-01-15 13:42:35 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/RHBA-2015-0038.html