Skip to content

Failed to update cluster and subresource status #43

@caoxianfei1

Description

@caoxianfei1

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions