RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2027833 - CentOS 9 Stream latest ISO checksum file contains incorrect ISO file name
Summary: CentOS 9 Stream latest ISO checksum file contains incorrect ISO file name
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: distribution
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Brian Stinson
QA Contact: Brian Stinson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-30 20:19 UTC by Eugene Zamriy
Modified: 2022-02-09 20:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-09 00:43:55 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-104383 0 None None None 2021-12-01 02:56:50 UTC

Description Eugene Zamriy 2021-11-30 20:19:38 UTC
Description of problem:

Although there are "latest" checksum files for CentOS 9 Stream images (e.g. http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-boot.iso.SHA256SUM) they don't contain a "latest" ISO file checksum.
Instead they contain check-sums of "timestamped" files.

For example, the http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-boot.iso.SHA256SUM file has the following content:

    # CentOS-Stream-9-20211118.2-x86_64-boot.iso: 793772032 bytes
    SHA256 (CentOS-Stream-9-20211118.2-x86_64-boot.iso) = 82ad04a3c8be08d349a906a6d1b9cd0b9580481bfa26ab6f56c3ec97ce952400

so it can't be used to verify the latest CentOS-Stream-9-latest-x86_64-boot.iso file.


How reproducible:


Steps to Reproduce:
1. Download the http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-boot.iso file
2. Download the http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-boot.iso.SHA256SUM file
3. Run the following command:
   sha256sum -c CentOS-Stream-9-latest-x86_64-boot.iso.SHA256SUM


Actual results:

It fails with the following output:

    sha256sum: CentOS-Stream-9-20211118.2-x86_64-boot.iso: No such file or directory
    CentOS-Stream-9-20211118.2-x86_64-boot.iso: FAILED open or read
    sha256sum: WARNING: 1 listed file could not be read



Expected results:

It should pass the check:

    CentOS-Stream-9-latest-x86_64-boot.iso: OK


Additional info:

That also affects tools like Packer.io because instead of using the latest URLs we need to update them after each CentOS 9 Stream ISO rebuild.

Comment 1 Lance Albertson 2022-02-07 23:12:21 UTC
This is still happening, any updates? This is blocking some users from creating images using packer in an easy way.

Comment 2 Brian Stinson 2022-02-09 00:43:55 UTC
We pushed this fix to our publishing scripts, which were used for today's push.
https://gitlab.com/redhat/centos-stream/release-engineering/releng-tools/-/commit/61a8eddd6ac15f2660c36f8ed20035d37a7e544e

$ curl http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-dvd1.iso.SHA256SUM
# CentOS-Stream-9-latest-x86_64-dvd1.iso: 8613003264 bytes
SHA256 (CentOS-Stream-9-latest-x86_64-dvd1.iso) = 2688febc19b7abca5423fed70882649b7f95f1a9750873aabae007b04d2ea693

Comment 3 Lance Albertson 2022-02-09 20:02:09 UTC
Can you please also fix the SHA256SUM file and other similar files to include the "latest" files? 

Thanks!


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