675 Commits

Author SHA1 Message Date
Pierre Riteau
afafebbe2b Remove remaining mentions of Ubuntu Jammy
Change-Id: I1c93dac521cacaddb5195688c17c1f74d05e5f9a
2025-03-13 12:17:23 +01:00
Zuul
481d8cfd64 Merge "Add dynamic-login to default ipa elements" 2025-02-10 18:15:46 +00:00
Will Szumski
988a822259 Add podman support
Adds support for Podman as an alternative container engine. This builds
on the support added in kolla-ansible in the 2023.2 cycle.

Change-Id: I2c6befbdda7e684228065103feea7250a0ea3826
2025-01-27 16:42:33 +00:00
Michal Nasiadka
e804a9955f Add dynamic-login to default ipa elements
It's referenced in IPA troubleshooting guide [1], so makes sense
to have that in defaults.

Closes-Bug: #2058475

[1]: https://docs.openstack.org/ironic-python-agent/latest/admin/troubleshooting.html#gaining-access-to-ipa-on-a-node

Change-Id: Icbbd08d6bee991d0c4db58f2bb15de5d2769fefb
2025-01-16 22:28:52 +01:00
Matt Anson
89849c1cec Ensure ironic-python-agent matches ironic-lib
If ironic-python-agent is not installed in the IPA image using
upper-constraints, the ironic-lib selected by pip for installation may
be newer than ipa.

Use upper-constraints for the same version as ironic-python-agent when
installing it, by passing the DIB_REPOREF_requirements environment
variable to ironic-python-agent-builder.

Closes-Bug: #2089263
Change-Id: I6e33f9897dc7efc57987872ffccdfbe0fc78cc52
2024-11-21 18:08:33 +01:00
Pierre Riteau
338ce572e7 Remove upgrade note about Rocky Linux 9 support
The Zed release which introduced support for Rocky Linux 9 is now
unmaintained, let's remove this upgrade note.

Change-Id: I19263f7c1b8ed130fd41a78aab6574fb629f4cb7
2024-11-05 12:40:35 +01:00
Zuul
186137e82d Merge "Fix wording of confirm_deprovision docs" 2024-10-31 12:17:40 +00:00
Zuul
4174552e86 Merge "docs: fix typos" 2024-10-23 14:27:35 +00:00
Zuul
62aa916512 Merge "kolla-openstack: Add ironic-inspector dir to config" 2024-10-23 14:05:37 +00:00
Zuul
81b785b169 Merge "Add support for Ubuntu Noble Numbat (24.04) LTS" 2024-10-16 17:33:44 +00:00
Jakub Darmach
e72688ff11 Add support for Ubuntu Noble Numbat (24.04) LTS
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/925581
Change-Id: Id9d90f424a5b0f7eedd1a11512bb8b72abba8959
2024-10-16 14:58:03 +02:00
Pierre Riteau
37da40cfb6 docs: fix typos
Change-Id: Ic99f2ac8f8052e6e0eaaa75650f465ff079f69cb
2024-10-07 09:00:49 +02:00
Michal Nasiadka
f79e491930 kolla-openstack: Add ironic-inspector dir to config
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/923946
Change-Id: Icd6988668646e0ecb89822d46dafa33f9dd618e1
2024-09-30 17:14:40 +01:00
Michal Nasiadka
996651b478 kolla-build: Add support for cross-arch builds
When kolla_base_arch and ansible_facts.architecture differs
we need to run multiarch/qemu-user-static image - see [1].

[1]: https://github.com/multiarch/qemu-user-static

Co-Authored-By: Bartosz Bezak <bartosz@stackhpc.com>

Change-Id: If149418f509c687c3e5d1072cc39a80af33dec5a
2024-09-27 14:28:21 +02:00
Zuul
6b37698527 Merge "Support skipping SSH keyscan for older switch devices" 2024-09-14 11:05:09 +00:00
Zuul
805106c949 Merge "Add support for customising Neutron physical network names" 2024-09-13 16:53:39 +00:00
Mark Goddard
7e3e6558de Support skipping SSH keyscan for older switch devices
Some network devices may use SSH key exchange algorithms that are no
longer supported by the Ansible control host. This will cause
ssh-keyscan to fail, preventing Kayobe from configuring the devices.
This change makes it possible to work around the issue by setting
switch_skip_keyscan to true for the affected devices. The SSH known
hosts file on the Ansible control host will need to be populated
manually.

Change-Id: I4e3394cff1fd86eb5c1a4be55d6fd7fd080b2944
2024-09-13 17:36:32 +02:00
Zuul
da4bcb59b6 Merge "Add initial support for systemd-networkd link configuration" 2024-09-11 15:19:25 +00:00
Zuul
242f3452e1 Merge "arista-switch: Fix eos_config call" 2024-09-06 23:27:43 +00:00
Zuul
82b02cb7d3 Merge "Add support for Cumulus NVUE switches" 2024-09-06 19:05:52 +00:00
Michal Nasiadka
32489a4587 arista-switch: Fix eos_config call
eos_config does not support provider, nor connection: local from at
least 2022 [1] - since ansible>=7 (ansible-core 2.14).

[1]: 588d94b2ed

Closes-Bug: #2058365
Change-Id: Ief37b7bee758e34dddb881a9e68728013861c0ec
2024-09-06 17:55:08 +02:00
Zuul
e6bed61af0 Merge "Support setting Apt preferences" 2024-09-06 11:48:17 +00:00
Mark Goddard
ad64ebc921 Add support for customising Neutron physical network names
Previously Kolla Ansible hard-coded Neutron physical networks starting
at physnet1 up to physnetN, matching the number of interfaces in
neutron_external_interface and bridges in neutron_bridge_name.

Sometimes we may want to customise the physical network names used.
This may be to allow for not all hosts having access to all physical
networks, or to use more descriptive names.

For example, in an environment with a separate physical network for
Ironic provisioning, controllers might have access to two physical
networks, while compute nodes have access to one.

This change extends the 'physical_network' network attribute to make it
possible to customise the Neutron physical network names used for the
OVS, OVN, Linux bridge and OVS DPDK plugins. The default behaviour is
unchanged.

Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/922320
Change-Id: I214444c60653f484fcda6275cc725879d14f9e7a
2024-09-06 10:00:50 +00:00
Maksim Malchuk
2c22526f70 Add initial support for systemd-networkd link configuration
Added initial support for systemd-networkd link configuration, now
you can configure and rename the name of a network interface if you
know the MAC address of the interface.

Also added unit tests and fixed issues in the test_overcloud_host_configure.py:
 * Added unit test for networkd.
 * Fixed pep8 issues.
 * Removed unused import.
 * Fixed 'not in' issue in assert.

Change-Id: I8321183dbc747ef521aa0d2660ebeef8b0342c6a
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2024-09-04 19:04:38 +00:00
Zuul
28d78297af Merge "Support setting whether an Apt repo is trusted" 2024-08-30 18:04:20 +00:00
Matt Crees
fed8133ae5 Support setting Apt preferences
Follows the same pattern as apt config.yml

Change-Id: Ifb347372032120ec676747bad6201e0d82725976
2024-08-22 15:43:02 +01:00
Michal Nasiadka
d27ae6c33e Allow using Bifrost/Ironic introspection data MAC address
Currently Kayobe sets ipv4_interface_mac to pxe interface
MAC address.

In cases where provisioning network interface and admin
network interface are different - this feature can be used
to get MAC address from Ironic introspection data.

Change-Id: Ie3c9248f0b3e47e3645e1886c0492265d52969c9
2024-07-30 09:25:58 +00:00
Matt Crees
2b06c6a39a Support setting whether an Apt repo is trusted
Useful if you're configuring your own private repos, and don't/can't
sign them.

Change-Id: I2d592c5479530b2fe9a60c14ee59e817b8402490
2024-07-10 16:39:02 +01:00
Zuul
6e302108a3 Merge "Set slightly more accurate name for the manage containers role" 2024-07-03 15:58:51 +00:00
Maksim Malchuk
e3c1efc865 Set slightly more accurate name for the manage containers role
Follow-up on I43a9c2a57fcfe2c9d84f39903aac7c258f9a897f. As discussed
before we set slightly more accurate name for the manage containers
role since using 'deploy-containers' role with action 'destroy' can
be a little confusing.

Change-Id: I6d4a3479d492e0fe86ce3de7414fa47c584577ea
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2024-06-27 23:01:51 +00:00
Alex-Welsh
17bb1a7ad6 Fix eof newline on hosts.rst docs page
Change-Id: I496be412cb536d37e1547bb6f1c54717013b8968
2024-06-21 15:43:50 +01:00
Will Szumski
d9e7f23f11 Docs: Link to kolla contributer guide
This defines the dates where certain changes must be
made.

Change-Id: I3bfa2909cba9661f542512316e900e75eaa92d6b
2024-06-20 14:41:56 +01:00
Michal Nasiadka
03053e62b8 Add support for Cumulus NVUE switches
Co-Authored-By: Mark Goddard <mark@stackhpc.com>

Change-Id: I900e3000e492b4eb668815ee6789c9d6e3637c68
2024-06-20 14:38:27 +01:00
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
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
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
1eeff7cc6e Update instructions to migrate from CentOS Stream 8
Change-Id: I65da7cdfd284a01b2e214c2dc0f27a5f45ae0999
2024-06-03 13:45:22 +02: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
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
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
Pierre Riteau
a7815784fe Drop Murano, Sahara, Senlin, Solum and Vitrage
Change-Id: I704b4e79ce5519a57830fbcaa51b8cf19f3f249a
2024-05-29 11:49:08 +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
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