Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Status change 'True' when deleteing processingError #1213

Open
@2smin

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?

  1. apply servicebinding with typo (with application or backing service which is not exist)
  2. 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
캡처

with describe command,
image

and then when I delete this servicebinding resource, it changes like this
image

with describe command,
image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomerskind/bugSomething isn't workingtriagedIssue has been triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions