Bug 1492075 - AFR_SUBVOL_UP and AFR_SUBVOLS_DOWN events not working
Summary: AFR_SUBVOL_UP and AFR_SUBVOLS_DOWN events not working
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: eventsapi
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Ravishankar N
QA Contact: Sweta Anandpara
URL:
Whiteboard:
Depends On: 1492066
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-15 12:03 UTC by Darshan
Modified: 2017-09-18 07:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1492066
Environment:
Last Closed: 2017-09-18 05:24:21 UTC
Embargoed:


Attachments (Terms of Use)

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.


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