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
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>
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
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
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
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
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
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
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
When ``resolv_is_managed`` is set, Kayobe templates resolv.conf. This
patch stops NetworkManager from overriding these changes.
Closes-Bug: #2044537
Change-Id: I90b61dfe03d53c58327d2b15e70b7b8489bdfb47
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
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
This variable was configuring enable_host_ntp in kolla-ansible, which
was removed in the Xena release.
Change-Id: I737598d3bbe40b933b4b727eccc3b2a76ed97cdb
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
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
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