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
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
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
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
We were still using stream8 images which cannot install packages
anymore, due to the end of life of CentOS Stream 8.
Change-Id: I8604c342e4dbc41dd5bee0f28a92c3c3cd37d631
This is useful to ensure logs are persisted across reboots.
Change-Id: Ie5ff7536b160196dc57448c3ed982d15826b2cbe
Closes-Bug: #2055299
Co-Authored-By: Piotr Parczewski <piotr@stackhpc.com>
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
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
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
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
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
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