Description of problem:
Full Host ISO generated with 1 byte size init ram disk with on demand download policy kickstart repository
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Sync RHEL 7.6 Server Kicstart repository with on demand download policy
2. Generate Full Host ISO image
3. Check content of the generated ISO image
│ ├── dhat76_7_6_x86_64_initrd_img
│ └── redhat76_7_6_x86_64_vmlinuz
1 directory, 5 files
$ ll boot
-r-xr-xr-x. 1 root root 0 Feb 4 16:09 dhat76_7_6_x86_64_initrd_img
-r-xr-xr-x. 1 root root 0 Feb 4 16:09 redhat76_7_6_x86_64_vmlinuz
vmlinuz and initrd.img generated properly on the ISO.
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25992 has been resolved.
WORKAROUND: Do not use on-demand policy for kickstart repos if you plan to generate bootdisks for them.
I will say this is also a regression because this previously worked until on-demand policy was introduced in 6.2. However it is too late, we will ship this in Satellite 6.6.
on sat6.6.0 snap #19
1. i synced rhel8 kickstart repos with on_demand dl policy
2. i created a record for a rhel8 bare metal host
3. I downloaded full bootdisk image
$ ll -h bm1.khw2.lab.eng.bos.redhat.com_20190910_1835.iso
-rw-rw-r--. 1 rplevka rplevka 66M Sep 10 12:36 bm1.khw2.lab.eng.bos.redhat.com_20190910_1835.iso
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.