Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2004946

Summary: "hello-openshift" template application wrong binary format
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED ERRATA QA Contact: Douglas Slavens <dslavens>
Severity: high Docs Contact:
Priority: medium    
Version: 4.2.zCC: alklein, amccrae, aos-bugs, cfillekes, chanphil, christian.lapolt, danili, dbenoit, dgilmore, dslavens, eparis, epasch, hannsj_uhl, Holger.Wolf, jhusta, jokerman, jpoulin, krmoser, mkumatag, nbziouec, rcgingra, spadgett, tdale, T.Schwarz, wking, yanpzhan, yapei, yselkowi
Target Milestone: ---   
Target Release: 4.7.z   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-12 19:52:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1766287    
Bug Blocks: 1765215, 1905187    

Comment 1 Yanping Zhang 2021-09-22 02:30:30 UTC
Hi Douglas, could you/your team help to verify the fix for the bug on s390x?

Comment 4 Tom Dale 2021-09-23 19:40:44 UTC
I've check on both openshift 4.7.13 and 4.7.32 for s390x and the default pod yaml template is still
 "
apiVersion: v1
kind: Pod
metadata:
  name: example
  labels:
    app: hello-openshift
  namespace: default
spec:
  containers:
    - name: hello-openshift
      image: openshift/hello-openshift
      ports:
        - containerPort: 8080
"

As reported in the original bug openshift/hello-openshift is not a multiarch image so the pod fails with "exec format error" . 

I'm not sure how to check what z stream release we should be able to see this changed in with that PR, but I assume we should be have seen in it 4.7.32 since that was from yesterday Sep 22nd.

Comment 5 Samuel Padgett 2021-09-24 10:41:25 UTC
Tom, the PR does replace the pod YAML template. I suspect you're not testing a version with the change.

https://github.com/openshift/console/pull/10089/files#diff-164629c8595b6c8031db084bd92b087970b1d80e44b12cf6922d6bed1f397584R413

Comment 7 Douglas Slavens 2021-10-06 14:50:37 UTC
This verification is currently in progress.

Comment 8 Tom Dale 2021-10-06 15:30:32 UTC
Tried on version 4.7.33 on Z and the fix is now present. Thanks

Comment 10 errata-xmlrpc 2021-10-12 19:52:13 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 (OpenShift Container Platform 4.7.33 bug fix update), 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-2021:3686