Commit Graph

90 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
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 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 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
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
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
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
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 02619c1628 Sync configs with kayobe @ 074024d63f9cb364ca16a7a7f0ac94d77ee9466b
Change-Id: I1c4e7c1bdcf40a066385f65341486abeb5c192b0
2020-11-16 14:45:36 +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
Mark Goddard 252bceaf96 Add seed-hypervisor host
Used for testing seed VM provisioning.

Change-Id: I2c96a91b9c55480301d543850d58982d74f2ebfb
2020-06-09 13:19:34 +00:00
Mark Goddard 379ecf8681 Remove empty default LVM configuration
Since this configuration uses the overlay storage driver, it doesn't
require the LVM data volume group, previously we set the list of VGs to
empty.

Kayobe in Ussuri is modifying the default configuration such that the
VG list will be empty by default unless using the devicemapper driver.

This change removes the VG configuration override.

Depends-On: https://review.opendev.org/722316

Change-Id: I0ebe05baa67ea71b3df77f2e7f7870a237e4cb23
Story: 2005667
Task: 39537
2020-06-09 10:11:53 +00:00
Mark Goddard 0d1538156b Synchronise with kayobe-config for Ussuri
Synchronises the configuration with kayobe-config prior to creating a
stable/ussuri branch.

Depends-On: https://review.opendev.org/722326

Change-Id: I70cc73d13ff74e72ac82070337dc07e8047c7769
2020-06-09 10:05:32 +01:00
Pierre Riteau ae4bcc7227 Sync comment with default value of pip_upper_constraints_file
Change-Id: I1662c052f9c1ca6d138e41e0639a77cdc06cb822
2019-12-17 11:10:35 +01:00
Pierre Riteau 306394500c Synchronise with kayobe-config for Train
Synchronises the configuration with kayobe-config prior to creating a
stable/train branch.

This commit also defines the Ceph and Swift storage networks, which had
been skipped in the Stein sync.

Change-Id: I67521122e8a87b2e0637e8f671c3fbc0b8f0fbb5
2019-12-16 18:58:54 +01:00
Mark Goddard 4ceaa18a9c Synchronise with kayobe-config for Stein
Synchronises the configuration with kayobe-config prior to creating a
stable/stein branch.

Change-Id: I63170f0dff99b7f1307f6d2cf3c3470b353c7ec4
2019-08-16 14:04:23 +00:00
Mark Goddard 6954eeb5cc Synchronise with kayobe-config for Rocky
Synchronises the configuration with kayobe-config prior to creating a
stable/rocky branch.

Change-Id: I9419bbcb1305f26195c1d0533b9e708de451742f
2019-02-14 12:08:33 +00:00
Will Szumski f724bd8ac2 Use TinyIPA deployment images
The coreos images do not appear to be functional.
I didn't spend too much time debugging why, but it
seemed like they hung on boot (but that may just be a
lack of console logging).

The TinyIPA images can deploy a server without issue.

TrivialFix
Change-Id: I58e4f951d4a3dd89e0784fd82d8a62dbba374f79
2018-11-18 17:52:09 +00:00
Will Szumski 0c95ebcfd0 Add a neutron allocation pool
This prevents neutron from allocating addresses that overlap
will the other address pools.

Change-Id: I69f8ca98ca17ea09d100a9745349391f0de59705
2018-11-02 08:17:04 +00:00
Mark Goddard 6e4642a200 Synchronise with kayobe-config for Queens
Synchronise configuration format with kayobe-config @
371937fa9053d77a4bbca88d830d60dc76628c62.

Change-Id: Ife6e3f251120edcf5f94ca677a51bd5fe21fdc6f
2018-10-10 14:28:55 +00:00
Mark Goddard 5815aa7332 Use virtualenv_path to set ansible_python_interpreter
Prior to Ansible 2.5 Jinja expansion was not supported in this variable.
Now that kayobe depends on 2.5, we can use the correct path.

Change-Id: I85f62ae80a8751a356cee5a56bc01493ae04d6f4
Story: 2002010
Task: 19648
2018-10-10 08:22:15 +00:00