Bug 1196144

Summary: gluster-nagios-addons rpm update should reload nrpe service
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Shruti Sampat <ssampat>
Component: gluster-nagios-addonsAssignee: Ramesh N <rnachimu>
Status: CLOSED ERRATA QA Contact: RamaKasturi <knarra>
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.0CC: asriram, bmohanra, dpati, kmayilsa, knarra, rhsc-qe-bugs, rnachimu, sabose, vagarwal
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gluster-nagios-addons-0.2.4-4.el6rhs, gluster-nagios-addons-0.2.4-4.el7rhgs Doc Type: Bug Fix
Doc Text:
Previously, the nrpe service did not reload when the gluster-nagios-addons rpm was updated. Due to this, the user had to restart/reload the nrpe service to monitor the hosts properly. With this fix, the nrpe service will be automatically reloaded when the gluster-nagios-addons rpm is updated.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-05 09:20:00 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:    
Bug Blocks: 1191838, 1251815    

Description Shruti Sampat 2015-02-25 11:38:01 UTC
Description of problem:
------------------------

After updating gluster-nagios-addons package, user is required to restart nrpe service manually. It would be better if the package takes care of reloading nrpe service after the update.

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
gluster-nagios-addons-0.1.16-1.el6rhs.x86_64

How reproducible:
-----------------
Always

Steps to Reproduce:
--------------------
1. Update gluster-nagios-addons on a RHSS node being monitored.

Actual results:
---------------
nrpe service needs to be restarted manually.

Expected results:
-----------------
nrpe reload can be performed automatically after the package update.

Additional info:

Comment 1 Pavithra 2015-03-17 16:19:45 UTC
Kanagaraj,

I see this added as a known issue in the 3.0.4 Known Issues tracker bug. Could you please fill out the doc text?

Comment 2 Pavithra 2015-03-18 14:17:37 UTC
Hi Kanagaraj,

Could you please review the edited doc text and sign off?

Comment 3 Ramesh N 2015-03-19 04:55:01 UTC
Can u change the sentence "A few changes in the nrpe.cfg file has resulted in the nrpe service not reloading when the gluster-nagios-addons package is updated" to "A few changes in the nrpe.cfg file requires reloading of nrpe service when the gluster-nagios-addons package is updated but its done during update".

Comment 4 Pavithra 2015-03-19 05:00:26 UTC
I've made the edit. Can you please review?

Comment 5 Ramesh N 2015-03-20 09:13:55 UTC
Doc text looks good.

Comment 7 Ramesh N 2015-07-27 08:51:32 UTC
This bug was fixed as part of the fix for bz#1106421. NRPE service will be restarted on every upgrade if the service is already running.

Comment 8 Sahina Bose 2015-08-05 10:25:05 UTC
Moving it to ON_QA to be verified as per comment 7

Comment 11 RamaKasturi 2015-08-24 06:45:04 UTC
Verified and works fine with build gluster-nagios-addons-0.2.4-4.el6rhs.x86_64.

Confirmed that nrpe gets reloaded after upgradating gluster-nagios-addons  by looking at its PID file.

Comment 12 Bhavana 2015-09-21 07:12:49 UTC
Hi Ramesh,

The doc text is updated. Please review it and share your technical review comments. If it looks ok, then sign-off on the same.

Comment 13 Ramesh N 2015-09-21 09:11:56 UTC
Doc text looks good. Approved.

Comment 15 errata-xmlrpc 2015-10-05 09:20:00 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-1848.html