kolla-ansible/ansible/roles/ironic
Mark Goddard 4d64646699 Set [pxe] tftp_server in ironic.conf
The ironic TFTP server should be accessed via the internal API network.
For ironic inspector, dnsmasq.conf advertises this correctly:

dhcp-option=option:tftp-server,'api_interface_address'
dhcp-option=option:server-ip-address,'api_interface_address'

However, ironic conductor does not set the [pxe] tftp_server variable.
This means the TFTP server advertised gets the default value of $my_ip,
which is set by
https://docs.openstack.org/oslo.utils/latest/reference/netutils.html#oslo_utils.netutils.get_my_ipv4,
typically the source IP for the default route.

This change sets [pxe] tftp_server to 'api_interface_address'.

Change-Id: Ic3e688b3f2b92ad9515322f49cd5f4f29d763e49
Closes-Bug: #1808347
2019-02-04 09:48:52 +00:00
..
defaults Support Ironic Inspector dnsmasq PXE filter 2018-11-20 14:01:15 +00:00
handlers Apply Resource Constraints to Services. 2018-07-26 11:35:28 +00:00
meta Add Ansible support for Ironic 2015-09-28 16:10:43 -04:00
tasks Support stop specific containers 2018-11-26 08:07:01 +00:00
templates Set [pxe] tftp_server in ironic.conf 2019-02-04 09:48:52 +00:00