Ironic dnsmasq should not use VIP for TFTP server

The ironic_dnsmasq config for ironic inspector uses the internal VIP for
the TFTP server address DHCP option. This is not going to work,
since HAProxy is not configured to forward TFTP, and does not support
UDP forwarding anyway. The config should use the api_interface IP for
the host running ironic_dnsmasq.

Change-Id: I56a0d46e9b528041cacea7196a525891ed5922f0
Closes-Bug: #1761815
This commit is contained in:
Paul Bourke 2018-04-09 12:00:40 +01:00
parent 12791731c8
commit 2b3de16f81

View File

@ -1,8 +1,8 @@
port=0 port=0
interface={{ api_interface }} interface={{ api_interface }}
dhcp-range={{ ironic_dnsmasq_dhcp_range }} dhcp-range={{ ironic_dnsmasq_dhcp_range }}
dhcp-option=option:tftp-server,{{ kolla_internal_vip_address }} dhcp-option=option:tftp-server,{{ api_interface_address }}
dhcp-option=option:server-ip-address,{{ kolla_internal_vip_address }} dhcp-option=option:server-ip-address,{{ api_interface_address }}
bind-interfaces bind-interfaces
dhcp-sequential-ip dhcp-sequential-ip
dhcp-option=option:bootfile-name,pxelinux.0 dhcp-option=option:bootfile-name,pxelinux.0