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

Karpenter version is "unspecified" in Karpenter logs

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.19
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • 3
    • None
    • None
    • None
    • None
    • AUTOSCALE - Sprint 286
    • 1
    • None
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Karpenter version not visible in logs, shows up as "unspecified" difficult for SRE to know which version of Karpenter is running   

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

          

      How reproducible:

      100%    

      Steps to Reproduce:

          1.Look at Karpenter logs
          2.See the "discovered karpenter version" line 
          3.See that version is "unspecified"

      Actual results:

      {
        "level": "DEBUG",
        "time": "2025-12-17T16:39:22.817Z",
        "logger": "controller",
        "caller": "operator/operator.go:132",
        "message": "discovered karpenter version",
        "commit": "54ca3d8-dirty",
        "version": "unspecified"
      }   

      Expected results:

      {
        "level": "DEBUG",
        "time": "2025-12-17T16:39:22.817Z",
        "logger": "controller",
        "caller": "operator/operator.go:132",
        "message": "discovered karpenter version",
        "commit": "54ca3d8-dirty",
        "version": "1.4.2"
      }    

      Additional info:

      - This gets injected via the Makefile/build, it's probably just not getting injected right. 
      - Upstream uses git tags to figure it out, but our repo isn't set up the same so we will probably have to do some additional work to fill that in/translate from upstream and inject that as part of our chore cycle 

              rh-ee-macao Max Cao
              jkyros@redhat.com John Kyros
              Samuel Sulka Samuel Sulka
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: