Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-5752

[QE] Test testKafkaQuotasPluginIntegration uses wrong Kafka pod name when getting log

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • 2.8.0.GA
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      The QuotaST.testKafkaQuotasPluginIntegration fails with an error like the following:

      2024-02-29 03:52:09 [main] ERROR [TestExecutionWatcher:27] QuotasST - Exception Failure executing: GET at: https://192.168.49.2:8443/api/v1/namespaces/namespace-18/pods/my-cluster-49e5760c-kafka-0/log?pretty=false. Message: pods "my-cluster-49e5760c-kafka-0" not found. Received status: Status(apiVersion=v1, code=404, details=StatusDetails(causes=[], group=null, kind=pods, name=my-cluster-49e5760c-kafka-0, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=pods "my-cluster-49e5760c-kafka-0" not found, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=NotFound, status=Failure, additionalProperties={}). has been thrown in @Test. Going to collect logs from components. 

      This is because at the beginning of the test it's going to use node pools to deploy the Kafka cluster and the brokers node pool is named broker but when it comes to get the Kafka log, the pod name for Kafka has a -kafka-0 suffix while the right one is -broker-0.

       

      Created by Strimzi#9754

              lkral Lukas Kral
              ppatiern Paolo Patierno
              Lukas Kral Lukas Kral
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: