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
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.
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