I think some people have seen similar problems with Centos before.
I have the Rocky 8 Repos mirrored, and here is what katello is sending in the kickstart file for the repo configs:
# Install media
url --url http://foreman.xxxxxx.com/pulp/content/XXX/dev/View-Rocky-8-Default/custom/Rocky_Linux_8/Rocky_8_BaseOS_x86_64_os/
# Additional Media
# name: Rocky_8_BaseOS_x86_64_os
repo --name Rocky_8_BaseOS_x86_64_os --baseurl http://foreman.xxxxxx.com/pulp/content/XXX/dev/View-Rocky-8-Default/custom/Rocky_Linux_8/Rocky_8_BaseOS_x86_64_os/ --install
# name: Rocky_8_AppStream_x86_64_os
repo --name AppStream --baseurl http://foreman.xxxxxx.com/pulp/content/XXX/dev/View-Rocky-8-Default/custom/Rocky_Linux_8/Rocky_8_AppStream_x86_64_os/ --install
But there is a .treeinfo in the Rocky_8_BaseOS_x86_64_os/ repo that has this in it:
[variant-AppStream]
id = AppStream
name = AppStream
packages = AppStream/Packages
repository = AppStream
type = variant
uid = AppStream
I think that is causing the kickstart to think there should be a ./AppStream/Packages directory under the OS repo directory and making the kickstart fail with this:
15:36:23,138 DBG packaging: Using the repo configuration: RepoConfigurationData(cost=1000, excluded_packages=[], included_packages=[], name='anaconda-0', proxy='', ssl_configuration=SSLConfigurationData
(ca_cert_path='', client_cert_path='', client_key_path=''), ssl_verification_enabled=True, type='BASEURL', url='http://foreman.XXXXXXX.com/pulp/content/XXXXXX/dev/View-Rocky-8-Default/custom/R
ocky_Linux_8/Rocky_8_BaseOS_x86_64_os/')
15:36:23,140 DBG packaging: retrieving treeinfo from http://foreman.XXXXXXX.com/pulp/content/XXXXXX/dev/View-Rocky-8-Default/custom/Rocky_Linux_8/Rocky_8_BaseOS_x86_64_os/ (proxy: None ; ssl_v
erify: True)
15:36:23,141 INF packaging: Trying to download '.treeinfo'
15:36:23,167 DBG packaging: Retrieved '.treeinfo' from http://foreman.XXXXXXX.com/pulp/content/XXXXXX/dev/View-Rocky-8-Default/custom/Rocky_Linux_8/Rocky_8_BaseOS_x86_64_os/
15:36:23,175 DBG packaging: getting release version from tree at http://foreman.XXXXXXX.com/pulp/content/XXXXXX/dev/View-Rocky-8-Default/custom/Rocky_Linux_8/Rocky_8_BaseOS_x86_64_os/ (8)
15:36:23,176 DBG packaging: using treeinfo release version of 8
15:36:23,177 DBG packaging: Treeinfo points base repository to http://foreman.XXXXXXX.com/pulp/content/XXXXXX/dev/View-Rocky-8-Default/custom/Rocky_Linux_8/Rocky_8_BaseOS_x86_64_os/.
15:36:23,177 DBG packaging: releasever from http://foreman.XXXXXXX.com/pulp/content/XXXXXX/dev/View-Rocky-8-Default/custom/Rocky_Linux_8/Rocky_8_BaseOS_x86_64_os/ is 8
15:36:23,178 DBG packaging: Adding new treeinfo repository: AppStream enabled: True
15:36:23,179 INF packaging: added repo: 'AppStream' - http://foreman.XXXXXXX.com/pulp/content/XXXXXX/dev/View-Rocky-8-Default/custom/Rocky_Linux_8/Rocky_8_BaseOS_x86_64_os/AppStream
15:36:23,195 DBG dnf: repo: downloading from remote: AppStream
15:36:23,222 DBG dnf: error: Status code: 404 for http://foreman.XXXXXXX.com/pulp/content/XXXXXX/dev/View-Rocky-8-Default/custom/Rocky_Linux_8/Rocky_8_BaseOS_x86_64_os/AppStream/repodata/repom
d.xml (IP: 10.245.2.51) (http://foreman.XXXXXXX.com/pulp/content/XXXXXX/dev/View-Rocky-8-Default/custom/Rocky_Linux_8/Rocky_8_BaseOS_x86_64_os/AppStream/repodata/repomd.xml).
Has anyone come up with a solution?