Due to the bug in Ansible [1] it does not resolve requirement of /usr/bin/curl
properly, always trying to install `curl-minimal`, which would fail on systems with
already installed `curl`.
Since `curl` presence is essential for DNF, we should be able to skip installation
of curl to EL systems, as they are all shipped with it as of today.
[1] https://github.com/ansible/ansible/issues/82461
Closes-Bug: #2046172
Change-Id: I0f1bd3aa3dbce93c42fdb9399948c41edab2369d
Debian 11 latest repository for osbpo is Zed, while for Debian 12 both
Antelope and Bobact are available. We should use correct repos whenever
possible.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/894561
Change-Id: Iad6cc3839ad474982dcf88dddd57775cd5a628c7
This var is renamed _openstack_hosts_package list so that it
does not collide with a variable of the same name used in the
python_venv_build role.
Change-Id: Idedf39312df718a7d815eebb3642f75207348afb
Ubuntu 20.04 is not supported or tested in 2023.2, so we remove
focal-related variables from the role.
Change-Id: I52f772f519db6c4924443498bb3453f69cd997de
With update of ansible-lint to version >=6.0.0 a lot of new
linters were added, that enabled by default. In order to comply
with linter rules we're applying changes to the role.
With that we also update metdata to reflect current state.
Change-Id: Ide0ca8cf60f3a92c98543465d53bc4720067b153
Rocky 9.2 was released today and ships a new centos-release-nfv which
points to builds of RDO Dependencies build against RHEL 9 buildroots
instead of CentOS Stream 9. As such, we no longer need to keep Rocky at
a lower version of ovs/ovn and can match other distributions (and
Stream) on 3.1.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/883377
Change-Id: I396a75119cdfd3762a59f6e5437234fcc661b7ae
RDO provides two sets of repositories with OpenStack packages, RDO Trunk
and RDO CloudSIG [1]. Currently, openstack_hosts role always uses Trunk
repos but in some cases, users may prefer to use CloudSIG.
This patch adds a variable openstack_hosts_rdo_repo_type which can take
values "trunk" or "cloudsig" to select the type or repos to be used.
[1] https://www.rdoproject.org/what/repos/
Change-Id: I95ee40ae1366e815507b62ba632935e664971f42
Once distro packages are released, we can update our release name. This
should also fix distro jobs.
Change-Id: I826b08e026211271e9b0e363d4512b383dcd61d2
As we've landed fix for CentOS to work properly with new OVS and
workarounded bug, we can now start using new OVS version for stream.
Exclude can be removed once issue will be sorted out for Rocky as well.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/878911
Change-Id: I864cb07231ebf5c820c2ce3721323bebdc337e13
OVS 3.1 was released by CentOS NFV SIG which is built against newer
rdma-core libraries leading to uninstallable openvswitch3.1 on
Rocky Linux due to missing libmlx5.so.1(MLX5_1.24).
While CentOS doesn't need this specific rollback, it will be easier to
fix gates this way.
Change-Id: I388c115d368c0c0638d1dd4f9f11f4448a13a6b1
Currently, curl conflicts with curl-minimal package on Rocky:
package curl-minimal-7.76.1-19.el9_1.1.x86_64 conflicts with curl
provided by curl-7.76.1-19.el9_1.1.x86_64
To avoid complex logic between curl/curl-minimal we just install
package by providing a path to the binary it should provide.
Based on the distro this will result in instalation of either
curl or curl-minimal.
We also disable rhel9 jobs to sort out circular dependnecy.
Change-Id: If0f08e98912f1f7d060e5b9a338062d3d8469f3a
The patch for this to the other operating systems landed before
support for ubuntu-22.04 was added to this role, so the var was
missing in the 22.04 specific vars file.
Change-Id: I3b497a65b65238ab005736376ca23d6dc0cb2f58
We already have extra config for package manager. With this patch we
extend existing functionality by adding optional default value, that
will be concatinated with extra config.
Deployers are able to set default config to empty string if want to
disable that behaviour.
Change-Id: Ifa40a5296969088fd8f2d07968a8d94e3bc5b2c5
Ca-certificates is vital part of every system nowadays and it's
important to keep this package to it's latest state anytime role is ran.
Change-Id: Icde7acdc2ea0cbfa44d2f7f0ff8b35358d8cc9e8
In order to force requests module inside venvs to trust system-trusted
certificate authorities, we need to define environment variable
that will provide full path to CA file. Otherwise certifi provided file
will be used, that can't be updated with new CA once they're added
to system trust store.
Change-Id: I79446813602ae094bb788d3c29654fb814ec19a8
We also move CentOS repos configuration to vars to align
place where release needs to be updated with other distros.
Change-Id: I621e6c58a344c0854c8a68183faf928c599c48d5
Removing this check allows the same code to work on centos-8 stream
where the version is reported just as '8'.
Change-Id: Icc608500a099f51e5c44cecd1d259ff6315758f7
This is used by python_systemd wheel build which breaks when the
version string is read from pkg-config
Centos-8:
pkg-config --modversion libsystemd
239 (239-41.el8_3)
Bionic:
pkg-config --modversion libsystemd
237
This causes the C preprocessor to fail when building the wheel
http://paste.openstack.org/show/800825/ as the string returned on
centos cannot be used in a preprocessor version comparison.
This can be fixed by setting the environment variable LIBSYSTEMD_VERSION
which will be used by the python_systemd setup.py script in prefernce
to the value from pkg-config
In addition this patch changed the following for centos 8.3 which are
necessary to pass tests.
1. CentOS 8.3 merged nf_conntrack_ipv4/6 into nf_conntrack
2. CentOS 8.3 PowerTools repo use lowercase for name.
Change-Id: I3fb3080c69307b38e21735d431b55eefa221f12c
Since UCA provides V only for 20.04, we are not able to provide
distro installs for 18.04
Still we're leaving UCA fixed to U for bionic to get required KVM
libraries and other dependencies.
Change-Id: I94fbc9fc75e188d3a4a334ffb08836d431003764
We need config-manager to enable repositories for CentOS 8 hosts.
Also, since we do need PowerTools inside lxc containers, we should
install tooling not only for bare metal, but also for containers.
Some projects, like manila, also require some packages out of
PowerTools repository.
Change-Id: Ic150c2698acc3b78a60de36b4714fe2aafa3e970