Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function execution stops if there is a ReconcileError in the child resource #5633

Closed
zefir01 opened this issue Apr 26, 2024 · 2 comments
Closed
Labels
bug Something isn't working composition functions

Comments

@zefir01
Copy link

zefir01 commented Apr 26, 2024

What happened?

Hello. I'm developing my own rather complex function in go.
If I return a broken resource that results in a ReconcileError, further calls to the function are stopped, making it impossible to fix the error by function.

How can we reproduce it?

Unfortunately, I cannot provide my code for reproduction, since it is quite complex and not ready for easy execution.
But you can use any function with a broken resource with provider kubernetes.crossplane.io/v1alpha2

What environment did it happen in?

  • Crossplane version: 1.15.2
  • Provider: kubernetes.crossplane.io/v1alpha2
  • Kubernetes version:
    Client Version: v1.26.0
    Kustomize Version: v4.5.7
    Server Version: v1.27.4
  • Kubernetes distribution: Minikube
@zefir01 zefir01 added the bug Something isn't working label Apr 26, 2024
@negz
Copy link
Member

negz commented May 28, 2024

We need more information to reproduce this - it's not clear to me what exactly is happening.

I would expect the function to be called again on the next reconcile loop, regardless of whether it produces a broken composed resource or not.

@zefir01
Copy link
Author

zefir01 commented Jun 2, 2024

A month has passed and I have already deleted that configuration. I can't reproduce it now. If the problem arises, I will open an issue again. sorry to bother you.

@zefir01 zefir01 closed this as completed Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working composition functions
Projects
None yet
Development

No branches or pull requests

2 participants