Bug 1102047 - [RFE] Need gluster cli command to retrieve current op-version on the RHS Node
Summary: [RFE] Need gluster cli command to retrieve current op-version on the RHS Node
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterd
Version: rhgs-3.0
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
: RHGS 3.1.0
Assignee: Gaurav Kumar Garg
QA Contact: SATHEESARAN
URL:
Whiteboard: glusterd
Depends On:
Blocks: 1199451 1202842
TreeView+ depends on / blocked
 
Reported: 2014-05-28 11:48 UTC by SATHEESARAN
Modified: 2016-06-05 23:38 UTC (History)
9 users (show)

Fixed In Version: glusterfs-3.7.0-2.el6rhs
Doc Type: Enhancement
Doc Text:
The following new command is introduced to retrieve the current op-version of the Red Hat Gluster Storage node. # gluster volume get <volname> cluster.op-version
Clone Of:
: 1199451 (view as bug list)
Environment:
Last Closed: 2015-07-29 04:32:11 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1495 0 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 08:26:26 UTC

Description SATHEESARAN 2014-05-28 11:48:59 UTC
Description of problem:
-----------------------
op-version is set using the option 'cluster.op-version'.
There should be a way to get the current op-version on the RHS Node

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHS 3.0 ( glusterfs-3.6.0.8-1.el6rhs )

How reproducible:
-----------------
Not Applicable as its a enhancement

Steps to Reproduce:
------------------
Not Applicable

Actual results:
---------------
No way to get the op-version supported on the RHS Node, other than looking at glusterd.info file

Expected results:
-----------------
1. There should be a way to get the op-version on RHS Node

Additional info:

Comment 1 Atin Mukherjee 2015-04-02 06:14:18 UTC
Upstream patch http://review.gluster.org/9821 is merged now. This bug can be moved to Modified state once the branching takes place.

Comment 2 SATHEESARAN 2015-04-10 03:57:11 UTC
(In reply to Atin Mukherjee from comment #1)
> Upstream patch http://review.gluster.org/9821 is merged now. This bug can be
> moved to Modified state once the branching takes place.

Correction. This bug could be moved ON_QA, once we have the downstream build as mentioned in ERRATA build -  is available, along with the fixed-in-version field updated

Comment 3 SATHEESARAN 2015-04-10 04:01:30 UTC
(In reply to SATHEESARAN from comment #2)
> (In reply to Atin Mukherjee from comment #1)
> > Upstream patch http://review.gluster.org/9821 is merged now. This bug can be
> > moved to Modified state once the branching takes place.
> 
> Correction. This bug could be moved ON_QA, once we have the downstream build
> as mentioned in ERRATA build -  is available, along with the
> fixed-in-version field updated

Apologies, I read comment1 as 'moved ON_QA' and hence made a comment2.

Comment 6 SATHEESARAN 2015-05-27 15:12:37 UTC
cluster.op-version could be now obtained using 'gluster volume get <vol-name>' command.

The following console log shows the command to retrieve 'cluster.op-version'

[root@ ~]# gluster volume get rvol op-version
Option                                  Value                                   
------                                  -----                                   
cluster.op-version                      30700 

Marking this bug as VERIFIED

Comment 7 SATHEESARAN 2015-05-27 16:00:22 UTC
(In reply to SATHEESARAN from comment #6)
> cluster.op-version could be now obtained using 'gluster volume get
> <vol-name>' command.
> 
> The following console log shows the command to retrieve 'cluster.op-version'
> 
> [root@ ~]# gluster volume get rvol op-version
> Option                                  Value                               
> 
> ------                                  -----                               
> 
> cluster.op-version                      30700 
> 
> Marking this bug as VERIFIED

Verified with glusterfs-3.7.0-2.el6rhs

Comment 8 Bhavana 2015-07-15 06:02:21 UTC
Hi Gaurav,

The doc text is updated. Please review the same and share your technical review comments. If it looks ok, then sign-off on the same.

Regards,
Bhavana

Comment 10 errata-xmlrpc 2015-07-29 04:32:11 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.

https://rhn.redhat.com/errata/RHSA-2015-1495.html


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