Description of problem: When we deploy MTC, the log-reader pod is created and then instantly crashes. It shows "exec format error" in the pod's log. Version-Release number of selected component (if applicable): MTC 1.4.0 How reproducible: Always Steps to Reproduce: 1. Install MTC 1.4.0 using 72b089c1a985294b9161651ca8baef69646bdbc7901f9176349ef31c41e44840 sha to deploy log-reader pod. Actual results: The log-reader pod crashes ]$ oc get pods NAME READY STATUS RESTARTS AGE migration-log-reader-fb9587f5d-72mcv 0/2 CrashLoopBackOff 38 1h $ oc logs migration-log-reader-fb9587f5d-72mcv -c plain standard_init_linux.go:178: exec user process caused "exec format error" Expected results: The log-reader pod should work without errors. Additional info: It seems that the entry point has no shebang #!/bin/sh and it is causing the issue.
Verified in MTC 1.4.0 openshift-migration-rhel7-operator@sha256:8bdf3dcaa629d159f10f66272fc71415b771904e90732bf2d78a9c0b25afe084 - name: MIG_LOG_READER_REPO value: openshift-migration-log-reader-rhel8@sha256 - name: MIG_LOG_READER_TAG value: d186fffbaab94b78a84abc16364b32d016fdd728da40f71fe42e7d023ea44880 Moved to VERIFIED status.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Migration Toolkit for Containers (MTC) tool image release advisory 1.4.0), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:5329