Bug 1492075

Summary: AFR_SUBVOL_UP and AFR_SUBVOLS_DOWN events not working
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Darshan <dnarayan>
Component: eventsapiAssignee: Ravishankar N <ravishankar>
Status: CLOSED NOTABUG QA Contact: Sweta Anandpara <sanandpa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: amukherj, bugs, rhs-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1492066 Environment:
Last Closed: 2017-09-18 05:24:21 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: 1492066    
Bug Blocks:    

Description Darshan 2017-09-15 12:03:12 UTC
+++ This bug was initially created as a clone of Bug #1492066 +++

Description of problem:
AFR_SUBVOL_UP and AFR_SUBVOLS_DOWN events not working.

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

How reproducible:
Always

Steps to Reproduce:
1. create a 1 X 2 replica volume.
2. kill both the bricks.
3. wait for AFR_SUBVOLS_DOWN event

Actual results:
These 2 events are not being raised

Expected results:
subvol up/down events must be sent whenever a subvolume goes up or down.

Additional info:
Looks these events are not being raised in the code. I see the event names only in events/eventskeygen.py file.

Comment 2 Ravishankar N 2017-09-18 05:24:21 UTC
Looks like the halo replication patch  https://review.gluster.org/#/c/16177 inadvertently removed these events upstream, and it needs to be fixed. 

These events are present in the downstream code though since 16177 is not there in rhgs yet. Hence closing this one as NOTABUG.