CentOS directory KS structure is no longer RH compatible
Hello, CentOS8 changed the directory structure. Instead centos/7/os/x86_64/ base directory it's now stored as centos/8/BaseOS/x86_64/os/ and centos/8/AppStream/x86_64/os/ respectively. For kickstart it's the same story:
The issue is, this is a different path than Red Hat has on CDN. Anaconda from CentOS assumes this new layout and includes AppStream using relative path so it ends up as:
That is unfortunately incorrect. So Pulp no longer works for CentOS8 kickstart repositories, I mean it will sync the content successfully but Anaconda will not install the OS due to missing repository. Workaround is quite dirty, an Apache rewrite rule that cannot be too much generic.
I think it's important that kickstarting CentOS8 works fine and out of box with Pulp, therefore I am filing this issue. There are two bug reports already filed:
Problem is that in Foreman/Katello we can only implement a dirty workaround. And CentOS will unlikely change directory structure now in the middle of a major release. I also do believe that it's unlikely to see a change in CentOS Anaconda to solve this situation and therefore Pulp need to detect CentOS and set up some links or change directory structure so it works out of box.
Thanks for help with this.
#3 Updated by email@example.com over 1 year ago
- Status changed from NEW to CLOSED - WONTFIX
Pulp 2 users can sync both BaseOS and Appstream repositories separately and construct the relative paths for them in such a way that this will work. We don't intend to change any behavior related to this in Pulp 2. However, we are making sure that CentOS 8 kickstart repos work well in Pulp 3.
Please register to edit this issue