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

Incomplete version information in catalogd binary

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • 4.19.0
    • OLM
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • None
    • None
    • None
    • Rejected
    • None
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      The catalogd binary built from openshift/operator-framework-operator-controller//catalogd does not have version information in the `./catalogd --version` command output.

      How reproducible: always

      Steps to Reproduce:
      {{1. make docker-build }}
      {{2. docker run quay.io/operator-framework/catalogd:devel --versionĀ  }}

      Actual results:
      Empty version info

      version.Info{Major:"", Minor:"", GitVersion:"unknown", GitCommit:"unknown", GitTreeState:"unknown", BuildDate:"unknown", GoVersion:"go1.23.4", Compiler:"gc", Platform:"linux/amd64"}
      

      Expected results:
      Version information should not be empty/unknown.

      version.Info{Major:"1", Minor:"2", GitVersion:"v1.2.0-rc4-11-g1eb34612", GitCommit:"1eb34612809b7c65c51667dc288c5c62ba00ee3e", GitTreeState:"dirty", BuildDate:"2025-02-04T16:50:20Z", GoVersion:"go1.23.4", Compiler:"gc", Platform:"linux/amd64"}

              ankithom Ankita Thomas
              ankithom Ankita Thomas
              None
              None
              Jian Zhang Jian Zhang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: