Problem:
I am fairly new to Foreman, so I’m likely just missing something.
Created a new Content Product (CentOS 8 Stream in this case). Created and synced the repos (BaseOS and AppStream using repo discovery). Created and assigned an activation key.
I edited an existing CentOS 8 Streams host and changed the media from All Media to Synced Content and selected the BaseOS content.
When I tell it to “Build” the host, /var/lib/tftpboot/grub2/boot ends up with empty vmlinuz and initrd.img files.
-rw-r–r–. 1 foreman-proxy foreman-proxy 0 Jul 30 10:23 baseos-x86_64-os-3-initrd.img
-rw-r–r–. 1 foreman-proxy foreman-proxy 0 Jul 30 10:23 baseos-x86_64-os-3-vmlinuz
With this custom repo, I’m not sure where it’s supposed to get those files from? It doesn’t appears the images folder gets synced from the mirror.
Expected outcome:
Download the correct vmlinuz and initrd.img file from ?
Foreman and Proxy versions:
Foreman 2.5.2
Katello 4.1.2
Foreman and Proxy plugin versions:
Distribution and version:
CentOS 8 Stream
Other relevant data:
/var/log/foreman-proxy/proxy.log:
2021-07-30T10:23:06 f4b41073 [W] [67580] http://foreman8.domain.com/pulp/content/Default_Organization/Library/custom/CentOS_8_Streram/BaseOS_x86_64_os//images/pxeboot/vmlinuz:
2021-07-30T10:23:06 f4b41073 [W] [67580] 2021-07-30 10:23:06 ERROR 404: Not Found.