Provisioning a host using generic image fails with error Failed to chainload from any network interface in Red Hat Satellite 6
Environment
- Red Hat Satellite 6
Issue
-
Failed to provision a host while booting via Generic Image where the host boots up with iPXE firmware but fails to chainload the iPXE script from Satellite server.
-
iPXE firmware always queries to wrong satellite server for chainloading the next stage.
- Once chainloading completes the host is unable to fetch the kickstart and treeinfo file from Satellite server.
Resolution
-
Ensure that following configuration\settings have been maintained in Satellite server:
- The
Kickstart default iPXEtemplate should be associated with the requiredOperating System. - The
DHCP servershould be working properly andDNS servershould be able to resolve the satellite server'sFQDNwith the correct IP address. - The host being provisioned should be having proper
subnetassigned.
- The
-
If the generic image being used is old or belongs to another satellite server then regenerate a new image from the current satellite server, from where the provisioning is being attempted:
# hammer bootdisk generic --file /tmp/bootdisk-generic-`uname -n`.iso Successfully downloaded generic disk image to /tmp/bootdisk-generic-new-satellite.example.com.iso # ls -lah /tmp/bootdisk-generic-new-satellite.example.com.iso -rw-r--r--. 1 root root 1.0M Mar 12 05:55 /tmp/bootdisk-generic-new-satellite.example.com.iso -
Copy this generic image to your base system or to the Compute resource directly and then attach this image to the host and re-attempt the provisioning.
-
If RHEL 7 is being attempted to provision on a UEFI based system using the
Provisioning with Generic Imagemethod then refer this article to understand How to generate a UEFI compatible generic image ?. -
To understand more about how PXE-less provisioning works with
Generic image, please refer to - Creating New Hosts with PXE-less Provisioning.
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
-
The
iPXE templatewas not properly associated with the requiredOperating System. -
Generic imagebeing used was having wrong information inside it i.e.Fully-qualified-domain-name of old satellite server. -
The host created on satellite server was not having proper
subnetassigned.
Diagnostic Steps
- After booting from generic iso, open the console of that host and check if it's stuck at error displayed below.
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.