[ovirt-users] Upgrade to 3.5.3 fails on ovirt-engine-notifier service

Trey Dockendorf treydock at gmail.com
Mon Jun 22 19:42:25 UTC 2015


I thought using /usr/share/ovirt-engine was wrong, but I was going off of
RedHat docs [1].  I didn't realize an alternative location existed.

Having just searched some more I found the oVirt docs [2] which I don't
recall existing or mentioning the conf.d at the time I setup the notifier
service.

Thanks,
- Trey

[1]:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.4/html/Administration_Guide/Parameters_for_event_notifications_in_notifier.conf1.html
[2]: http://www.ovirt.org/Features/configuration-event-subscribers

On Mon, Jun 22, 2015 at 2:38 PM, Martin Perina <mperina at redhat.com> wrote:

> Hi,
>
> please never change anything in /usr/share/ovirt-engine, because these file
> will always be overwritten on RPM upgrades.
>
> To change MAIL_SERVER for ovirt-engine-notifier please create config file
> (for example 99-user.conf) under /etc/ovirt-engine/notifier/notifier.conf.d
> and put you customizations here, for example:
>
>   MAIL_SERVER=my-mail-server.com
>
> This way your changes survive upgrades.
>
> Let me know if you have any other issues with it.
>
> Thanks
>
> Martin Perina
>
> ----- Original Message -----
> > From: "Trey Dockendorf" <treydock at gmail.com>
> > To: "users" <users at ovirt.org>
> > Sent: Monday, June 22, 2015 7:09:57 PM
> > Subject: [ovirt-users] Upgrade to 3.5.3 fails on ovirt-engine-notifier
>       service
> >
> > I just upgraded from 3.5.1 to 3.5.3 and found the end of engine-setup
> failed
> > because of the ovirt-engine-notifier service. The logs indicate that the
> > MAIL_SERVER option was not set. I had set this before via Puppet and
> know it
> > was working because right before I started the upgrade I was receiving
> event
> > notifications. It appears as though the RPM (or some other mechanism) set
> > the config file at
> >
> /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf
> > back to its original state with my changes removed.
> >
> > Attached is the log from engine-setup.
> >
> > Is this a bug? I was able to work around this by manually setting
> MAIL_SERVER
> > back to the value I had already set previously and then re-running
> > engine-setup. Even after re-running engine-setup I noticed I had to
> manually
> > start ovirt-engine-notifier service.
> >
> > Thanks,
> > - Trey
> >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150622/6fd9e37f/attachment-0001.html>


More information about the Users mailing list