Bug 1904461 - Log reader pod crashes with "exec format error"
Summary: Log reader pod crashes with "exec format error"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: General
Version: 1.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 1.4.0
Assignee: Rayford Johnson
QA Contact: Xin jiang
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-04 14:30 UTC by Sergio
Modified: 2021-02-11 12:55 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-11 12:54:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:5329 0 None None None 2021-02-11 12:55:07 UTC

Description Sergio 2020-12-04 14:30:34 UTC
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.

Comment 5 Sergio 2020-12-09 13:10:30 UTC
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.

Comment 7 errata-xmlrpc 2021-02-11 12:54:49 UTC
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


Note You need to log in before you can comment on or make changes to this bug.