Bug 1275521
| Summary: | Wrong value of snap-max-hard-limit observed in 'gluster volume info'. | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Shashank Raj <sraj> | |
| Component: | snapshot | Assignee: | Avra Sengupta <asengupt> | |
| Status: | CLOSED ERRATA | QA Contact: | storage-qa-internal <storage-qa-internal> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | rhgs-3.1 | CC: | asengupt, asrivast, byarlaga, rhs-bugs, rjoseph, sashinde, storage-qa-internal | |
| Target Milestone: | --- | Keywords: | ZStream | |
| Target Release: | RHGS 3.1.2 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | SNAPSHOT | |||
| Fixed In Version: | glusterfs-3.7.5-7 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1276018 (view as bug list) | Environment: | ||
| Last Closed: | 2016-03-01 05:45:17 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: | 1260783, 1276018, 1277394 | |||
|
Description
Shashank Raj
2015-10-27 07:11:08 UTC
The snap-max-hard-limit being displayed in the volume info currently is propagated from system's snap-max-hard-limit as that is a global option common for all volumes, and hence ends up showing the system's snap-max-hard-limit. IMO we should not be displaying snap-max-hard-limit and snap-max-soft-limit in the volume info at all, as these are snap config options and should be set and displayed via snap config command. Hence the fix will make sure of this particular behaviour. Fix sent to master(upstream). http://review.gluster.org/12443 Master URL : http://review.gluster.org/#/c/12443/ Release 3.7 URL : http://review.gluster.org/#/c/12493/1 RHGS 3.1.2 URL : https://code.engineering.redhat.com/gerrit/#/c/60678/ Verified this bug with glusterfs-3.7.5-7 and its working according to the fix made. snap-max-hard-limit is no longer a part of gluster volume info and this entry is not seen under gluster volume info. And the snap-max-hard-limit is proper under /var/lib/glusterd/vols/testvolume info file. 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 |