Description of problem: Users can choose to receive email notifications for several host conditions listed under "Host Event" section of event notifications. When a user has chosen a specific condition and such condition occurs the user receives an email notification. When such condition is resolved or disappears the user does not receive any email notification alerting him/her that the previously reported condition has been solved is no longer present. Version-Release number of selected component (if applicable): rhevm-notification-service-3.2.2-0.41.el6ev. How reproducible: Always. Steps to Reproduce: 1. In webadmin portal go to "Users" resource tab and choose a user from the list. 2. Choose the "Event Notifier" sub-tab and click the "Manage Events" button. 3. Expand "Host Events" to show all host related notifications available. Actual results: There is no option to receive an email notification when a previously reported condition is fixed, e.g. when a non-operational host comes back. Expected results: An option like "Host state was set back to Operational/Up" is available. Selecting this option causes event notification email to be sent when a previously reported condition is fixed. Additional info:
I have pushed a patch to add a new event that the user can subscribe to "Host is responsive".
Barak, can you ack for 3.4?
is this merged into upstream?
Tareq , you can see that in the External Trackers section above Yes it was merged
Created attachment 864163 [details] scrnshot there is no event "Host is responsive" user can subscribe to see screen shot tested on ovirt-engine-tools-3.4.0-0.7.beta2.el6.noarch
The patch does not add a new notifcation for the user to subscribe to. If the user is subscribed to "Host state was set to non operation" or "Host is non responsive". The user should get a email notification when a host ges into non-responsive or non-operational status. Now if the host changes state to UP/Maintenance the user should get a second email notification indicating that the previously reported condition has been resolved. This requires that the notification service has been configured with the smtp mail server address and is running. Please retest it
Thanks Ravi, I subscribed to to Host non responsive event, and i got email about the non responsive state and then email about host going up again Issue Solved Notification. (vm-161-144.scl.lab.tlv.redhat.com), [Host rose04 was activated by admin.] tested on ovirt-engine-tools-3.4.0-0.7.beta2.el6.noarch
This bug is referenced in ovirt-engine-3.4.0-beta3 logs. Moving to ON_QA
I subscribed to to Host non responsive event, and i got email about the non responsive state, but i did not got email that the issue have been resolved. tested on ovirt-engine-3.4.0-0.11.beta3.el6.noarch ovirt-engine-tools-3.4.0-0.11.beta3.el6.noarch
Created attachment 865538 [details] notifier log
(In reply to Tareq Alayan from comment #12) > I subscribed to to Host non responsive event, and i got email about the non > responsive state, but i did not got email that the issue have been resolved. > > tested on > ovirt-engine-3.4.0-0.11.beta3.el6.noarch > ovirt-engine-tools-3.4.0-0.11.beta3.el6.noarch Please provide full details on how you had tested , how the host became non-responsive and what do you did in order to make it responsive again
I stopped the vdsmd process. It became Connecting the Non responsive and the UP (soft fencing recovering) Got email that About becoming non responsive and no email regarding the host set to UP.
is this merged into rhevm-tools-3.4.0-0.3.master.el6ev.noarch
Yes, the patch has been merged into ovirt-engine 3.4
verified on rhevm-tools-3.4.0-0.5.master.el6ev.noarch resolution mail has been received.
Closing as part of 3.4.0