Commit Graph

2728 Commits

Author SHA1 Message Date
Zuul 0f78fcda30 Merge "Use new collections in Kayobe" 2024-03-28 14:43:44 +00:00
Zuul 9765b64826 Merge "CI: Bump cirros images to 0.5.3" 2024-03-27 17:54:09 +00:00
Jakub Darmach dbcc3f4ae3 Use new collections in Kayobe
Refactored the code to switch the distribution source of the roles
to new collections for the roles that have already been migrated into
collections.

Updated:

 - requirements
 - role invocations
 - documentation
 - release notes
 - minor whitespace fixes

Change-Id: I8dbb88aa2061b3afcab07caeb30f45b3a5c939af
2024-03-27 15:07:08 +00:00
Pierre Riteau eeba04dbd2 CI: Bump cirros images to 0.5.3
It was mentioned on openstack-discuss [1] that 0.5.2 has a known kernel
bug fixed in 0.5.3.

[1] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/7L6DSFN6GB65FBVHQATTLSQ7HWGBZJHM/

Change-Id: Ib637471d67002734084736f47d574815f13f1711
2024-03-22 15:00:04 +01:00
Maksim Malchuk 6f59b49ab8 Fix the glob for the custom RabbitMQ configuration
Followup on Id4588f4529a4522e68e22ce58711cb927fa68a9d to fix the
place of the RabbitMQ configuration and there are not only the
rabbitmq.conf and rabbitmq-env.conf but also advanced.config which
also often customized and more other files.

Change-Id: Iff0b28b770753c81ac526afd1ce6f61d77fad25c
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2024-03-22 10:53:02 +00:00
Will Szumski 997a1b2c63 CI: Make SLURP jobs non-voting
At least until we get to the bottom of the rabbitmq SLURP upgrade
issues[1].

[1] https://bugs.launchpad.net/kolla-ansible/+bug/2058512

Change-Id: I4778d41fd18665c25b635e761cddb7b3bfd1560f
2024-03-20 18:09:37 +00:00
Zuul cca6a3f90e Merge "docs: Add note on SLURP upgrades" 2024-03-18 17:33:19 +00:00
Matt Crees 6552df2b51 docs: Add note on SLURP upgrades
Change-Id: I48126b77254a74a030aabf5db0c68c04ecf41847
2024-03-14 14:46:31 +00:00
Zuul 2fd1a79db4 Merge "Fix link in release note" 2024-03-14 14:34:26 +00:00
Zuul da80a71b40 Merge "Fix: configure etc-hosts for overcloud group" 2024-03-13 14:16:11 +00:00
Pierre Riteau 142a22deca Fix link in release note
Change-Id: Ib8d47408b851493d0843a82c4d7197bfc8965506
2024-03-13 12:27:38 +01:00
Pierre Riteau e460099e1a Remove default value from sample configuration
This was added in change I8129b2a6793ea36bb296ef8337a5461f73d6e557.

Change-Id: I028e137dade594f51450e47ba4a97c0435ba6796
2024-03-05 18:12:29 +01:00
Zuul e7e354989e Merge "Skip buggy release of docker PyPI package" 2024-03-04 14:55:04 +00:00
Zuul 82fb7213a6 Merge "Support credentials for custom DNF repositories" 2024-03-01 23:29:28 +00:00
Will Szumski 9c1951478f Skip buggy release of docker PyPI package
The tag regex is buggy and fails if the docker registry contains a port
number[1].

[1] https://github.com/docker/docker-py/issues/3195

Change-Id: I5d85e751b490ab1e39e417ff8797ca8f8688590b
Closes-Bug: #2054715
2024-03-01 19:08:17 +00:00
Matt Crees 498de81efe Fix: configure etc-hosts for overcloud group
Change the etc-hosts role to run on the overcloud group, as using
``ansible_play_hosts_all`` would exclude hosts when running with a
limit.

Also change the gather-facts-delegated role to run on the overcloud
group. The delegated task needs to be included separately as the hostvar
``ansible_host`` cannot be set dynamically based on a loop item in one
task. We loop over the batch indices here so that the tasks are included
in parallel, rather than in series.

