This patch remove useless tripleo-validations calls in the
tripleo-quickstart-extras playbook.
Only validations and standalone is used for now in CI.
The other implementations was legacy implementation that is not
used anymore in CI
Change-Id: I2ef1f06007c646ef4307c0cc0b6f60af414f9234
In patch[1] we have updated the playbook to use new validation role
'tripleo_validations' stored in tripleo-validations repo.
Above patch breaks stein and older branches as that role is not
available prior to train branch.
With this patch we skip the include of new tripleo_validation role for
stein and prior branches.
We also moved to include_role style way of including role so that if
role is not available it do not try to load it.
[1] https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/755382
Closes-Bug: #1914993
Change-Id: Ida95fd46718e5d29d9951453653afb390b0d7bbd
When running playbook, don't connect to localhost, just use
undercloud as usual and run localhost tasks with delegate_to.
Change-Id: Ib8e6408f232f65d1b7addf00d89574af114ec809
Close-Bug: 1911451
Co-Authored-By: Sagi Shnaidman
Makes those files conformant with current linting rules and avoids
linting errors when we need to toch them again.
Previous doing "pre-commit run -a" uncovered these errors, now is no
longer reporting any other errors.
Change-Id: Ie4cf229c8f11c2b55b323eac23c89483b26d3781
This modification reintroduces the tags for all the task inside the main
playbooks quickstart-extras-*.yml.
This is related to the tags topic [1] and is meant for developers who
wants to have atomic access to each step of the deployment.
[1] https://bugs.launchpad.net/tripleo/+bug/1657415
Change-Id: Icd645ee9003bafb8988a6430280ab4b7ad5ff34f
This patch allows us to run tripleo-validations tests through the
Mistral framework for newton release and above. It also allows us to run
negative tests for pre-introspections validations like:
- undercloud-ram
- undercloud-cpu
- undercloud-disk-space
The pre-deployment and post-deployment should be done and will be done through
different patches.
Change-Id: Iec07a18322252af2d484bc3f06a59dbd1b08f537
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This should allow easier composition of custom playbooks from bits and
pieces of quickstart-extras.yml. It will be especially useful when one
wants to reuse existing environment (e.g. deployed undercloud) and
perform additional automated actions on it. (The current solution has
been to use ansible tags, which has been quite error prone for me, and
i've sometimes ended up ruining my dev environment. Composing custom
playbooks is both safer and more straightforward to reason about.)
Depends-On: I513149a9de524dd3f017c583d06c35a165581715
Change-Id: Ie40da10fb96265340b243fff9b48fd18640de978