Bug 1276587
| Summary: | [GlusterD]: After updating one of rhgs 2.1.6 node to 3.1.2 in two node cluster, volume status is failing | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Byreddy <bsrirama> |
| Component: | glusterd | Assignee: | Gaurav Kumar Garg <ggarg> |
| Status: | CLOSED ERRATA | QA Contact: | Byreddy <bsrirama> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rhgs-3.1 | CC: | ggarg, nlevinki, rcyriac, sankarshan, sasundar, smohan, vbellur |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | RHGS 3.1.2 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | glusterd | ||
| Fixed In Version: | glusterfs-3.7.5-6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-01 05:49:15 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, 1267488 | ||
|
Description
Byreddy
2015-10-30 08:55:33 UTC
Additional info for Debug: ========================== After updating both the nodes, volume status worked good. upstream patch for this bug available : http://review.gluster.org/#/c/12473/ RCA:
Currently new feature tiering have GD_OP_DETACH_TIER and GD_OP_TIER_MIGRATE
enum in the middle of the glusterd_op_ enum array. So when cluster have
two node and one of the node upgrade from lower version to higher
version and execute any command (which glusterd operation enum code value
higher then GD_OP_DETACH_TIER and GD_OP_TIER_MIGRATE enum value) then
first node (which have upgraded) will send respective executing command
enum value + GD_OP_TIER_MIGRATE + GD_OP_DETACH_TIER value. When this
enum value goes to 2nd node of the cluster (which have not upgraded yet
and dont't have GD_OP_DETACH_TIER, GD_OP_TIER_MIGRATE enum) then 2nd
node will pick up wrong command from the array based on the first node
enum value and command executiong will fail.
Fix is to put every new feature glusterd operation enum code to last of
the array.
*** Bug 1277791 has been marked as a duplicate of this bug. *** downstream patch for this bug: https://code.engineering.redhat.com/gerrit/#/c/60757/ Verified this bug with the build **glusterfs-3.7.5-6***. Fix is working good and no more seeing the issue described. Moving the bug to verified state. 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 |