Closes-Bug: #2051714

Change-Id: I0465eafa9e4ff37c96064ea8395f0bd461035b40
2024-03-01 15:18:33 +00:00
Zuul 292125b5a4 Merge "CI: Add SLURP upgrade jobs" 2024-03-01 15:14:51 +00:00
Zuul 684a440bae Merge "Make hooks environment-aware" 2024-03-01 14:28:02 +00:00
Zuul dc6dc2ecd9 Merge "Fix typo in example" 2024-03-01 13:56:56 +00:00
Alex-Welsh aef2ce0ae2 CI: Add SLURP upgrade jobs
Change-Id: Id4af9fcfd56c8101276996555e07f6cefe433dd8
2024-02-23 09:57:36 +00:00
Pierre Riteau 983baf886a Rephrase kolla_build_neutron_ovs release note
Change-Id: I295d39d0658b6e95f22cd3d3961d94068afd9b49
2024-02-23 09:05:48 +01:00
Will Szumski b360342c59 Fix typo in example
Change-Id: Ie4912af9717baa65f1a8a31cf4b425a6802e7c98
Closes-Bug: #2051128
2024-02-20 15:53:43 +00:00
Zuul 5244733d75 Merge "Make OVS container build regex independent to OVN" 2024-02-19 17:13:44 +00:00
Zuul f2b658ecb6 Merge "Generate KA config before ``kolla ansible run``" 2024-02-16 19:36:21 +00:00
Zuul 3bc0f1872e Merge "Add missing space in help output" 2024-02-16 18:46:43 +00:00
Zuul 24d65075f6 Merge "Support auth configuration for Apt repositories" 2024-02-15 18:15:38 +00:00
Zuul d0575cd59f Merge "Fix wipe-disks role to work on util-linux >= 2.37" 2024-02-15 18:06:33 +00:00
Dawud 3942d29448
Fix wipe-disks role to work on util-linux >= 2.37
On newer versions of util-linux, the ``wipe_disks`` role was not
properly configured due to the fact that ``lsblk -J`` returns a slightly
different output than what was previously returned. Previously the
output would contain a key called ``mountpoint``, however this has been
changed to ``mountpoints``. This has now been fixed by looking at the
new key as well as the old key.

Closes-bug: #2051859
Change-Id: I2a59f4eb3ae27f37fda38e05924315887cb04c41
2024-02-14 10:43:20 +00:00
Pierre Riteau bb51db15fe CI: support .gitreview of unmaintained branch
Change-Id: Ica6c0b204094ed61aef8242c934eb3b7715ce944
2024-02-13 22:07:19 +00:00
Pierre Riteau 4337e78eea Add missing space in help output
Change-Id: I6834aa6a19a73efe807402fa767b9ceaf1170a20
2024-02-13 19:26:54 +00:00
Seunghun Lee ec5bbf398c Make OVS container build regex independent to OVN
Currently building OVN container images and OVS container images are
mutually exclusive.

This becomes problem when all container images are needed to be built
at the same time.

``kolla_build_neutron_ovs`` is added to let user to build OVS even if
OVN is enabled when it's explictly set to true.

Default value ensures regex mapping behaves normally when
``kolla_build_neutron_ovs`` is not given.

Release note is also added.

Change-Id: I7efe883fce4117a5167b6db4a711004d77a44f81
2024-02-13 11:53:26 +00:00
Mark Goddard db3f22d42d Support auth configuration for Apt repositories
This allows use of repositories and proxies protected with HTTP basic
authentication.

Change-Id: I0ec4ec3e9d60bb1431b44dd6718415214ad80025
2024-02-11 12:49:16 +01:00
Zuul 2d0f797b3e Merge "Build letsencrypt images" 2024-02-09 22:38:50 +00:00
Pierre Riteau 7d8a43764f Mark kayobe-tox-ansible job as non-voting
This job is currently failing following a Ubuntu Jammy kernel update.
The job succeeds on 5.15.0-86.96 but fails on 5.15.0-94.104.

Change-Id: I7561e82e811c74276a87074c7aa52a9adb414483
2024-02-09 17:39:15 +01:00
Zuul 595fe87e86 Merge "reno: Update master for unmaintained/yoga" 2024-02-07 20:58:32 +00:00
Mark Goddard bd6673477f Support credentials for custom DNF repositories
This allows use of repositories protected with HTTP basic
authentication.

Change-Id: I6c9686bdf736d58738fbe88169e62833cc85d2f4
2024-02-07 09:53:49 +01:00
Will Szumski 8006c65a54 Build letsencrypt images
These are currently not included in the regex we generate so aren't
built as part of the complete set.

Change-Id: I4f79b1b0887df72b11b768593ba45d89e75ce0d6
Closes-Bug: #2052428
2024-02-07 06:55:53 +00:00
OpenStack Release Bot db1d008d9d reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I26cb42955387a425c2af80ec56e3253f16a34a17
2024-02-05 16:06:27 +00:00
Bartosz Bezak 2a73c328d3 Reload NetworkManager on DNS config change
Initial fix [1] was not reloading NetworkManager config, which caused
MichaelRigart.interfaces role to clean up resolv.conf after interface
bounce.

[1] https://review.opendev.org/c/openstack/kayobe/+/902561
Related-Bug: #2044537

Change-Id: I5644ab2595a30cfff82f03d5ca4aa501a8b36ef8
2024-02-05 14:59:12 +01:00
Zuul e469e99eba Merge "Ask for confirmation during overcloud deprovision" 2024-02-05 10:50:10 +00:00
Matt Crees bc98c494ae Generate KA config before ``kolla ansible run``
Supports calling custom Kolla Ansible commands directly after a
``kayobe control host bootstrap``.

Change-Id: I19f188cc002f8578618003e90c0a4a154b806e49
2024-02-02 13:25:58 +00:00
Zuul 691454965f Merge "Use dummy1 as bridge port instead of eth1" 2024-02-02 11:53:16 +00:00
Will Szumski 280e84be82 Remove docker devicemapper support
This has now been removed from upstream docker-ce packages.

```
the devicemapper storage-driver has been deprecated and removed
```

and has shown deprecation warnings for some time.

This change also includes some fixes necessary for CI to pass:

* update the Zuul previous_release variable to 2023.2

Closes-Bug: #2051233
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/906858
Change-Id: I263f59ea77e39accffe4febe0d47e56b35d9800e
2024-02-01 14:10:09 +00:00
Matt Crees 74f1bf7eff Ask for confirmation during overcloud deprovision
Prompts the user to confirm before deprovisioning any overcloud hosts.
The user is given a list of hosts which will be deprovisioned. Automatic
confirmation can be achieved by setting ``confirm_deprovison`` to
``yes``.

Change-Id: I6eea5bb7c268912e6f39627f64c92715877311a3
2024-01-22 11:56:17 +00:00
Ghanshyam Mann 395bd34f64 Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: If9ccc21a51e85eefe1fc403db889051b933fc29d
2024-01-08 20:22:11 -08:00
Zuul 6ed2424699 Merge "Ensure git is present before checkout tasks" 2023-12-22 13:04:42 +00:00
Mark Goddard 0055d384a6 Make hooks environment-aware
Previously it was only possible to define custom playbook hooks in the
base configuration, and not in environments. This could be limiting in
cases where different environments require different hooks.

With this change it is now possible to define hooks both in the base
configuration and in environments.

Change-Id: Ic003c18402177318ac1aa4c2d851263893bd4e9f
2023-12-21 14:45:30 +00:00
Mark Goddard 96d0daa7e6 Use assertIsInstance() instead of assertTrue(isinstance())
pep8 complained about it.

Change-Id: I09061b8a9769d737115b7677599e8796503f0725
2023-12-20 17:09:09 +00:00
Pierre Riteau 06f405dcdf Use dummy1 as bridge port instead of eth1
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 when following the automated setup
instructions. Switch to dummy1 to ensure a dummy port is created.

Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/904044

Change-Id: I64b6180194fd94c691e5ca75b815b6cb3f1d7d3c
2023-12-19 23:52:48 +01:00
Zuul bb2af07567 Merge "Revert "Use OpenStack 2023.2 release"" 2023-12-12 13:33:50 +00:00