Bug 1537357

Summary: [RFE] - get-state option should mark profiling enabled flag at volume level
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Shubhendu Tripathi <shtripat>
Component: glusterdAssignee: Atin Mukherjee <amukherj>
Status: CLOSED ERRATA QA Contact: Bala Konda Reddy M <bmekala>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: rcyriac, rhinduja, rhs-bugs, storage-qa-internal, vbellur
Target Milestone: ---Keywords: FutureFeature
Target Release: RHGS 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.12.2-5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1537364 (view as bug list) Environment:
Last Closed: 2018-09-04 06:40:51 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: 1537364    
Bug Blocks: 1503132, 1517215, 1546957    

Description Shubhendu Tripathi 2018-01-23 02:31:01 UTC
Description of problem:
There is no information about profiling enabled/not-started at volume level in get-state output

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


How reproducible:
Always

Steps to Reproduce:
1. Setup a gluster cluster with 3 nodes
2. Create a dist-replicate volume
3. Start volume profile on the volume
4. Run the command `gluster get-state` and check the output

Actual results:
There is not detail of volume profiling enaled

Expected results:
The get-state output should mention if volume profiling is enabled/not-started for the volume

Additional info:

Comment 2 Atin Mukherjee 2018-01-23 02:58:15 UTC
upstream patch : https://review.gluster.org/#/c/19286

Comment 6 Bala Konda Reddy M 2018-03-09 14:19:24 UTC
Build : 3.12.2-5

Profile enabled option is present in the recent gluster get-state

<Snippet from get-state>
[Volumes]
Volume1.name: testvol
Volume1.id: aa50ae77-c0aa-495b-a067-f0fc084eaa2c
Volume1.type: Distribute
Volume1.transport_type: tcp
Volume1.status: Started
Volume1.profile_enabled: 1

Hence marking it as verified

Comment 8 errata-xmlrpc 2018-09-04 06:40:51 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://access.redhat.com/errata/RHSA-2018:2607