Uploaded image for project: 'Cluster Observability Operator'
  1. Cluster Observability Operator
  2. COO-226

korrel8r pod can not be started as korrel8r executable file not found in PATH

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 0.3.0
    • None
    • korrel8r
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      The korrel8r can not be started.

      $ oc get pods korrel8r-84c89645f6-xpcm9 -o json |jq '.status.containerStatuses'
      [
        {
          "image": "registry.redhat.io/cluster-observability-operator/coo-korrel8r-rhel8@sha256:30bd5b7a16b96787e399ed99f45a58c8cacfdf1b903e9525a61b26ecd488dab0",
          "imageID": "",
          "lastState": {},
          "name": "korrel8r",
          "ready": false,
          "restartCount": 0,
          "started": false,
          "state": {
            "waiting": {
              "message": "container create failed: time=\"2024-07-04T03:22:58Z\" level=error msg=\"runc create failed: unable to start container process: exec: \\\"korrel8r\\\": executable file not found in $PATH\"\n",
              "reason": "CreateContainerError"
            }
          }
        }
      ]

       

      In korrel8r pod:
          The  executable file is korrel8r.  the PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

      oc get pods korrel8r-84c89645f6-xpcm9 -o json |jq '.spec.containers[0].command'
      [
        "korrel8r",
        "web",
        "--https=:9443",
        "--cert=/secrets/tls.crt",
        "--key=/secrets/tls.key",
        "--config=/config/korrel8r.yaml"
      ]

       

      In image cluster-observability-operator-container-v0.3.0-10
          The korrel8r executable file is /korrel8r,   The ** Entrypoint is  /korrel8r web. 

      Version:

      registry-proxy.engineering.redhat.com/rh-osbs/rhobs-observability-operator:v0.3.0-10

      Expected result:

      Call /korrel8r  in pod command or move the binary korrel8r to /usr/bin/korrel8r

            jfajersk@redhat.com Jan Fajerski
            rhn-support-anli Anping Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: