Commit Graph

2790 Commits

Author SHA1 Message Date
Zuul 6c6400f7ce Merge "CI: Build default images in experimental jobs" 2024-06-05 15:57:43 +00:00
Zuul ab97b17893 Merge "Update instructions to migrate from CentOS Stream 8" 2024-06-05 12:54:09 +00:00
Zuul 28f981a8b7 Merge "Add seed service destroy" 2024-06-05 12:54:07 +00:00
Zuul e266c8ab47 Merge "Add ironic config files clean up tasks to overcloud deprovision" 2024-06-05 10:51:41 +00:00
Pierre Riteau ee79fc5d4d CI: Build default images in experimental jobs
This commit changes seed-images jobs to build seed and overcloud
container images, each with a customisable regex.

The rocky9 job continues to build only the base image, although for both
overcloud and seed instead of seed only.

The other seed-images jobs (centos9s and ubuntu-jammy) now build all
default overcloud images. This takes longer and can fail for various
reasons unrelated to Kayobe, but this is fine since the jobs are marked
as experimental.

This is to attempt to catch bugs in the image build code, such as the
ones fixed by [1].

Note that the ubuntu-jammy job does not build the bifrost-deploy seed
image because the build is currently timing out. The centos9s job builds
it successfully.

Also update release documentation to remind developers to run
experimental jobs.

[1] https://review.opendev.org/c/openstack/kayobe/+/921012

Change-Id: Idf705d9cf41766a897444898ac31c4635b70ec16
2024-06-05 11:33:48 +02:00
Rafal Lewandowski 7837c9b7f8 Add ironic config files clean up tasks to overcloud deprovision
Closes-Bug: #2067288
Change-Id: I57fb4c1697a31d4f592d79a31a04507cf91e97c7
2024-06-04 16:17:35 +02:00
Zuul ee0754b6f1 Merge "Introduce max fail percentage to playbooks" 2024-06-04 13:00:04 +00:00
Zuul e8adce4093 Merge "Fix container image build issues with letsencrypt" 2024-06-04 10:20:05 +00:00
Zuul afa0b75cf5 Merge "Remove use of get_md5 when using stat module" 2024-06-03 20:38:17 +00:00
Will Szumski 2c58388ac3 Add seed service destroy
This can be useful when using a seed VM that is not deployed by kayobe,
and can therefore not use ``kayobe seed deprovision``, especially when
iterating on kayobe-config during the inital stages of a deployment, or
for development, where you want to re-run the playbooks from a clean-ish
state.

Change-Id: I43a9c2a57fcfe2c9d84f39903aac7c258f9a897f
2024-06-03 16:25:32 +00:00
Mark Goddard 6c54ce4d3b Introduce max fail percentage to playbooks
This allows us to continue execution until a certain proportion of hosts
fail. This can be useful at scale, where failures are common, and
restarting a deployment is time-consuming.

The default max failure percentage is 100, keeping the default
behaviour. A global max failure percentage may be set via
kayobe_max_fail_percentage, and individual playbooks may define a max
failure percentage via <playbook>_max_fail_percentage.

Related Kolla Ansible patch:
https://review.opendev.org/c/openstack/kolla-ansible/+/805598

Change-Id: Ib81c72b63be5765cca664c38141ffc769640cf07
2024-06-03 16:24:29 +00:00
Pierre Riteau 9669462208 Fix container image build issues with letsencrypt
The kolla_enable_letsencrypt variable was undefined, which was causing
overcloud container image build to fail when the variable was not
defined in Kayobe configuration.

The bool filter was missing for kolla_enable_letsencrypt, which was
causing letsencrypt images to be built when kolla_enable_letsencrypt was
set to "false" or "no".

Change-Id: I234b7a0434ba3d533a66b766331fd489078fbcf8
2024-06-03 16:24:09 +00:00
Pierre Riteau 3b0a74dfc4 CI: Fix kayobe-tox-molecule job
We were still using stream8 images which cannot install packages
anymore, due to the end of life of CentOS Stream 8.

Change-Id: I8604c342e4dbc41dd5bee0f28a92c3c3cd37d631
2024-06-03 14:02:22 +02:00
Pierre Riteau 1eeff7cc6e Update instructions to migrate from CentOS Stream 8
Change-Id: I65da7cdfd284a01b2e214c2dc0f27a5f45ae0999
2024-06-03 13:45:22 +02:00
Pierre Riteau 8f39adcf32 Remove use of get_md5 when using stat module
This was missed from I2ea9b2ec58913722c4defffbeee88cc420dcbdab.

