Updating the notification emails after the hosted-engine is deployed

--_000_1488354820917038cameltradingscreencom_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGVsbG8gYWxsIC0gZG9lcyBhbnlvbmUga25vdyBob3cgdG8gdXBkYXRlIHRoZSBkZXN0aW5hdGlv bi1lbWFpbHMgYWRkcmVzcyBhZnRlciB0aGUgaG9zdGVkLWVuZ2luZSBpcyBkZXBsb3llZCA/IEFu ZCBjYW4gdGhpcyBiZSBkb25lIGZyb20gdGhlIHdlYmFkbWluIEdVSSA/IEkNCg0KIyBjYXQgIC92 YXIvbGliL292aXJ0LWhvc3RlZC1lbmdpbmUtaGEvYnJva2VyLmNvbmYNCltlbWFpbF0NCnNtdHAt c2VydmVyID0gbWFpbGhvc3QudHMuY29tDQpzbXRwLXBvcnQgPSAyNQ0Kc291cmNlLWVtYWlsID0g cm9vdEBsb2NhbGhvc3Q8bWFpbHRvOnJvb3RAbnkyLWxhYi0wMDgubWd0LnRyYWRpbmdzY3JlZW4u Y29tPg0KZGVzdGluYXRpb24tZW1haWxzID0gZW1haS1hZGRyZXNzbEB0cy5jb208bWFpbHRvOmVt YWktYWRkcmVzc2xAdHMuY29tPiA8LS0gd2FudCB0byBjaGFuZ2UgdGhpcw0KDQpbbm90aWZ5XQ0K c3RhdGVfdHJhbnNpdGlvbiA9IG1haW50ZW5hbmNlfHN0YXJ0fHN0b3B8bWlncmF0ZXx1cHxkb3du DQoNCkFuZCBJJ3ZlIGRvbmUgdGhlIGZvbGxvd2luZyBvbiBib3RoIG5vZGVzIGJ1dCBpdHNlZW1z IHRvIGtlZXBzIG9uIGdldHRpbmcgb3Zlci13cml0dGVuOg0KDQoxKSBTaHV0ZG93biB0aGUgaG9z dGVkLWVuZ2luZQ0KDQoyKSAgU3RvcHBlZCB0aGVzZSBzZXJ2aWNlcyBvbiBhbGwgbm9kZXM6DQpz ZXJ2aWNlIG92aXJ0LWhhLWFnZW50IHN0b3ANCnNlcnZpY2Ugb3ZpcnQtaGE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ZSBhbmQgbWF5DQpjb250YWluIGNvbmZpZGVudGlh bCBpbmZvcm1hdGlvbi4gSWYgeW91IGFyZSBub3QgYW4gaW50ZW5kZWQgcmVjaXBpZW50LA0KeW91 IHNob3VsZCBub3QgcmV2aWV3LCBkaXN0cmlidXRlIG9yIGNvcHkgdGhpcyBtZXNzYWdlLiBQbGVh c2Ugbm90aWZ5DQp0aGUgc2VuZGVyIGltbWVkaWF0ZWx5IGJ5IGUtbWFpbCBpZiB5b3UgaGF2ZSBy ZWNlaXZlZCB0aGlzIG1lc3NhZ2UgaW4NCmVycm9yIGFuZCBkZWxldGUgaXQgZnJvbSB5b3VyIHN5 c3RlbS4NCg0KDQoNCg== --_000_1488354820917038cameltradingscreencom_ Content-Type: text/html; charset="utf-8" Content-ID: <B5B3E2E0E513C24ABC7454E1ABEBB0B7@localhost> Content-Transfer-Encoding: base64 PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUUkFOU0lUSU9OQUwv L0VOIj4NCjxodG1sPg0KPGhlYWQ+DQo8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNv bnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD11dGYtOCI+DQo8bWV0YSBuYW1lPSJHRU5FUkFUT1Ii IGNvbnRlbnQ9Ikd0a0hUTUwvNC44LjUiPg0KPC9oZWFkPg0KPGJvZHk+DQpIZWxsbyBhbGwgLSBk b2VzIGFueW9uZSBrbm93IGhvdyB0byB1cGRhdGUgdGhlIGRlc3RpbmF0aW9uLWVtYWlscyBhZGRy ZXNzIGFmdGVyIHRoZSBob3N0ZWQtZW5naW5lIGlzIGRlcGxveWVkID8gQW5kIGNhbiB0aGlzIGJl IGRvbmUgZnJvbSB0aGUgd2ViYWRtaW4gR1VJID8gSTxicj4NCjxicj4NCiMgY2F0Jm5ic3A7IC92 YXIvbGliL292aXJ0LWhvc3RlZC1lbmdpbmUtaGEvYnJva2VyLmNvbmY8YnI+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yBTbWFydGVyDQoNClRoaXMgbWVzc2FnZSBpcyBpbnRlbmRl ZCBvbmx5IGZvciB0aGUgcmVjaXBpZW50KHMpIG5hbWVkIGFib3ZlIGFuZCBtYXkNCmNvbnRhaW4g Y29uZmlkZW50aWFsIGluZm9ybWF0aW9uLiBJZiB5b3UgYXJlIG5vdCBhbiBpbnRlbmRlZCByZWNp cGllbnQsDQp5b3Ugc2hvdWxkIG5vdCByZXZpZXcsIGRpc3RyaWJ1dGUgb3IgY29weSB0aGlzIG1l c3NhZ2UuIFBsZWFzZSBub3RpZnkNCnRoZSBzZW5kZXIgaW1tZWRpYXRlbHkgYnkgZS1tYWlsIGlm IHlvdSBoYXZlIHJlY2VpdmVkIHRoaXMgbWVzc2FnZSBpbg0KZXJyb3IgYW5kIGRlbGV0ZSBpdCBm cm9tIHlvdXIgc3lzdGVtLg0KDQo8L3ByZT4NCjwvdGQ+DQo8L3RyPg0KPC90Ym9keT4NCjwvdGFi bGU+DQo8L2JvZHk+DQo8L2h0bWw+DQo= --_000_1488354820917038cameltradingscreencom_--

This is a multi-part message in MIME format. --------------258847FD46A0AED9D8374096 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, Thanks Joe for asking that question as I would love to see the answer to that as well. In fact I would actually like to know how to approach and change the source-email address so that you can actually see what host the email is coming from rather than from localhost. Regards, Gustav H Meyer On 01/03/2017 09:53, Joseph Kelly wrote:
Hello all - does anyone know how to update the destination-emails address after the hosted-engine is deployed ? And can this be done from the webadmin GUI ? I
# cat /var/lib/ovirt-hosted-engine-ha/broker.conf [email] smtp-server = mailhost.ts.com smtp-port = 25 source-email = root@localhost <mailto:root@ny2-lab-008.mgt.tradingscreen.com> *destination-emails = emai-addressl@ts.com <mailto:emai-addressl@ts.com> <-- want to change this *
[notify] state_transition = maintenance|start|stop|migrate|up|down
And I've done the following on both nodes but itseems to keeps on getting over-written:
1) Shutdown the hosted-engine
2) Stopped these services on all nodes: service ovirt-ha-agent stop service ovirt-ha-broker stop
3) Updated broker.conf on each node: Edited /var/lib/ovirt-hosted-engine-ha/broker.conf on each node Edited /etc/ovirt-hosted-engine/answers.conf <-- just for good measure
4) Re-started these services on all nodes: service ovirt-ha-agent start service ovirt-ha-broker start
5) Restarted the hosted-engine.
Thanks, Joe.
-- *J. Kelly* Infrastructure Engineer TradingScreen www.tradingscreen.com <http://www.tradingscreen.com> KDX Roppongi 228 Bldg. 6F 2-2-8 Roppongi, Minato-ku, Tokyo 106-0032, Japan office: +81-3-4540-8513 email: joseph.kelly@tradingscreen.com <mailto:joseph.kelly@tradingscreen.com>
Follow TradingScreen on Twitter, Facebook, or our blog, Trading Smarter
This message is intended only for the recipient(s) named above and may contain confidential information. If you are not an intended recipient, you should not review, distribute or copy this message. Please notify the sender immediately by e-mail if you have received this message in error and delete it from your system.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------258847FD46A0AED9D8374096 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <p>Hi,<br> </p> <p>Thanks Joe for asking that question as I would love to see the answer to that as well. <br> </p> <p>In fact I would actually like to know how to approach and change the source-email address so that you can actually see what host the email is coming from rather than from localhost.</p> <p>Regards,<br> Gustav H Meyer<br> </p> <br> <div class="moz-cite-prefix">On 01/03/2017 09:53, Joseph Kelly wrote:<br> </div> <blockquote cite="mid:1488354820.9170.38.camel@tradingscreen.com" type="cite"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="GENERATOR" content="GtkHTML/4.8.5"> Hello all - does anyone know how to update the destination-emails address after the hosted-engine is deployed ? And can this be done from the webadmin GUI ? I<br> <br> # cat /var/lib/ovirt-hosted-engine-ha/broker.conf<br> [email]<br> smtp-server = mailhost.ts.com<br> smtp-port = 25<br> source-email = <a moz-do-not-send="true" href="mailto:root@ny2-lab-008.mgt.tradingscreen.com">root@localhost</a><br> <b><font color="#ff0000">destination-emails = <a moz-do-not-send="true" href="mailto:emai-addressl@ts.com"> emai-addressl@ts.com</a> <-- want to change this </font></b><br> <br> [notify]<br> <font color="#000000">state_transition = maintenance|start|stop|migrate|up|down</font><br> <br> And I've done the following on both nodes but itseems to keeps on getting over-written:<br> <br> 1) Shutdown the hosted-engine<br> <br> 2) Stopped these services on all nodes:<br> service ovirt-ha-agent stop<br> service ovirt-ha-broker stop<br> <br> 3) Updated broker.conf on each node:<br> Edited /var/lib/ovirt-hosted-engine-ha/broker.conf on each node <br> Edited /etc/ovirt-hosted-engine/answers.conf <-- just for good measure<br> <br> 4) Re-started these services on all nodes:<br> service ovirt-ha-agent start<br> service ovirt-ha-broker start<br> <br> 5) Restarted the hosted-engine.<br> <br> Thanks,<br> Joe.<br> <br> <table cellpadding="0" cellspacing="0" width="100%"> <tbody> <tr> <td>-- <pre><b>J. Kelly</b> Infrastructure Engineer TradingScreen <a moz-do-not-send="true" href="http://www.tradingscreen.com">www.tradingscreen.com</a> KDX Roppongi 228 Bldg. 6F 2-2-8 Roppongi, Minato-ku, Tokyo 106-0032, Japan office: +81-3-4540-8513 email: <a moz-do-not-send="true" href="mailto:joseph.kelly@tradingscreen.com">joseph.kelly@tradingscreen.com</a> Follow TradingScreen on Twitter, Facebook, or our blog, Trading Smarter This message is intended only for the recipient(s) named above and may contain confidential information. If you are not an intended recipient, you should not review, distribute or copy this message. Please notify the sender immediately by e-mail if you have received this message in error and delete it from your system. </pre> </td> </tr> </tbody> </table> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> </body> </html> --------------258847FD46A0AED9D8374096--

