Bug 1071536
| Summary: | Notifier doesn't send any notifications via email | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Martin Perina <mperina> | ||||
| Component: | ovirt-engine-notificiations | Assignee: | Martin Perina <mperina> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Belka <jbelka> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.4 | CC: | acathrow, gklein, iheim, knesenko, mtayer, yeylon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.4.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | infra | ||||||
| Fixed In Version: | ovirt-3.4.0-ga | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-03-31 12:29:59 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1024889, 1051093, 1051492 | ||||||
| Attachments: |
|
||||||
Without fixing this, notifier is completely unuseable in oVirt 3.4. So I suggest this one as a blocker. p.s There is no need to define a subscriber in both configuration and db. In this case there is a bug in database and in the configuration it should be: FILTER="include:*(smtp:mperina)" instead of FILTER="include:*(smtp:*)" I such a case the above notification(VDS_DETECTED) will be sent twice once the bug is fixed Included in oVirt 3.4 RC2 This needs av4 or newer. ok, av4. The patch is also included in av3.1 and sending email with notifier worked fine for me in that version this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released |
Created attachment 869329 [details] logs Description of problem: No notifications are send via email through notifier even when configured correctly. If you set DEBUG priority to notifier log, there are these errors in notifier.log: 2014-03-01 13:47:56,308 DEBUG [org.ovirt.engine.core.notifier.filter.FirstMatchSimpleFilter] Recipient: Recipient{transport='EMAIL', name='mperina'} 2014-03-01 13:47:56,309 DEBUG [org.ovirt.engine.core.notifier.filter.FirstMatchSimpleFilter] Entry match((include)): FilterEntry{eventName='VDS_DETECTED', exclude=false, recipient=Recipient{transport='EMAIL', name='mperina'}} 2014-03-01 13:47:56,309 DEBUG [org.ovirt.engine.core.notifier.filter.FirstMatchSimpleFilter] Ignoring recipient 'Recipient{transport='EMAIL', name='mperina'}' as transport not registered Version-Release number of selected component (if applicable): 3.4.0-0.12.master.20140228075627 How reproducible: 100% Steps to Reproduce: 1. Assign all 'General Host Events' notifications for user 2. Configure notifier in /etc/ovirt-engine/notifier/notifier.conf.d/99-user.conf with: MAIL_SERVER=smtp.corp.redhat.com MAIL_FROM=mperina FILTER="include:*(smtp:*)" 3. Start notifier daemon and set host status to Maintenance Actual results: No notifications are sent Expected results: Notifications are sent Additional info: