Bug 1205641

Summary: [RFE][HC] - Monitor if self-heal is ongoing on a gluster volume
Product: [oVirt] ovirt-engine Reporter: Sahina Bose <sabose>
Component: RFEsAssignee: Ramesh N <rnachimu>
Status: CLOSED CURRENTRELEASE QA Contact: RamaKasturi <knarra>
Severity: medium Docs Contact:
Priority: urgent    
Version: ---CC: bmcclain, bugs, dfediuck, gklein, juwu, knarra, lsurette, mgoldboi, rbalakri, rnachimu, sbonazzo, srevivo, ykaul
Target Milestone: ovirt-4.0.0-betaKeywords: FutureFeature, Improvement
Target Release: 4.0.0Flags: knarra: needinfo? (rnachimu)
rule-engine: ovirt-4.0.0+
bmcclain: planning_ack+
sabose: devel_ack+
sasundar: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Enhancement
Doc Text:
With this enhancement, the Manager monitors any unsynced entries in all Gluster replicated volumes. Unsynced entries are shown in the bricks subtab with the expected time to heal the entries. There will be a warning icon in the volume and the bricks status column when there is an unsynced entry.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-17 14:37:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1313370    
Bug Blocks: 1177771, 1196433, 1196438, 1277939, 1316692    

Description Sahina Bose 2015-03-25 11:26:28 UTC
Description of problem:

For a replicate volume, the engine should monitor if self-heal is ongoing on a volume. There should be an indication in the UI for self-heal activity.

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

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:
"volume heal statistics" can be used to monitor this

Comment 1 Doron Fediuck 2015-04-26 14:08:57 UTC
This should also allow the engine to prevent moving a host to maintenance while
self-heal / rebalance is in progress.

Comment 2 Red Hat Bugzilla Rules Engine 2015-10-19 11:03:30 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 3 Sandro Bonazzola 2016-05-02 09:51:34 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 4 RamaKasturi 2016-08-10 12:29:45 UTC
cannot verify this bug until the below two bugs are fixed.



@Ramesh, can you please let us know when can we get these above bugs fixed ?

Comment 5 RamaKasturi 2016-08-17 11:06:14 UTC
Verified and works fine with build ovirt-engine-

1) When a volume is created Self-Heal Info column displays "N/A" for first 10 minutes since self-heal info sync frequency is 10 minutes.

2) If there are more than two unsynced_entries_history is present and if heal is going on then Expected time for heal will be displayed in the Self-Heal Info column. 

5)Brought one of the brick down , no I/O running on the volume and no heal happening, then no.of unsynced entries is displayed in the Self-Heal column.

5) Self-Heal Info column shows "N/A" when one of the brick is down in the volume.

6) Replaced a brick from UI which is down and replace happened successfully.

7) An exclamation mark is displayed on the status column of volume and on the bricks when there are unsynced entries present. Mouse hovering on that displays status of brick , with no.of unsynced entries present.

For volume mouse hovering does not display any tool tip and a bug is logged for the same. https://bugzilla.redhat.com/show_bug.cgi?id=1365604