Merge "Deprecate enable_ironic_ipxe"
This commit is contained in:
commit
c6aec10667
@ -653,7 +653,6 @@ enable_horizon_watcher: "{{ enable_watcher | bool }}"
|
||||
enable_horizon_zun: "{{ enable_zun | bool }}"
|
||||
enable_influxdb: "{{ enable_monasca | bool or (enable_cloudkitty | bool and cloudkitty_storage_backend == 'influxdb') }}"
|
||||
enable_ironic: "no"
|
||||
enable_ironic_ipxe: "yes"
|
||||
enable_ironic_neutron_agent: "{{ enable_neutron | bool and enable_ironic | bool }}"
|
||||
enable_ironic_pxe_uefi: "no"
|
||||
enable_iscsid: "{{ enable_cinder | bool and enable_cinder_backend_iscsi | bool }}"
|
||||
|
@ -254,7 +254,9 @@ openstack_ironic_inspector_auth: "{{ openstack_auth }}"
|
||||
ironic_dnsmasq_interface: "{{ api_interface }}"
|
||||
ironic_dnsmasq_dhcp_range:
|
||||
ironic_dnsmasq_default_gateway:
|
||||
ironic_dnsmasq_boot_file: "{% if enable_ironic_ipxe | bool %}undionly.kpxe{% else %}pxelinux.0{% endif %}"
|
||||
# TODO(yoctozepto): Do not rely on deprecated enable_ironic_ipxe in Zed.
|
||||
ironic_dnsmasq_serve_ipxe: "{{ enable_ironic_ipxe | default(\"yes\") }}"
|
||||
ironic_dnsmasq_boot_file: "{% if ironic_dnsmasq_serve_ipxe | bool %}undionly.kpxe{% else %}pxelinux.0{% endif %}"
|
||||
ironic_dnsmasq_uefi_ipxe_boot_file: "snponly.efi"
|
||||
ironic_cleaning_network:
|
||||
ironic_console_serial_speed: "115200n8"
|
||||
|
@ -143,7 +143,7 @@
|
||||
- inventory_hostname in groups[service.group]
|
||||
- service.enabled | bool
|
||||
- not enable_ironic_pxe_uefi | bool
|
||||
- not enable_ironic_ipxe | bool
|
||||
- not ironic_dnsmasq_serve_ipxe | bool
|
||||
notify:
|
||||
- Restart ironic-tftp container
|
||||
|
||||
@ -183,7 +183,7 @@
|
||||
- inventory_hostname in groups[service.group]
|
||||
- service.enabled | bool
|
||||
- not enable_ironic_pxe_uefi | bool
|
||||
- not enable_ironic_ipxe | bool
|
||||
- not ironic_dnsmasq_serve_ipxe | bool
|
||||
notify:
|
||||
- Restart ironic-tftp container
|
||||
|
||||
|
@ -61,8 +61,8 @@
|
||||
when:
|
||||
# Only required when Ironic inspector is in use.
|
||||
- groups['ironic-inspector'] | length > 0
|
||||
- (not enable_ironic_ipxe | bool and inventory_hostname in groups['ironic-tftp']) or
|
||||
(enable_ironic_ipxe | bool and inventory_hostname in groups['ironic-http'])
|
||||
- (not ironic_dnsmasq_serve_ipxe | bool and inventory_hostname in groups['ironic-tftp']) or
|
||||
(ironic_dnsmasq_serve_ipxe | bool and inventory_hostname in groups['ironic-http'])
|
||||
- not enable_ironic_pxe_uefi | bool
|
||||
with_items:
|
||||
- "ironic-agent.kernel"
|
||||
|
@ -18,7 +18,7 @@ dhcp-option=3,{{ ironic_dnsmasq_default_gateway }}
|
||||
dhcp-option=option:tftp-server,{{ api_interface_address }}
|
||||
dhcp-option=option:server-ip-address,{{ api_interface_address }}
|
||||
dhcp-option=210,/var/lib/ironic/tftpboot/
|
||||
{% if enable_ironic_ipxe | bool %}
|
||||
{% if ironic_dnsmasq_serve_ipxe | bool %}
|
||||
dhcp-match=ipxe,175
|
||||
dhcp-match=set:efi,option:client-arch,7
|
||||
dhcp-match=set:efi,option:client-arch,9
|
||||
|
@ -4,7 +4,7 @@
|
||||
{
|
||||
"command": "/usr/sbin/in.tftpd --verbose --foreground --user root --address 0.0.0.0:69 --map-file /map-file /var/lib/ironic/tftpboot",
|
||||
"config_files": [
|
||||
{% if not enable_ironic_ipxe | bool and groups['ironic-inspector'] | length > 0 %}
|
||||
{% if not ironic_dnsmasq_serve_ipxe | bool and groups['ironic-inspector'] | length > 0 %}
|
||||
{% if not enable_ironic_pxe_uefi | bool %}
|
||||
{
|
||||
"source": "{{ container_config_directory }}/ironic-agent.kernel",
|
||||
|
@ -85,7 +85,7 @@ plain PXE by setting the following in
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
enable_ironic_ipxe: "no"
|
||||
ironic_dnsmasq_serve_ipxe: "no"
|
||||
|
||||
To revert Ironic to previous default as well, set ``pxe`` as
|
||||
``default_boot_interface`` in ``/etc/kolla/config/ironic.conf``:
|
||||
|
@ -336,7 +336,6 @@
|
||||
#enable_horizon_zun: "{{ enable_zun | bool }}"
|
||||
#enable_influxdb: "{{ enable_monasca | bool or (enable_cloudkitty | bool and cloudkitty_storage_backend == 'influxdb') }}"
|
||||
#enable_ironic: "no"
|
||||
#enable_ironic_ipxe: "yes"
|
||||
#enable_ironic_neutron_agent: "{{ enable_neutron | bool and enable_ironic | bool }}"
|
||||
#enable_ironic_pxe_uefi: "no"
|
||||
#enable_iscsid: "{{ enable_cinder | bool and enable_cinder_backend_iscsi | bool }}"
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
``enable_ironic_ipxe`` is deprecated in favour of
|
||||
``ironic_dnsmasq_serve_ipxe`` which reflects the effect better.
|
||||
``enable_ironic_ipxe`` will be removed in Zed.
|
Loading…
Reference in New Issue
Block a user