In order to cover scenario of package installation from OS native repos,
we switch distro jobs to test this specific scenario.
It means, that distro jobs instead of running aligned versions provided
by distro repos will be relying on what is present in their native repos.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/914530
Change-Id: I6d0595e2fb09b8c5164f87297c6b42a06069b58e
In case `ovn` is part of the SCENARIO, tempest will be told to test `ovn`
provider for it's scenario test.
Change-Id: Ifb184f586f282bc4341d1429330a245244dfb648
At the moment Cloudkitty is targeted at all LXC hosts along with containers
which is not needed nor intended.
Unfortunatelly there's no really good compatible fix exist, so action from operator is required to handle transition to new naming for
the service.
Change-Id: I9360495e3b3347568969e36e0e96bb1325efd59f
To allow encrypting connections of db healthcheck tasks, include the
check_hostname option to verify a server host name when an SSL
connection is required.
Also enable galera_require_secure_transport during TLS test jobs.
Change-Id: I23d839e75b202d0400aeefe6e98c429e16ecd37e
In case, when there's more then 1 image with name `fedora-coreos-latest`
Magnum fails to resolve it's uuid and fails to create a template from such
image.
In order to prevent this happening, we do enable image rotation in CI
to fix upgrade jobs.
Changing visability to `community` does hide the image from non-owner
unless explicitly asked for listing community images.
Change-Id: I1d5f02824e0c0fed820ee0808127efccad1017cf
Previously this was either 'vlan' or 'flat' depending on the external
network type, and there were also cases when the name and type were
mismatched - particularly when the flat network was untagged traffic
on a vlan bridge.
This patch removes that confusion and always names the external
network 'physnet1' to align with the upstream neutron examples.
Change-Id: I3cd8b93b42777b787552051bcdc9a90347f1e03d
When deploying a complex AIO with several services enabled, currently
duplicate definitions are made for the tempest test include and
exclude lists. It is down to ansible variable precedence to
determine which one is actually used.
This patch uses the changes made in [1] to allow tempest include and
exlude lists to be defined in many variables and aggregated at the
point the config files for tempest are written.
[1] https://review.opendev.org/c/openstack/openstack-ansible-os_tempest/+/891579
Change-Id: If047578c283e85b38e73a5f117289f42150f3daf
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: I65d3fa2e3d6d38f0a51ce1f402ac25d976b67b89
The code in this playbook assumes that the path to a partition is just
the partition number appended to the disk path. However when working
with NVMe disks, the partition will actually be "pN" where N is the
partition number and p is the literal character. To attempt to be
agnostic use lsblk to show all the partitions on the disk, since it was
just reformatted and only has the partitions this playbook creates. This
is then stored in a new temporary fact that can be used throughout the
rest of the playbook.
Change-Id: I661696c275fbc2e91d049303f5498ff8d401fc83
During PTG we agreed to disable quorum queues by default during this
cycle and wait for improvements proposed as part of [1] before enabling
it by default.
This also adds a separate job that will test scenario with enabled quorum
queues.
[1] https://review.opendev.org/q/topic:bug-2031497
Change-Id: I0807cc1ed991fd85f9f74d4a360d3fd23cde227c
The disk check for AIO deployments using BTRFS was breaking due to
a change in the command line utility output. This change updates
the commands we use to ensure that the output is usable.
Change-Id: I548ad1a4a0ee7527f7b5fcd871ed55c9bc5ce6e7
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
Building wheels takes quite some resources and time in CI without
giving much benefit on metal runs, because requirements for wheels
build could be provided by other role while build would fail in LXC
jobs.
So in order to reduce load on CI and speedup tests we disable wheels
build for metal AIO deployments.
Change-Id: I98abd19d9ecd62bde9df088219308a5f4d4cc950
This is not dependant on if we are running a regular or an upgrade
job. Move the code to a more logical location.
Change-Id: Ibdb29a679504ce30bcdc7591b8e68c054dbea580
Enabling a complex AIO scenario will result in many definitions
of tempest_tempest_conf_overrides and only one will actually be applied
in accordance with ansible variable precedence.
This patch allows the final content passed to tempest to be
composed from many variables simultaneously.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_tempest/+/894757
Change-Id: I9095e61d80ed51f1c60e8838d376c9cded6adbe6
At the moment we experience DISK_FULL issue in CI for upgrade
jobs on Rocky. This happens as our log files are more then
available per-job limit, which is capped at 5Gb. In order
to see what fills up the diskspace and reduce overall disk consumption,
we apply rate limiting and define maximum size of files as well as
total diskspace that can be consumed by logs not to exceed that limit.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/892151
Change-Id: I960a4377f6cfc6977a4d0df0e53744cdfb539b1e