Skip to content

409 conflict error #2251

Closed
Closed
@10000-ki

Description

@10000-ki

ENV

  • k8s version : 1.23
  • java operator sdk version : 4.4.0

ERROR Message

io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: PATCH at: https://ai1.io.navercorp.com:6443/apis/apps/v1/namespaces/opensearchoperatorsecuritye2e-enablesecuritytest-4976a0a5-b09a/deployments/os-test-opensearch-cluster-dashboards?fieldManager=e2etestopensearchreconciler&force=true. Message: Operation cannot be fulfilled on deployments.apps "os-test-opensearch-cluster-dashboards": the object has been modified; please apply your changes to the latest version and try again. Received status: Status(apiVersion=v1, code=409, details=StatusDetails(causes=[], group=apps, kind=deployments, name=os-test-opensearch-cluster-dashboards, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Operation cannot be fulfilled on deployments.apps "os-test-opensearch-cluster-dashboards": the object has been modified; please apply your changes to the latest version and try again, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Conflict, status=Failure, additionalProperties={}).

there was an issue that the resource version continued to be upgraded even though there was no spec modification in the deployment
Because of this, infinite reconcile loop execution occurred, which resulted in 409 errors..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions