Bug 1579937 - Duplicate Events are Processed and displayed in UI
Summary: Duplicate Events are Processed and displayed in UI
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: web-admin-tendrl-node-agent
Version: rhgs-3.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.4.0
Assignee: gowtham
QA Contact: Filip Balák
URL:
Whiteboard:
Depends On:
Blocks: 1503137
TreeView+ depends on / blocked
 
Reported: 2018-05-18 18:33 UTC by Nishanth Thomas
Modified: 2018-09-04 07:07 UTC (History)
5 users (show)

Fixed In Version: tendrl-ui-1.6.3-3.el7rhgs tendrl-gluster-integration-1.6.3-4.el7rhgs tendrl-monitoring-integration-1.6.3-4.el7rhgs tendrl-commons-1.6.3-6.el7rhgs tendrl-node-agent-1.6.3-6.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-04 07:06:51 UTC
Embargoed:


Attachments (Terms of Use)
Screenshot (117.49 KB, image/png)
2018-05-18 18:33 UTC, Nishanth Thomas
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github Tendrl gluster-integration issues 648 0 None None None 2018-05-25 13:46:01 UTC
Github Tendrl node-agent issues 816 0 None None None 2018-05-25 13:19:15 UTC
Red Hat Bugzilla 1571755 0 unspecified CLOSED Expand cluster notifications use integration id instead of cluster name 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHSA-2018:2616 0 None None None 2018-09-04 07:07:42 UTC

Internal Links: 1571755

Description Nishanth Thomas 2018-05-18 18:33:56 UTC
Created attachment 1438759 [details]
Screenshot

Description of problem:
Duplicate Events are Processed and displayed in UI

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

tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-ui-1.6.3-2.el7rhgs.noarch
tendrl-grafana-plugins-1.6.3-3.el7rhgs.noarch
tendrl-ansible-1.6.3-4.el7rhgs.noarch
tendrl-notifier-1.6.3-3.el7rhgs.noarch
tendrl-commons-1.6.3-5.el7rhgs.noarch
tendrl-api-1.6.3-3.el7rhgs.noarch
tendrl-api-httpd-1.6.3-3.el7rhgs.noarch
tendrl-monitoring-integration-1.6.3-3.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-node-agent-1.6.3-5.el7rhgs.noarch

How reproducible:
1-1

Steps to Reproduce:
1. Import a cluster into tendrl
2. Extend the cluster with new node using CLI
3. See the Events page in UI. "Peer XXX in cluster XXXXX is Connected" event is displayed from as many as no of peers in the cluster
4. Also note that Cluster integration id is diplayed in the events info even though there is cluster name associated with the specific cluster. this also needs to be fixed

Actual results:
1) Duplicate events are displayed
2) event info contains integration_id 

Expected results:
1) No duplicates
2) event info should contain the cluster name if available

Comment 6 Filip Balák 2018-06-27 07:40:35 UTC
There is currently no event `Peer XXX in cluster XXXXX is Connected` during expand. It should be according to the screenshot before `New peers identified in cluster` event. Is this expected behaviour now?

Comment 7 gowtham 2018-06-27 07:46:36 UTC
As per new change, we are not raising peer connected event during expand, because still that node is not managed by tendrl, So better we should not consider alert or any event for the unmanaged node. Why i am saying this means in grafana also we are not showing brick details or not details for that new node. We will monitor the after expand done for new node or nodes. 

After that we are raising peer connected disconnected event and alerts for that node.

Comment 8 Filip Balák 2018-06-27 08:09:28 UTC
In BZ 1571755 was resolved problem with `Peer XXX in cluster XXXXX is Connected` that there is not displayed cluster name. `Peer XXX in cluster XXXXX is Connected` event is currently not shown for unmanaged nodes as stated in Comment 7 but it can be triggered by restarting nodes and events related to this are shown only one time. --> VERIFIED

Tested with:
tendrl-ansible-1.6.3-5.el7rhgs.noarch
tendrl-api-1.6.3-3.el7rhgs.noarch
tendrl-api-httpd-1.6.3-3.el7rhgs.noarch
tendrl-commons-1.6.3-7.el7rhgs.noarch
tendrl-grafana-plugins-1.6.3-5.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-monitoring-integration-1.6.3-5.el7rhgs.noarch
tendrl-node-agent-1.6.3-7.el7rhgs.noarch
tendrl-notifier-1.6.3-4.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-ui-1.6.3-4.el7rhgs.noarch

Comment 10 errata-xmlrpc 2018-09-04 07:06:51 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://access.redhat.com/errata/RHSA-2018:2616


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