Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 876939 - Return "FAILED" if trying to stop openshift-port-proxy which is already stopped
Return "FAILED" if trying to stop openshift-port-proxy which is already stopped
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Pod (Show other bugs)
1.2.0
Unspecified Unspecified
low Severity low
: ---
: ---
Assigned To: Brenton Leanhardt
libra bugs
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-15 05:42 EST by Xiaoli Tian
Modified: 2017-03-08 12 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-01-31 15:32:53 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0220 normal SHIPPED_LIVE Important: Red Hat OpenShift Enterprise 1.1 update 2013-01-31 20:23:24 EST

  None (edit)
Description Xiaoli Tian 2012-11-15 05:42:01 EST
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 10:45:13 EST
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 12:58:53 EST
Upstream: https://github.com/openshift/origin-server/pull/1041

This should make it into the next puddle.
Comment 4 xjia 2012-12-11 00:05:53 EST
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 15:32:53 EST
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.