Remove support for Ironic boot option

This has been dropped upstream in Ironic [1].

[1] https://review.opendev.org/c/openstack/ironic/+/850240

Change-Id: Ib95cdadb00a84edbf6d17de1c2bd450c002e798e
This commit is contained in:
Pierre Riteau 2022-09-27 11:50:38 +02:00
parent 05a2c1acbd
commit 2f2387fc3b
7 changed files with 8 additions and 30 deletions

View File

@ -133,15 +133,6 @@ inspector_rule_deploy_ramdisk:
path: "driver_info/deploy_ramdisk"
value: "{{ inspector_rule_var_deploy_ramdisk }}"
# Ironic inspector rule to set local boot capability
inspector_rule_local_boot:
description: "Set local boot capability"
conditions: []
actions:
- action: "set-capability"
name: "boot_option"
value: "local"
# Ironic inspector rule to initialise root device hints.
inspector_rule_root_hint_init:
description: "Initialise root device hint"
@ -306,7 +297,6 @@ inspector_rules_default:
- "{{ inspector_rule_ipmi_credentials }}"
- "{{ inspector_rule_deploy_kernel }}"
- "{{ inspector_rule_deploy_ramdisk }}"
- "{{ inspector_rule_local_boot }}"
- "{{ inspector_rule_root_hint_init }}"
- "{{ inspector_rule_root_hint_serial }}"
- "{{ inspector_rule_set_pxe_interface_mac }}"

View File

@ -110,10 +110,6 @@ kolla_ironic_enabled_vendor_interfaces:
# vendor_interface field set.
kolla_ironic_default_vendor_interface: no-vendor
# Default boot option to use when no boot option is requested in node's
# driver_info.
kolla_ironic_default_boot_option: local
# Name of the Neutron network to use for cleaning.
kolla_ironic_cleaning_network: "{{ kolla_ironic_provisioning_network if cleaning_net_name == provision_wl_net_name else 'cleaning-net' }}"

View File

@ -249,10 +249,6 @@ kolla_ironic_enabled_vendor_interfaces: []
# vendor_interface field set.
kolla_ironic_default_vendor_interface:
# Default boot option to use when no boot option is requested in node's
# driver_info.
kolla_ironic_default_boot_option:
# Name or UUID of the Neutron network to use for cleaning.
kolla_ironic_cleaning_network:

View File

@ -18,11 +18,6 @@ enabled_hardware_types: {{ kolla_ironic_enabled_hardware_types | join(',') }}
[agent]
deploy_logs_local_path = /var/log/kolla/ironic/deploy
[deploy]
{% if kolla_ironic_default_boot_option %}
default_boot_option = {{ kolla_ironic_default_boot_option }}
{% endif %}
[neutron]
cleaning_network = {{ kolla_ironic_cleaning_network }}
provisioning_network = {{ kolla_ironic_provisioning_network }}

View File

@ -84,9 +84,6 @@
# Ironic inspector rule to set deployment ramdisk.
#inspector_rule_deploy_ramdisk:
# Ironic inspector rule to set local boot capability
#inspector_rule_local_boot:
# Ironic inspector rule to initialise root device hints.
#inspector_rule_root_hint_init:

View File

@ -91,10 +91,6 @@
# vendor_interface field set.
#kolla_ironic_default_vendor_interface:
# Default boot option to use when no boot option is requested in node's
# driver_info.
#kolla_ironic_default_boot_option:
# Name of the Neutron network to use for cleaning.
#kolla_ironic_cleaning_network:

View File

@ -0,0 +1,8 @@
---
upgrade:
- |
Removes the ``kolla_ironic_default_boot_option`` variable and the
``inspector_rule_local_boot`` inspector rule, since Ironic has removed
support for defining a boot option configuration. The ``Set local boot
capability`` rule should be removed from Bifrost and Ironic Inspector by
the operator.