Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-2124

Binary Manager issue in downstream Loki Operator image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • Logging 5.4.0
    • Logging 5.4.0
    • Log Storage
    • None
    • False
    • False
    • NEW
    • OBSDA-7 - Adopting Loki as an alternative to Elasticsearch to support more lightweight, easier to manage/operate storage scenarios
    • VERIFIED
    • Logging (LogExp) - Sprint 213

      We are seeing binary manager issue with downstream image for Loki Operator. We have ENTRYPOINT as [“/manager”] in upstream (https://github.com/grafana/loki/blob/main/operator/Dockerfile) but in downstream build the manager is copied under /usr/bin.

      Error in Controller Manager pod:

      .For downsteam image, we see control manager pod failure with create failed: time=“2022-01-11T14:01:57Z” level=error msg=“container_linux.go:380: starting container process caused: exec: \“/manager\“: stat /manager: no such file or directory”

       

      oc debug loki-operator-controller-manager-57dcb98f68-zqwlh

      sh-4.4$ find . -name manager

      ./usr/bin/manager

      find: './lost+found': Permission denied

      find: './proc/tty/driver': Permission denied

      find: './var/lib/private': Permission denied

      find: './var/lib/portables': Permission denied

       

      Downstream Image: registry.redhat.io/openshift-logging/loki-rhel8-operator@sha256:e44c6b41021c77411fc499b9dbb937a9352fe712f16fcb7f9f6802823e117cc4

              sasagarw@redhat.com Sashank Agarwal (Inactive)
              rhn-support-kbharti Kabir Bharti
              Kabir Bharti Kabir Bharti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: