[ovirt-users] Cannot change notification settings for hosted engine in ovirt 4.0

Simone Tiraboschi stirabos at redhat.com
Fri Nov 18 09:44:53 UTC 2016


On Fri, Nov 18, 2016 at 10:04 AM, Martin Sivak <msivak at redhat.com> wrote:

> Hi George,
>
> unfortunately this was overlooked when the configuration file was
> moved to the shared storage. We are currently working on a solution
> (https://bugzilla.redhat.com/show_bug.cgi?id=1301681)
>
> There is a workaround if you are using the default configuration (smtp
> set to localhost). You can add a forwarding rule to the /etc/aliases
> file in the form "root: my at emails.com" and execute newaliases (to
> update the configuration).
>
> See for example
> https://ask.fedoraproject.org/en/question/10654/how-to-use-
> etcaliases-file-and-forward-file-for-a-user-at-same-time-using-sendmail/
>
> Unfortunately, we do not have any workaround for non-local SMTP or
> notification filtering settings.
>
>
We have a workaround described here:
https://bugzilla.redhat.com/show_bug.cgi?id=1301681#c16

It will replace the configuration file on the shared storage as needed.
Please ensure you have a valid backup of the configuration volume before
touching it.


> Regards
>
> --
> Martin Sivak
> SLA / oVirt
>
> On Tue, Nov 15, 2016 at 5:43 PM, George Chlipala <gchlip2 at uic.edu> wrote:
> > I cannot seem to find any information on how to change the notification
> > settings, in particular the email adresses to which to send notifications
> > and the from address for the notifications.  I have tried adding a file
> on
> > the engine itself in /etc/ovirt-engine/notifier/notifier.conf.d/ and
> setting
> > MAIL_FROM.  I then restarted the ovirt-engine service, but notices are
> still
> > using the old configuration.  I even tried restarting the VM, but that
> did
> > not have any effect.  I have also tried editing
> > /var/lib/ovirt-hosted-engine-ha/broker.conf however when I restart the
> > ovirt-ha-broker service, the file is overwritten.
> >
> > I have found documentation about the shared configuration storage
> > (http://www.ovirt.org/develop/release-management/features/
> hosted-engine-configuration-on-shared-storage/),
> > however it is not clear to me where I would edit existing data in the
> shared
> > storage.  Do I just untar the files, edit, then "retar" to the shared
> > storage?  Do I need to set maintenance mode before editing? Should I
> > shutdown the engine?  After I edit the files, do I just restart the
> > ovirt-ha-broker service or do I need to do something else?
> >
> > Any help in this matter would be greatly appreciated.
> >
> > Thanks!
> >
> > - George Chlipala
> >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
> _______________________________________________
> 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/20161118/bdebc700/attachment-0001.html>


More information about the Users mailing list