Commit Graph

14 Commits

Author SHA1 Message Date
Mark Goddard 428ef10fa4 Use merge_configs and merge_yaml to generate Kolla custom config
This patch adds new functionality - merging base & environment specific
kolla config. This allows you to place common settings in the base
configuration and only keep environment specific settings in the
environment directories.

Change-Id: Id4588f4529a4522e68e22ce58711cb927fa68a9d
Story: 2002009
Task: 42903
2023-05-30 16:47:14 +00:00
Pierre Riteau 2f2387fc3b 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
2022-09-30 09:09:59 +00:00
Mark Goddard 994af643e6 ironic: switch to kernel_append_params
Since I4fb42d376636dc363cd86950ed37de4a3d28df73, kolla-ansible sets
kernel_append_params in ironic.conf, instead of the deprecated
pxe_append_params. Make the same change in the Kayobe ironic.conf
template, to avoid getting shadowed by the kolla-ansible default.

This also fixes the overcloud TLS job, which started failing because it
lost the ipa-insecure kernel option, making the Ironic API callback
invalid.

Change-Id: Id7e4bd7f199ad9dcb21d5db082e7a187cb310df9
2022-03-18 20:42:25 +00:00
Mark Goddard f639ad0b35 Use ansible_facts to reference facts
By default, Ansible injects a variable for every fact, prefixed with
ansible_. This can result in a large number of variables for each host,
which at scale can incur a performance penalty. Ansible provides a
configuration option [0] that can be set to False to prevent this
injection of facts. In this case, facts should be referenced via
ansible_facts.<fact>.

This change updates all references to Ansible facts within Kayobe
from using individual fact variables to using the items in the
ansible_facts dictionary. This allows users to disable fact variable
injection in their Ansible configuration, which may provide some
performance improvement.

This change disables fact variable injection in the ansible
configuration used in CI, to catch any attempts to use the injected
variables.

[0] https://docs.ansible.com/ansible/latest/reference_appendices/config.html#inject-facts-as-vars

Story: 2007993
Task: 42464
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/791276

Change-Id: I14db53ed6e57d37bbd28dd5819e432e3fe6628b2
2021-08-21 09:57:29 +02:00
Bartosz Bezak 485fe811e6 Add Ironic enabled_bios_interfaces and default_bios_interface settings
Allow users to modify kolla_ironic_enabled_bios_interfaces and
kolla_ironic_default_bios_interface in ironic.yml.

Change-Id: I41d587ffdde77960bdce0c71d496820a33f71d74
2021-03-19 11:46:42 +01:00
Will Szumski 6430ec5261 format pxe_append_params as string and not a list
Please see: https://docs.openstack.org/ironic/latest/configuration/sample-config.html

Change-Id: Idc96523a5108712a072b14889b1fba0f05c381e8
Story: 2006707
Task: 37067
2019-10-14 10:22:46 +01:00
Will Miller d253ca87f2 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
2018-11-06 11:34:11 +00:00
Kayobe deployment user e7148bc61a Make tftp server listen on the internal interface
TrivialFix

Change-Id: I32e53f018e2d8b3f7740fb5fd2cb05074fb17661
2018-06-11 14:52:28 +01:00
Mark Goddard b32d9e404f Add configuration for ironic enable and default rescue interfaces
The rescue interface was added in the Queens release.
2018-01-31 12:27:16 +00:00
Mark Goddard b153fa1c4e Advertise internal ironic API to nodes during provisioning
Previously a URL based on the provisioning network IP was being advertised to
nodes during provisioning. The issue here is that the API server might not be
listening on the provisioning network. Instead we advertise the internal network
endpoint and assume that if any routes are required to enable this then they
have been created elsewhere.
2017-09-11 10:29:13 +00:00
Mark Goddard 704f25cae7 Flesh out Ironic configuration, particularly drivers
Also adds PXE append params with arguments to enable consoles
2017-04-01 09:25:10 +01:00
Mark Goddard 26be2c5af3 Support Neutron VLAN networks
For VLAN networks we need to use a tagged Linux bridge on the controller with a
veth pair to link it to the corresponding Neutron OVS bridge. This must be done
for the physical network(s) carrying the provisioning, tenant, and external
network traffic. We also need untagged VLAN subinterfaces on the tagged bridge
for the controller to communicate on these networks with.

The network interface role in use requires that we use two passes through
interface configuration to ensure that VLAN subinterfaces can be added to
bridge interfaces.

Finally, we must configure Ironic with the name of the Neutron network used
for provisioning.
2017-03-24 16:14:48 +00:00
Mark Goddard 133511b466 Improve configuration of Ironic and Ironic inspector
Reuse much of the Bifrost inspector configuration for the main inspector
instance.
2017-03-15 10:19:42 +00:00
Mark Goddard b654a70e65 Initial mega commit of Kayobe 2017-02-14 15:14:29 +00:00