Bug 1275155 - [Tier]: Typo in the output while setting the wrong value of low/hi watermark
[Tier]: Typo in the output while setting the wrong value of low/hi watermark
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: tier (Show other bugs)
3.1
x86_64 Linux
medium Severity low
: ---
: RHGS 3.1.2
Assigned To: hari gowtham
Bhaskarakiran
: ZStream
Depends On:
Blocks: 1260783 1260923 1275502 1275910
  Show dependency treegraph
 
Reported: 2015-10-26 03:18 EDT by Rahul Hinduja
Modified: 2016-11-23 18:12 EST (History)
8 users (show)

See Also:
Fixed In Version: glusterfs-3.7.5-5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1275502 (view as bug list)
Environment:
Last Closed: 2016-03-01 00:44:46 EST
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)

  None (edit)
Description Rahul Hinduja 2015-10-26 03:18:56 EDT
Description of problem:
=======================

While setting the wrong value of watermark-hi/low the output shows "compatiblevalue" whereas it should be "compatible value"

Current:
========

[root@dhcp37-165 glusterfs]# gluster volume set tiervolume cluster.watermark-hi 100
volume set: failed: 100 is not a compatiblevalue. cluster.watermark-hi expects a percentage from 1-99.
[root@dhcp37-165 glusterfs]# gluster volume set tiervolume cluster.watermark-low 100
volume set: failed: 100 is not a compatiblevalue. cluster.watermark-low expects a percentage from 1-99.
[root@dhcp37-165 glusterfs]# 


Expected:
=========

[root@dhcp37-165 glusterfs]# gluster volume set tiervolume cluster.watermark-hi 100
volume set: failed: 100 is not a compatible value. cluster.watermark-hi expects a percentage from 1-99.
[root@dhcp37-165 glusterfs]# gluster volume set tiervolume cluster.watermark-low 100
volume set: failed: 100 is not a compatible value. cluster.watermark-low expects a percentage from 1-99.
[root@dhcp37-165 glusterfs]# 


Version-Release number of selected component (if applicable):
=============================================================
glusterfs-3.7.5-0.3.el7rhgs.x86_64


How reproducible:
=================
always
Comment 3 Bhaskarakiran 2015-11-02 01:45:49 EST
Verified on 3.7.5-5 and is fixed.

[root@transformers ~]# gluster v set vol1 cluster.watermark-hi 100
volume set: failed: 100 is not a compatible value. cluster.watermark-hi expects a percentage from 1-99.
[root@transformers ~]# gluster v set vol1 cluster.watermark-low 100
volume set: failed: 100 is not a compatible value. cluster.watermark-low expects a percentage from 1-99.
Comment 5 errata-xmlrpc 2016-03-01 00:44:46 EST
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-2016-0193.html

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