Bug 883417
| Summary: | notifier.conf: incomplete validation for several parameters. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Ilanit Stein <istein> |
| Component: | ovirt-engine-notification-service | Assignee: | Noam Slomianko <nslomian> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilanit Stein <istein> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.1.0 | CC: | bazulay, dfediuck, dyasny, iheim, pstehlik, Rhev-m-bugs, sgrinber, ykaul, yzaslavs |
| Target Milestone: | --- | ||
| Target Release: | 3.2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | sf8 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 915537 | ||
|
Description
Ilanit Stein
2012-12-04 14:53:33 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 The missing validation for these parameters do not point user to the problem of which event notification fail. The missing validation for these parameters do not point user to the problem of which event notification fail. We should understand exactly what validation we need for the configuration. 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]
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. 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. Verified on sf-8, as mentioned in comment 8. 3.2 has been released 3.2 has been released 3.2 has been released |