From 2b3de16f815ac145a0a9bb2af92b4a60c6423251 Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Mon, 9 Apr 2018 12:00:40 +0100 Subject: [PATCH] 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 --- ansible/roles/ironic/templates/ironic-dnsmasq.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/ironic/templates/ironic-dnsmasq.conf.j2 b/ansible/roles/ironic/templates/ironic-dnsmasq.conf.j2 index 5d339e59b5..f88d8f208f 100644 --- a/ansible/roles/ironic/templates/ironic-dnsmasq.conf.j2 +++ b/ansible/roles/ironic/templates/ironic-dnsmasq.conf.j2 @@ -1,8 +1,8 @@ port=0 interface={{ api_interface }} dhcp-range={{ ironic_dnsmasq_dhcp_range }} -dhcp-option=option:tftp-server,{{ kolla_internal_vip_address }} -dhcp-option=option:server-ip-address,{{ kolla_internal_vip_address }} +dhcp-option=option:tftp-server,{{ api_interface_address }} +dhcp-option=option:server-ip-address,{{ api_interface_address }} bind-interfaces dhcp-sequential-ip dhcp-option=option:bootfile-name,pxelinux.0