Bug 1099385 - RHS-3.0 op-versions need to be fixed
Summary: RHS-3.0 op-versions need to be fixed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterd
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHGS 3.0.0
Assignee: Kaushal
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-20 07:46 UTC by Kaushal
Modified: 2015-05-13 16:58 UTC (History)
6 users (show)

Fixed In Version: glusterfs-3.6.0.16-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-22 19:38:58 UTC
Embargoed:


Attachments (Terms of Use)
List of volume set options (56.44 KB, text/html)
2014-06-27 07:38 UTC, SATHEESARAN
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:1278 0 normal SHIPPED_LIVE Red Hat Storage Server 3.0 bug fix and enhancement update 2014-09-22 23:26:55 UTC

Description Kaushal 2014-05-20 07:46:42 UTC
As RHS-3.0 is branched off from upstream, there are several op-version inconsistencies which could lead to improper behaviour with RHS-2.1.

- RHS-3.0's op-version needs to be 3 instead of 4 as it is now.
- Several checks done on op-version need to be changed to account for the first change.
- Some of the options need their op-versions fixed as they differ between RHS-2.1 and RHS-3.0

Comment 3 SATHEESARAN 2014-06-24 10:50:29 UTC
Checked with glusterfs-3.6.0.22-1.el6rhs

1. Probed a new peer
2. Checked the contents of glusterd.info file

[root@rhss1 glusterd]# cat glusterd.info 
UUID=2c1a999d-7ccd-4535-bf11-ce7799c62185
operating-version=30000

The second part of the test would be to check all options works well wrt to current change in op-version.

Comment 4 SATHEESARAN 2014-06-27 07:38:22 UTC
Created attachment 912701 [details]
List of volume set options

These are all the options which were tested for this bug

Comment 5 SATHEESARAN 2014-06-27 08:32:09 UTC
Tested with all the options that were introduced with op-version 30000
And the options that were supported with op-version as 2

Build - RHS 3.0 ( glusterfs-3.6.0.22-1.el6rhs )

Test steps :
1. Peer probed RHS 3.0 from RHS 2.1U2.
     op-version for cluster is set as 2
2. Tested all the new options introduced with op-version=30000 on RHS 3.0
     All these commands were throwing error as expected.
[root@rhss3 ~]# gluster volume set dvol diagnostics.client-log-flush-timeout 31
volume set: failed: Staging failed on 10.70.37.109. Error: Required op_version (30000) is not supported

3. Tested all the options with op-version as 2 
      These options are set and verified across the cluster

List of options used for testing was attached as in comment4

Marking this bug as VERIFIED

Comment 7 errata-xmlrpc 2014-09-22 19:38:58 UTC
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.

http://rhn.redhat.com/errata/RHEA-2014-1278.html


Note You need to log in before you can comment on or make changes to this bug.