Description of problem: Can't remove binding on web console Version-Release number of selected component (if applicable): v3.6.112 How reproducible: Always Steps to Reproduce: 1. oc new-app openshift/hello-openshift --name hello 2. Add user-provided-service provisioned service to the project 3. On overview page bind hello deployment with user-provided-service 4. Delete binding and start another deployment 5. Try to delete binding againg Actual results: Can delete binding again Expected results: Shouldn't see "delete binding" option in kebab menu of hello deployment Additional info:
There are actually two problems here. 1) There is a known bug in the service catalog where it is not properly cleaning up the Binding objects after they should be deleted. See https://github.com/kubernetes-incubator/service-catalog/issues/942#issuecomment-309045453 2) When unbind can be asynchronous against the broker, then the unbind could take some time. We should not show delete binding when all the existing bindings are already marked for deletion. We will fix #2 in this bug.
Commit pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/25f36400cf057e0d08dd81a40e35edc1c37d50cf Bug 1462205 - Delete binding shouldn't show up when all bindings are pending deletion
verified for OCP v3.6.121