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

[ST] MigrationST - some KafkaTopics are not deleted correctly after the migration tests #9975

Open
im-konge opened this issue Apr 16, 2024 · 0 comments

Comments

@im-konge
Copy link
Member

When we have finalizers enabled in UTO and we are running the MigrationST, from time to time the KafkaTopics cannot be deleted.
The status of such topics is following:

- apiVersion: kafka.strimzi.io/v1beta2
  kind: KafkaTopic
  metadata:
    creationTimestamp: "2024-04-11T14:10:36Z"
    deletionGracePeriodSeconds: 0
    deletionTimestamp: "2024-04-11T14:22:45Z"
    finalizers:
    - strimzi.io/topic-operator
    generation: 2
    labels:
      strimzi.io/cluster: cluster-820b5b0a
      test.case: testMigrationWithDeletionOfCOAndZkDeleteClaimFalse
    name: my-topic-368936459-2026653918-continuous
    namespace: co-namespace
    resourceVersion: "19253"
    uid: 73f22f1f-0b6a-42ed-abf1-9dd67a4e1719
  spec:
    config:
      min.insync.replicas: 2
      retention.ms: 7200000
      segment.bytes: 1073741824
    partitions: 3
    replicas: 3
  status:
    conditions:
    - lastTransitionTime: "2024-04-11T14:27:46.255798715Z"
      message: 'org.apache.kafka.common.errors.TimeoutException: Call(callName=deleteTopics,
        deadlineMs=1712845666154, tries=1, nextAllowedTryMs=1712845666326) timed out
        at 1712845666215 after 1 attempt(s)'
      reason: KafkaError
      status: "False"
      type: Ready
    observedGeneration: 2
    topicId: 38fhq1a8RTWnnnAFvgd1UA
    topicName: my-topic-368936459-2026653918-continuous

For now, the finalizers in UTO were disabled - which fixes the issue now. But we should investigate it more and fix it in the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant