Bug 1101702
Summary: | setting lower op-version should throw failure message | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | SATHEESARAN <sasundar> | |
Component: | glusterd | Assignee: | Satish Mohan <smohan> | |
Status: | CLOSED ERRATA | QA Contact: | Byreddy <bsrirama> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rhgs-3.0 | CC: | amukherj, bsrirama, mzywusko, nlevinki, rhinduja, smohan, vbellur | |
Target Milestone: | --- | Keywords: | EasyFix, ZStream | |
Target Release: | RHGS 3.1.3 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.7.9-3 | Doc Type: | Bug Fix | |
Doc Text: |
TBD
Cause:
Consequence:
Fix:
Result:
|
Story Points: | --- | |
Clone Of: | ||||
: | 1315186 (view as bug list) | Environment: | ||
Last Closed: | 2016-06-23 04:52:06 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: | 1299184, 1315186, 1330545 |
Description
SATHEESARAN
2014-05-27 18:33:49 UTC
Upstream patch http://review.gluster.org/#/c/13622 posted for review. The fix is now available in rhgs-3.1.3 branch, hence moving the state to Modified. Tested with RHGS 3.1.3 nightly build ( glusterfs-3.7.9-1.el7rhgs ) Setting the lower op-version throws proper error messages in cli and also in glusterd logs [root@ ~]# gluster volume set all op-version 30705 volume set: failed: Required op-version (30705) should not be equal or lower than current cluster op-version (30707). Following is the error messages from glusterd logs <snip> [2016-03-29 20:54:28.183415] E [MSGID: 106174] [glusterd-op-sm.c:1157:glusterd_op_stage_set_volume] 0-management: Required op-version (30707) should not be equal or lower than current cluster op-version (30707). [2016-03-29 20:54:28.183508] E [MSGID: 106301] [glusterd-syncop.c:1281:gd_stage_op_phase] 0-management: Staging of operation 'Volume Set' failed on localhost : Required op-version (30707) should not be equal or lower than current cluster op-version (30707). </snip> i am reopening this bug because issue re-exist in the current nightly build "glusterfs-3.7.9-2." [root@dhcp~]# gluster volume set all cluster.op-version 30705 volume set: success [root@dhcp ~]# Moving to assigned state. http://review.gluster.org/#/c/14069 posted for review in upstream. Mainline patch : http://review.gluster.org/14069 3.7 Patch : http://review.gluster.org/14077 Downstream patch : https://code.engineering.redhat.com/gerrit/#/c/73088 All the patches are merged now. Here is the RCA: Commit 2d87a98 (http://review.gluster.org/13622) introduced a validation to fail lowering down the cluster.op-version. Commit 2eb8758 (http://review.gluster.org/5786) actually changed the variable value from cluster's op-version to volume's op-version which resulted the whole logic go for a toss. Verified bug using the build "glusterfs-3.7.9-3". Fix is working good, It's not allowing to lower the cluster op-version and throwing proper error message. Changing the state to verified. We don't need a doc text here. 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://access.redhat.com/errata/RHBA-2016:1240 |