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
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
The default tags don't include overcloud-ssl, but this needs to
be included for the case where this combination is used:
undercloud_generate_service_certificate: true
ssl_overcloud: false
In this case we don't generate inject-trust-anchor.yaml which
means the overcloud deploy script is broken.
Change-Id: I42e94f6791e3de1af09bee7c2b5c64201283ae9e
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
When the undercloud is enabled with TLS, the overcloud needs to trust
the CA, even if the overcloud is not using TLS.
The overcloud-ssl module already skips most of the process when
overcloud_ssl is false. So I removed the skipping of the overcloud-ssl
role from the playbooks in order for the CA injection template to be
generated.
Closes-Bug: #1731282
Depends-On: Ib88f6e4d561f9c8b5ba6215bbd9450a704b74eec
Change-Id: Iae6f1768018d37f898da1ad455475036896189c4
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