Bug 1511258 - MariaDB deprovision doesn't delete service
Summary: MariaDB deprovision doesn't delete service
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.7.0
Assignee: cchase
QA Contact: Weihua Meng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-09 01:48 UTC by cchase
Modified: 2017-11-28 22:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-11-28 22:22:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

Description cchase 2017-11-09 01:48:15 UTC
Description of problem:
Deprovision MariaDB APB doesn't clean up the service.


How reproducible:
100%

Steps to Reproduce:
1. Provision MariaDB
2. Deprovision MariaDB
3. Query for resources using oc get all or look at the services listed in the UI

Actual results:
$ oc get all
NAME                CLUSTER-IP       EXTERNAL-IP   PORT(S)    AGE
svc/rhscl-mariadb   172.30.133.224   <none>        3306/TCP   45s

Expected results:
No resources for MariaDB listed.

Comment 3 Weihua Meng 2017-11-09 08:05:31 UTC
Fixed in latest image.
openshift3/mariadb-apb:v3.7.4-2

[root@host-172-16-120-106 ~]# oc project mariadb
Already on project "mariadb" on server "https://172.16.120.106:8443".
[root@host-172-16-120-106 ~]# oc get all
NAME                              REVISION   DESIRED   CURRENT   TRIGGERED BY
deploymentconfigs/rhscl-mariadb   1          1         1         config

NAME                       READY     STATUS    RESTARTS   AGE
po/rhscl-mariadb-1-ckh2x   1/1       Running   0          6m

NAME                 DESIRED   CURRENT   READY     AGE
rc/rhscl-mariadb-1   1         1         1         6m

NAME                CLUSTER-IP      EXTERNAL-IP   PORT(S)    AGE
svc/rhscl-mariadb   172.30.192.37   <none>        3306/TCP   6m
[root@host-172-16-120-106 ~]# 
[root@host-172-16-120-106 ~]# oc get all
NAME                              REVISION   DESIRED   CURRENT   TRIGGERED BY
deploymentconfigs/rhscl-mariadb   1          1         0         config

NAME                       READY     STATUS        RESTARTS   AGE
po/rhscl-mariadb-1-ckh2x   0/1       Terminating   0          7m

NAME                 DESIRED   CURRENT   READY     AGE
rc/rhscl-mariadb-1   1         0         0         7m
[root@host-172-16-120-106 ~]# oc get all
No resources found.

Comment 6 errata-xmlrpc 2017-11-28 22:22:19 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.

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.