Bug 876937 - Return "FAILED" if trying to stop openshift-console which is already stopped
Summary: Return "FAILED" if trying to stop openshift-console which is already stopped
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 1.2.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-15 10:38 UTC by Xiaoli Tian
Modified: 2017-03-08 17:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-31 20:32:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0220 0 normal SHIPPED_LIVE Important: Red Hat OpenShift Enterprise 1.1 update 2013-02-01 01:23:24 UTC

Description Xiaoli Tian 2012-11-15 10:38:27 UTC
Description of problem:
It will fail if you are trying to stop openshift-console again after it's already stopped
[root@broker graphviz]# service openshift-console status
httpd dead but subsys locked
[root@broker graphviz]# service openshift-console stop
Stopping openshift-console:   


Version-Release number of selected component (if applicable):
openshift-console-0.0.4-2.git.2.5b6d9df.el6op.noarch

How reproducible:
Always

Steps to Reproduce:
1.service openshift-console stop
2.service openshift-console status
3.service openshift-console stop
  
Actual results:
It failed in step 3

Expected results:

It should return success even if it stops an stopped service

Additional info:

Comment 1 John Keck 2012-11-15 15:45:25 UTC
Definitely need to fix this, but not needed for GA.  Will release either in 1.1 or errata filing.

Comment 3 Brenton Leanhardt 2012-12-07 17:58:48 UTC
Upstream: https://github.com/openshift/origin-server/pull/1041

This should make it into the next puddle.

Comment 4 xjia 2012-12-11 05:06:57 UTC
[root@broker openshift]# service openshift-console stop
Stopping openshift-console:                                [  OK  ]
[root@broker openshift]# service openshift-console status
httpd dead but subsys locked
[root@broker openshift]# service openshift-console stop
Stopping openshift-console: (already stopped)              [  OK  ]
[root@broker openshift]# 

Version:
OpenShiftEnterprise/1.1.x/2012-12-10.

Comment 6 errata-xmlrpc 2013-01-31 20:32:50 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/RHSA-2013-0220.html


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