Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1092907 - [RFE][notifier] Implement logging of successful sending of mail notification
[RFE][notifier] Implement logging of successful sending of mail notification
Status: CLOSED CURRENTRELEASE
Product: ovirt-engine
Classification: oVirt
Component: Services.Notifier (Show other bugs)
3.4.0
Unspecified Unspecified
unspecified Severity low (vote)
: ovirt-4.1.0-beta
: 4.1.0
Assigned To: Ondra Machacek
Aleksei Slaikovskii
: EasyFix, FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-30 04:40 EDT by Jiri Belka
Modified: 2017-02-15 10:03 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Previously, when notification emails were successfully sent to a configured SMTP server, a success message did not appear in the notifier.log file.In this release, when a message is successfully sent to an SMTP server, the following message appears in the notifier.log file: E-mail subject='...' to='...' sent successfully
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-02-15 10:03:25 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Infra
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
mperina: ovirt‑4.1?
lsvaty: testing_plan_complete-
rule-engine: planning_ack?
mperina: devel_ack+
lsvaty: testing_ack+


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 57622 master MERGED core: notifier: add successfull mail sent message 2016-05-27 11:50 EDT

  None (edit)
Description Jiri Belka 2014-04-30 04:40:22 EDT
Description of problem:

Right now there's not clear line logged that mail notification was successfully sent. From BZ1051492:

> [...] from my point of view what is mostly missing here is after
> "Send email..."
> to have
> "Email sent successfully"

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

How reproducible:
100%

Steps to Reproduce:
1. block network to mail server
2. check log
3. unblock

Actual results:
2. you will see only 'Send email...' and 'Failed to send' lines
3. just 'Send email...' lines

Expected results:
to distinguish between 'Send email' and real successful sending, there should be after each successful mailing a line like 'Email sent successfully...'

Additional info:
Comment 1 Red Hat Bugzilla Rules Engine 2016-05-16 09:59:59 EDT
This request has been proposed for two releases. This is invalid flag usage. The ovirt-future release flag has been cleared. If you wish to change the release flag, you must clear one release flag and then set the other release flag to ?.
Comment 4 Aleksei Slaikovskii 2017-02-01 10:18:54 EST
Verified on ovirt-engine-4.1.1-0.0.master.20170201124236.git503df00.el7.centos.noarch

INFO    [org.ovirt.engine.core.notifier.transport.smtp.Smtp idle] E-mail subject='alertMessage (system-ge.rhev.lab.eng.brq.redhat.com), [VM shutdown initiated by admin@internal-authz on VM 123 (Host: host).]' to='email@example.com' sent successfully

Note You need to log in before you can comment on or make changes to this bug.