Skip to content

Commit 0278bf2

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

File tree

1 file changed

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

1 file changed

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

0 commit comments

Comments
 (0)