Bug 876937

Summary: Return "FAILED" if trying to stop openshift-console which is already stopped
Product: OpenShift Container Platform Reporter: Xiaoli Tian <xtian>
Component: NodeAssignee: Brenton Leanhardt <bleanhar>
Status: CLOSED ERRATA QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 1.2.0CC: bleanhar, jkeck, xjia
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-31 20:32:50 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 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