51b84b6001
* Change default seed VM image to CentOS 8 * Change default bifrost deploy image to CentOS 8 * Workaround DIB bug https://bugs.launchpad.net/diskimage-builder/+bug/1866847 by setting DIB_DISABLE_KERNEL_CLEANUP to 1 * Install iptables on seed for SNAT - missing on CentOS 8 * Fix provider network MTU lookup for empty string * Bump stackhpc.libvirt-host to 1.7.0 for CentOS 8 support * Bump stackhpc.libvirt-vm to 1.13.0 for CentOS 8 support * Bump jriguera.configdrive for Python 3 support Change-Id: Ie0edf6a924a914395c6502e2d5cf1139bce14a48 Story: 2006574 Task: 39000
120 lines
4.4 KiB
Plaintext
120 lines
4.4 KiB
Plaintext
---
|
|
# Kayobe configuration for Bifrost.
|
|
|
|
###############################################################################
|
|
# Bifrost installation.
|
|
|
|
# URL of Bifrost source code repository.
|
|
kolla_bifrost_source_url: "https://opendev.org/openstack/bifrost"
|
|
|
|
# Version (branch, tag, etc.) of Bifrost source code repository. Default is
|
|
# {{ openstack_branch }}.
|
|
kolla_bifrost_source_version: "{{ openstack_branch }}"
|
|
|
|
###############################################################################
|
|
# Diskimage-builder configuration.
|
|
|
|
# DIB base OS element.
|
|
kolla_bifrost_dib_os_element: "centos"
|
|
|
|
# DIB image OS release.
|
|
kolla_bifrost_dib_os_release: "8"
|
|
|
|
# List of default DIB elements.
|
|
kolla_bifrost_dib_elements_default:
|
|
- "disable-selinux"
|
|
- "enable-serial-console"
|
|
- "vm"
|
|
|
|
# List of additional DIB elements.
|
|
kolla_bifrost_dib_elements_extra: []
|
|
|
|
# List of all DIB elements.
|
|
kolla_bifrost_dib_elements: "{{ kolla_bifrost_dib_elements_default + kolla_bifrost_dib_elements_extra }}"
|
|
|
|
# DIB init element.
|
|
kolla_bifrost_dib_init_element: "cloud-init-datasources"
|
|
|
|
# DIB default environment variables.
|
|
kolla_bifrost_dib_env_vars_default:
|
|
DIB_CLOUD_INIT_DATASOURCES: "ConfigDrive"
|
|
# FIXME(mgoddard): DIB fails when cleaning up old kernels if the host running
|
|
# DIB is not running the latest available kernel. Skip this cleanup as a
|
|
# workaround. https://bugs.launchpad.net/diskimage-builder/+bug/1866847
|
|
DIB_DISABLE_KERNEL_CLEANUP: 1
|
|
|
|
# DIB additional environment variables.
|
|
kolla_bifrost_dib_env_vars_extra: {}
|
|
|
|
# DIB environment variables.
|
|
kolla_bifrost_dib_env_vars: "{{ kolla_bifrost_dib_env_vars_default | combine(kolla_bifrost_dib_env_vars_extra) }}"
|
|
|
|
# List of DIB packages to install.
|
|
kolla_bifrost_dib_packages: []
|
|
|
|
###############################################################################
|
|
# Ironic configuration.
|
|
|
|
# List of hardware types to enable for Bifrost's Ironic.
|
|
kolla_bifrost_enabled_hardware_types:
|
|
- ipmi
|
|
|
|
###############################################################################
|
|
# Ironic Inspector configuration.
|
|
|
|
# List of of inspector processing plugins.
|
|
kolla_bifrost_inspector_processing_hooks: "{{ inspector_processing_hooks }}"
|
|
|
|
# Which MAC addresses to add as ports during introspection. One of 'all',
|
|
# 'active' or 'pxe'.
|
|
kolla_bifrost_inspector_port_addition: "{{ inspector_add_ports }}"
|
|
|
|
# List of extra kernel parameters for the inspector default PXE configuration.
|
|
kolla_bifrost_inspector_extra_kernel_options: "{{ inspector_extra_kernel_options }}"
|
|
|
|
# List of introspection rules for Bifrost's Ironic Inspector service.
|
|
kolla_bifrost_inspector_rules: "{{ inspector_rules }}"
|
|
|
|
# Ironic inspector IPMI username to set.
|
|
kolla_bifrost_inspector_ipmi_username: "{{ ipmi_username }}"
|
|
|
|
# Ironic inspector IPMI password to set.
|
|
kolla_bifrost_inspector_ipmi_password: "{{ ipmi_password }}"
|
|
|
|
# Ironic inspector network interface name on which to check for an LLDP switch
|
|
# port description to use as the node's name.
|
|
kolla_bifrost_inspector_lldp_switch_port_interface: "{{ inspector_lldp_switch_port_interface_default }}"
|
|
|
|
# Ironic inspector deployment kernel location.
|
|
kolla_bifrost_inspector_deploy_kernel: "http://{{ provision_oc_net_name | net_ip }}:8080/ipa.vmlinuz"
|
|
|
|
# Ironic inspector deployment ramdisk location.
|
|
kolla_bifrost_inspector_deploy_ramdisk: "http://{{ provision_oc_net_name | net_ip }}:8080/ipa.initramfs"
|
|
|
|
###############################################################################
|
|
# Ironic Python Agent (IPA) configuration.
|
|
|
|
# URL of Ironic Python Agent (IPA) kernel image.
|
|
kolla_bifrost_ipa_kernel_upstream_url: "{{ inspector_ipa_kernel_upstream_url }}"
|
|
|
|
# URL of checksum of Ironic Python Agent (IPA) kernel image.
|
|
kolla_bifrost_ipa_kernel_checksum_url: "{{ inspector_ipa_kernel_checksum_url }}"
|
|
|
|
# Algorithm of checksum of Ironic Python Agent (IPA) kernel image.
|
|
kolla_bifrost_ipa_kernel_checksum_algorithm: "{{ inspector_ipa_kernel_checksum_algorithm }}"
|
|
|
|
# URL of Ironic Python Agent (IPA) ramdisk image.
|
|
kolla_bifrost_ipa_ramdisk_upstream_url: "{{ inspector_ipa_ramdisk_upstream_url }}"
|
|
|
|
# URL of checksum of Ironic Python Agent (IPA) ramdisk image.
|
|
kolla_bifrost_ipa_ramdisk_checksum_url: "{{ inspector_ipa_ramdisk_checksum_url }}"
|
|
|
|
# Algorithm of checksum of Ironic Python Agent (IPA) ramdisk image.
|
|
kolla_bifrost_ipa_ramdisk_checksum_algorithm: "{{ inspector_ipa_ramdisk_checksum_algorithm }}"
|
|
|
|
###############################################################################
|
|
# Inventory configuration.
|
|
|
|
# Server inventory for Bifrost.
|
|
kolla_bifrost_servers: {}
|