Change-Id: I84971f8daa4caf2227863810c7b12e59192c2515
2024-06-03 12:18:16 +02:00
Zuul 31728a1803 Merge "docs: fix link to global variable defaults" 2024-06-03 07:46:53 +00:00
Zuul cdabf83e97 Merge "Bump hacking to 6.1.0" 2024-06-03 07:46:52 +00:00
Matt Crees 3ad5a5d9dc CI: Only migrate RMQ queues during SLURP
Change-Id: Ib12ac0e8dac8804085ea30bac7b4b0e659309cb0
2024-05-31 13:49:10 +00:00
Pierre Riteau a4aeb4817a docs: fix link to global variable defaults
Change-Id: I2737c200ba33d9eabe2c9815766b2a3555827ef5
2024-05-31 14:18:57 +02:00
Zuul d17f7dc1b8 Merge "docs: Reword bare metal registration section" 2024-05-31 08:32:57 +00:00
Pierre Riteau a2f67cd6c5 Bump hacking to 6.1.0
Change-Id: Ia38fd3e98d5e21fd2a23175661c3a3093c6ca18b
2024-05-30 21:16:30 +02:00
Zuul eb9576f3c6 Merge "Support configuring persistent systemd journal" 2024-05-30 15:50:27 +00:00
Zuul 277211347b Merge "CI: Test bare metal compute registration" 2024-05-30 13:03:36 +00:00
Pierre Riteau 039fa30cef docs: Reword bare metal registration section
A few long sentences are split up. YAML indentation is fixed.

Change-Id: I60098522e08f0d463d0300beac64476f7b1488e6
2024-05-30 14:39:34 +02:00
Zuul d42523cabb Merge "Add type for mtu field in docker role" 2024-05-30 11:52:45 +00:00
Will Szumski 01fe797d51 Support configuring persistent systemd journal
This is useful to ensure logs are persisted across reboots.

Change-Id: Ie5ff7536b160196dc57448c3ed982d15826b2cbe
Closes-Bug: #2055299
Co-Authored-By: Piotr Parczewski <piotr@stackhpc.com>
2024-05-30 11:40:14 +01:00
Zuul 8a0a8915cb Merge "Fix typo and markup in release note" 2024-05-30 08:50:08 +00:00
Zuul c399002aa4 Merge "Fix list formatting in release note" 2024-05-30 08:44:48 +00:00
Pierre Riteau a7815784fe Drop Murano, Sahara, Senlin, Solum and Vitrage
Change-Id: I704b4e79ce5519a57830fbcaa51b8cf19f3f249a
2024-05-29 11:49:08 +02:00
Pierre Riteau fed106b253 Drop Freezer
It's inactive and hasn't produced a 2024.1 release [1]. There are some
efforts to restore Freezer, but let's remove it for now.

[1] https://governance.openstack.org/tc/reference/emerging-technology-and-inactive-projects.html#current-inactive-projects

Change-Id: I65eccf6bbe13534418c2f5b0aa5397ba170bd17a
2024-05-29 11:46:24 +02:00
Pierre Riteau b4448d6b15 [release] Use OpenStack 2024.1 release
Switch all dependencies to use the OpenStack 2024.1 release.

This commit should be reverted on the master branch once the Kayobe
stable/2024.1 branch has been cut and RC1 released.

Change-Id: I02e0f97f84f1369943c840f6159c705dc2436750
2024-05-29 10:58:39 +02:00
Pierre Riteau 3f238df073 [release] Sync with Kolla Ansible for 2024.1
Change-Id: Ia2a513ec7b14c52e1a89add2f3ba0c5e8e0202ea
2024-05-29 10:51:50 +02:00
Will Szumski 9a5d572a09 Bump up Ansible supported versions to 8.x/9.x
This change bumps up the maximum supported Ansible version to 9.x
(ansible-core 2.16.x) and minimum to 8.x. This synchronises Kayobe with
Kolla Ansible.

Notable changes
---------------

- Removed use of get_md5 when using stat module, See:
  d955fb1590

- Remove use of include (instead of import_tasks/include_tasks) which
  has now been removed. See:
  8db9bd7574

Change-Id: I2ea9b2ec58913722c4defffbeee88cc420dcbdab
2024-05-27 15:31:46 +00:00
Will Szumski 27ece2622b Fix issue removing docker volumes
The error response from the docker daemon has changed to:

    Error response from daemon: get opensm_logs: no such volume

