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

OCI Provider sends many requests to backend in error scenarios #341

Open
anders-swanson opened this issue Oct 23, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@anders-swanson
Copy link
Member

anders-swanson commented Oct 23, 2023

What happened:

When using the OCI Provider in an induced error scenario (specifically with OKE, though may occur in other scenarios), many outbound calls to the backend cloud provider were observed.

These requests were not retryable, e.g., creating a cluster with mismatched Kubernetes versions between the control plane and worker node results in 409 errors from the cloud backend.

What you expected to happen:

  • In the case of non-retryable errors (409's and the like), a Condition error is set by the infrastructure provider, and no further retrys are sent. This will avoid unnecessary API calls.
  • In the case of retryable errors (5xx, or other), use a backoff mechanism.

How to reproduce it (as minimally and precisely as possible):

Create a managed controlplane with at least one node pool, setting the kubernetes version of the node pool to be different than the control plane.

Anything else we need to know?:

Environment:

  • CAPOCI version: 12.1
  • Cluster-API version (use clusterctl version):
  • Kubernetes version (use kubectl version):
  • Docker version (use docker info):
  • OS (e.g. from /etc/os-release):
@anders-swanson anders-swanson added the bug Something isn't working label Oct 23, 2023
@shyamradhakrishnan
Copy link
Member

@anders-swanson the backoff bug was fixed in v0.13.0 via #316

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants