Provisioning hosts using Red Hat Satellite 6 Capsule Server fails when download policy for kickstart repos are set to On Demand
Environment
- Red Hat Satellite 6
- Red Hat Capsule 6
Issue
-
Provisioning hosts using Satellite Capsule Server fails when the Satellite kickstart repos are set to On Demand and the Capsule Server synchronization is also set to On Demand.
-
The Satellite Server is able to provision successfully, but provisioning using Capsule Server fails when the kickstart repositories have the On Demand download policy.
Example, when provisioning a RHEL8.3 vm from the capsule, where the RHEL8.3 Kickstart repo is set to download policy "On Demand", dracut captures below logs during provisioning:
[ 17.516924] rhel83test dracut-initqueue[1141]: anaconda: successfully fetched stage2 from http://cap6.example.com/pulp/repos/my_org/baseline_2020/RHEL_8_x86_64/content/dist/rhel8/8.3/x86_64/baseos/kickstart/
[ 17.633120] rhel83test kernel: loop: module loaded
[ 17.656135] rhel83test dracut-initqueue[1141]: losetup: /tmp/curl_fetch_url1/install.img: Warning: file does not fit into a 512-byte sector; the end of the file will be ignored.
- Capsule Server fails to provision hosts due to vmlinuz not being found.
Resolution
- Private This content is not included.BZ16981641 has been created for this issue.
- The workaround is to set “Immediate” as the download policy for the kickstart repos for the Satellite and Capsule Servers.
1: <This content is not included.https://bugzilla.redhat.com/show_bug.cgi?id=1698164>
For more KB articles/solutions related to Red Hat Satellite 6.x Provisioning Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x Provisioning related Issues
Root Cause
-
If the kickstart repo for the Capsule Server is set to On Demand, the kernel will not be available for the host boot.
-
The issue can occur unexpectedly due to On Demand being the default synchronization policy for new repositories beginning in Satellite 6.3.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.