Bug 1114015
Summary: | [SNAPSHOT]: setting config valuses doesn't delete the already created snapshots,but wrongly warns the user that it might delete | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rahul Hinduja <rhinduja> | |
Component: | snapshot | Assignee: | Joseph Elwin Fernandes <josferna> | |
Status: | CLOSED ERRATA | QA Contact: | Rahul Hinduja <rhinduja> | |
Severity: | low | Docs Contact: | ||
Priority: | medium | |||
Version: | rhgs-3.0 | CC: | asengupt, asriram, josferna, rhs-bugs, rjoseph, sankarshan, senaik, storage-qa-internal, vagarwal | |
Target Milestone: | --- | |||
Target Release: | RHGS 3.1.0 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | SNAPSHOT | |||
Fixed In Version: | glusterfs-3.7.0-3.el6rhs | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1116263 (view as bug list) | Environment: | ||
Last Closed: | 2015-07-29 04:32:56 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1087818, 1116263, 1202842, 1223636 |
Description
Rahul Hinduja
2014-06-27 13:03:39 UTC
Upstream patch REVIEW: http://review.gluster.org/8236 (glusterd/snapshot: Fix CLI msg for snap limit set) posted (#1) for review on master by Joseph Fernandes (josferna) Version : glusterfs-3.7.1-4.el6rhs.x86_64 Changing the config value to less than already created snapshots does not warn the user that it might delete the already created snapshots if they exceed the new limit. It prints the below message : Changing snapshot-max-hard-limit will limit the creation of new snapshots if they exceed the new limit. 1) create 8 snapshots for volume gluster snapshot list vol1 S1_GMT-2015.06.23-07.43.54 S2_GMT-2015.06.23-07.44.05 S3_GMT-2015.06.23-07.44.17 S1_GMT-2015.06.23-07.46.10 S2_GMT-2015.06.23-07.46.22 S3_GMT-2015.06.23-07.46.35 S4_GMT-2015.06.23-07.46.47 S5_GMT-2015.06.23-07.47.00 2) set snapshot hard limit to 3 gluster snapshot config snap-max-hard-limit 3 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 [root@inception scripts]# gluster snapshot list vol1 S1_GMT-2015.06.23-07.43.54 S2_GMT-2015.06.23-07.44.05 S3_GMT-2015.06.23-07.44.17 S1_GMT-2015.06.23-07.46.10 S2_GMT-2015.06.23-07.46.22 S3_GMT-2015.06.23-07.46.35 S4_GMT-2015.06.23-07.46.47 S5_GMT-2015.06.23-07.47.00 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 |