Bug 1197983 - rhsc-setup should restart nagios service, instead of starting it
Summary: rhsc-setup should restart nagios service, instead of starting it
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHGS 3.0.4
Assignee: Shubhendu Tripathi
QA Contact: Shruti Sampat
URL:
Whiteboard:
Depends On:
Blocks: 1182947
TreeView+ depends on / blocked
 
Reported: 2015-03-03 06:39 UTC by Shruti Sampat
Modified: 2015-05-13 17:53 UTC (History)
8 users (show)

Fixed In Version: rhsc-setup-plugins-3.0.4-1.2.el6rhs
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-26 06:33:44 UTC
Embargoed:
sharne: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0681 0 normal SHIPPED_LIVE Red Hat Storage Console 3.0 enhancement and bug fix update #4 2015-03-26 10:32:40 UTC

Description Shruti Sampat 2015-03-03 06:39:29 UTC
Description of problem:
-------------------------

On running `rhsc-setup' command, the nagios service is started by executing `service nagios start'. This can cause a problem if the Nagios service is already running (in case of an upgrade). It would be better to execute restart of nagios service instead of start. 

This issue causes all cluster level services to be in warning state with "null" status information after an upgrade from RHSC 3.0.3 to RHSC 3.0.4

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
rhsc-setup-3.0.4-1.25.el6rhs.noarch

How reproducible:
-------------------
Frequently

Steps to Reproduce:
-------------------
1. Setup RHSC 3.0.3 with Nagios monitoring
2. Upgrade RHSC, Nagios and the RHSS nodes to 3.0.4
3. Observe the Cluster services after upgrade.

Actual results:
----------------
Cluster services are seen to be in warning state with "null" status information.

Expected results:
------------------
Cluster services are expected to be OK, or reflecting correct states instead of being in warning state.

Additional info:

Comment 2 Shruti Sampat 2015-03-05 11:19:15 UTC
Verified as fixed in rhsc-setup-plugins-3.0.4-1.2.el6rhs.noarch

Tested by upgrading from RHSC 3.0.3 to 3.0.4 without any issues. Cluster services behave as expected. 

Checked that livestatus works without any issues by running -

# /usr/lib64/nagios/plugins/gluster/check_cluster_status.py <cluster-name>
OK : None of the Volumes in the cluster are in Critical State

No errors or exceptions seen in /var/log/messages

Checked that nagios service is restarted after running `rhsc-setup' by comparing process id before and after running `rhsc-setup' command.

Comment 3 Shalaka 2015-03-16 04:45:00 UTC
Please add doc text.

Comment 4 Shalaka 2015-03-16 05:37:18 UTC
Setting requires_doc_text flag to "-" based on discussion with Ramesh and Shubhendu.

Comment 6 errata-xmlrpc 2015-03-26 06:33:44 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.

https://rhn.redhat.com/errata/RHBA-2015-0681.html


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