Bug 1136211 - Make "No transport is enabled, nothing to do" error more understandable
Summary: Make "No transport is enabled, nothing to do" error more understandable
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Sahina Bose
QA Contact: RHS-C QE
URL:
Whiteboard: infra
Depends On: 1136026
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-02 07:50 UTC by Prasanth
Modified: 2019-04-28 13:52 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1136026
Environment:
Last Closed: 2018-01-30 11:39:58 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 32241 0 master MERGED tools: Make "No transport ..." error more understandable Never

Description Prasanth 2014-09-02 07:50:04 UTC
+++ This bug was initially created as a clone of Bug #1136026 +++

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:

Comment 5 Sahina Bose 2018-01-30 11:39:58 UTC
Thank you for your bug report. However, this bug is being closed as it's on a component where no further new development is being undertaken.


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