Description of problem: Should not launch multi unbind sandboxes frequently while unbind failed service-catalog & asb image using images: # service-catalog --version v3.10.0-0.53.0;Upstream:v0.1.19 # asbd --version 1.2.14 How reproducible: Always Steps to Reproduce: 1. Set launch_apb_on_bind: true in cm, rollout asb pod and sync with service catalog 2. Provision a postgresql apb from web console 3. Create a servicebinding from web console 4. Delete the servicebinding from web console Actual results: 4. launch multi unbind sandboxes frequently rh-postgresql-apb-unbi-25kcp Active 25m rh-postgresql-apb-unbi-28nz8 Active 25m rh-postgresql-apb-unbi-2gf8l Active 24m rh-postgresql-apb-unbi-2rzzn Active 26m rh-postgresql-apb-unbi-427cf Active 27m rh-postgresql-apb-unbi-42qmm Active 22m rh-postgresql-apb-unbi-4d5l6 Active 20m rh-postgresql-apb-unbi-4nh27 Active 24m rh-postgresql-apb-unbi-4tfnp Active 27m rh-postgresql-apb-unbi-57s29 Active 26m rh-postgresql-apb-unbi-589pr Active 24m rh-postgresql-apb-unbi-59s6v Active 21m rh-postgresql-apb-unbi-5b2qh Active 26m rh-postgresql-apb-unbi-5d8fz Active 20m rh-postgresql-apb-unbi-64lkg Active 24m rh-postgresql-apb-unbi-6jcns Active 23m rh-postgresql-apb-unbi-6mftd Active 22m Expected results: 4. Should not launch multi unbind sandboxes frequently Addition info: None
If the unbind fails we really want to let them know it failed because it is probably something the APB developer needs to fix. But if the action is non-existent which is the case with this bug, we really need to prevent the multiple sandboxes.
release-1.2 PR: https://github.com/openshift/ansible-service-broker/pull/971 master PR: https://github.com/openshift/ansible-service-broker/pull/972
$ oc get projects NAME DISPLAY NAME STATUS ansible-service-broker Active blog-project Active default Active dh-postgresql-apb-bind-zc82n Active dh-postgresql-apb-prov-jq97t Active dh-postgresql-apb-unbi-vpn2r Active
Looking at the asb log BEFORE this fix: $ grep UNBINDING multi-unbind-asb.log time="2018-05-30T17:31:07Z" level=info msg=" UNBINDING " time="2018-05-30T17:31:11Z" level=info msg=" UNBINDING " time="2018-05-30T17:31:16Z" level=info msg=" UNBINDING " time="2018-05-30T17:31:21Z" level=info msg=" UNBINDING " time="2018-05-30T17:31:26Z" level=info msg=" UNBINDING " time="2018-05-30T17:31:31Z" level=info msg=" UNBINDING " time="2018-05-30T17:31:40Z" level=info msg=" UNBINDING " time="2018-05-30T17:31:44Z" level=info msg=" UNBINDING " time="2018-05-30T17:31:49Z" level=info msg=" UNBINDING " time="2018-05-30T17:31:55Z" level=info msg=" UNBINDING " time="2018-05-30T17:31:59Z" level=info msg=" UNBINDING " time="2018-05-30T17:32:04Z" level=info msg=" UNBINDING " time="2018-05-30T17:32:08Z" level=info msg=" UNBINDING " time="2018-05-30T17:32:13Z" level=info msg=" UNBINDING " time="2018-05-30T17:32:17Z" level=info msg=" UNBINDING " time="2018-05-30T17:32:23Z" level=info msg=" UNBINDING " time="2018-05-30T17:32:29Z" level=info msg=" UNBINDING " time="2018-05-30T17:32:33Z" level=info msg=" UNBINDING " time="2018-05-30T17:32:38Z" level=info msg=" UNBINDING " time="2018-05-30T17:32:47Z" level=info msg=" UNBINDING " time="2018-05-30T17:32:51Z" level=info msg=" UNBINDING " time="2018-05-30T17:32:56Z" level=info msg=" UNBINDING " time="2018-05-30T17:33:03Z" level=info msg=" UNBINDING " time="2018-05-30T17:33:08Z" level=info msg=" UNBINDING " time="2018-05-30T17:33:12Z" level=info msg=" UNBINDING " Looking at the asb log AFTER this fix: $ grep UNBINDING asb.log time="2018-05-30T20:03:10Z" level=info msg=" UNBINDING "
https://errata.devel.redhat.com/advisory/33505 updated with the following builds: openshift-enterprise-apb-tools-v3.10.0-0.32.0.3 openshift-enterprise-asb-container-v3.10.0-0.54.0.1 openshift-enterprise-mariadb-apb-v3.10.0-0.51.0.1 openshift-enterprise-mediawiki-apb-v3.10.0-0.54.0.1 openshift-enterprise-mediawiki-container-v3.10.0-0.54.0.0 openshift-enterprise-mysql-apb-v3.10.0-0.54.0.1 openshift-enterprise-postgresql-apb-v3.10.0-0.54.0.1
Verified and passed with asb:1.2.16 Follow original steps, sandbox of unbind will be automated trigger while bind failed, and be prevented the multiple sandboxes in currently. LGTM. # oc get ns | grep postgre rh-postgresql-apb-bind-ml4qw Active 11m rh-postgresql-apb-prov-k25kz Active 13m rh-postgresql-apb-unbi-6pzvb Active 10m # oc logs asb-2-89lg4 | grep UNBINDING time="2018-05-31T07:09:17Z" level=info msg=" UNBINDING "
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/RHBA-2018:1816