Bug 1511258

Summary: MariaDB deprovision doesn't delete service
Product: OpenShift Container Platform Reporter: cchase
Component: Service BrokerAssignee: cchase
Status: CLOSED ERRATA QA Contact: Weihua Meng <wmeng>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.7.0CC: aos-bugs, wmeng
Target Milestone: ---   
Target Release: 3.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-28 22:22:19 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 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