Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1102047 - [RFE] Need gluster cli command to retrieve current op-version on the RHS Node
[RFE] Need gluster cli command to retrieve current op-version on the RHS Node
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: glusterd (Show other bugs)
3.0
x86_64 Linux
high Severity medium
: ---
: RHGS 3.1.0
Assigned To: Gaurav Kumar Garg
SATHEESARAN
glusterd
: FutureFeature
Depends On:
Blocks: 1199451 1202842
  Show dependency treegraph
 
Reported: 2014-05-28 07:48 EDT by SATHEESARAN
Modified: 2016-06-05 19:38 EDT (History)
9 users (show)

See Also:
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
Story Points: ---
Clone Of:
: 1199451 (view as bug list)
Environment:
Last Closed: 2015-07-29 00:32:11 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1495 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 04:26:26 EDT

  None (edit)
Description SATHEESARAN 2014-05-28 07:48:59 EDT
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 02:14:18 EDT
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-09 23:57:11 EDT
(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 00:01:30 EDT
(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 11:12:37 EDT
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 12:00:22 EDT
(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 02:02:21 EDT
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 00:32:11 EDT
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.