Description of problem: There are no alerts when volume's status becomes `degraded` or `partial`. There are only alerts related to bricks that are down when nodes are disconnected. Version-Release number of selected component (if applicable): tendrl-ansible-1.5.4-1.el7rhgs.noarch tendrl-ui-1.5.4-4.el7rhgs.noarch tendrl-grafana-plugins-1.5.4-5.el7rhgs.noarch tendrl-selinux-1.5.3-2.el7rhgs.noarch tendrl-commons-1.5.4-4.el7rhgs.noarch tendrl-api-1.5.4-2.el7rhgs.noarch tendrl-api-httpd-1.5.4-2.el7rhgs.noarch tendrl-monitoring-integration-1.5.4-5.el7rhgs.noarch tendrl-grafana-selinux-1.5.3-2.el7rhgs.noarch tendrl-node-agent-1.5.4-5.el7rhgs.noarch tendrl-notifier-1.5.4-3.el7rhgs.noarch tendrl-gluster-integration-1.5.4-4.el7rhgs.noarch glusterfs-3.8.4-52.el7rhgs.x86_64 How reproducible: 100% Steps to Reproduce: 1. Import cluster with disperse volume into tendrl. 2. Ensure that tendrl user has valid mail and enabled notifications. 3. Mount volume on client. 4. Start checking snmp messages: # journalctl -u snmptrapd -fe 5. Start disconnecting hosts and wait after each change is in grafana. 6. Disconnect enough hosts so the volume becomes `Degraded` and after that `Partial` 6. Check for mails. 7. Check alerts in tendrl. Actual results: There are no messages related to the volume's status. There are only alerts related to stopped bricks. No notification is sent also when the volume is healthy again. Expected results: There should be notifications related to change of volume's status. Additional info:
There are notifications when the volume status is changed to Degraded or Partial but the messages look like this: ``[Tendrl Alert] Volume State, WARNING: status changed-State of volume: volume_gama_disperse_4_plus_2x2 changed from (degraded) to (partial)`` ``[Tendrl Alert] Volume State, WARNING: status changed-State of volume: volume_gama_disperse_4_plus_2x2 changed from up to (degraded)`` I think that degraded and partial status should not be in brackets as up and down status is also not in brackets. There is also no notification when status of volume changes from partial to up (when I start all nodes). I have waited for more then 15 minutes and all nodes are up in grafana but there is no notification. --> ASSIGNED Tested with: tendrl-node-agent-1.5.4-8.el7rhgs.noarch tendrl-notifier-1.5.4-5.el7rhgs.noarch tendrl-selinux-1.5.4-1.el7rhgs.noarch tendrl-commons-1.5.4-5.el7rhgs.noarch tendrl-api-1.5.4-3.el7rhgs.noarch tendrl-api-httpd-1.5.4-3.el7rhgs.noarch tendrl-monitoring-integration-1.5.4-8.el7rhgs.noarch tendrl-grafana-selinux-1.5.4-1.el7rhgs.noarch tendrl-ansible-1.5.4-2.el7rhgs.noarch tendrl-ui-1.5.4-4.el7rhgs.noarch tendrl-grafana-plugins-1.5.4-8.el7rhgs.noarch
Created attachment 1362977 [details] gluster cli
Created attachment 1362978 [details] events sequence
Looks ok. --> VERIFIED Tested with: tendrl-ansible-1.5.4-6.el7rhgs.noarch tendrl-ui-1.5.4-6.el7rhgs.noarch tendrl-grafana-plugins-1.5.4-14.el7rhgs.noarch tendrl-selinux-1.5.4-1.el7rhgs.noarch tendrl-commons-1.5.4-9.el7rhgs.noarch tendrl-api-1.5.4-4.el7rhgs.noarch tendrl-api-httpd-1.5.4-4.el7rhgs.noarch tendrl-monitoring-integration-1.5.4-14.el7rhgs.noarch tendrl-grafana-selinux-1.5.4-1.el7rhgs.noarch tendrl-node-agent-1.5.4-15.el7rhgs.noarch tendrl-notifier-1.5.4-6.el7rhgs.noarch
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/RHEA-2017:3478