Bug 1559405 - Alerts which is raised from node-agent is not displayed in UI
Summary: Alerts which is raised from node-agent is not 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-03-22 13:34 UTC by gowtham
Modified: 2018-09-04 07:03 UTC (History)
4 users (show)

Fixed In Version: tendrl-commons-1.6.1-3.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-04 07:02:28 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github Tendrl commons issues 867 0 None None None 2018-03-28 15:38:11 UTC
Red Hat Product Errata RHSA-2018:2616 0 None None None 2018-09-04 07:03:21 UTC

Description gowtham 2018-03-22 13:34:57 UTC
Description of problem:
Any alert which is raised from node-agent is not processed and displayed in UI.
All log messages are pushed into node-agent socket, If the log message is in notice priority then message handler will pass the log message into the alert handler as well as a logger. But node-agent component log messages are directly pushed into logger because of no need to push into the node-agent socket. So no one is pushing notice messages into alert handler. 

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


How reproducible:
Peer probe a new node with the already managed cluster But no alert messages are raised about new node is ready for expansion. 

Steps to Reproduce:
1. 
2.
3.

Actual results:
When a new node is peer probe with already managed cluster then it not raising any alert.

Expected results:
The new alert message should be raised and displayed in UI when new peer probe is happening with a new node.

Additional info:

Comment 4 Filip Balák 2018-05-25 13:26:57 UTC
Reproduced with old version (tendrl-notifier-1.5.4-6.el7rhgs.noarch) and tested with:
tendrl-ansible-1.6.3-4.el7rhgs.noarch
tendrl-api-1.6.3-3.el7rhgs.noarch
tendrl-api-httpd-1.6.3-3.el7rhgs.noarch
tendrl-commons-1.6.3-5.el7rhgs.noarch
tendrl-gluster-integration-1.6.3-3.el7rhgs.noarch
tendrl-grafana-plugins-1.6.3-3.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-monitoring-integration-1.6.3-3.el7rhgs.noarch
tendrl-node-agent-1.6.3-5.el7rhgs.noarch
tendrl-notifier-1.6.3-3.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-ui-1.6.3-2.el7rhgs.noarch

When tendrl is not installed on nodes but the nodes are added to managed cluster there is newly shown alert:
```
New peers identified in cluster: <cluster-id>. Make sure tendrl-ansible is executed for the new nodes so that expand cluster option can be triggered
```

Looks ok. --> VERIFIED

Comment 6 errata-xmlrpc 2018-09-04 07:02:28 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.