Bug 1361082 - [RFE]: AFR events
Summary: [RFE]: AFR events
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: replicate
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: RHGS 3.2.0
Assignee: Pranith Kumar K
QA Contact: Sweta Anandpara
Whiteboard: USM-Gluster integration
Depends On: 1371485 1373743
Blocks: 1351503
TreeView+ depends on / blocked
Reported: 2016-07-28 10:17 UTC by Pranith Kumar K
Modified: 2017-03-23 05:41 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.8.4-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-03-23 05:41:09 UTC

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0486 normal SHIPPED_LIVE Moderate: Red Hat Gluster Storage 3.2.0 security, bug fix, and enhancement update 2017-03-23 09:18:45 UTC

Description Pranith Kumar K 2016-07-28 10:17:21 UTC
Description of problem:
This RFE is to track the changes required in the AFR component to generate the events to be consumed by the eventing framework.

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

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:

Comment 3 Atin Mukherjee 2016-08-30 10:28:35 UTC
http://review.gluster.org/15349 posted upstream for review.

Comment 4 Ravishankar N 2016-09-16 11:38:07 UTC
Downstream patch: https://code.engineering.redhat.com/gerrit/#/c/84802/

Comment 5 Atin Mukherjee 2016-09-16 12:06:40 UTC
downstream patch is merged now.

Comment 8 Sweta Anandpara 2016-11-16 06:18:36 UTC
Tested and verified this on the build 3.8.4-x (x:1-5)

Have seen the below mentioned AFR events during my testing on distribute-replicate volumes.

{u'message': {u'subvol': u'repthree-replicate-0'}, u'event': u'AFR_QUORUM_MET', u'ts': 1477040429, u'nodeid': u'1e8967ae-51b2-4c27-907e-a22a83107fd0'}
{u'message': {u'subvol': u'repthree-replicate-0'}, u'event': u'AFR_QUORUM_FAIL', u'ts': 1477040684, u'nodeid': u'72c4f894-61f7-433e-a546-4ad2d7f0a176'}
{u'message': {u'subvol': u'repthree-replicate-0'}, u'event': u'AFR_SUBVOL_UP', u'ts': 1477040718, u'nodeid': u'72c4f894-61f7-433e-a546-4ad2d7f0a176'}
{u'message': {u'subvol': u'repthree-replicate-0'}, u'event': u'AFR_SUBVOLS_DOWN', u'ts': 1477040290, u'nodeid': u'ed362eb3-421c-4a25-ad0e-82ef157ea328'}

Yet to see AFR_SPLIT_BRAIN, and further testing required even for the above events. Will raise separate BZ if I see any specific issue. Moving this blanket BZ to verified in 3.2

Comment 10 errata-xmlrpc 2017-03-23 05:41:09 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.


Note You need to log in before you can comment on or make changes to this bug.