Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1966812

Summary: CentOS Stream ISO latest symlink
Product: Red Hat Enterprise Linux 8 Reporter: Lance Albertson <lance>
Component: distributionAssignee: Carl George 🤠 <carl>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, carl, davide, jwboyer, riehecky
Target Milestone: betaFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-17 02:06:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lance Albertson 2021-06-01 23:28:39 UTC
Description of problem:

Currently CentOS Stream rebuilds the ISO images weekly and only keeps one ISO image. These ISO images have the dates included which makes image automation using tools such as Packer difficult. This was discussed on the CentOS devel mailing list [1] with a possible solution of adding a "latest" symlink along with including those files in the CHECKSUM file. That way, we can set one filename that will stay consistent.

Ideally, I'd like to see the following (as an example):

CentOS-Stream-8-x86_64-20210528-boot.iso
CentOS-Stream-8-x86_64-20210528-boot.iso.manifest
CentOS-Stream-8-x86_64-20210528-dvd1.iso
CentOS-Stream-8-x86_64-20210528-dvd1.iso.manifest
CentOS-Stream-8-x86_64-latest-boot.iso
CentOS-Stream-8-x86_64-latest-boot.iso.manifest
CentOS-Stream-8-x86_64-latest-dvd1.iso
CentOS-Stream-8-x86_64-latest-dvd1.iso.manifest

And CHECKSUM should look like the following:

# CentOS-Stream-8-x86_64-20210528-boot.iso: 758120448 bytes
SHA256 (CentOS-Stream-8-x86_64-20210528-boot.iso) = d8019b18e1f09bcd89b5e68c7ed9d40e87df28582e4f1c36782e66c581a97b95
# CentOS-Stream-8-x86_64-20210528-dvd1.iso: 9960423424 bytes
SHA256 (CentOS-Stream-8-x86_64-20210528-dvd1.iso) = eb9de263b41e2a4a4c514ef99572c4e070b742dee6369c430ab2a0d869fc2ec2
# CentOS-Stream-8-x86_64-latest-boot.iso: 758120448 bytes
SHA256 (CentOS-Stream-8-x86_64-latest-boot.iso) = d8019b18e1f09bcd89b5e68c7ed9d40e87df28582e4f1c36782e66c581a97b95
# CentOS-Stream-8-x86_64-latest-dvd1.iso: 9960423424 bytes
SHA256 (CentOS-Stream-8-x86_64-latest-dvd1.iso) = eb9de263b41e2a4a4c514ef99572c4e070b742dee6369c430ab2a0d869fc2ec2

[1] https://lists.centos.org/pipermail/centos-devel/2021-May/076996.html

Comment 1 Carl George 🤠 2021-08-03 21:48:26 UTC
I've modified our staging scripts to create latest symlinks and include them in the CHECKSUM file.


CentOS-Stream-8-x86_64-20210803-boot.iso
CentOS-Stream-8-x86_64-20210803-boot.iso.manifest
CentOS-Stream-8-x86_64-20210803-dvd1.iso
CentOS-Stream-8-x86_64-20210803-dvd1.iso.manifest
CentOS-Stream-8-x86_64-latest-boot.iso -> CentOS-Stream-8-x86_64-20210803-boot.iso
CentOS-Stream-8-x86_64-latest-boot.iso.manifest -> CentOS-Stream-8-x86_64-20210803-boot.iso.manifest 
CentOS-Stream-8-x86_64-latest-dvd1.iso -> CentOS-Stream-8-x86_64-20210803-dvd1.iso
CentOS-Stream-8-x86_64-latest-dvd1.iso.manifest -> CentOS-Stream-8-x86_64-20210803-dvd1.iso.manifest 
CHECKSUM
CHECKSUM.asc

# CentOS-Stream-8-x86_64-20210803-boot.iso: 770703360 bytes
SHA256 (CentOS-Stream-8-x86_64-20210803-boot.iso) = 25d707358113a000329861860957e37d970fff6ae16e14783c031889c756ec6a
# CentOS-Stream-8-x86_64-20210803-dvd1.iso: 10317987840 bytes
SHA256 (CentOS-Stream-8-x86_64-20210803-dvd1.iso) = d4c3b409806534c546d34d4a4e0b273a194498fee170fb4cd28cf53a75b0def3
# CentOS-Stream-8-x86_64-latest-boot.iso: 770703360 bytes
SHA256 (CentOS-Stream-8-x86_64-latest-boot.iso) = 25d707358113a000329861860957e37d970fff6ae16e14783c031889c756ec6a
# CentOS-Stream-8-x86_64-latest-dvd1.iso: 10317987840 bytes
SHA256 (CentOS-Stream-8-x86_64-latest-dvd1.iso) = d4c3b409806534c546d34d4a4e0b273a194498fee170fb4cd28cf53a75b0def3


Give this a little time to sync out to the mirrors, then give it a shot in your tooling to see if it works for you.

Comment 2 Carl George 🤠 2021-09-13 22:45:54 UTC
How is this working for you Lance?

Comment 3 Lance Albertson 2021-09-13 23:06:59 UTC
Working great! Feel free to close this. Thanks for getting this in place.