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

Improve error message when creating/upgrading collector instance and using API version opentelemetry.io/v1beta1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • rhosdt-3.6
    • None
    • OpenTelemetry
    • None
    • Tracing Sprint # 266

      Description of the issue:

      The v1beta1 API expects {} to be added for empty objects. If a collector instance is created without the empty {}, the collector throws the following error which is not helpful for debugging. 

      admission webhook "mopentelemetrycollectorbeta.kb.io" denied the request: src and dst must not be nil

      We should improve the error message to point to the actual issue of missing {}

      For more details refer issue https://github.com/open-telemetry/opentelemetry-operator/issues/3452 

              ploffay@redhat.com Pavol Loffay
              rhn-support-ikanse Ishwar Kanse
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: