Upgrades yamllint to latest version and adots use of its strict
checking.
Fix all known problems reported by yamllint so we don't have to do
that while touching these files.
Change-Id: I4bdc520d9e2aff086c4b463718bc1e053261a4f5
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
- warning from the output by setting no_log for sensitive
variable.
[WARNING]: Module did not set no_log for influxdb_password
- deprecation of "static", using 'import_tasks' for static
inclusions or 'include_tasks' for dynamic inclusions.
Change-Id: I774d59b0d1bf5324c5a8b7c95a06f07299478e6a
The max tries per validation task is currently hardcoded to 40. On
slow nodes it's possible to reach this limit easily.
This patch allows to customize the max retries and set the default
value to 40 as a backward compatibility.
Change-Id: Id23b6a301bea6592bc033ee8aa475933e171e3d8
This patch renames the failed tripleo validations log file to avoid a lot of
confusion, some people do sometimes, with the validate simple role result.
Change-Id: I9e6cb3219a2e9a6beb31ca9b50a061893ea875c2
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
The bug [1] has been fixed and released, so this patch removes the workaround.
[1] - https://bugs.launchpad.net/tripleo/+bug/1701239
Change-Id: Icf598f0d99b2518c3e7c3d4d746aac72661bae0d
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
When a validation test is running more than 40 seconds, we don't need to exit
the script and simply fail (which is causing some promotion trouble). Instead,
we skip the mistral execution and pass to the other validation test.
Change-Id: I07a61f9e4a013a08e6fbbc152c5afdb06d7ba636
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
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>