Bug 1361066

Summary: [RFE] DHT Events
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Nithya Balachandran <nbalacha>
Component: distributeAssignee: Nithya Balachandran <nbalacha>
Status: CLOSED ERRATA QA Contact: Prasad Desala <tdesala>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: amukherj, rcyriac, rhinduja, rhs-bugs
Target Milestone: ---Keywords: FutureFeature
Target Release: RHGS 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: USM-Gluster integration
Fixed In Version: glusterfs-3.8.4-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1371874 (view as bug list) Environment:
Last Closed: 2017-03-23 05:40:45 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:    
Bug Blocks: 1351503, 1371874, 1376477    

Description Nithya Balachandran 2016-07-28 09:44:57 UTC
Description of problem:

This RFE is to track the changes required in the DHT 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:

Comment 3 Atin Mukherjee 2016-08-31 11:50:30 UTC
http://review.gluster.org/15373 posted upstream for review.

Comment 7 Prasad Desala 2016-12-13 10:39:59 UTC
Below mentioned DHT and Rebalance events are successfully seen.

"EVENT_VOLUME_ADD_BRICK",	{u'message': {u'bricks': u'10.70.43.141:/bricks/brick3/b3 10.70.43.156:/bricks/brick3/b3', u'volume': u'distrep'}, u'event': u'VOLUME_ADD_BRICK', u'ts': 1476866772, u'nodeid': u'342de060-7cd2-4ddf-ba3a-883c477b30d7'}
	
"EVENT_VOLUME_REMOVE_BRICK_START",	{u'message': {u'bricks': u'10.70.43.141:/bricks/brick3/b3 10.70.43.156:/bricks/brick3/b3', u'volume': u'distrep'}, u'event': u'VOLUME_REMOVE_BRICK_START', u'ts': 1476867037, u'nodeid': u'342de060-7cd2-4ddf-ba3a-883c477b30d7'}	
	
"EVENT_VOLUME_REMOVE_BRICK_COMMIT",	{u'message': {u'bricks': u'10.70.43.141:/bricks/brick3/b3 10.70.43.156:/bricks/brick3/b3', u'volume': u'distrep'}, u'event': u'VOLUME_REMOVE_BRICK_COMMIT', u'ts': 1476867188, u'nodeid': u'342de060-7cd2-4ddf-ba3a-883c477b30d7'}	
	
"EVENT_VOLUME_REMOVE_BRICK_STOP",	{u'message': {u'bricks': u'10.70.42.7:/bricks/brick3/b3 10.70.41.211:/bricks/brick3/b3', u'volume': u'distrep'}, u'event': u'VOLUME_REMOVE_BRICK_STOP', u'ts': 1476866657, u'nodeid': u'342de060-7cd2-4ddf-ba3a-883c477b30d7'}
	
"EVENT_VOLUME_REMOVE_BRICK_FORCE",	{u'message': {u'bricks': u'10.70.42.7:/bricks/brick3/b3 10.70.41.211:/bricks/brick3/b3', u'volume': u'distrep'}, u'event': u'VOLUME_REMOVE_BRICK_FORCE', u'ts': 1476867222, u'nodeid': u'342de060-7cd2-4ddf-ba3a-883c477b30d7'}

"EVENT_VOLUME_REBALANCE_START",	{u'message': {u'volume': u'distrep'}, u'event': u'VOLUME_REBALANCE_START', u'ts': 1476866812, u'nodeid': u'342de060-7cd2-4ddf-ba3a-883c477b30d7'}
	
"EVENT_VOLUME_REBALANCE_STOP",	{u'message': {u'volume': u'distrep'}, u'event': u'VOLUME_REBALANCE_STOP', u'ts': 1476866823, u'nodeid': u'342de060-7cd2-4ddf-ba3a-883c477b30d7'}
	
"EVENT_VOLUME_REBALANCE_FAILED",	{u'message': {u'volume': u'distrep'}, u'event': u'VOLUME_REBALANCE_FAILED', u'ts': 1476866823, u'nodeid': u'a836cdab-19f7-4820-afc6-2165459ceee0'}
	
"EVENT_VOLUME_REBALANCE_COMPLETE",	{u'message': {u'volume': u'distrep'}, u'event': u'VOLUME_REBALANCE_COMPLETE', u'ts': 1476866946, u'nodeid': u'a836cdab-19f7-4820-afc6-2165459ceee0'}
	
Moving this RFE to verified in 3.2. Will open a separate BZ if seen any other eventing issues.

Comment 9 errata-xmlrpc 2017-03-23 05:40:45 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.

https://rhn.redhat.com/errata/RHSA-2017-0486.html