Bug 1397257

Summary: capture volume tunables in get-state dump
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Atin Mukherjee <amukherj>
Component: glusterdAssignee: Atin Mukherjee <amukherj>
Status: CLOSED ERRATA QA Contact: Byreddy <bsrirama>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.2CC: bugs, rhinduja, rhs-bugs, storage-qa-internal, vbellur
Target Milestone: ---Keywords: Triaged
Target Release: RHGS 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8.4-7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1396807 Environment:
Last Closed: 2017-03-23 06:20:23 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: 1396807, 1397352    
Bug Blocks: 1351528    

Description Atin Mukherjee 2016-11-22 04:37:44 UTC
+++ This bug was initially created as a clone of Bug #1396807 +++

Description of problem:

get-state output doesn't capture volinfo->dict

Version-Release number of selected component (if applicable):
mainline

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Worker Ant on 2016-11-20 07:53:07 EST ---

REVIEW: http://review.gluster.org/15889 (glusterd: dump volinfo->dict in gluster get-state) posted (#1) for review on master by Atin Mukherjee (amukherj)

Comment 2 Atin Mukherjee 2016-11-22 04:38:38 UTC
upstream mainline patch http://review.gluster.org/15889 posted for review.

Comment 4 Atin Mukherjee 2016-11-22 11:21:34 UTC
upstream mainline : http://review.gluster.org/15889
upstream 3.9 : http://review.gluster.org/#/c/15900/
downstream patch : https://code.engineering.redhat.com/gerrit/90858

Comment 9 Atin Mukherjee 2016-12-01 14:14:15 UTC
upstream mainline patch : http://review.gluster.org/#/c/15975
upstream 3.9 patch : http://review.gluster.org/#/c/15993/
downstream patch : https://code.engineering.redhat.com/gerrit/#/c/91885/

Comment 11 Byreddy 2016-12-08 05:23:17 UTC
Verified this BZ using the 3.8.4-7 build,
Fix is working good, now gluster get-state is capturing the volume options (default and explicitly set options)

tested with two diff volume types with diff volume options

Volume1.rebalance.data: 0Bytes
Volume1.options.transport.address-family: inet
Volume1.options.performance.readdir-ahead: on
Volume1.options.nfs.disable: on



Volume2.rebalance.data: 0Bytes
Volume2.options.nfs.disable: off
Volume2.options.performance.io-cache: enable
Volume2.options.transport.address-family: inet
Volume2.options.performance.readdir-ahead: on

Moving to verified state based on above result.

Comment 13 errata-xmlrpc 2017-03-23 06:20:23 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-2017-0486.html