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:
parent
05a2c1acbd
commit
2f2387fc3b
@ -133,15 +133,6 @@ inspector_rule_deploy_ramdisk:
|
|||||||
path: "driver_info/deploy_ramdisk"
|
path: "driver_info/deploy_ramdisk"
|
||||||
value: "{{ inspector_rule_var_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.
|
# Ironic inspector rule to initialise root device hints.
|
||||||
inspector_rule_root_hint_init:
|
inspector_rule_root_hint_init:
|
||||||
description: "Initialise root device hint"
|
description: "Initialise root device hint"
|
||||||
@ -306,7 +297,6 @@ inspector_rules_default:
|
|||||||
- "{{ inspector_rule_ipmi_credentials }}"
|
- "{{ inspector_rule_ipmi_credentials }}"
|
||||||
- "{{ inspector_rule_deploy_kernel }}"
|
- "{{ inspector_rule_deploy_kernel }}"
|
||||||
- "{{ inspector_rule_deploy_ramdisk }}"
|
- "{{ inspector_rule_deploy_ramdisk }}"
|
||||||
- "{{ inspector_rule_local_boot }}"
|
|
||||||
- "{{ inspector_rule_root_hint_init }}"
|
- "{{ inspector_rule_root_hint_init }}"
|
||||||
- "{{ inspector_rule_root_hint_serial }}"
|
- "{{ inspector_rule_root_hint_serial }}"
|
||||||
- "{{ inspector_rule_set_pxe_interface_mac }}"
|
- "{{ inspector_rule_set_pxe_interface_mac }}"
|
||||||
|
@ -110,10 +110,6 @@ kolla_ironic_enabled_vendor_interfaces:
|
|||||||
# vendor_interface field set.
|
# vendor_interface field set.
|
||||||
kolla_ironic_default_vendor_interface: no-vendor
|
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.
|
# 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' }}"
|
kolla_ironic_cleaning_network: "{{ kolla_ironic_provisioning_network if cleaning_net_name == provision_wl_net_name else 'cleaning-net' }}"
|
||||||
|
|
||||||
|
@ -249,10 +249,6 @@ kolla_ironic_enabled_vendor_interfaces: []
|
|||||||
# vendor_interface field set.
|
# vendor_interface field set.
|
||||||
kolla_ironic_default_vendor_interface:
|
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.
|
# Name or UUID of the Neutron network to use for cleaning.
|
||||||
kolla_ironic_cleaning_network:
|
kolla_ironic_cleaning_network:
|
||||||
|
|
||||||
|
@ -18,11 +18,6 @@ enabled_hardware_types: {{ kolla_ironic_enabled_hardware_types | join(',') }}
|
|||||||
[agent]
|
[agent]
|
||||||
deploy_logs_local_path = /var/log/kolla/ironic/deploy
|
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]
|
[neutron]
|
||||||
cleaning_network = {{ kolla_ironic_cleaning_network }}
|
cleaning_network = {{ kolla_ironic_cleaning_network }}
|
||||||
provisioning_network = {{ kolla_ironic_provisioning_network }}
|
provisioning_network = {{ kolla_ironic_provisioning_network }}
|
||||||
|
@ -84,9 +84,6 @@
|
|||||||
# Ironic inspector rule to set deployment ramdisk.
|
# Ironic inspector rule to set deployment ramdisk.
|
||||||
#inspector_rule_deploy_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.
|
# Ironic inspector rule to initialise root device hints.
|
||||||
#inspector_rule_root_hint_init:
|
#inspector_rule_root_hint_init:
|
||||||
|
|
||||||
|
@ -91,10 +91,6 @@
|
|||||||
# vendor_interface field set.
|
# vendor_interface field set.
|
||||||
#kolla_ironic_default_vendor_interface:
|
#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.
|
# Name of the Neutron network to use for cleaning.
|
||||||
#kolla_ironic_cleaning_network:
|
#kolla_ironic_cleaning_network:
|
||||||
|
|
||||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user