On Wed, Mar 1, 2017 at 9:47 AM, Gustav H Meyer <gustav@gcis.gov.za> wrote:
Hi,
Thanks Joe for asking that question as I would love to see the answer to that as well.
In fact I would actually like to know how to approach and change the source-email address so that you can actually see what host the email is coming from rather than from localhost.
Regards, Gustav H Meyer
On 01/03/2017 09:53, Joseph Kelly wrote:
Hello all - does anyone know how to update the destination-emails address after the hosted-engine is deployed ? And can this be done from the webadmin GUI ? I
# cat /var/lib/ovirt-hosted-engine-ha/broker.conf [email] smtp-server = mailhost.ts.com smtp-port = 25 source-email = root@localhost <root@ny2-lab-008.mgt.tradingscreen.com> *destination-emails = emai-addressl@ts.com <emai-addressl@ts.com> <-- want to change this *
[notify] state_transition = maintenance|start|stop|migrate|up|down
And I've done the following on both nodes but itseems to keeps on getting over-written:
1) Shutdown the hosted-engine
2) Stopped these services on all nodes: service ovirt-ha-agent stop service ovirt-ha-broker stop
3) Updated broker.conf on each node: Edited /var/lib/ovirt-hosted-engine-ha/broker.conf on each node Edited /etc/ovirt-hosted-engine/answers.conf <-- just for good measure
4) Re-started these services on all nodes: service ovirt-ha-agent start service ovirt-ha-broker start
5) Restarted the hosted-engine.
Pretty easy in 4.1:
[root@c72he20170228h1 ~]# hosted-engine --get-shared-config destination-emails --type=broker destination-emails : root@localhost, type : broker [root@c72he20170228h1 ~]# hosted-engine --set-shared-config destination-emails stirabos@redhat.com --type=broker [root@c72he20170228h1 ~]# hosted-engine --get-shared-config destination-emails --type=broker destination-emails : stirabos@redhat.com, type : broker [root@c72he20170228h1 ~]# systemctl restart ovirt-ha-broker
Thanks, Joe.
--
*J. Kelly* Infrastructure Engineer TradingScreenwww.tradingscreen.com KDX Roppongi 228 Bldg. 6F 2-2-8 Roppongi, Minato-ku, Tokyo 106-0032, Japan office: +81-3-4540-8513 <+81%203-4540-8513> email: joseph.kelly@tradingscreen.com
Follow TradingScreen on Twitter, Facebook, or our blog, Trading Smarter
This message is intended only for the recipient(s) named above and may contain confidential information. If you are not an intended recipient, you should not review, distribute or copy this message. Please notify the sender immediately by e-mail if you have received this message in error and delete it from your system.
_______________________________________________ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

This is a multi-part message in MIME format. --------------569016CB2CDE3588EEEACE20 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 01/03/2017 12:19, Simone Tiraboschi wrote:
On Wed, Mar 1, 2017 at 9:47 AM, Gustav H Meyer <gustav@gcis.gov.za <mailto:gustav@gcis.gov.za>> wrote:
In fact I would actually like to know how to approach and change the source-email address so that you can actually see what host the email is coming from rather than from localhost.
On 01/03/2017 09:53, Joseph Kelly wrote:
Hello all - does anyone know how to update the destination-emails address after the hosted-engine is deployed ? And can this be done from the webadmin GUI ?
Pretty easy in 4.1:
[root@c72he20170228h1 ~]# hosted-engine --get-shared-config destination-emails --type=broker
destination-emails : root@localhost, type : broker
[root@c72he20170228h1 ~]# hosted-engine --set-shared-config destination-emails stirabos@redhat.com <mailto:stirabos@redhat.com> --type=broker [root@c72he20170228h1 ~]# hosted-engine --get-shared-config destination-emails --type=broker
destination-emails : stirabos@redhat.com <mailto:stirabos@redhat.com>, type : broker
[root@c72he20170228h1 ~]# systemctl restart ovirt-ha-broker
Thanks for that Simone. So in effect even in 4.1 there is still no GUI/WUI interface to change the settings? We are still on 4.0 and I'm still rather new to oVirt but enjoying it. I noticed something else in this troubleshooting. When setting up users on the oVirt Manager interface, emails are not using the same SMTP server as set up during installation. Where do we change this, if at all possible? Regards, Gustav H Meyer --------------569016CB2CDE3588EEEACE20 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> On 01/03/2017 12:19, Simone Tiraboschi wrote:<br> <blockquote cite="mid:CAN8-ONp9XNiEn+ZF1u_PCc1a6T_o_rQCF9n7JefoqTos9d6dZg@mail.gmail.com" type="cite"> <div dir="ltr">On Wed, Mar 1, 2017 at 9:47 AM, Gustav H Meyer <span dir="ltr"><<a moz-do-not-send="true" href="mailto:gustav@gcis.gov.za" target="_blank">gustav@gcis.gov.za</a>></span> wrote:<br> <div class="gmail_extra"> <div class="gmail_quote"> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div bgcolor="#FFFFFF">In fact I would actually like to know how to approach and change the source-email address so that you can actually see what host the email is coming from rather than from localhost.<br> <div> <div class="gmail-h5"><br> <div class="gmail-m_-1877934377254234092moz-cite-prefix">On 01/03/2017 09:53, Joseph Kelly wrote:<br> </div> </div> </div> <blockquote type="cite"> <div> <div class="gmail-h5"> Hello all - does anyone know how to update the destination-emails address after the hosted-engine is deployed ? And can this be done from the webadmin GUI ? <br> </div> </div> </blockquote> </div> </blockquote> <div>Pretty easy in 4.1:</div> <div><br> </div> <div> <div>[root@c72he20170228h1 ~]# hosted-engine --get-shared-config destination-emails --type=broker</div> <div><br> </div> <div>destination-emails : root@localhost, type : broker</div> <div><br> </div> <div>[root@c72he20170228h1 ~]# hosted-engine --set-shared-config destination-emails <a moz-do-not-send="true" href="mailto:stirabos@redhat.com">stirabos@redhat.com</a> --type=broker</div> <div>[root@c72he20170228h1 ~]# hosted-engine --get-shared-config destination-emails --type=broker</div> <div><br> </div> <div>destination-emails : <a moz-do-not-send="true" href="mailto:stirabos@redhat.com">stirabos@redhat.com</a>, type : broker</div> </div> <div><br> </div> <div>[root@c72he20170228h1 ~]# systemctl restart ovirt-ha-broker <br> </div> </div> </div> </div> </blockquote> <br> Thanks for that Simone. So in effect even in 4.1 there is still no GUI/WUI interface to change the settings? We are still on 4.0 and I'm still rather new to oVirt but enjoying it. <br> <br> I noticed something else in this troubleshooting. When setting up users on the oVirt Manager interface, emails are not using the same SMTP server as set up during installation. Where do we change this, if at all possible?<br> <br> Regards,<br> Gustav H Meyer<br> <br> </body> </html> --------------569016CB2CDE3588EEEACE20--

