Bumping yamllint version to 1.33.0
Removing heavy CI jobs from pipeline
Removing molecule jobs from pipeline
Removing doc build and promotion
Fixing indentation in impacted ansible files
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I113f1415db37bebb359e325858094a59077ec57a
Imports and uses of six module were removed from the project.
Logic dependent on Py2/3 usage was removed and calls to functions were replaced
with closest functional equivalent.
After merge of this change, the project will no longer be Python 2 compatible
in any way.
Note: Do not backport past train branch
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Iebdaa06b6fb173d2be9921ee87a2d5db5fe84240
This is intended to prevent issues caused by presence of deprecated services during FFU
from 16.2 to 17.1.
Role uses information retrieved from `/usr/share/openstack-tripleo-heat-templates/roles` to obtain
list of defined services on undercloud.
Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/862150
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I954e89e9b6980427ef5dbbea380103facd271b58
Patch also refactors the 'Building list of replaceable data' task
to use less jinja templating, in favor of ansible syntax.
Additional debug statements were implemented to provide more
detailed overview of the process.
Resolves: rhbz#2150298
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I0b77c6e8116629f0b3f7c54c2f4dab0f0ab040bf
tripleo-ansible is now listed in requiremets.txt.
tripleo-ansible and ansible-collections-openstack were removed from bindep.txt
Resolves: rhbz#2149177
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I9a30d44503cfc2754b34860a9a252c25c6baa141
Hypervisor statistics check has been dropped entirely, as it relies on
API deprecated by I515e484ade6c6455f82a3067940a418a0d7d965a[0]
Since reliable and standard compliant installation of ansible modules
is only possible using a collection, or system package manager,
the ansible-lint settings were adjusted to mock newly introduced modules.
Note about necessary dependencies was added to validation description.
Explanation of the mocks was added to other, previously mocked, modules,
in order to facilitate future development.
[0] 1f67ce2496
Resolves: rhbz#2149177
Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/862150
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I70765bfbe3f319fef8112ac633b1b3c38fb1488c
It appears that at least for some versions of jinja this filter does
not reckognize the attribut argument.
Replacing it with json query is the safest course of action.
Resolves: rhbz#2134118
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Ica6d2cdec7489499c79212ca01117e384d3fe6c8
Validation will now only verify primary disk of the node.
Description of the role and validation itself now includes
further instructions and explanation.
Validation failure message now recommends introspection as a next step.
node-disks.py module, associated tests and documentation were deleted
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I68b83bc9c035a4f3cfc04afb098ceb04de602691
This change allows oslo-config-validator containers to reach locations
on the host machine and verify local settings.
Resolves: rhbz#2127966
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I9daed3dbd6c7687f2a31370ad64cfc9f22880177
For Upgrade usage, this validation will check with yum-utils
if a reboot is needed by some core packages according to:
https://access.redhat.com/solutions/27943
Change-Id: Ib0ec55bfb4614b1415ab61a0077c34f4d147d43d
It seems flake8 is no longer available in Gitlab. This change switches
the source from Gitlab to Github to avoid the following failure.
fatal: could not read Username for 'https://gitlab.com': No such device
or address
Closes-Bug: #1996668
Depends-on: https://review.opendev.org/c/openstack/tripleo-ci/+/864603
Change-Id: I0735454daa5fc83ea37c278b98f22870d4dfa135
It is no longer supported by jammy and lead us to the following errors with the announce-release job.
```
No package matching 'python-dev' is available
```
Change-Id: I7c54768c6d9cda14ecb4a4d52361dcfdb267fe6c
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: Idf98b4f57f87abf64be3b5d7a6616b03293bfd98
Ansible modules from openstack collection will now be used to retrieve
information about baremetal nodes.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Ib4172beea8452eee4f633cb18ce32a16699b4b6a
The validation has been removed from the tripleo-validations package
as the token management changes made it obsolete.[0]
Role, molecule tests, derived CI job and documentation were removed with the validation itself.
[0] https://review.opendev.org/c/openstack/tripleo-heat-templates/+/683750
Closes-Bug: #1994029
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I6c4bdff5e253bb054231dae2c3a280322cb18b9f
The process nova_libvirt_launcher.sh does not exist anymore. Replaced the search for libvirtd process. Changed the registered variable name for clarity.
Closes-Bug: #1970755
Signed-off-by: Juan Pablo Marti <jmarti@redhat.com>
Change-Id: I59e7255f5c6d9b11ee0d14f171c15843f4871225
node-health validation will now be using openstack-ansible-collection
modules to obtain information about cloud structure and state.
This will allow the validation to be executed in environments with
more strict authentication requirements.
Documentation was updated to provide more information about authentication
procedure used.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Id3f332b7fd70a54d537dabec447ffa22a36256fd
The coverchange job has been disabled by a previous patch
as it brought no value to the project.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I473db15a3f149fae6e50f5877ad682d3334daa01
Time synchronization is essential for successful deployment. The chrony daemon is used for connection with the NTP pool for receiving time data, if the connection is unsuccessful the deployment fails. This validation is recommended to run if the deployment is failing on time synchronization task. This validation checks if the time is synchronized and prints NTP servers chrony is trying to access.
Signed-off-by: Veronika Fisarova <vfisarov@redhat.com>
Change-Id: Ia25673018b9ae1a44a068291de182ebf827466a1
The overcloud container CLI was previously only discovered if overcloud group
was present in the inventory. As one of the validations targets,
the 'allovercloud' group over took much of the previous 'overcloud' group responsibilities.
This could lead to an edge case when no overcloud container CLI was discovered on overcloud nodes,
and the undercloud cli was never sought. The relevant variable remained
unfilled and caused eventual syntax error during evaluation of a conditional
in the following task.
Resolves: rhbz@2127928
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I84a7c20a41698d57a379720ef0424f5220bb9edd
An error occurs while executing local tests if the user has more than one Python3 runtime installed. Currently supported version of python environment for tox tests is 3.8. Basepython was explicitly defined to version 3.8 so the error won't occur due to a different version.
Signed-off-by: Veronika Fisarova <vfisarov@redhat.com>
Change-Id: I7219d7d6e974eafbb615da201436c584ca316751
Avoid the validation failure when there are non DPDK instances. The playbook fails when there are instances not containing numatune, vcpupin or hugepages settings on the domain xml content.
Closes-Bug: #1988211
Signed-off-by: Juan Pablo Martí <jmarti@redhat.com>
Change-Id: I243f7781cd72827c0a1f9623a7e994e63d1561b0