updated Ironic role to fix tftp-hpa issues
This change addresses two issues: 1 - the tftpd-hpa package has to be installed on all conductors regardless of standalone more or not. 2 - the tftpd-hpa has an issue where is till not function over ipv4 unless expressly set. To resolve this issue the default configuration file has been changed to lockdown the listen address and set the port. This is the related launchpad issue for tftp-hpa [0] [0] - https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/1448500 Change-Id: I9861de0a0384661a27f0971f77ab340f4c1d59e3 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
7e7962ae1f
commit
1cb4962922
@ -163,10 +163,10 @@ ironic_conductor_apt_packages:
|
|||||||
- python-yaml
|
- python-yaml
|
||||||
- open-iscsi
|
- open-iscsi
|
||||||
- ipmitool
|
- ipmitool
|
||||||
|
- tftpd-hpa
|
||||||
|
|
||||||
ironic_conductor_standalone_apt_packages:
|
ironic_conductor_standalone_apt_packages:
|
||||||
- isc-dhcp-server
|
- isc-dhcp-server
|
||||||
- tftpd-hpa
|
|
||||||
|
|
||||||
## RabbitMQ info
|
## RabbitMQ info
|
||||||
ironic_rabbitmq_userid: ironic
|
ironic_rabbitmq_userid: ironic
|
||||||
|
@ -34,8 +34,8 @@
|
|||||||
- tftpd-hpa
|
- tftpd-hpa
|
||||||
|
|
||||||
- name: Copy in tftpd-hpa config file
|
- name: Copy in tftpd-hpa config file
|
||||||
copy:
|
template:
|
||||||
src: tftpd-hpa
|
src: tftpd-hpa.j2
|
||||||
dest: /etc/default/tftpd-hpa
|
dest: /etc/default/tftpd-hpa
|
||||||
notify:
|
notify:
|
||||||
- Restart tftpd-hpa
|
- Restart tftpd-hpa
|
||||||
|
@ -134,6 +134,7 @@ pool_max_size = {{ ironic_wsgi_processes }}
|
|||||||
[oslo_policy]
|
[oslo_policy]
|
||||||
|
|
||||||
[pxe]
|
[pxe]
|
||||||
|
tftp_server = {{ ironic_tftp_server_address }}
|
||||||
|
|
||||||
[seamicro]
|
[seamicro]
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
TFTP_USERNAME="tftp"
|
TFTP_USERNAME="tftp"
|
||||||
TFTP_DIRECTORY="/tftpboot"
|
TFTP_DIRECTORY="/tftpboot"
|
||||||
TFTP_ADDRESS="[::]:69"
|
TFTP_ADDRESS="{{ ironic_tftp_server_address }}:69"
|
||||||
TFTP_OPTIONS="-vvvv --map-file /tftpboot/map-file"
|
TFTP_OPTIONS="-vvvv --map-file /tftpboot/map-file"
|
Loading…
Reference in New Issue
Block a user