Description
What is the environment (Minikube, Openshift)?
Kubernetes 1.22
What is the SBO version used?
1.1.1
What are the steps to reproduce this issue?
- apply servicebinding with typo (with application or backing service which is not exist)
- delete servicebinding
What is the expected behaviour?
delete servicebinding immediately
What is the actual behaviour?
at first, servicebinding ready condition changes to true (ApplicationBound - true), and is not deleted immediately
and then after seconds, finally it deleted
Service Binding Operator Logs
{"level":"info","ts":1662349375.74745,"logger":"controllers.ServiceBinding","msg":"Deleted, unbind the application","serviceBinding":"smlee/kafka-tomcat-binding3"}
{"level":"error","ts":1662349376.156951,"logger":"controller.servicebinding","msg":"Reconciler error","reconciler group":"binding.operators.coreos.com","reconciler kind":"ServiceBinding","name":"kafka-tomcat-binding3","namespace":"smlee","error":"Operation cannot be fulfilled on servicebindings.binding.operators.coreos.com "kafka-tomcat-binding3": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227"}
{"level":"info","ts":1662349405.0006185,"logger":"controllers.ServiceBinding","msg":"Deleted, unbind the application","serviceBinding":"smlee/kafka-tomcat-binding3"}
{"level":"info","ts":1662349405.0432987,"logger":"controllers.ServiceBinding","msg":"Done","serviceBinding":"smlee/kafka-tomcat-binding3","retry":false,"error":null}
{"level":"info","ts":1662349405.0434263,"logger":"controllers.ServiceBinding","msg":"ServiceBinding resource not found. Ignoring since object must be deleted","serviceBinding":"smlee/kafka-tomcat-binding3","name":{"namespace":"smlee","name":"kafka-tomcat-binding3"},"err":"ServiceBinding.binding.operators.coreos.com "kafka-tomcat-binding3" not found"}
Additional Information (Screenshots, etc)
at first, it shows like this after applying servicebinding with typo
and then when I delete this servicebinding resource, it changes like this
why these happens? I thought it would removed directly after use delete command but it takes time with error log, with applicationBound - true status.
Activity