Commit Graph

1564 Commits

Author SHA1 Message Date
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
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
Zuul da80a71b40 Merge "Fix: configure etc-hosts for overcloud group" 2024-03-13 14:16:11 +00: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 5244733d75 Merge "Make OVS container build regex independent to OVN" 2024-02-19 17:13:44 +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
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
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
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
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
Zuul 6ed2424699 Merge "Ensure git is present before checkout tasks" 2023-12-22 13:04:42 +00:00
Zuul bb2af07567 Merge "Revert "Use OpenStack 2023.2 release"" 2023-12-12 13:33:50 +00:00
Zuul 48176b9b3d Merge "Stop NetworkManager from overriding resolv.conf" 2023-12-12 12:58:49 +00:00
Matt Crees 578a257c38 Stop NetworkManager from overriding resolv.conf
When ``resolv_is_managed`` is set, Kayobe templates resolv.conf. This
patch stops NetworkManager from overriding these changes.

Closes-Bug: #2044537
Change-Id: I90b61dfe03d53c58327d2b15e70b7b8489bdfb47
2023-12-11 11:39:47 +00:00
Pierre Riteau dd8cf81607 Revert "Use OpenStack 2023.2 release"
This reverts commit 99f5b64956.

Reason for revert: 2023.2 has been branched and released

Change-Id: I38fc5dcadda5103d63a11022825e8e167408677d
2023-12-08 11:55:04 +01:00
Pierre Riteau 0df1a461dd Ensure git is present before checkout tasks
The latest Rocky-9-GenericCloud image does not include the git package.

Change-Id: I47a54b822d45ab5e1e64fa5e0f8111c0edadcb36
2023-12-08 10:35:41 +01:00
Stig Telfer 49f91043c6 Fix gateway assignment when seed SNAT is disabled
Fix a logic issue when seed SNAT is not enabled. In this circumstance
Bifrost was generating ConfigDrive data with the default gateway unset
even when one is available on the admin network. This regression was
introduced in Ib847d3420dee374cec067cd8af519b510be04120 [1].

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

Closes-Bug: #2045926
Change-Id: Ifd9f9cd389ac09448fc91dba74f8f09595698b55
2023-12-07 23:22:28 +01:00
Zuul 7cf2ac3c58 Merge "Remove unused kolla bootstrap-servers variables" 2023-12-06 15:31:34 +00:00
Zuul 9d529f6512 Merge "Use OpenStack 2023.2 release" 2023-12-06 10:59:46 +00:00
Zuul abb62582a1 Merge "[release] Sync with Kolla Ansible for 2023.2" 2023-12-02 13:35:46 +00:00
Zuul b3d9b3773c Merge "Remove kolla_enable_host_ntp variable" 2023-12-01 17:40:17 +00:00
Will Szumski 35405d0a2d Remove unused kolla bootstrap-servers variables
We no longer use these variables since we switched to the kolla Ansible
collection.

TrivialFix

Change-Id: I50238dd694edc7ee02be4bfdc56ebf3a603e05d2
2023-12-01 16:23:20 +01:00
Pierre Riteau 99f5b64956 Use OpenStack 2023.2 release
Switch all dependencies to use the OpenStack 2023.2 release.

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

Change-Id: I749a1ac30fa15cf7faa456fcb90c4ddbbef77cc9
2023-12-01 15:58:47 +01:00
Pierre Riteau e2f5d75f8d [release] Sync with Kolla Ansible for 2023.2
Change-Id: I5cd9dacea10f0e00b3d481704f0949b6f5c4a69e
2023-12-01 15:52:47 +01:00
Zuul bc24c9ece1 Merge "Remove libgcrypt package update" 2023-12-01 12:58:51 +00:00
Pierre Riteau 8da5472ea8 Remove kolla_enable_host_ntp variable
This variable was configuring enable_host_ntp in kolla-ansible, which
was removed in the Xena release.

Change-Id: I737598d3bbe40b933b4b727eccc3b2a76ed97cdb
2023-12-01 13:02:19 +01:00
Zuul c418bb67ca Merge "Install docker Python package in kolla venv" 2023-12-01 04:08:43 +00:00
Zuul 8e82a6b4a6 Merge "switches: add flag to save configuration on Dell switches" 2023-12-01 02:22:16 +00:00
Will Szumski bd36b5f018 Adds initial support for vGPUs
Adds support for configuring vGPUs on NVIDIA hardware.

Closes-Bug: #2028843
Change-Id: I4c8481f7429dbf50d51e26bd7acee24e16ee6c79
2023-11-30 14:33:32 +01:00
Pierre Riteau 5e39e08587 Install docker Python package in kolla venv
The docker Python package was dropped from kolla requirements [1], but
we still need to install it to build container images.

[1] https://review.opendev.org/c/openstack/kolla/+/896644

Change-Id: I241884497f4fb707385eb12d5fcc187ed839f754
2023-11-30 14:14:51 +01:00
Zuul 409d85758a Merge "Allow more fine-grained groups for ironic, loadbalancer & network" 2023-11-30 11:20:16 +00:00
Zuul 323912d769 Merge "kolla-bifrost: Add precheck for inspection allocation pool" 2023-11-29 17:10:48 +00:00
Zuul c113ddd5b6 Merge "Honor custom ssh args in kayobe-ansible-user.yml" 2023-11-29 12:33:36 +00:00
Zuul 3c0f016314 Merge "Deduplicate before picking merge strategy" 2023-11-29 11:37:32 +00:00
Zuul 76208da885 Merge "Adds support for using Dell OS 10 switches with NGS" 2023-11-28 18:05:03 +00:00
Pierre Riteau ad2057e2d3 Remove libgcrypt package update
This fix was added when upgrading from CentOS Linux 8.2 to 8.3. This is
likely not required on currently supported operating systems.

Change-Id: Ic2c47ae4514d98ff18c5d17ba62b50c47f3929c1
2023-11-24 10:39:57 +00:00
Michal Nasiadka 1e2ac5eb28 kolla-bifrost: Add precheck for inspection allocation pool
Change-Id: I73fad29af6a57b29afea46947d1ae90546253a2a
2023-11-23 10:59:52 +00:00
Zuul 14bcaba0a3 Merge "Add support for setting Docker daemon debug" 2023-11-22 08:47:46 +00:00
Zuul 0cb0e9feef Merge "provision-net: Remove transitional unshare code" 2023-11-21 19:39:41 +00:00
Will Szumski 786a78d074 Deduplicate before picking merge strategy
I missed this when I refactored the code to fallback
to templating. We need to deduplicate before picking
the strategy for the fallback to work for symlinked files.

Change-Id: Iddd6c90a6daa41e1d1cdaa6b598491792c13394d
Closes-Bug: #2042689
2023-11-17 18:56:23 +00:00