Bug 1162443

Summary: [RHSC] - Upgrading RHSC from 3.0.2 to 3.0.3 fails.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: rhscAssignee: Ramesh N <rnachimu>
Status: CLOSED ERRATA QA Contact: RamaKasturi <knarra>
Severity: urgent Docs Contact:
Priority: urgent    
Version: rhgs-3.0CC: asrivast, dpati, nlevinki, rhs-bugs, rnachimu
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.0.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nagios-server-addons-0.1.9-1.el6rhs Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-15 13:49:59 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:

Description RamaKasturi 2014-11-11 05:17:13 UTC
Description of problem:
Upgrading from RHSC 3.0.2 to 3.0.3 fails with error /sbin/service failed to execute

Version-Release number of selected component (if applicable):
rhsc-3.0.3-1.17.el6rhs.noarch

How reproducible:
Always

Steps to Reproduce:
1. Install RHEL6.6
2. Register to live channel and install rhsc.
3. Now add the repos of 3.0.3
4. Run 'yum update rhsc-setup' following rhsc-setup

Actual results:
Setup should exit sucessfully

Expected results:
rhsc-setup gives an error saying /sbin/service fails to execute.

Additional info:

Comment 1 RamaKasturi 2014-11-11 05:18:22 UTC
Kanagaraj has analyzed the installation logs and found that nagios fails to start. 

Nagios is failing to start.

<snip>
2014-11-07 17:45:30 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:861 execute-output: ('/sbin/service', 'nagios', 'start') stdout:
Starting nagios:CONFIG ERROR!  Start aborted.  Check your Nagios configuration.

2014-11-07 17:45:30 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:866 execute-output: ('/sbin/service', 'nagios', 'start') stderr:


2014-11-07 17:45:30 DEBUG otopi.context context._executeMethod:152 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/rhsc-setup-plugins/monitoring/monitoring.py", line 124, in _closeup
    self.services.state(name=service, state=True)
  File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 188, in state
    'start' if state else 'stop'
  File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 96, in _executeServiceCommand
    raiseOnError=raiseOnError
  File "/usr/lib/python2.6/site-packages/otopi/plugin.py", line 871, in execute
    command=args[0],
RuntimeError: Command '/sbin/service' failed to execute

</snip>

Comment 3 RamaKasturi 2014-11-19 07:07:54 UTC
Verified and works fine with build rhsc-3.0.3-1.19.el6rhs.noarch.

Performed the steps below;

1) Installed RHEL6.6

2) Registerd to live channel using satellite.

3) Yum update and reboot the machine.

4) Yum install rhsc.

5) Added 3.0.3 repos.

6) Ran 'yum update rhsc-setup' followed by rhsc-setup.

setup went through successfully with out any issues.

Comment 5 errata-xmlrpc 2015-01-15 13:49:59 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-0039.html