From 19207e1bb23e4185bb1be1ff70731a2d68a5d6f6 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Tue, 17 Sep 2024 11:04:00 +0200 Subject: [PATCH] Configure IPA with useful inspection settings Add configuration to include extra-hardware and mellanox elements, with other useful collectors and kernel settings. --- etc/kayobe/ipa.yml | 15 ++++++++++++--- .../ipa-inspection-settings-133fe91b1d855fa0.yaml | 5 +++++ 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 releasenotes/notes/ipa-inspection-settings-133fe91b1d855fa0.yaml diff --git a/etc/kayobe/ipa.yml b/etc/kayobe/ipa.yml index 5877d039a..6d350a6c0 100644 --- a/etc/kayobe/ipa.yml +++ b/etc/kayobe/ipa.yml @@ -29,7 +29,9 @@ # List of additional Diskimage Builder (DIB) elements to use when building IPA # images. Default is none. -#ipa_build_dib_elements_extra: +ipa_build_dib_elements_extra: + - extra-hardware + - mellanox # List of Diskimage Builder (DIB) elements to use when building IPA images. # Default is combination of ipa_build_dib_elements_default and @@ -115,7 +117,10 @@ #ipa_collectors_default: # List of additional inspection collectors to run. -#ipa_collectors_extra: +ipa_collectors_extra: + - "dmi-decode" + - "extra-hardware" + - "numa-topology" # List of inspection collectors to run. #ipa_collectors: @@ -133,7 +138,11 @@ #ipa_kernel_options_default: # List of additional kernel parameters for Ironic python agent. -#ipa_kernel_options_extra: +ipa_kernel_options_extra: + # Useful until NTP is configured by default + - ipa-insecure=1 + # Avoid disk benchmark failures on some NVMe drives + - nvme_core.multipath=N # List of kernel parameters for Ironic python agent. #ipa_kernel_options: diff --git a/releasenotes/notes/ipa-inspection-settings-133fe91b1d855fa0.yaml b/releasenotes/notes/ipa-inspection-settings-133fe91b1d855fa0.yaml new file mode 100644 index 000000000..cfb761290 --- /dev/null +++ b/releasenotes/notes/ipa-inspection-settings-133fe91b1d855fa0.yaml @@ -0,0 +1,5 @@ +--- +features: + - | + Configures the Ironic Python Agent with useful settings for inspection, + such as the ``extra-hardware`` and ``mellanox`` elements.