Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1497766 - APB Pods are deleted even when an error occurs
APB Pods are deleted even when an error occurs
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker (Show other bugs)
3.7.0
Unspecified Unspecified
medium Severity low
: ---
: 3.7.0
Assigned To: Shawn Hurley
Qixuan Wang
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-02 11:40 EDT by Shawn Hurley
Modified: 2017-11-28 17:14 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-11-28 17:14:33 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-2017:3188 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-28 21:34:54 EST

  None (edit)
Description Shawn Hurley 2017-10-02 11:40:44 EDT
Description of problem:
When the ASB executes the APB pod it will delete the pod even when there is an error. This makes it very hard to debug APB issues

Version-Release number of selected component (if applicable):


How reproducible:
Always


Steps to Reproduce:
1. Run a provision on a bad APB
2.
3.

Actual results:
APB is deleted 

Expected results:
APB should not be deleted if an error occurs and that behavior has been defined.

Additional info:
Comment 1 Shawn Hurley 2017-10-13 12:59:03 EDT
Bug Fixed with PR: https://github.com/openshift/ansible-service-broker/pull/474
Comment 3 Qixuan Wang 2017-10-20 06:00:47 EDT
Tested on OCP (openshift v3.7.0-0.158.0, kubernetes v1.7.6+a08f5eeb62, etcd 3.2.8). The bug has been fixed, thanks.

Established service-catalog and ansible-service-broker.
On web console, provision an Etherpad(APB), there is an error in etherpad pod, and it won't be deleted.
 
(apb) [root@preserve-qw-master-etcd-1 ~]# oc get pod -n qwang1
NAME               READY     STATUS             RESTARTS   AGE
etherpad-1-mbv1g   0/1       CrashLoopBackOff   6          10m
mariadb-1-9pjg1    1/1       Running            0          10m
Comment 6 errata-xmlrpc 2017-11-28 17:14:33 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.

https://access.redhat.com/errata/RHSA-2017:3188

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