Description of problem: ======================= When you set the snap-max-hard-limit/snap-max-soft-limit for volume or system, it prints the output as: snapshot config: System for snap-max-hard-limit set successfully AND, snapshot config: vol1 for snap-max-hard-limit set successfully Whereas it should be: ===================== snapshot config: snap-max-hard-limit for System set successfully And, snapshot config: snap-max-hard-limit for vol1 set successfully Version-Release number of selected component (if applicable): ============================================================= glusterfs-3.6.0.28-1.el6rhs.x86_64 How reproducible: ================= 1/1 Steps to Reproduce: =================== 1. gluster snapshot config snap-max-hard-limit 200 2. gluster snapshot config vol1 snap-max-hard-limit 100 Actual results: =============== [root@inception ~]# gluster snapshot config snap-max-hard-limit 200 Changing snapshot-max-hard-limit will lead to deletion of snapshots if they exceed the new limit. Do you want to continue? (y/n) y snapshot config: System for snap-max-hard-limit set successfully [root@inception ~]# [root@inception ~]# gluster snapshot config vol1 snap-max-hard-limit 100 Changing snapshot-max-hard-limit will lead to deletion of snapshots if they exceed the new limit. Do you want to continue? (y/n) y snapshot config: vol1 for snap-max-hard-limit set successfully [root@inception ~]#
http://review.gluster.org/#/c/8191 is merged upstream, bug is fixed as a part of mentioned patch. However as the bug does not contain any blocker flag it is better not to include this downstream until Denali release.
https://code.engineering.redhat.com/gerrit/#/c/32748 fixes the issue.
Please add doc text for this known issue.
Please review and sign-off edited doc text.
Version : glusterfs-3.7.1-4.el6rhs.x86_64 Changes in the output are as below: gluster snapshot config vol0 snap-max-hard-limit 100 Changing snapshot-max-hard-limit will limit the creation of new snapshots if they exceed the new limit. Do you want to continue? (y/n) y snapshot config: snap-max-hard-limit for vol0 set successfully gluster snapshot config snap-max-hard-limit 100 Changing snapshot-max-hard-limit will limit the creation of new snapshots if they exceed the new limit. Do you want to continue? (y/n) y snapshot config: snap-max-hard-limit for System set successfully Marking the bug 'Verified'
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-2015-1495.html