Bug 1136026
| Summary: | Make "No transport is enabled, nothing to do" error more understandable | |||
|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Martin Perina <mperina> | |
| Component: | ovirt-engine-notificiations | Assignee: | Martin Perina <mperina> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Beňas <pbenas> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 3.5 | CC: | ecohen, gklein, iheim, pbenas, pprakash, pstehlik, rbalakri, yeylon | |
| Target Milestone: | --- | |||
| Target Release: | 3.5.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | infra | |||
| Fixed In Version: | ovirt-3.5.0_rc2 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1136211 (view as bug list) | Environment: | ||
| Last Closed: | 2014-10-17 12:42:06 UTC | 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: | 1136211 | |||
in rhevm-tools-3.5.0-0.11.beta.el6ev.noarch oVirt 3.5 has been released and should include the fix for this issue. |
Description of problem: When ovirt-engine-notifier service is started without SMTP or SNMP configured, following error appears in notifier log: 2014-07-09 17:00:03,624 ERROR [org.ovirt.engine.core.notifier.Notifier] Failed to initialize java.lang.RuntimeException: No transport is enabled, nothing to do at org.ovirt.engine.core.notifier.Notifier.main(Notifier.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.modules.Module.run(Module.java:312) at org.jboss.modules.Main.main(Main.java:460) "No transport is enabled, nothing to do" isn't very understandable error, so I would change it to: "No transport is enabled, please enable at least one of SMTP (using MAIL_SERVER option) or SNMP (using SNMP_MANAGERS option) transports." Version-Release number of selected component (if applicable): oVirt 3.5 RC1 How reproducible: Steps to Reproduce: 1. Install oVirt and configure using engine-setup 2. Start ovirt-engine-notifier service Actual results: "No transport is enabled, nothing to do" error appears in notifier.log Expected results: More understandable log should appear in notifier.log Additional info: