Bug 883417 - notifier.conf: incomplete validation for several parameters.
Summary: notifier.conf: incomplete validation for several parameters.
Keywords:
Status: CLOSED CURRENTRELEASE
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
medium
Target Milestone: ---
: 3.2.0
Assignee: Noam Slomianko
QA Contact: Ilanit Stein
URL:
Whiteboard: infra
Depends On:
Blocks: 915537
TreeView+ depends on / blocked
 
Reported: 2012-12-04 14:53 UTC by Ilanit Stein
Modified: 2016-02-10 19:12 UTC (History)
9 users (show)

Fixed In Version: sf8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 11549 0 None None None Never

Description Ilanit Stein 2012-12-04 14:53:33 UTC
Description of problem:
Following parameters settings do not generate error after notifier service restart, as expected:
1) MAIL_USER=-111 (negative number)
2) MAIL_PORT=123 (wrong number)
3) HTML_MESSAGE_FORMAT=blabla (should be true/false)

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

How reproducible:
always

Comment 1 Yaniv Kaul 2012-12-04 14:54:55 UTC
(In reply to comment #0)
> Description of problem:
> Following parameters settings do not generate error after notifier service
> restart, as expected:
> 1) MAIL_USER=-111 (negative number)
> 2) MAIL_PORT=123 (wrong number)

What's wrong with this?

> 3) HTML_MESSAGE_FORMAT=blabla (should be true/false)
> 
> Version-Release number of selected component (if applicable):
> SI24.5
> 
> How reproducible:
> always

Comment 2 Ilanit Stein 2012-12-09 10:10:36 UTC
The missing validation for these parameters do not point user to the problem of which event notification fail.

Comment 3 Ilanit Stein 2012-12-09 10:14:23 UTC
The missing validation for these parameters do not point user to the problem
of which event notification fail.

Comment 4 Yair Zaslavsky 2012-12-30 11:19:45 UTC
We should understand exactly what validation we need for the configuration.

Comment 8 Ilanit Stein 2013-02-28 12:30:58 UTC
Tested on sf-8:

1) MAIL_USER=-111 (negative number) -> Do not fail notifier restart
2) MAIL_PORT=60000 (wrong number) -> Do not fail notifier restart
3) HTML_MESSAGE_FORMAT=blabla -> Fail notifier service restart:
Error: HTML_MESSAGE_FORMAT must be true or false
                                                           [FAILED]

Comment 9 Doron Fediuck 2013-02-28 14:50:14 UTC
Ilanit,
Valid mail port range is 1 to 65536. 
So in your case it shouldn't be restarted.

Noam, please check what happened to the user and boolean.

Comment 12 Doron Fediuck 2013-03-03 13:13:18 UTC
Ilanit,
Both HTML message format and mail port were verified.
We have a fix for the user as a part of bug 885436, so please verify this BZ.

Comment 13 Ilanit Stein 2013-03-13 09:50:28 UTC
Verified on sf-8, as mentioned in comment 8.

Comment 14 Itamar Heim 2013-06-11 09:49:02 UTC
3.2 has been released

Comment 15 Itamar Heim 2013-06-11 09:49:19 UTC
3.2 has been released

Comment 16 Itamar Heim 2013-06-11 09:57:33 UTC
3.2 has been released


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