This change should support both old and new responses.

Change-Id: Ibef1713d7de2e0a2c6fe046f607b2a8e60dae3da
Closes-Bug: #2050092
2024-05-21 12:59:22 +02:00
Pierre Riteau 4d890dc80b Fix list formatting in release note
Change-Id: Ib51589c83fb137fdd7905b7742120a063efb5d2a
2024-05-21 12:36:26 +02:00
Mark Goddard 6a83e1d75b CI: Test bare metal compute registration
Change-Id: Iaef2420c1f12fa4296c0e1c3d5afc4687d4b3c4a
2024-05-20 15:31:58 +00:00
Pierre Riteau fccdc0e572 Fix typo and markup in release note
Change-Id: Ibd81408c806b70e6ed0b90e32efcd4a35d957935
2024-05-20 14:14:22 +02:00
Adam McCartney 2e7b5287f3 Add type for mtu field in docker role
Closes-Bug: #2066032

This patch adds an integer type to the task in the docker role that
generates the docker daemon config. This was previously uncast and
defaulting to a string type, which causes an error with certain docker
versions (via the Rocky 9.3 distro). See bug description for more info.

Change-Id: I2a996fa22fedece2c894b378fadbfc5dd0c045b6
2024-05-17 14:50:13 +02:00
Jake Hutchinson 617eed4741 Register baremetal compute nodes in Ironic
This patch adds experimental functionallity to enroll baremetal nodes
into Ironic using Kayobe via a new playbook 'baremetal-compute-register.yml'
and adds 'kayobe baremetal compute register' into the Kayobe CLI.

Depends-On: I719fc8042742fe8b3b0312658aec39317a1bc358
Change-Id: I988b082b539acfc2710d42e89bcac5b7a1eb526a
2024-05-16 09:56:54 +01:00
Matt Crees b9ca63dbea Document required tags for Bifrost-only deployment
Change-Id: I0c8268fc9ebc3f87c4daab6afb4ddf64c3d71de0
2024-05-13 15:08:59 +01:00
Zuul b6166e8231 Merge "Support dict format IP routing rules on CentOS/Rocky" 2024-05-02 00:46:08 +00:00
Zuul 0178278576 Merge "Fix Dell OS6 and Dell OS9 switch configuration" 2024-05-01 21:50:26 +00:00
Mark Goddard 9053183fe7 Support dict format IP routing rules on CentOS/Rocky
This support is now available in the MichaelRigart.interfaces role.

The host configuration CI test has been updated to test policy-based
routing routes and rules on CentOS Stream and Rocky Linux. It also now
tests both the string and dict rule formats on CentOS and Rocky.

Change-Id: Ie77530c38ab426dcbaa442776bcf048d7bbc0f01
2024-05-01 21:40:34 +02:00
Zuul 2dfaa81831 Merge "Support customising telegraf configuration files" 2024-05-01 13:52:36 +00:00
Zuul 9be242477d Merge "Add python3-devel to Kayobe dependencies" 2024-05-01 11:47:44 +00:00
OpenStack Release Bot b569e3c373 reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: Ibd13bcbf23d06f5a5ad6fde2bb12638cd897a18c
2024-04-29 13:29:51 +00:00
Zuul e7cfcb2da2 Merge "Replace meeting time by link to the meetings page" 2024-04-25 07:19:21 +00:00
Zuul 2f08649d6b Merge "Fix Bifrost database backup instructions" 2024-04-25 07:19:20 +00:00
Pierre Riteau 8fcb52ee75 Replace meeting time by link to the meetings page
Change-Id: I53801f92d1d0a0f149fd9ffe5f14d26a0c685cc3
2024-04-25 08:18:15 +02:00
Maksim Malchuk d539efc94f Fix default place for Ubuntu Apt keyrings
The Ansible openstack.kolla collection already uses [1,2]
the recommended location [3] for the Ubuntu Apt keyrings,
so lets fix this in Kayobe too.

[1] https://opendev.org/openstack/ansible-collection-kolla/src/branch/master/roles/docker/tasks/repo-Debian.yml#L21
[2] https://opendev.org/openstack/ansible-collection-kolla/src/branch/master/roles/podman_sdk/tasks/main.yml#L13
[3] https://manpages.ubuntu.com/manpages/jammy/en/man8/apt-key.8.html#deprecation

Change-Id: I4901294c8f5912cb35df3866ed13012461b4f644
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2024-04-20 22:28:34 +03:00