Bug 1136211

Summary: Make "No transport is enabled, nothing to do" error more understandable
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Prasanth <pprakash>
Component: rhscAssignee: Sahina Bose <sabose>
Status: CLOSED CANTFIX QA Contact: RHS-C QE <rhsc-qe-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: rhgs-3.0CC: mperina, nlevinki, pstehlik, rbalakri, rhs-bugs, rhsc-qe-bugs, srevivo, ykaul
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1136026 Environment:
Last Closed: 2018-01-30 11:39:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1136026    
Bug Blocks:    

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.