Bug 1380779

Summary: Alerts don't send email notification
Product: Red Hat CloudForms Management Engine Reporter: Dmitry Misharov <dmisharo>
Component: ApplianceAssignee: Yuri Rudman <yrudman>
Status: CLOSED NOTABUG QA Contact: Dmitry Misharov <dmisharo>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: abellott, cpelland, dajohnso, dmisharo, jhardy, obarenbo
Target Milestone: GAKeywords: Regression
Target Release: cfme-future   
Hardware: All   
OS: All   
Whiteboard: alert:email
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-18 13:26:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Attachments:
Description Flags
evm.log none

Description Dmitry Misharov 2016-09-30 14:16:19 UTC
Created attachment 1206297 [details]
evm.log

Description of problem:
Alerts don't send email notification, but the test mail delivered succesfully 

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

How reproducible:
Always

Steps to Reproduce:
1. Enable "Notifier" role.
2. Configure "Outgoing SMTP E-mail Server".
3. Navigate to Control->Explorer.
4. Expand Alert accordion.
5. Create a test alert with the following parameters: Based on: "VM and Instance"; What to Evaluate: "Nothing"; Driving Event: "VM Operation: VM Power On"; add some email for test.
6. Create VM and Instance alert profile.
7. Add the alert which were created before.
8. Assign the alert profile to "The Enterprise".
9. Suspend some VM.

Actual results:
There is no notification email after VM suspending.

Expected results:
The notification email should be sent.

Additional info:
There are no MIQ(GenericMailer.deliver) events in the log at all.

Comment 2 Dmitry Misharov 2016-10-03 09:22:04 UTC
After rebooting all notifications is delivered. So this bug can be reproduced only on fresh installation after first boot.

Comment 3 Greg McCullough 2016-10-03 19:22:44 UTC
Re-assigning component to Appliance as this looks like a possible worker issue.

Comment 4 Dave Johnson 2016-11-13 01:21:05 UTC
Dmitry, can you confirm that this is working in 5.6.2(&3) please.  This sounds like a newly introduced regression which we are trying to be better about tracking.  If it works on 5.6.2, please add the regression keyword in the keywords field.

Comment 5 Dave Johnson 2016-11-13 01:22:10 UTC
Don't ignore that Dmitry  :)  I see you already did that.

Comment 6 Yuri Rudman 2016-11-17 20:43:49 UTC
Dmitry, Could you re-test and use 'VM Suspend' in step 5 of your test description. Also, it would be helpful to know if it is new bug or old one existing in previous release.

Comment 7 Dmitry Misharov 2016-11-18 08:35:02 UTC
I can't reproduce the BZ on 5.7.0.11-rc1.20161115160629_46cf4f1, alerts send email notifications without rebooting the appliance. I think this issue can be closed.