Bug 882847 - upgrade 3.0 to 3.1: event notification is not sent.
Summary: upgrade 3.0 to 3.1: event notification is not sent.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-notification-service
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 3.2.0
Assignee: Yair Zaslavsky
QA Contact: Ilanit Stein
URL:
Whiteboard: infra
: 881071 882682 882688 882690 (view as bug list)
Depends On:
Blocks: 884244
TreeView+ depends on / blocked
 
Reported: 2012-12-03 08:46 UTC by Ilanit Stein
Modified: 2022-07-09 06:12 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, an issue with notification service resource closing meant notification emails for upgrades would sometimes fail. This has been fixed so that emails are sent as they should be.
Clone Of:
: 884244 (view as bug list)
Environment:
Last Closed: 2013-06-10 21:25:57 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine.log (45 bytes, application/x-gzip)
2012-12-03 08:48 UTC, Ilanit Stein
no flags Details
notifier.log (82.75 KB, application/x-gzip)
2012-12-03 08:50 UTC, Ilanit Stein
no flags Details
notifier_ovirt_engine.conf (3.11 KB, application/octet-stream)
2012-12-03 08:56 UTC, Ilanit Stein
no flags Details
notifier_rhevm (4.44 KB, application/octet-stream)
2012-12-03 08:57 UTC, Ilanit Stein
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-47213 0 None None None 2022-07-09 06:12:06 UTC
Red Hat Product Errata RHSA-2013:0888 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Virtualization Manager 3.2 update 2013-06-11 00:55:41 UTC

Description Ilanit Stein 2012-12-03 08:46:26 UTC
Description of problem:

After upgrade from IC158.2 to SI24.5, 
Though event notification is activated, email is not sent.

After the upgrade there are 2 notifier.conf files:
[1] /etc/rhevm-old/notifier/notifier.conf
[2] /etc/ovirt-engine/notifier/notifier.conf

Setting both to correct settings didn't made the email sent.

Version-Release number of selected component (if applicable):
IC158.2 to SI24.5

How reproducible:
always

Steps to Reproduce:
1. Define the /etc/ovirt-engine/notifier/notifier.conf for sending notifications
(attached)
2. Activate engine-notifierd service. 
(/etc/rc.d/init.d/engine-notifierd start)
3. Attach event notification to a user 
(I added a user from AD, attached to it event notification for ovirt-engine stop)
4. service ovirt-engine restart several times, and expect email.
   
Expected results:
no email is sent

Additional info:
There is another bug, on that the values from the old notifier.conf [1] are not copied to the new notifier conf [2] - Bug 880923

Comment 1 Ilanit Stein 2012-12-03 08:48:58 UTC
Created attachment 656451 [details]
engine.log

Comment 2 Ilanit Stein 2012-12-03 08:50:03 UTC
Created attachment 656453 [details]
notifier.log

Comment 3 Ilanit Stein 2012-12-03 08:56:40 UTC
Created attachment 656455 [details]
notifier_ovirt_engine.conf

Comment 4 Ilanit Stein 2012-12-03 08:57:23 UTC
Created attachment 656456 [details]
notifier_rhevm

Comment 5 Ilanit Stein 2012-12-03 15:27:38 UTC
*** Bug 881071 has been marked as a duplicate of this bug. ***

Comment 6 Ilanit Stein 2012-12-03 15:30:56 UTC
As mentioned in bug 881071, which was marked as duplicate of this bug,
here also there are many error messages "PSQLException: FATAL: connection limit exceeded for non-superusers".

Comment 7 Yair Zaslavsky 2012-12-04 18:54:51 UTC
one thing I did notice is that the code is not using a DB connection pool.
The error appears every 5 seconds. please provide the configuration file of the notification service on your setup.

Comment 9 Ilanit Stein 2012-12-05 14:25:58 UTC
The configuration file of the notification service is already attached.
I first configured conf file [2], and when it didn't work I configured [1],
both mentioned in the description.

Comment 13 Yair Zaslavsky 2012-12-09 11:36:56 UTC
*** Bug 882682 has been marked as a duplicate of this bug. ***

Comment 14 Moran Goldboim 2012-12-20 12:39:29 UTC
test only. 3.0->3.1 upgrade flow

Comment 15 Yair Zaslavsky 2012-12-30 11:11:30 UTC
*** Bug 882688 has been marked as a duplicate of this bug. ***

Comment 16 Yair Zaslavsky 2012-12-30 11:12:12 UTC
*** Bug 882690 has been marked as a duplicate of this bug. ***

Comment 17 Ilanit Stein 2013-02-11 07:26:20 UTC
Verified on upgrade IC158.2 -> SI27.

First verified notification sent for ISC158.2, then after upgrade verified the notifier.conf is kept and notification is sent.

Comment 20 errata-xmlrpc 2013-06-10 21:25:57 UTC
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.

http://rhn.redhat.com/errata/RHSA-2013-0888.html


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