Bug 2083770 - Release image signature manifest filename extension is yaml
Summary: Release image signature manifest filename extension is yaml
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.9
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.11.0
Assignee: Arda Guclu
QA Contact: zhou ying
Depends On:
TreeView+ depends on / blocked
Reported: 2022-05-10 18:16 UTC by Pawan Khilare
Modified: 2023-01-12 14:09 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Last Closed: 2022-08-10 11:11:01 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift oc pull 1151 0 None open Bug 2083770: Change release signature file extension to json 2022-05-23 09:51:33 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:11:19 UTC

Description Pawan Khilare 2022-05-10 18:16:13 UTC
Description of problem:
When OpenShift release image is mirrored to filesystem it produces a configuration manifest containing the release image signature. The filename extension is .yaml while the content is in json format. The extension should be in .json

Version-Release number of selected component (if applicable):

How reproducible: 100%

Steps to Reproduce:
1. Mirror an OpenShift release image to a filesystem
oc adm release mirror -a {{ pull_secret }} --to-dir={{ workdir }}/ocp4-release quay.io/openshift-release-dev/ocp-release:{{ ocp_release_tag }}
2. A file config/signature-sha256-2eafde815e543b92.yaml is generated which has extension as .yaml while the contents are in json format.

Actual results: The filename config/signature-sha256-2eafde815e543b92.yaml is having extension as .yaml

Expected results: The filename config/signature-sha256-2eafde815e543b92.yaml should have .json extension

Additional info:

Comment 1 helwazer 2022-05-24 07:40:29 UTC
Hello All,

I'm following up on this BZ as it relates to the SFDC case : 03212723 and customer expects an update.
can you please share your thoughts/findings regarding filename extension ?

Thank you, have a great day
Hala Elwazery
Technical Account Manager - Openshift

Comment 5 Colum Gaynor 2022-06-09 04:40:25 UTC
@pkhilare @helwazer -----> Please Create a Clone BZ to get the OCP 4.11 Fix Backported to OCP 4.10

Colum Gaynor - Senior Partner Success Manager, Nokia Global Account

Comment 13 errata-xmlrpc 2022-08-10 11:11:01 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security 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.


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