RHEL-8.3 kernel disabled the Intel TSX (Transactional
Synchronization Extensions) feature by default as a preemptive
security measure, but it breaks live migration from RHEL-7.9
(or even RHEL-8.1 or RHEL-8.2) to RHEL-8.3.
Operators are expected to explicitly define the TSX flag in
their KernelArgs for the compute role to prevent live-migration
issues during the upgrade process.
This also impacts upstream CentOS systems.
Co-Authored-By: Martin Schuppert <mschuppert@redhat.com>
Related: https://bugzilla.redhat.com/1923165
Closes-Bug: #1916758
Change-Id: Icfcfb1c07bbfbe05d27d67187d941c0c34fad2b2
This patch migrates the new role addition playbook into a proper Ansible
role with proper molecule tests. This new role will be responsible for
creating a new validation.
It is good to mention that the process won't change and it will be
fully transparent for the user.
To create a new role in tripleo-validations:
$ cd tripleo-validations/
$ export ANSIBLE_ROLES_PATH="${PWD}/roles"
$ ansible-playbook -i localhost, role-addition.yml -e validation_init_role_name=${NEWROLENAME}
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
Change-Id: I219f4054e6b854306719b9c91a0738c526f07666
This patch updates the information about the `#tripleo` IRC channel
after the OFTC migration and adds our brand new channel at Libera named
`#validation-framework`.
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
Change-Id: I8c0c1c90e92d323a04570940eba9456fc34d92da
The check-requirements template is now included
in the zuul layout file.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I687edfc953c01e1797f27c09f8b2fd8f34bb68ce
Preparation for the reqcheck job merge, as it fails
if the package is listed in the requirements.
Depends-On: https://review.opendev.org/c/openstack/tripleo-validations/+/793154
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I4da57b0832eb385d96b27c633e01384d4e07b88b
This patch also relaxes the Jinja2 constraint as they released 3.0.1 and
it is already in the master upper-constraints. Without it, this patch won't
be able to be merged.
Depends-On: https://review.opendev.org/c/openstack/validations-common/+/793151
Change-Id: I109beb134c52da440ff7a07a8a99e3e4fcb29a39
Tests for the initiation and basic functionality
of the 'check_flavors' module.
Test values added to the 'fakes' module.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Id954a556be30b4f334994326215ad6752bb717f5
This patch also adds molecule-podman driver as a requirement
because molecule >=3.2 stopped installing it by default.
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
Change-Id: Idbab25f1750b5afe990d7e46fa4e78f8f36ff057
When running pre-upgrade, it triggers a failed validation during FFU
Because undercloud is 16.2 and the overcloud is still running on 13.
Change-Id: Ia3d9ea6c3a69392975046518d5728496a3bec998
[1] has been merged and released[2] in upstream tox-ansible and it is now
able to manage global molecule configuration. The workaround, which
consisted in adding the molecule driver name in each scenarios
molecule.yml files, is not necessary anymore.
This patch also removes all the relative symlink to the Dockerfile and
adds directly in the global molecule configuration file.
[1] https://github.com/ansible-community/tox-ansible/pull/89
[2] https://github.com/ansible-community/tox-ansible/releases/tag/v1.5.0
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
Change-Id: I259c17b7a49ff5bf3476df4da399cc4b2782403d
Upper constraints on the packages used for building
documentation were introduced, to reduce chance
of incompatible package versions causing build failures.
Counterpart to: I8021f786476b61bbf88bf21a1151ce3198f7abbd
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I6f7a94393f44a63145375a9b490d85714dd0545a
This patch adds a molecule configuration file at the repository
level (tripleo-validations/.config/molecule/config.yml) which defines
all the default values for molecule.yml files in all roles.
This patch also introduces a common Dockerfile (UBI8 image) shared
between all the role molecule tests. This Dockerfile will install the
CentOS 8.x Linux Repos and GPG Keys during the image build.
This Dockerfile is located in tripleo-validations/.config/molecule
directory and it is shared through a relative symbolic link between all
the molecule directories.
NOTE: tox-ansible doesn't manage shared molecule configuration at the
project level (see [1]). To be able to use it, we have to explicitly add
the driver name in each molecule.yml file in the roles level. Once [1]
will be fixed, these will be removed.
[1] - https://github.com/ansible-community/tox-ansible/issues/88).
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
Change-Id: I4717825e2767dc55016a30fb62aa6a5541f26cfd
Make sure before update we do not have any dangling images.
Basically - make sure the command:
$ podman images --filter "dangling=true" -q --no-trunc
returns empty.
Co-authored-by: Daniel Bengtsson <dbengt@redhat.com>
Change-Id: I70acd9cef9e84d2c68b7bd3d82dcbd0f99c79fb9
Extra imports are mocked and fakes.py is imported in
every test module.
This should prevent requirements bloat, along with associated
gate issues.
Closes-Bug: #1922726
Change-Id: I73991977005838ae7c5eaf59e5456f9c92811d67
Add file to the reno documentation build to show release notes for
stable/wallaby.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.
Sem-Ver: feature
Change-Id: I1fef4b5dc1e3f0586a22a53df72dd609252deb20
Increased strictness of existing tests.
Factored out largest data structure to fakes.
Tests now cover entire module, except for the
if main clause which is trivial.
The test module now has proper docstring.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I92e4096c97359f0294641a85b9f7491f82ebd883
This patch organizes better the content of the documentation files in order
to render it clearer and better.
Change-Id: I5a00e854198fc5429db0353b490dc07192183476