Bug 1051048
| Summary: | [notifier] MAIL_PORT=blabla does not make the app fail but it continues to send to port 25 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Jiri Belka <jbelka> | ||||
| Component: | ovirt-engine-notification-service | Assignee: | Martin Perina <mperina> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tareq Alayan <talayan> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | aberezin, acathrow, emesika, gklein, iheim, pstehlik, Rhev-m-bugs, talayan, yeylon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.4.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | infra | ||||||
| Fixed In Version: | ovirt-3.4.0-beta2 | 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: | |||||||
| Attachments: |
|
||||||
So will this now trow an error message to notifier.log? verified Mail_PORT=blabla
notifier will fail to start
/etc/init.d/ovirt-engine-notifier restart
Stopping oVirt Engine Notifier: [ OK ]
Starting oVirt Engine Notifier:
Validation result:
stderr: Check configuration file, MAIL_PORT value has to be in range from 1 to 65535, currently 'blabla'
Validation failed returncode is 1:
[FAILED]
tested on ovirt-engine-tools-3.4.0-0.7.beta2.el6.noarch
Closing as part of 3.4.0 |
Created attachment 847705 [details] notifier.log Description of problem: MAIL_PORT=blabla does not make the app fail but it continues to send to port 25. One would expect a failure. But if the value is integer the app tries to use it :) Version-Release number of selected component (if applicable): is31 - rhevm-tools-3.3.0-0.44.el6ev.noarch How reproducible: 100% Steps to Reproduce: 1. MAIL_PORT=blabla 2. generate an event 3. was delivered? anything logged in notifier.log? Actual results: the app happily continues even MAIL_PORT is string instead of integer :) Expected results: fail, admin is stupid and he should be informed that MAIL_PORT is nonsense Additional info: