146 Commits

Author SHA1 Message Date
Zuul
59687c2c33 Merge "Revert "Pin TinyIPA images to stable/2024.2"" 2025-02-04 13:06:52 +00:00
Pierre Riteau
8b71c575cb Revert "Pin TinyIPA images to stable/2024.2"
This reverts commit f2a9daaab9474db50219d27d8ba43e1ef00a279b.

Reason for revert: TinyIPA images from master are working again

Change-Id: Ibef45fad608eecf76c398339a9c21a5cf7ba3b15
2025-01-25 08:38:48 +00:00
Zuul
fabad9af3d Merge "Synchronise configuration with master" 2024-12-11 17:46:23 +00:00
Pierre Riteau
17a9469839 Synchronise jobs with kayobe
Change-Id: Ie04bca5305f8dcb65e8765f8879811632a1ed30b
2024-12-10 10:40:12 +01:00
Pierre Riteau
f2a9daaab9 Pin TinyIPA images to stable/2024.2
TinyIPA master branch images are failing with:

    traps: ironic-python-a[495] trap invalid opcode ip:7efee73f58a2 sp:7ffcb6eaf7a8 error:0 in _rust.abi3.so[7efee7112000+631000]

Change-Id: I9e3fe774107fd7fe2bdfeffa5e95dceb8d3d522d
2024-12-09 21:39:17 +01:00
Pierre Riteau
b57ec5e4ba Synchronise configuration with master
Synchronised with kayobe @ 3c178846a4e40bfc1c5f6f3bed2f5f70bf226cf0.

Change-Id: Ia7a5187942feae380f33f218ae7a7382385d7ac3
2024-11-29 22:46:34 +01:00
Michal Nasiadka
7d423c45ae Store ironic-inspector data in database
We're observing a lot of CI failures caused by DockerHub pull limits.

Change-Id: I5d6489b092350078f1da4b8f740a097ea900b249
2024-11-25 10:18:43 +01:00
Pierre Riteau
85ef0fd5d9 Update bug tracker location
Change-Id: Ie1de758bd7015b377d14c16d3eada2cc2da303d0
2024-11-14 16:54:21 +01:00
Pierre Riteau
9087b242b8 [release] Synchronise with kayobe for 2024.2
Change-Id: Id420053d2489145795f56436a8247989fd406448
17.0.0.0rc1
2024-11-04 20:15:33 +01:00
Will Szumski
75047ec8c0 Sync with kayobe for 2024.1 release
A few more patches have landed.

kayobe commit: 6c6400f7cee845be0e5143036b5baa6e41c56fa3

Change-Id: I47e91198200eda6b7c4d6ebed6a1e5b06b59389b
16.0.0.0rc1 16.0.0
2024-06-05 17:14:01 +01:00
Pierre Riteau
772832ed5a [release] Synchronise with kayobe for 2024.1
Change-Id: Ib3f82028b275130eac31c1a297b2598dadea5fb2
2024-05-30 10:07:07 +02:00
Will Szumski
4a129cdb8e Replace docker group with container-engine
This is part of the move to support podman in kayobe.

Change-Id: I9899ca0542b81d6e3752c464bdebfb14cbf0ed48
2024-03-18 16:46:24 +00:00
Pierre Riteau
baf5c9f719 Use dummy1 as bridge port instead of eth1
With NetworkManager, the MichaelRigart.interfaces role only creates an
interface with the dummy type if it is called dummy*, otherwise it is
created as ethernet.

The default dev configuration was using eth1 for the bridge port, which
was causing issues on Rocky Linux 9, for example when following the
automated setup [1]. Switch to dummy1 to ensure a dummy port is created.

[1] https://docs.openstack.org/kayobe/latest/contributor/automated.html

Change-Id: Ib61a62e126c66d4133d8e80dff5643ebc6966bd1
2023-12-20 09:36:46 +01:00
Pierre Riteau
9ea61b6c17 [release] Synchronise with kayobe for 2023.2
Change-Id: I1605127271e852f2f58b00d0c357fcbec3a8d398
15.0.0.0rc1 15.0.0
2023-12-01 16:10:27 +01:00
Zuul
a58eb9a4a6 Merge "Rename disable_selinux_do_reboot" 2023-09-21 12:39:09 +00:00
Mark Goddard
74fb28fc17 2023.1 - Sync defaults with Kayobe
skydive != skyline

Change-Id: I5344752635a838b9ceda251c2b2a07c17b03b71b
2023-06-01 09:20:02 +01:00
Matt Crees
c558f2101b 2023.1 RC1 - Sync defaults with Kayobe
Change-Id: Ic57af218e52d050cec06fa2246d078f5ed792fa8
14.0.0.0rc1
2023-05-26 13:48:52 +01:00
Mark Goddard
e44fb75d18 Rename disable_selinux_do_reboot
It was renamed in the Zed release to selinux_do_reboot.

