CentOS Kickstart stopped working after weekly sync.
We have an issue where we will need to update our ISO to match the latest kickstart from CentOS again. Seems like even though we have our CentOS 8.2 Kickstart Repository locked into a Content View, the backend repository gets updated and the kernel version changes. So when we boot from our 8.2 ISO (or PXE boot) and when it attempts to connect to the CentOS 8.2 Kickstart repo on the foreman server it will not allow anaconda to fully boot.
So for a quick example that I am seeing... I sync'd my kickstart repository from http://mirror.centos.org/centos/8.2.2004/BaseOS/x86_64/kickstart. If you look at the files within http://mirror.centos.org/centos/8.2.2004/BaseOS/x86_64/kickstart/images/pxeboot you will see the dates and sizes of the files that I expect. BUT now when we sync'd the standard repository for CentOS which is now 8.3 from http://mirror.centos.org/centos/8/BaseOS/x86_64/os into a different repo and content view... We are getting the file size and dates within our CentOS 8.2 Kickstart Content View found within http://mirror.centos.org/centos/8/BaseOS/x86_64/os/images/pxeboot.
#1 Updated by Lukas Zapletal over 1 year ago
- Status changed from New to Need more information
it appears you accidentally added 8 as 8.3. Compare the difference:
These are two very different repositories! Typically you want to synchronize both, the 8.y is used for provisioning (kickstart tree, PXE files) while 8 is used to update your systems from. Do not use 8 to kickstart because this tree changes over time and also PXE files gets regenerated which can cause issues on TFTP proxy (we use wget -c to download files and that can cause problems - this is a bug we want to fix).
Correct your upstream URLs and synchronize again. If you still see a difference and some files don't get synchronized then let's move this issue to Katello project for further investigation.
#2 Updated by Hil Palmer over 1 year ago
I understand that.
I am currently using the kickstart from the 8.2.2004 repo.
I am using the 8 (latest version) for my system repo for patching. This is where the files were updated.
But it effected my packages in my 8.2.2004 kickstart repo. If I look at the file system the file link within my kickstart repo points to the same file in the distribution contents as the link in my patching repo. The date on the link is correct, but the actual file is the updated one.
#4 Updated by Hil Palmer over 1 year ago
- File Update Repo - CentOS 8.png Update Repo - CentOS 8.png added
- File Kickstart Repo - CentOS 8.2.png Kickstart Repo - CentOS 8.2.png added
I would assume to reproduce... Get the kickstart repo setup and synced. Even put it into a Content View. Then setup the update channel and then sync it.
Attached is what I have configured, plus what I am seeing on the console.