Bug 1286820

Summary: [GSS] [RFE] Addition of "summary" option in "gluster volume heal" command.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Harold Miller <hamiller>
Component: replicateAssignee: Karthik U S <ksubrahm>
Status: CLOSED ERRATA QA Contact: Vijay Avuthu <vavuthu>
Severity: medium Docs Contact:
Priority: high    
Version: rhgs-3.1CC: amukherj, bkunal, hamiller, jdeenada, ksubrahm, nchilaka, nlevinki, ravishankar, rhinduja, rhs-bugs, sauchter, sheggodu, smohan, srmukher, storage-qa-internal, vbellur, vumrao
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: RHGS 3.4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.12.2-2 Doc Type: Enhancement
Doc Text:
This option shows the present state of the volume with a consolidated view. Unlike heal info option, this prints only the number of the file which needs heal or in split-brain or undergoing heal inside every brick.
Story Points: ---
Clone Of: 1100398
: 1522729 1531931 (view as bug list) Environment:
Last Closed: 2018-09-04 06:26:58 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: 1015990, 1100398    
Bug Blocks: 1472361, 1474007, 1503132, 1503135, 1522729, 1531931    

Comment 3 Jayaraj 2016-02-24 07:41:56 UTC
Any update from my previous comment?

Comment 4 Jayaraj 2016-03-28 00:06:32 UTC
Hi Harold, Any update on this BZ? do we expect to have any resolution soon? Please let me know to advice customer accordingly. Thanks.

Comment 5 Harold Miller 2016-03-28 15:05:47 UTC
Jayaraj,

The BZ appears to still be a [Future Feature], and the status is 'NEW' which means no Engineer has been assigned to work on it. If you have a customer or case where they are pushing on it, I recommend you post an item to the gluster-prio email list to see if you can get additional information.

Harold Miller,  Associate Manager, Red Hat Storage
Support for Emerging Technologies

Comment 7 Harold Miller 2016-04-05 16:37:47 UTC
Hello jayaraj,

gluster-prio-list

Harold

Comment 15 Karthik U S 2017-09-08 07:18:23 UTC
Sure. Will do that.

Comment 18 Vijay Avuthu 2018-02-19 06:49:22 UTC
verified in 3.12.2-4 build with 4 * 3 volume

> summary option has been added to help 

# gluster vol help | grep -i summary
volume heal <VOLNAME> [enable | disable | full |statistics [heal-count [replica <HOSTNAME:BRICKNAME>]] |info [summary | split-brain] |split-brain {bigger-file <FILE> | latest-mtime <FILE> |source-brick <HOSTNAME:BRICKNAME> [<FILE>]} |granular-entry-heal {enable | disable}] - self-heal commands on volume specified by <VOLNAME>
#

> pending entries are listed using summary option

#  gluster vol heal 43 info summary
Brick 10.70.35.229:/bricks/brick0/b0
Status: Transport endpoint is not connected
Total Number of entries: -
Number of entries in heal pending: -
Number of entries in split-brain: -
Number of entries possibly healing: -

Brick 10.70.35.207:/bricks/brick0/b0
Status: Connected
Total Number of entries: 5004
Number of entries in heal pending: 5004
Number of entries in split-brain: 0
Number of entries possibly healing: 0

Brick 10.70.35.178:/bricks/brick0/b0
Status: Connected
Total Number of entries: 5004
Number of entries in heal pending: 5004
Number of entries in split-brain: 0
Number of entries possibly healing: 0

> "info healed" and "info heal-failed" has been deprecated in 3.4 and the same has been verified

# gluster vol heal 43 info healed

Usage:
volume heal <VOLNAME> [enable | disable | full |statistics [heal-count [replica <HOSTNAME:BRICKNAME>]] |info [summary | split-brain] |split-brain {bigger-file <FILE> | latest-mtime <FILE> |source-brick <HOSTNAME:BRICKNAME> [<FILE>]} |granular-entry-heal {enable | disable}]



# gluster vol heal 43 info heal-failed

Usage:
volume heal <VOLNAME> [enable | disable | full |statistics [heal-count [replica <HOSTNAME:BRICKNAME>]] |info [summary | split-brain] |split-brain {bigger-file <FILE> | latest-mtime <FILE> |source-brick <HOSTNAME:BRICKNAME> [<FILE>]} |granular-entry-heal {enable | disable}]

# 

Changing status to verified.

Comment 22 errata-xmlrpc 2018-09-04 06:26: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.

https://access.redhat.com/errata/RHSA-2018:2607