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

Failed to update cluster and subresource status #43

Open
caoxianfei1 opened this issue Apr 25, 2023 · 0 comments
Open

Failed to update cluster and subresource status #43

caoxianfei1 opened this issue Apr 25, 2023 · 0 comments
Labels
bug Something isn't working question Further information is requested

Comments

@caoxianfei1
Copy link
Collaborator

When we update cluster obj or cluster status, sometimes the following errors occur.

failed to update cluster condition to {Type:Ready Status:True ObservedGeneration:0 LastTransitionTime:2023-04-25 16:26:28.49526704 +0800 CST m=+267.053386433 Reason:ReconcileSucceeded Message:Reconcile curvecluster successed}. failed to update object "curve/curvebs-cluster-cloud" status: Operation cannot be fulfilled on curveclusters.operator.curve.io "curvebs-cluster-cloud": the object has been modified; please apply your changes to the latest version and try again

But update it successfully finally. here may be reason.

  1. https://alenkacz.medium.com/kubernetes-operators-best-practices-understanding-conflict-errors-d05353dff421
  2. https://zyy.rs/post/operator-update-conflict/
@caoxianfei1 caoxianfei1 added question Further information is requested bug Something isn't working labels Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant