Bug 1162443 - [RHSC] - Upgrading RHSC from 3.0.2 to 3.0.3 fails.
Summary: [RHSC] - Upgrading RHSC from 3.0.2 to 3.0.3 fails.
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
urgent
urgent
Target Milestone: ---
: RHGS 3.0.3
Assignee: Ramesh N
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-11 05:17 UTC by RamaKasturi
Modified: 2015-05-13 17:42 UTC (History)
5 users (show)

Fixed In Version: nagios-server-addons-0.1.9-1.el6rhs
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-15 13:49:59 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0039 0 normal SHIPPED_LIVE Red Hat Storage Console 3.0 enhancement and bug fix update #3 2015-01-15 18:46:40 UTC

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


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