[Satellite 6] Provisioning through Satellite fails with 'Warning: anaconda: failed to fetch kickstart from http://xxx.xxx.xxx.xxx'

Solution Verified - Updated

Environment

  • Red Hat Satellite 6.8

Issue

When creating new VMs on VMware using PXEBoot and Kickstart provisioning via Satellite, the provisioning of the new VM fails with the following warning:

Warning: anaconda: failed to fetch kickstart from http://xxx.xxx.xxx.xxx

Resolution

Run the following command on the Satellite server:

# satellite-installer --foreman-proxy-templates true

This will permanently set the :enabled: setting in /etc/foreman-proxy/settings.d/templates.yml to:

:enabled: true

and will fix the issue.

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

Diagnostic Steps

Check whether the :enabled: setting in /etc/foreman-proxy/settings.d/templates.yml is set to:

:enabled: true

You can do so by running the following command on your Satellite server:

# grep enabled /etc/foreman-proxy/settings.d/templates.yml
SBR
Product(s)

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.