Change-Id: I6504337fd44e83120a201ae5b77cc030cb7738be
2023-05-17 13:50:02 +01:00
Bartosz Bezak
12cbf39eed Use custom cpu_models on Redhat family only
Change-Id: Ibe02bf3430bad3606e291273c8a1feb148b83711
2023-02-21 15:32:10 +01:00
Bartosz Bezak
416da1f522 set cpu_model to Nehalem for kvm jobs
RHEL 9 and Ubuntu Jammy are being compiled for the x86_64-v2
architecture which is newer than the qemu default of qemu64.
Nehalem is apparently the oldest model that works for x86_64-v2
and is expected to work on Intel and AMD cpus with kvm or qemu.

See devstack change [0].

[0]: Ibd6e11b59f3c8655bc60ace7383a08458b2177f2

Depends-on: https://review.opendev.org/c/openstack/kayobe/+/872981

Change-Id: I09567b4cce95ff1fe2fe4e9e91e49d5f5082f7d0
2023-02-08 10:44:33 +01:00
Bartosz Bezak
fad02cc642 [release] Sync kayobe-config-dev with kayobe changes
Change-Id: Iefdf14be37c4c66accf381f9a81c12d9588a1610
13.0.0.0rc1
2022-12-15 12:35:39 +01:00
Pierre Riteau
29cbdca60e Synchronise jobs with kayobe
Change-Id: Ib2dec2fc0666e4251ab6ea05ab3bb0772df2f830
2022-08-08 15:17:06 +02:00
Mark Goddard
05155c1dcb Avoid rebooting after disabling SELinux
This is generally not necessary in development environments, and makes
for an awkward development workflow.

Change-Id: I7191779c1fb3a192b401886cd591f12c4b0ab2b0
2022-06-10 13:42:20 +01:00
Pierre Riteau
bb58107464 [CI] Move queue setting to project level
Per [1].

[1] http://lists.zuul-ci.org/pipermail/zuul-discuss/2022-May/001801.html

Change-Id: I1f074e24612fb6f205008736330cf1e4b87469ab
2022-05-18 10:14:43 +02:00
Pierre Riteau
0780e85a63 [release] Synchronise with latest kayobe changes for Yoga
Change-Id: Ie58a441e3d57e476084d2bd611fe7a397d136323
2022-04-27 12:42:03 +02:00
Mark Goddard
c9eb566463 [release] Sync with kayobe changes for Yoga
Depends-On: https://review.opendev.org/c/openstack/kayobe-config/+/836041
Change-Id: If0a162a9d21c89fa6122c26dff4a484508d89c04
12.0.0.0rc1
2022-04-11 14:39:42 +01:00
Mark Goddard
d8efff0912 Revert "Configure Ironic to use bios boot mode"
This reverts commit da6623c0849bf5572ff2574103195d38d72158ae.

Reason for revert: Tenks now supports UEFI boot mode.

Change-Id: I988a46b19a7dbad827466d9702d8f63f47d1d838
2022-03-07 12:58:25 +01:00
Mark Goddard
46519602de libvirt: Don't require Virtualisation Technology (VT)
Hosts used for development, test or CI may not have Virtualization
Technology (VT) enabled. Don't fail if it's disabled.

Story: 2009858
Task: 44496

Change-Id: Ie7f9e5f6682985e08c5bd22441f9ba6aee34b64a
2022-02-15 11:44:09 +00:00
Mark Goddard
8b618b7e5a ironic: use ipmitool retries
In Ubuntu baremetal CI testing, we saw issues with IPMI commands
failing, resuling in job failures:

  Error setting Chassis Boot Parameter 5

A metal3.io commit [1] was found that fixes the issue by moving IPMI
retries from ironic to ipmitool, which has a side-effect of increasing
the timeout. This change applies the same configuration.

[1] 6bc1499d8b

Change-Id: Ib4fce74cebebe85c31049eafe2eeb6b28dfab041
2022-02-14 09:13:41 +00:00
Pierre Riteau
da6623c084 Configure Ironic to use bios boot mode
In Yoga, Ironic changed its default boot mode to UEFI [1]. Tenks does
not support it yet, so this is breaking overcloud baremetal testing.

[1] https://review.opendev.org/c/openstack/ironic/+/810249

Change-Id: I472177aa4d750cd5b83cde4d2629fe3c449e1373
2021-12-10 05:56:44 +01:00
Zuul
c8195a3153 Merge "Define infra VMs for testing" 2021-11-11 22:20:54 +00:00
Pierre Riteau
33e5928d6a Synchronise job config with kayobe
Change-Id: Iea94a598c7cc1793b5f145bd41e158aa43612890
2021-11-10 22:23:37 +01:00
Pierre Riteau
206f7f9968 Fix configuration sync for infra-vms
Change-Id: Ic21d883a83ff738b89a39ba35a4d63c7d1762649
2021-11-05 15:01:45 +01:00
Will Szumski
de111158d2 Define infra VMs for testing
Used by CI to test infra VM functionality works.

