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.