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: 1. 2. 3. Actual results: Expected results: Additional info:
http://review.gluster.org/15349 posted upstream for review.
Downstream patch: https://code.engineering.redhat.com/gerrit/#/c/84802/
downstream patch is merged now.
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. AFR_QUORUM_MET AFR_QUORUM_FAIL AFR_SUBVOL_UP AFR_SUBVOLS_DOWN {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
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