Bug 1084409 - [SNAPSHOT]: Output correction in gluster snapshot config snap-max-soft-limit
Summary: [SNAPSHOT]: Output correction in gluster snapshot config snap-max-soft-limit
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: snapshot
Version: rhgs-3.0
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
: RHGS 3.0.0
Assignee: Sachin Pandit
QA Contact: Rahul Hinduja
URL:
Whiteboard: SNAPSHOT
Depends On: 1098093
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-04 09:27 UTC by Rahul Hinduja
Modified: 2016-09-17 12:52 UTC (History)
9 users (show)

Fixed In Version: glusterfs-3.6.0-3.0.el6rhs
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-22 19:34:53 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:1278 0 normal SHIPPED_LIVE Red Hat Storage Server 3.0 bug fix and enhancement update 2014-09-22 23:26:55 UTC

Description Rahul Hinduja 2014-04-04 09:27:33 UTC
Description of problem:
=======================

Expected range to set the snapshot config snap-max-soft-limit is between 1 -100. But the output mistakenly displays Expected range between 0 - 100.

[root@snapshot-09 ~]# gluster snapshot config snap-max-soft-limit 101
Changing snapshot-max-soft-limit will lead to deletion of snapshots if they exceed the new limit.
Do you want to continue? (y/n) y
Snapshot Config : failed: Invalid snap-max-soft-limit 0. Expected range 0 - 100
Snapshot command failed
[root@snapshot-09 ~]# 



Version-Release number of selected component (if applicable):
=============================================================
glusterfs-3.4.1.7.snap.mar27.2014git-1.el6.x86_64


How reproducible:
=================
1/1


Steps to Reproduce:
===================
1. Set the config value to >100

Actual results:
===============
[root@snapshot-09 ~]# gluster snapshot config snap-max-soft-limit 101
Changing snapshot-max-soft-limit will lead to deletion of snapshots if they exceed the new limit.
Do you want to continue? (y/n) y
Snapshot Config : failed: Invalid snap-max-soft-limit 0. Expected range 0 - 100
Snapshot command failed
[root@snapshot-09 ~]# 



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

[root@snapshot-09 ~]# gluster snapshot config snap-max-soft-limit 101
Changing snapshot-max-soft-limit will lead to deletion of snapshots if they exceed the new limit.
Do you want to continue? (y/n) y
Snapshot Config : failed: Invalid snap-max-soft-limit 0. Expected range 1 - 100
Snapshot command failed
[root@snapshot-09 ~]#

Comment 3 Nagaprasad Sathyanarayana 2014-04-21 06:18:22 UTC
Marking snapshot BZs to RHS 3.0.

Comment 4 Sachin Pandit 2014-05-06 07:20:49 UTC
The patch which fixes this bug can be found in http://review.gluster.org/#/c/7457/

Comment 5 Nagaprasad Sathyanarayana 2014-05-19 10:56:33 UTC
Setting flags required to add BZs to RHS 3.0 Errata

Comment 6 senaik 2014-05-20 11:03:55 UTC
Marking it as dependant of bz 1098093, as there is going to be some changes in the config output message which is not present in the current build.

Comment 8 errata-xmlrpc 2014-09-22 19:34:53 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.

http://rhn.redhat.com/errata/RHEA-2014-1278.html


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