Commit Graph

134 Commits

Author SHA1 Message Date
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
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
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
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
2022-04-11 14:39:42 +01:00
Mark Goddard d8efff0912 Revert "Configure Ironic to use bios boot mode"
This reverts commit da6623c084.

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
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
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
Mark Goddard 0b54af9ed9 Reduce ironic minimum required memory to 256MB
In resource-constrained environments such as CI, we may hit this new
limit, which prevents deployments from succeeding.

Following the lead of the ironic devstack plugin, we reduce the limit to
256MB.

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

Change-Id: I2d853d38740dca445cd281b83f4a26d842a9c9cd
2021-02-25 13:44:13 +00:00
Mark Goddard 6e7e3ae18c Reduce neutron RPC workers to 1
This should reduce the memory overhead of these processes

Change-Id: I02be84d079f3effe559bd501622642f1c9601b45
2021-02-23 09:23:31 +00:00
Zuul 4eeef973b8 Merge "Remove Retired Karbor Support" 2020-12-22 16:14:23 +00:00
Zuul 43f3e9b4e2 Merge "Remove retired Searchlight support" 2020-12-18 04:42:44 +00:00
Kendall Nelson ef7c5fdf5a Remove Retired Karbor Support
As announced on the openstack-discuss ML[1], Karbor is retiring
this cycle (Wallaby).

Needed-By: https://review.opendev.org/c/openstack/karbor/+/767032

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018643.html

Change-Id: If2e351ebe638e4591197a071aecc44e98d3d865d
2020-12-16 15:20:07 -08:00
Ghanshyam Mann 0912b1e9f3 Remove retired Searchlight support
Searchlight project is retiring in Wallaby cycle[1].
This commit removes the usage of Searchlight project
before its code is removed.

Needed-By: https://review.opendev.org/c/openstack/searchlight/+/764526

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018637.html

Change-Id: I7823e61620ad79d521f885c2cc8dc5c34901e777
2020-11-28 16:49:46 -06:00
Ghanshyam Mann a35be19858 Remove retired Qinling support
Qinling project is retiring in Wallaby cycle[1].
This commit removes the usages/support of Qinling project
before its code is removed.

Needed-By: https://review.opendev.org/c/openstack/qinling/+/764521

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018638.html

Change-Id: I588c83e685c80212b1ddd1c3021cf2a13f1dc299
2020-11-28 09:05:25 -06:00
Mark Goddard 21f972fb85 Update TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
-https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
This allows to use lower-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

Change-Id: Ie89a62e7d50402f0d5afcbbedc4a56f177cf54b6
2020-11-19 10:24:03 +00:00
Mark Goddard 02619c1628 Sync configs with kayobe @ 074024d63f9cb364ca16a7a7f0ac94d77ee9466b
Change-Id: I1c4e7c1bdcf40a066385f65341486abeb5c192b0
2020-11-16 14:45:36 +01:00
Mark Goddard a4cd89d578 CI: Add all kayobe jobs
Ensure we are properly testing changes to the dev/test config.

Change-Id: Ic67a6e325cfb65422d4020bf6e64f038688fc26f
2020-07-02 16:58:00 +01:00
Mark Goddard ae18991c86 CI: switch to Docker overlay2 storage driver by default
We are planning to switch to this driver by default. Given that we are
currently not testing the devicemapper default, let's start testing
overlay2.

Change-Id: I71afc71df595b65d57ce09dc625c724a036b0e87
Story: 2005667
Task: 39538
2020-07-02 10:56:31 +00:00
Zuul 5802982194 Merge "Add seed-hypervisor host" 2020-06-17 10:10:23 +00:00