Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-42961

container log requets are wrongly aggregated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.17.0
    • Insights Operator
    • Moderate
    • None
    • CCXDEV Sprint 126
    • 1
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      With the rapid recommendations feature (enhancement) one can request various messages from Pods matching various Pod name regular expressions

      The problem is when there is a Pod (e.g foo-1 from the below example) matching more than one requested Pod name regex:

      {
          'namespace': 'test-namespace',
          'pod_name_regex': 'foo-.*',
          'messages': ['regex1', 'regex2']
      },
      {
          'namespace': 'test-namespace'',
          'pod_name_regex': 'foo-1',
          'messages': ['regex3', 'regex4']
      }
      

      Assume Pods with names foo-1 and foo-bar. Currently all the regexes (regex1,regex2, regex3, regex4) are filtered for both Pods.

      The desired behavior is foo1 filters all the regexes, but foo-bar is filtered only with regex1 and regex2

              tremes1@redhat.com Tomas Remes
              tremes1@redhat.com Tomas Remes
              baiyang zhou baiyang zhou
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: