2875 Commits

Author SHA1 Message Date
Pierre Riteau
70742ebc27 CI: Replace deprecated distro.linux_distribution
Change-Id: If0f3ab6f26aa774cf6176d992ec1180f2c0d7838
2024-10-31 14:30:08 +01:00
Pierre Riteau
2fb57a72a7 CI: Fix Ubuntu 24.04 version check
Change-Id: I5165ab758d2a7040d22b139813f0dce45fa0d59e
2024-10-31 14:13:36 +01:00
Zuul
186137e82d Merge "Fix wording of confirm_deprovision docs" 2024-10-31 12:17:40 +00:00
Zuul
ecb883c3bb Merge "CI: Skip test_ntp_clock_synchronized on Ubuntu 24.04" 2024-10-31 07:45:35 +00:00
Pierre Riteau
310428b5cd CI: Skip test_ntp_clock_synchronized on Ubuntu 24.04
This test often fails on Ubuntu 24.04 [1], making it difficult to merge
patches. Skip this test until we force time synchronisation.

[1] https://zuul.opendev.org/t/openstack/builds?job_name=kayobe-overcloud-host-configure-ubuntu-noble&project=openstack/kayobe

Change-Id: I222ad8e7ed66cde1f3fb225fa5cdc30c7ed80c99
2024-10-30 10:19:42 +00:00
Pierre Riteau
ec1d336529 Fix detection of editable installation
This synchronises this code with kolla-ansible [1], preemptively fixing
issues with Python 3.12.

[1] https://review.opendev.org/c/openstack/kolla-ansible/+/933633

Change-Id: I027c48d7ff6fe06e1898720273fef3da571aabe4
2024-10-29 13:58:28 +01:00
Pierre Riteau
3abc25fbf0 Replace use of kolla-ansible --key argument
The --key argument of kolla-ansible was removed in the rewrite [1].
Replace its use by --vault-password-file introduced ages ago [2].

[1] https://review.opendev.org/c/openstack/kolla-ansible/+/923110
[2] https://review.opendev.org/c/openstack/kolla-ansible/+/504480

Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/933633
Change-Id: I8b0882b5c807665ae27550ff6d2ffaf488323f08
2024-10-29 10:21:44 +01:00
Pierre Riteau
66d14fc99f Enable ProxySQL by default
This matches a recent change in kolla-ansible [1].

[1] https://review.opendev.org/c/openstack/kolla-ansible/+/913724

Change-Id: I8a7a84025e93c4dcb1285bc28f3bd481bbdfff32
2024-10-25 12:10:30 +02:00
Pierre Riteau
3b1b81b3a6 Add support for building the proxysql image
This should have been added when proxysql was added to kolla [1] and
kolla-ansible [2].

ProxySQL is disabled by default in this change to allow backports. It
will be enabled in a follow-up patch only for the master branch.

[1] https://review.opendev.org/c/openstack/kolla/+/769385
[2] https://review.opendev.org/c/openstack/kolla-ansible/+/770215

Change-Id: I683b685bf4e2f625144e4656bcd69c03eda7aa51
2024-10-25 12:09:14 +02:00
Zuul
9b53c0ee95 Merge "Fix group and mode of /var/log/journal" 2024-10-23 19:00:47 +00:00
Zuul
4d1651e588 Merge "Fix syntax in release notes" 2024-10-23 14:27:36 +00:00
Zuul
4174552e86 Merge "docs: fix typos" 2024-10-23 14:27:35 +00:00
Zuul
c13173c448 Merge "Bump stackhpc.openstack collection to 0.2.2" 2024-10-23 14:27:32 +00:00
Zuul
62aa916512 Merge "kolla-openstack: Add ironic-inspector dir to config" 2024-10-23 14:05:37 +00:00
Zuul
7ae3f843c1 Merge "Use geneve instead of vxlan when OVN is enabled" 2024-10-23 12:33:29 +00:00
Zuul
71074f57d6 Merge "Bump stackhpc.linux to v1.3.0" 2024-10-23 12:31:14 +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
4ed2077446 Bump stackhpc.linux to v1.3.0
Release 1.3.0 of stackhpc.linux fixes configuration of kernel parameters
for IOMMU when the GRUB_CMDLINE_LINUX_DEFAULT variable is absent from
/etc/default/grub.

Include a release note about a notable change in the sriov role.

[1] https://github.com/stackhpc/ansible-collection-linux/releases/tag/v1.3.0

Change-Id: I43295cd21fc4947fa877aa242070e3c132532fab
Closes-Bug: #2083874
2024-10-10 22:39:42 +02:00
Zuul
0cb7d1bfbf Merge "Bump previous release to 2024.1 in Dalmatian" 2024-10-10 19:35:09 +00:00
Pierre Riteau
74b9a13595 Bump stackhpc.openstack collection to 0.2.2
This fixes IPA and host disk image build failures when Git was not
installed on the build host.

Change-Id: I057aefc45d1a8efe133fec9921e5c84cad556429
Closes-Bug: #2058922
2024-10-10 16:50:13 +02:00
Matt Crees
3e44735bde Adds support for using Cumulus switches with NGS
Support for NCLU was added in Networking Generic Switch in the Zed
release[1].

Support for NVUE was added in Networking Generic Switch in the
2023.2 release[2].

[1] https://review.opendev.org/c/openstack/networking-generic-switch/+/743269
[2] https://review.opendev.org/c/openstack/networking-generic-switch/+/907551

Closes-Bug: #2083840

Change-Id: I973c6484ccd2a36990cf39df102e65be0376f08c
2024-10-07 14:07:04 +01:00
Pierre Riteau
37da40cfb6 docs: fix typos
Change-Id: Ic99f2ac8f8052e6e0eaaa75650f465ff079f69cb
2024-10-07 09:00:49 +02:00
Pierre Riteau
2fa56d1d71 Fix syntax in release notes
Change-Id: I4b9c4e5a2d6e943c85250b7b85ad52a8a620e80d
2024-10-04 09:51:11 +02:00
Pierre Riteau
0537dc47fa Use geneve instead of vxlan when OVN is enabled
Change-Id: Id3e4e7ca285a94e7270eb4850c66e9094782f841
2024-10-03 08:56:03 +02:00
Zuul
e444400214 Merge "Get the list of ironic nodes - use correct scope" 2024-10-02 21:04:35 +00:00
Pierre Riteau
5ed077cba4 Fix group and mode of /var/log/journal
This updates the group and mode set on the /var/log/journal directory to
match default ownership and permissions used by systemd-journald.

Closes-Bug: #2083494
Change-Id: I15323b95199b9ef19504c7408dd89720f9ba9c32
2024-10-02 12:11:28 +02:00
Zuul
8d58ad0958 Merge "CI: Workaround rc:-13 issue" 2024-09-30 16:26:50 +00: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
Zuul
e7a1c3ba8b Merge "kolla-build: Add support for cross-arch builds" 2024-09-30 12:23:27 +00:00
Jakub Darmach
60d612828e Bump previous release to 2024.1 in Dalmatian
Change-Id: Iab3f982ae914c19d9c3d9ea6a1634179f85704f9
2024-09-30 12:06:47 +00:00
Jakub Darmach
479b4cdf73
Get the list of ironic nodes - use correct scope
Use correct system scope - all - while getting the list of ironic
nodes in ipa-images role.

Closes-Bug: #2083014
Change-Id: I4da3a3739d57817ffbd094caea0fc80c3ad8eff8
2024-09-30 14:04:17 +02: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
Pierre Riteau
3a7bff6ea1 Remove duplicate description of filename key
Change-Id: Id597daad620d90d30187fa74f9d21d220cafacd5
2024-09-24 12:17:00 +02:00
Zuul
200b955eab Merge "ironic: revert to ironic's default drivers & interfaces" 2024-09-18 15:08:16 +00:00
Will Szumski
2c86ba774e CI: Workaround rc:-13 issue
There is a race condition in Ansible that can result in this failure:

  msg: |-
  MODULE FAILURE
  See stdout/stderr for the exact error
  rc: -13

Disabling SSH pipelining prevents the issue at the cost of Ansible
execution duration.

See:
 - https://github.com/ansible/ansible/issues/78344
 - https://github.com/ansible/ansible/issues/81777

Change-Id: I62221df4650ddd02afdbc0993e783bf66b706a1c
2024-09-18 09:44:35 +01:00
Zuul
903126c018 Merge "Avoid shared IPA image cache on Ansible control host" 2024-09-17 11:31:44 +00:00
Zuul
6b37698527 Merge "Support skipping SSH keyscan for older switch devices" 2024-09-14 11:05:09 +00:00
Zuul
a1b65a9328 Merge "Prevent running from a different Kayobe configuration repository" 2024-09-13 17:45:11 +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
4ba700080e Merge "Add redfish_address variable and support discovering it" 2024-09-09 16:35:47 +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
425e0020d3 Add redfish_address variable and support discovering it
During the ``kayobe overcloud inventory discover`` command, Kayobe
queries the Bifrost ironic node list and updates the Kayobe inventory.
If the nodes have a driver_info.ipmi_address field set, an ipmi_address
variable will be defined in the Kayobe inventory for the host.

This does not work for Redfish based hosts, which use
driver_info.redfish_address in the Ironic node. This change adds a new
``redfish_address`` variable and extends the command to discover the
address from the Bifrost node inventory.

Change-Id: Ieb1e61ddadb542732739d1f478b1e5a176e0ac88
2024-09-06 10:11:05 +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
Pierre Riteau
c7a5159fb5 Bump hacking to 7.0.0
This bumps the hacking library, which is used to enforce OpenStack code
guidelines, to the latest released version. No code changes are required
to pass checks with this version.

Change-Id: I05ab9cb5db5c30cf537476cb494f707338ea67e9
2024-09-06 10:14:22 +02:00