Skip to content

Commit 0c5d8f8

Browse files
committed
feat: add stress-ng to IPA image
1 parent 5e02047 commit 0c5d8f8

File tree

1 file changed

+159
-0
lines changed
  • etc/kayobe/environments/ci-builder

1 file changed

+159
-0
lines changed
Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
---
2+
# Ironic Python Agent (IPA) configuration.
3+
4+
###############################################################################
5+
# Ironic Python Agent (IPA) image build configuration.
6+
7+
# Whether to build IPA images from source.
8+
#ipa_build_images:
9+
10+
# URL of IPA source repository.
11+
#ipa_build_source_url:
12+
13+
# Version of IPA source repository. Default is {{ openstack_branch }}.
14+
#ipa_build_source_version:
15+
16+
# URL of IPA builder source repository.
17+
#ipa_builder_source_url:
18+
19+
# Version of IPA builder source repository. Default is {{ openstack_branch }}.
20+
#ipa_builder_source_version:
21+
22+
# List of additional build host packages to install. Default is an empty list.
23+
ipa_build_dib_host_packages_extra:
24+
- stress-ng
25+
26+
# List of default Diskimage Builder (DIB) elements to use when building IPA
27+
# images. Default is ["centos", "enable-serial-console",
28+
# "ironic-python-agent-ramdisk"] when os_distribution is "rocky", and
29+
# ["ubuntu", "enable-serial-console", "ironic-python-agent-ramdisk"] otherwise.
30+
#ipa_build_dib_elements_default:
31+
32+
# List of additional Diskimage Builder (DIB) elements to use when building IPA
33+
# images. Default is none.
34+
ipa_build_dib_elements_extra:
35+
- extra-hardware
36+
- mellanox
37+
38+
# List of Diskimage Builder (DIB) elements to use when building IPA images.
39+
# Default is combination of ipa_build_dib_elements_default and
40+
# ipa_build_dib_elements_extra.
41+
#ipa_build_dib_elements:
42+
43+
# Dictionary of default environment variables to provide to Diskimage Builder
44+
# (DIB) during IPA image build.
45+
#ipa_build_dib_env_default:
46+
47+
# Dictionary of additional environment variables to provide to Diskimage
48+
# Builder (DIB) during IPA image build.
49+
#ipa_build_dib_env_extra:
50+
51+
# Dictionary of environment variables to provide to Diskimage Builder (DIB)
52+
# during IPA image build.
53+
#ipa_build_dib_env:
54+
55+
# List of default git repositories containing Diskimage Builder (DIB) elements.
56+
# See stackhpc.openstack.os_images role for usage.
57+
# Default is one item for IPA builder.
58+
#ipa_build_dib_git_elements_default:
59+
60+
# List of additional git repositories containing Diskimage Builder (DIB)
61+
# elements. See stackhpc.openstack.os_images role for usage. Default is empty.
62+
#ipa_build_dib_git_elements_extra:
63+
64+
# List of git repositories containing Diskimage Builder (DIB) elements. See
65+
# stackhpc.openstack.os_images role for usage. Default is a combination of
66+
# ipa_build_dib_git_elements_default and ipa_build_dib_git_elements_extra.
67+
#ipa_build_dib_git_elements:
68+
69+
# List of DIB packages to install. Default is none.
70+
#ipa_build_dib_packages:
71+
72+
# Upper constraints file for installing packages in the virtual environment
73+
# used for building IPA images. Default is {{ pip_upper_constraints_file }}.
74+
#ipa_build_upper_constraints_file:
75+
76+
# Upper constraints file for installation of DIB to build IPA images.
77+
# Default is empty string.
78+
#ipa_build_dib_upper_constraints_file:
79+
80+
###############################################################################
81+
# Ironic Python Agent (IPA) images configuration.
82+
83+
# Suffix of upstream Ironic deployment image files. Default is based on
84+
# {{ openstack_branch }}.
85+
#ipa_images_upstream_url_suffix:
86+
87+
# Name of Ironic deployment kernel image to register in Glance.
88+
#ipa_images_kernel_name:
89+
90+
# URL of Ironic deployment kernel image to download.
91+
ipa_kernel_upstream_url: "{{ (stackhpc_ipa_image_url + '/ipa.kernel') if stackhpc_ipa_image_overcloud_enabled | bool }}"
92+
93+
# URL of checksum of Ironic deployment kernel image.
94+
#ipa_kernel_checksum_url:
95+
96+
# Algorithm of checksum of Ironic deployment kernel image.
97+
#ipa_kernel_checksum_algorithm:
98+
99+
# Name of Ironic deployment ramdisk image to register in Glance.
100+
#ipa_images_ramdisk_name:
101+
102+
# URL of Ironic deployment ramdisk image to download.
103+
ipa_ramdisk_upstream_url: "{{ (stackhpc_ipa_image_url + '/ipa.initramfs') if stackhpc_ipa_image_overcloud_enabled | bool }}"
104+
105+
# URL of checksum of Ironic deployment ramdisk image.
106+
#ipa_ramdisk_checksum_url:
107+
108+
# Algorithm of checksum of Ironic deployment ramdisk image.
109+
#ipa_ramdisk_checksum_algorithm:
110+
111+
# IPA download parameters
112+
image_download_url_username: "{{ stackhpc_release_pulp_username }}"
113+
image_download_url_password: "{{ stackhpc_release_pulp_password }}"
114+
image_download_force_basic_auth: true
115+
image_download_unredirected_headers:
116+
- Authorization
117+
118+
###############################################################################
119+
# Ironic Python Agent (IPA) deployment configuration.
120+
121+
# Whether to enable collection of LLDP TLVs.
122+
#ipa_collect_lldp:
123+
124+
# List of default inspection collectors to run.
125+
# NOTE: extra-hardware is not currently included as it requires a ramdisk
126+
# with the hardware python module installed.
127+
#ipa_collectors_default:
128+
129+
# List of additional inspection collectors to run.
130+
ipa_collectors_extra: "{{ ['dmi-decode', 'extra-hardware', 'numa-topology'] if ipa_build_images or stackhpc_ipa_image_overcloud_enabled else [] }}"
131+
132+
# List of inspection collectors to run.
133+
#ipa_collectors:
134+
135+
# List of default inspection benchmarks to run.
136+
#ipa_benchmarks_default:
137+
138+
# List of extra inspection benchmarks to run.
139+
#ipa_benchmarks_extra:
140+
141+
# List of inspection benchmarks to run.
142+
#ipa_benchmarks:
143+
144+
# List of default kernel parameters for Ironic python agent.
145+
#ipa_kernel_options_default:
146+
147+
# List of additional kernel parameters for Ironic python agent.
148+
ipa_kernel_options_extra:
149+
# Useful until NTP is configured by default
150+
- ipa-insecure=1
151+
# Avoid disk benchmark failures on some NVMe drives
152+
- nvme_core.multipath=N
153+
154+
# List of kernel parameters for Ironic python agent.
155+
#ipa_kernel_options:
156+
157+
###############################################################################
158+
# Dummy variable to allow Ansible to accept this file.
159+
workaround_ansible_issue_8743: yes

0 commit comments

Comments
 (0)