Uploaded image for project: 'Distributed Tracing'
  1. Distributed Tracing
  2. TRACING-5877

using OTEL output renders json bodies in loops

XMLWordPrintable

    • Incidents & Support
    • False
    • Hide

      None

      Show
      None
    • False
    • Bug Fix
    • Tracing Sprint # 282

      Description of problem:

      when enabling OpenTelemetry output in CLF, the CLF parser seems to render json body outputs multiple times which ends up asĀ 

      Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(2025-10-26T07:35:13.143Z ERROR Reconciler error {"controller": "csiaddonsnode", "controllerGroup": "csiaddons.openshift.io", "controllerKind": "CSIAddonsNode", "CSIAddonsNode": {"name":"csi-rbdplugin-tclq4","namespace":"openshift-storage"}, "namespace": "openshift-storage", "name": "csi-rbdplugin-tclq4", "reconcileID": "55323ab1-9c83-46b8-acdd-be54f7f47e4c", "error": "failed to resolve endpoint \"pod://csi-rbdplugin-tclq4.openshift-storage:9070\": failed to get pod openshift-storage/csi-rbdplugin-tclq4: Pod \"csi-rbdplugin-tclq4\" not found"}))))))))))))))))))

      Version-Release number of selected component (if applicable):

      6.2+

      How reproducible:

      always with OTEL output

      Steps to Reproduce:

      1. create CLF
      2. create OTC
      3. log some json body message

      Actual results:

      Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(Body: Str(2025-10-26T07:35:13.143Z ERROR Reconciler error {"controller": "csiaddonsnode", "controllerGroup": "csiaddons.openshift.io", "controllerKind": "CSIAddonsNode", "CSIAddonsNode": {"name":"csi-rbdplugin-tclq4","namespace":"openshift-storage"}, "namespace": "openshift-storage", "name": "csi-rbdplugin-tclq4", "reconcileID": "55323ab1-9c83-46b8-acdd-be54f7f47e4c", "error": "failed to resolve endpoint \"pod://csi-rbdplugin-tclq4.openshift-storage:9070\": failed to get pod openshift-storage/csi-rbdplugin-tclq4: Pod \"csi-rbdplugin-tclq4\" not found"})))))))))))))))))) 

      Expected results:

      Body: Str(2025-10-26T07:35:13.143Z ERROR Reconciler error {"controller": "csiaddonsnode", "controllerGroup": "csiaddons.openshift.io", "controllerKind": "CSIAddonsNode", "CSIAddonsNode": {"name":"csi-rbdplugin-tclq4","namespace":"openshift-storage"}, "namespace": "openshift-storage", "name": "csi-rbdplugin-tclq4", "reconcileID": "55323ab1-9c83-46b8-acdd-be54f7f47e4c", "error": "failed to resolve endpoint \"pod://csi-rbdplugin-tclq4.openshift-storage:9070\": failed to get pod openshift-storage/csi-rbdplugin-tclq4: Pod \"csi-rbdplugin-tclq4\" not found"})

      Additional info:

              ploffay@redhat.com Pavol Loffay
              rhn-support-milang Michaela Lang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: