Description of problem: This RFE is to track the changes required in the bitrot component to generate the events to be consumed by the eventing framework.
Upstream Patch: http://review.gluster.org/#/c/15190/
downstream patch https://code.engineering.redhat.com/gerrit/#/c/84792 is merged now.
Below mentioned bitrot events are successfully captured and seen when the corresponding operations are done. "EVENT_BITROT_ENABLE", "EVENT_BITROT_DISABLE", "EVENT_BITROT_SCRUB_THROTTLE", "EVENT_BITROT_SCRUB_FREQ", "EVENT_BITROT_SCRUB_OPTION", "EVENT_BITROT_BAD_FILE". For the new CLI 'scrub ondmeand', an event is not generated for which BZ 1384311 has been raised. Moving this RFE to verified in 3.2 "{u'message': {u'gfid': u'3682625d-6d74-41bf-9f9d-c1d86210de64', u'path': u'/test1', u'brick': u'/bricks/brick0/repthree3'}, u'event': u'BITROT_BAD_FILE', u'ts': 1477286082, u'nodeid': u'1e8967ae-51b2-4c27-907e-a22a83107fd0'}" "{u'message': {u'name': u'dist'}, u'event': u'BITROT_ENABLE', u'ts': 1476334598, u'nodeid': u'fcfacf2e-57fb-45ba-b1e1-e4ba640a4de5'}" "{u'message': {u'name': u'dist'}, u'event': u'BITROT_DISABLE', u'ts': 1476336190, u'nodeid': u'fcfacf2e-57fb-45ba-b1e1-e4ba640a4de5'}" "{u'message': {u'name': u'dist', u'value': u'aggressive'}, u'event': u'BITROT_SCRUB_THROTTLE', u'ts': 1476334757, u'nodeid': u'fcfacf2e-57fb-45ba-b1e1-e4ba640a4de5'}" "{u'message': {u'name': u'dist', u'value': u'minute'}, u'event': u'BITROT_SCRUB_FREQ', u'ts': 1476334792, u'nodeid': u'fcfacf2e-57fb-45ba-b1e1-e4ba640a4de5'}" "{u'message': {u'name': u'dist', u'value': u'pause'}, u'event': u'BITROT_SCRUB_OPTION', u'ts': 1476334930, u'nodeid': u'fcfacf2e-57fb-45ba-b1e1-e4ba640a4de5'}"
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