Bug 876939 - Return "FAILED" if trying to stop openshift-port-proxy which is already stopped
Summary: Return "FAILED" if trying to stop openshift-port-proxy 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
low
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-15 10:42 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:53 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:42:01 UTC
Description of problem:
It will fail if trying to stop openshift-port-proxy which is already stopped:
[root@broker graphviz]# service openshift-port-proxy status
haproxy is stopped
[root@broker graphviz]# service openshift-port-proxy stop
Stopping openshift-port-proxy:                             [FAILED]

Version-Release number of selected component (if applicable):
openshift-origin-port-proxy-1.0.1-1.el6op.noarch

How reproducible:
Always

Steps to Reproduce:
1.service openshift-port-proxy stop
2.service openshift-port-proxy status
3.service openshift-port-proxy 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:13 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:53 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:05:53 UTC
Verify:
[root@node ~]# service openshift-port-proxy status
haproxy is stopped
[root@node ~]# service openshift-port-proxy stop
Stopping openshift-port-proxy: (already stopped)           [  OK  ]

Version:
OSE 1.1.x 2012-12-10.1

Comment 6 errata-xmlrpc 2013-01-31 20:32:53 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.