Remove legacy Ironic driver references
From Rocky, Ironic no longer supports drivers, in favour of hardware types. Hardware types were already implemented for the overcloud Ironic, this change ensures that Bifrost configuration is given hardware types where necessary. Change-Id: Iea91d2cd88b7566bb9cad20367ec64b9213d8845
This commit is contained in:
parent
60ecee2b25
commit
d253ca87f2
@ -38,8 +38,9 @@ kolla_bifrost_dib_packages: []
|
||||
###############################################################################
|
||||
# Ironic configuration.
|
||||
|
||||
# Whether to enable ipmitool-based drivers.
|
||||
kolla_bifrost_enable_ipmitool_drivers: true
|
||||
# List of hardware types to enable for Bifrost's Ironic.
|
||||
kolla_bifrost_enabled_hardware_types:
|
||||
- ipmi
|
||||
|
||||
###############################################################################
|
||||
# Ironic Inspector configuration.
|
||||
|
@ -2,11 +2,6 @@
|
||||
###############################################################################
|
||||
# Ironic configuration.
|
||||
|
||||
# List of enabled Ironic drivers.
|
||||
kolla_ironic_drivers:
|
||||
- agent_ipmitool
|
||||
- pxe_ipmitool
|
||||
|
||||
# Specify the list of hardware types to load during service initialization.
|
||||
kolla_ironic_enabled_hardware_types:
|
||||
- ipmi
|
||||
|
@ -5,8 +5,6 @@
|
||||
- kolla-bifrost
|
||||
vars:
|
||||
kolla_bifrost_extra_globals_path: "{{ kayobe_config_path ~ '/kolla/config/bifrost/bifrost.yml' }}"
|
||||
kolla_bifrost_driver_map:
|
||||
- { name: agent_ipmitool, enabled: "{{ kolla_bifrost_enable_ipmitool_drivers | bool }}" }
|
||||
|
||||
pre_tasks:
|
||||
- name: Check whether a Kolla Bifrost extra globals configuration file exists
|
||||
@ -25,11 +23,6 @@
|
||||
roles:
|
||||
- role: kolla-bifrost
|
||||
|
||||
# Generate a list of enabled drivers from the map.
|
||||
kolla_bifrost_enabled_drivers: >
|
||||
{{ kolla_bifrost_driver_map | selectattr('enabled') | map(attribute='name') | list }}
|
||||
kolla_bifrost_enable_pxe_drivers: false
|
||||
|
||||
# Network configuration.
|
||||
kolla_bifrost_dhcp_pool_start: "{{ provision_oc_net_name | net_inspection_allocation_pool_start }}"
|
||||
kolla_bifrost_dhcp_pool_end: "{{ provision_oc_net_name | net_inspection_allocation_pool_end }}"
|
||||
|
@ -20,14 +20,8 @@ kolla_bifrost_dib_env_vars: {}
|
||||
# List of DIB image packages.
|
||||
kolla_bifrost_dib_packages: []
|
||||
|
||||
# List of Ironic drivers to enable.
|
||||
kolla_bifrost_enabled_drivers: []
|
||||
|
||||
# Whether to enable the Ironic PXE drivers.
|
||||
kolla_bifrost_enable_pxe_drivers: false
|
||||
|
||||
# List of Ironic PXE drivers to enable if kolla_bifrost_enable_pxe_drivers.
|
||||
kolla_bifrost_pxe_drivers: []
|
||||
# List of hardware types to enable for Bifrost's Ironic.
|
||||
kolla_bifrost_enabled_hardware_types: []
|
||||
|
||||
# IP address range for DHCP.
|
||||
kolla_bifrost_dhcp_pool_start:
|
||||
|
@ -1,12 +1,6 @@
|
||||
---
|
||||
# List of enabled Ironic drivers.
|
||||
enabled_drivers: "{{ kolla_bifrost_enabled_drivers | join(',') }}"
|
||||
|
||||
# Whether to enable legacy PXE/iscsi drivers.
|
||||
enable_pxe_drivers: {{ kolla_bifrost_enable_pxe_drivers | bool }}
|
||||
|
||||
# List of legacy PXE/iscsi drivers to enable.
|
||||
pxe_drivers: "{{ kolla_bifrost_pxe_drivers | join(',') }}"
|
||||
# List of enabled Ironic hardware types.
|
||||
enabled_hardware_types: "{{ kolla_bifrost_enabled_hardware_types | join(',') }}"
|
||||
|
||||
# IP address range for DHCP.
|
||||
dhcp_pool_start: "{{ kolla_bifrost_dhcp_pool_start }}"
|
||||
|
@ -1,11 +1,7 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
[DEFAULT]
|
||||
enabled_drivers = {{ kolla_ironic_drivers | join(',') }}
|
||||
|
||||
{% if kolla_ironic_enabled_hardware_types %}
|
||||
enabled_hardware_types: {{ kolla_ironic_enabled_hardware_types | join(',') }}
|
||||
{% endif %}
|
||||
|
||||
{# Add configuration of enabled and default dynamic driver interfaces. #}
|
||||
{% set interfaces=['boot', 'console', 'deploy', 'inspect', 'management',
|
||||
|
@ -34,8 +34,8 @@
|
||||
###############################################################################
|
||||
# Ironic configuration.
|
||||
|
||||
# Whether to enable ipmitool-based drivers.
|
||||
#kolla_bifrost_enable_ipmitool_drivers:
|
||||
# List of hardware types to enable for Bifrost's Ironic.
|
||||
#kolla_bifrost_enabled_hardware_types:
|
||||
|
||||
###############################################################################
|
||||
# Ironic Inspector configuration.
|
||||
|
@ -2,9 +2,6 @@
|
||||
###############################################################################
|
||||
# Ironic configuration.
|
||||
|
||||
# List of enabled Ironic drivers.
|
||||
#kolla_ironic_drivers:
|
||||
|
||||
# Specify the list of hardware types to load during service initialization.
|
||||
#kolla_ironic_enabled_hardware_types:
|
||||
|
||||
|
@ -0,0 +1,12 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
Overcloud Ironic must now be configured with the variable
|
||||
``kolla_ironic_enabled_hardware_types``; ``kolla_ironic_drivers`` has been
|
||||
removed.
|
||||
- |
|
||||
Bifrost's ``kolla_bifrost_enable_ipmitool_drivers`` and
|
||||
``kolla_bifrost_enable_pxe_drivers`` variables have been removed. Bifrost
|
||||
must now be configured by setting the variable
|
||||
``kolla_bifrost_enabled_hardware_types`` to be a list of hardware types to
|
||||
enable.
|
Loading…
Reference in New Issue
Block a user