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 - CentOS Stream ISO latest symlink
Summary: CentOS Stream ISO latest symlink
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: distribution
Version: CentOS Stream
Hardware: All
OS: Unspecified
unspecified
medium
Target Milestone: beta
: ---
Assignee: Carl George 🤠
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-01 23:28 UTC by Lance Albertson
Modified: 2021-11-17 02:06 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-17 02:06:20 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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