TFTP fails when provisioning systems using Satellite

Solution Verified - Updated

Environment

  • Red Hat Satellite 6.2

  • Red Hat Satellite 6.3

  • Isolated / dedicated provisioning interface

Issue

When provisioning systems using Satellite 6, the provisioning does not succeed, failing in the TFTP step.

The new system obtains correctly its IP address, but the TFTP operation dos not succeed.

Resolution

In order to fix it, run satellite-installer and define the IP address of your provisioning interface IP address:

# satellite-installer --foreman-proxy-tftp-servername=<IP OF YOUR SATELLITE PROVISIONING INTERFACE>

And deploy a new system.

Note: Existing deployment requests will not inherit the new next-server IP address, so they must be redeployed.

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

Satellite creates a DHCP leases file when provisioning new systems, pointing a wrong next-server configuration in the leases file, commonly pointing it to the server's public IP address, instead of the Provisioning interface.

Diagnostic Steps

  1. Look for the Default next-server setting in DHCP configuration:

     [root@satserver-rf ~]# grep next-server /etc/dhcp/dhcpd.conf 
     next-server 172.25.250.2;
    
  2. Now, identify the next-server clause in the leases file:

     [root@satserver-rf ~]# grep next-server /var/lib/dhcpd/dhcpd.leases
     supersede server.next-server = 0a:66:10:6a;
     supersede server.next-server = 0a:66:10:6a;
     supersede server.next-server = 0a:66:10:6a;
     supersede server.next-server = 0a:66:10:6a;
     supersede server.next-server = 0a:66:10:6a;
    

The leases file contains the supersede, which overrides the dhcpd.conf next-server clause, pointing it to a wrong IP address, 10.102.16.106 in this example. The hexa for 172.25.250.2 should be ac:19:fa:02.

SBR
Product(s)
Components
Category

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.