Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1168606 - [USS]: setting the uss option to on fails when volume is in stopped state
[USS]: setting the uss option to on fails when volume is in stopped state
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: snapshot (Show other bugs)
3.0
x86_64 Linux
unspecified Severity low
: ---
: RHGS 3.2.0
Assigned To: Avra Sengupta
Anil Shah
USS
: Triaged
Depends On:
Blocks: 1168830 1351522
  Show dependency treegraph
 
Reported: 2014-11-27 06:59 EST by Rahul Hinduja
Modified: 2017-03-23 01:21 EDT (History)
5 users (show)

See Also:
Fixed In Version: glusterfs-3.8.4-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1168830 (view as bug list)
Environment:
Last Closed: 2017-03-23 01:21:03 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0486 normal SHIPPED_LIVE Moderate: Red Hat Gluster Storage 3.2.0 security, bug fix, and enhancement update 2017-03-23 05:18:45 EDT

  None (edit)
Description Rahul Hinduja 2014-11-27 06:59:02 EST
Description of problem:
=======================

If volume is in stopped state, generally the volume set operation works. But In case of USS if the volume is in stopped state, the volume set operation of uss to "on" fails and setting uss to "off" is successful. Volume set operations for uss should be independent, should be allowed to set to ON when volume is stopped and when volume is started, it should start the snapd process.


[root@inception ~]# gluster v stop vol1
Stopping volume will make its data inaccessible. Do you want to continue? (y/n) y
volume stop: vol1: success
[root@inception ~]# gluster v set vol1 uss on
volume set: failed: Commit failed on localhost. Please check the log file for more details.
[root@inception ~]# gluster v set vol0 uss on
volume set: failed: Commit failed on localhost. Please check the log file for more details.
[root@inception ~]# gluster v set vol0 uss off
volume set: success
[root@inception ~]# gluster v set vol1 uss off
volume set: success
[root@inception ~]# 
[root@inception ~]# gluster v info vol0 | grep "Status:"
Status: Stopped
[root@inception ~]# gluster v info vol1 | grep "Status:"
Status: Stopped
[root@inception ~]# 
[ inception ] [ 0*$ bas


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

glusterfs-3.6.0.34-1.el6rhs.x86_64


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

always

Steps to Reproduce:
===================
1. create a cluster
2. create a volume
3. set the volume option uss to on

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

It fails with "volume set: failed: Commit failed on localhost. Please check the log file for more details."


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

It should success, and once the volume is started, it should start the snapd process


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

when volume is in stopped state we can set the volume options such as:

self-heal-daemon on/off
uss off
nfs.disable 0/1
etc...
Comment 3 Avra Sengupta 2016-07-27 05:02:46 EDT
Has been fixed in master as part of http://review.gluster.org/#/c/9206
Comment 4 Avra Sengupta 2016-07-27 06:03:19 EDT
Marking this as MODIFIED, as this will be part of the next build
Comment 5 Atin Mukherjee 2016-07-29 03:46:38 EDT
Till the rebase happens, the bug should be kept in POST state.
Comment 7 Atin Mukherjee 2016-09-17 11:37:15 EDT
Upstream mainline : http://review.gluster.org/9206
Upstream 3.8 : Available as part of branching from mainline

And the fix is available in rhgs-3.2.0 as part of rebase to GlusterFS 3.8.4.
Comment 12 errata-xmlrpc 2017-03-23 01:21:03 EDT
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/RHSA-2017-0486.html

Note You need to log in before you can comment on or make changes to this bug.