# Ironic network config - cannot locate tftp file

I have an all-in-one setup with kolla-ansible (using 7.0.0), with ironic enabled.

I am trying to use ironic to install machines, but they can never find their config file. The target machine will boot, DHCP to get an address, and then fail to download a config file over TFTP. Tcpdump shows it is definitely trying.

The network which the target machine gets a DHCP address on is the one connected to "enp0s25" (the "network_interface" setting in globals.yml), and the address it gets is in the "ironic_dnsmasq_dhcp_range" range. This interface is not tied to any network object in openstack.

When I define the machine in horizon, I am using an external network "public1" (on "physnet1", on "br-ex", on "enp0s25.202"). That is not the same network as the DHCP service is on, which is suspicious to me - but I can't see how I can define it to match.

I am using the staging-wol driver, as I have no separate BMC.

I can't figure this out. Do I have the network configured incorrectly in some way? Are the tftp config files available, if my machine was asking in some different way? Where should I look to diagnose this?

Thanks, -- JL

/etc/kolla/globals.yml:

---
docker_registry: "192.168.2.1:5001"
kolla_install_type: "binary"
network_interface: "enp0s25"
neutron_external_interface: "enp0s25.202"
kolla_external_vip_interface: "wlp2s0"

enable_ironic: "yes"
enable_ironic_ipxe: "yes"
ironic_dnsmasq_dhcp_range: "192.168.2.100,192.168.2.199"
ironic_cleaning_network: "public1"  # ???
ironic_dnsmasq_boot_file: pxelinux.0
ironic_ipxe_port: "8089"
...

edit retag close merge delete

Sort by » oldest newest most voted

I have figured it out.

What I had not understood was that enabling iPXE effectively disables PXE, and that iPXE only works with compatible hardware.

I could see the TFTP files appearing in /httpboot, (which is for iPXE), but not in /tftpboot (which is for PXE).

Changing enable_ironic_ipxe to "no" and re-deploying solved the problem.

more