Change-Id: I21873b5a0bc480992a9f52881deb751ba857e4fe
2021-10-25 17:42:24 +01:00
Michal Nasiadka
14ba88cd7c Sync kayobe-config-dev with kayobe changes
Change-Id: Iaf4db2816df1315fa5e733b8b8c05034535998d6
11.0.0.0rc1
2021-10-21 11:20:07 +00:00
Mark Goddard
6dfe79b6a0 Use kolla_internal_vip_address instead of aio_vip_address
The kolla_internal_vip_address variable was added in Wallaby, and the
vip_address attribute is now deprecated.

Depends-On: https://review.opendev.org/c/openstack/kayobe/+/805245

Change-Id: I747d9acc649f18206cbb23c0df6995bade335331
2021-08-23 08:30:13 +00:00
Pierre Riteau
df9ae70899 Support reading Kayobe environment name from file
If using separate branches for each environment, it can be useful to
read the environment name from a file committed to each branch. Or, if
sharing the same branch for all environments, it can be useful to set
the default environment to one with lower impact, e.g. dev or staging.

If no --environment option is specified and a .environment file exists
at the root of the directory, use its content as KAYOBE_ENVIRONMENT.

Change-Id: I22b2b466e47a3b4d96931d754a4de7544f0ada5d
(cherry picked from commit 2af2c3a3b5387c577801b165ecd749fe782fddb9)
2021-08-10 09:56:10 +01:00
Pierre Riteau
f1d98a9394 Support specifying a Kayobe environment to use
This also includes a cherry-pick of
I9a44578196086ec24de80b992fed385826778feb, Stop accessing unbound
variables.

The kayobe-env script would try accessing $1 which is an unbound
variable if no argument is passed. This fails when `set -u` is set.

Also refactor usage output into a function. As a side effect, a missing
argument to --environment now causes the script to properly exit with an
error.

Change-Id: I604c2ae6c47ef16fdc98e0598cad820e49e2ff26
Story: 2002009
Task: 41577
(cherry picked from commit 75b6402f8b0d4e39c40a1d11091ca760d8b99dee)
2021-08-10 09:56:10 +01:00
Zuul
fc527165e2 Merge "CI: Switch to CentOS 8 stream jobs" 2021-06-22 06:18:47 +00:00
Piotr Parczewski
5a286890b8 Enable deploying monitoring with default inventory
This makes enabling monitoring possible without any modification
to the default inventory.

Change-Id: Ie3eec95ac7dadbfc613e913c09371d61b7e5eb2a
2021-06-11 12:40:27 +02:00
Mark Goddard
487a92db15 CI: Switch to CentOS 8 stream jobs
Change-Id: I51e1d05cf6382ce077ebd70f6306b54511d575ce
2021-06-09 12:30:34 +00:00
Pierre Riteau
d9210ff39c Sync kayobe-config-dev with latest kayobe changes
Change-Id: Ib82da83681f153f8ddccb311123abadc42c2eb3b
2021-05-21 18:26:06 +02:00
Zuul
8d8e9bdba3 Merge "Set os_distribution automatically" 2021-05-18 14:07:49 +00:00
Zuul
bfe7d7ce40 Merge "Adds ntp group" 2021-05-11 14:52:25 +00:00
Pierre Riteau
fd5cea9fa0 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: Iff0025bc13162397e6fabbc4b9674daa2e44091d
2021-05-05 10:04:35 +02:00
Mark Goddard
95f4049def Set os_distribution automatically
Use /etc/os-release on the Ansible control host. This makes sense for an
all-in-one configuration.

Change-Id: I7f7f22504e4bda1a7f4c984e97e7b86f7a95e4f0
2021-04-29 19:38:28 +01:00
Michał Nasiadka
da221a0f06 Sync kayobe-config-dev with kayobe changes
Depends-On: https://review.opendev.org/c/openstack/kayobe-config/+/787924
Change-Id: I8ab8e8364d22bec994f4901e5a796dd0ed9ecd07
10.0.0.0rc1
2021-04-29 19:36:27 +01:00
Mark Goddard
3b960e5bdd Use $USER as bootstrap users
This reverts to the default value of 'controller_bootstrap_user',
'seed_bootstrap_user' and 'seed_hypervisor_bootstrap_user' prior to the
addition of the os_distribution variable in Kayobe
(https://review.opendev.org/c/openstack/kayobe/+/787352). In an
all-in-one environment, using the current user as the bootstrap user
makes sense.

Story: 2004960
Task: 42386

Change-Id: I814cd3d97e850a9b0062f92ec5622a756bed0347
2021-04-27 11:12:40 +01:00
Will Szumski
3d2c1ad23e Adds ntp group
This is required by:

https://review.opendev.org/c/openstack/kayobe/+/784460

For CI jobs to pass.

Change-Id: I566e23410c1f8e8e23e7d9998d655f22599b8346
2021-04-13 12:54:36 +01:00
Pierre Riteau
547c03078c CI: Sync with kayobe jobs
Ensure we are properly testing changes to the dev/test config.

Change-Id: Ic81f60cd35e243ad9e78a536744addbf6663aaa7
2021-03-17 17:21:52 +01:00