On Wed, Mar 1, 2017 at 2:28 PM, Gustav H Meyer <gustav@gcis.gov.za> wrote:
On 01/03/2017 12:19, Simone Tiraboschi wrote:
On Wed, Mar 1, 2017 at 9:47 AM, Gustav H Meyer <gustav@gcis.gov.za> wrote:
In fact I would actually like to know how to approach and change the source-email address so that you can actually see what host the email is coming from rather than from localhost.
On 01/03/2017 09:53, Joseph Kelly wrote:
Hello all - does anyone know how to update the destination-emails address after the hosted-engine is deployed ? And can this be done from the webadmin GUI ?
Pretty easy in 4.1:
[root@c72he20170228h1 ~]# hosted-engine --get-shared-config destination-emails --type=broker
destination-emails : root@localhost, type : broker
[root@c72he20170228h1 ~]# hosted-engine --set-shared-config destination-emails stirabos@redhat.com --type=broker [root@c72he20170228h1 ~]# hosted-engine --get-shared-config destination-emails --type=broker
destination-emails : stirabos@redhat.com, type : broker
[root@c72he20170228h1 ~]# systemctl restart ovirt-ha-broker
Thanks for that Simone. So in effect even in 4.1 there is still no GUI/WUI interface to change the settings? We are still on 4.0 and I'm still rather new to oVirt but enjoying it.
Not for hosted-engine notification settings. This notifications are sent by ovirt-ha-broker also (or better, especially) if the engine VM is down.
I noticed something else in this troubleshooting. When setting up users on the oVirt Manager interface, emails are not using the same SMTP server as set up during installation. Where do we change this, if at all possible?
This is completely a different subject: email sent by the engine on different events rely on the ovirt-engine-notifier service which generally could be deployed on the same VM which contains the engine. The relevant events and other options could be set from the admin GUI, other parameter could be set editing /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf
Regards, Gustav H Meyer
participants (3)
-
Gustav H Meyer
-
Joseph Kelly
-
Simone Tiraboschi