Bug 1036500 - [RHS-C] 'Add Event Notification' should show an error message if MAIL_SERVER is NOT configured and if "ovirt-engine-notifier" service is NOT started
Summary: [RHS-C] 'Add Event Notification' should show an error message if MAIL_SERVER ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: rhsc
Version: 2.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: RHGS 2.1.2
Assignee: Ramesh N
QA Contact: Prasanth
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-02 07:10 UTC by Prasanth
Modified: 2015-05-15 18:17 UTC (History)
8 users (show)

Fixed In Version: cb11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-25 08:06:56 UTC
Target Upstream Version:


Attachments (Terms of Use)
Manage Events pop up with warning note (118.63 KB, image/png)
2013-12-06 10:25 UTC, Ramesh N
no flags Details
screensot (30.34 KB, image/png)
2013-12-16 13:43 UTC, Prasanth
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0208 0 normal SHIPPED_LIVE Red Hat Storage 2.1 enhancement and bug fix update #2 2014-02-25 12:20:30 UTC
oVirt gerrit 22080 0 None None None Never

Description Prasanth 2013-12-02 07:10:14 UTC
Description of problem:

'Add Event Notification' should show an error message if MAIL_SERVER is NOT configured and if "ovirt-engine-notifier" service is NOT started . Currently it allows you to add the event notification even if MAIL_SERVER is NOT configured or if the "ovirt-engine-notifier" service is stopped/not-running but the user will not receive any notifications. This will definitely confuse the RHS-C admins/users as they expect the feature to work, if no error occurred while enabling it.

Version-Release number of selected component (if applicable): Red Hat Storage Console Version: 2.1.2-0.25.master.el6_5


How reproducible: Always


Steps to Reproduce:
1. Click on "Users"
2. Click on the sub-tab "Event Notifier" and click on "Manage Events"
3. Check some Events and enter the 'Mail Recipient'
4. Click on OK


Actual results: Action 'Add Event Notification' currently succeeds in the following cases: 

a. If NO MAIL_SERVER is defined in the configuration file "/usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf"
b. If "ovirt-engine-notifier" service is NOT started or not running in the Engine.


Expected results: Action should fail and display the accurate error message in any or both of the below cases.

a. If NO MAIL_SERVER is defined in the configuration file "/usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf"
b. If "ovirt-engine-notifier" service is NOT started or not running in the Engine.


Additional info:

Comment 1 Ramesh N 2013-12-06 10:25:09 UTC
Created attachment 833532 [details]
Manage Events pop up with warning note

Comment 2 Ramesh N 2013-12-10 09:46:50 UTC
Currently there is no way to check the status of notifier service. Hence we will show a warning by default in manage events pop up .

Comment 3 Prasanth 2013-12-16 13:43:14 UTC
Verified as fixed in cb11

A warning message is shown in the manage events pop-up. see attached.

Comment 4 Prasanth 2013-12-16 13:43:45 UTC
Created attachment 837228 [details]
screensot

Comment 5 Ramesh N 2014-01-03 08:32:12 UTC
Doc text is not required as its only a note being added in the UI and also Admin guide got updated with the relevant information.

Comment 7 errata-xmlrpc 2014-02-25 08:06:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0208.html


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