python-tripleoclient/tripleoclient
Gael Chamoulaud fdf79cf4f3 Run Validations with ThreadPoolExecutor
The validations are sequentially executed through ansible-playbook and
could take some time to complete. This patch adds support of running all
the validations in parallel through a ThreadPoolExecutor in order to
save processing time.

Without this patch, it takes almost ~5min to run all the validations but
only ~1min10 with the ThreadPoolExecutor.

- Add --worker/-w argument to give the maximum number of threads that
  can be used to execute the given validations
- Python 2.7: use futures backport instead, ThreadPoolExecutor is default
- Use six in tripleo_validator.py for python 3 compatibility

Change-Id: Ia805a556bc26700a3eb520ed72e90b37546901b8
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2019-08-08 16:31:30 +02:00
..
config Allow per-subnet DNSNameServers for ctlplane network 2019-06-26 15:29:55 +02:00
releasenotes/notes undercloud: wire ContainerHealthcheckDisabled 2019-04-12 15:51:37 -04:00
tests Merge "Disable telemetry if it's not enabled" 2019-08-07 03:25:49 +00:00
v1 Run Validations with ThreadPoolExecutor 2019-08-08 16:31:30 +02:00
workflows Merge "Additional resource cleanup" 2019-08-06 18:29:19 +00:00
__init__.py Add ReNo support 2016-10-08 00:28:43 +00:00
command.py Implement tripleo container image show command 2019-07-17 08:54:30 -04:00
constants.py Remove rhsm cli options 2019-07-31 09:24:23 -06:00
exceptions.py Add overcloud cell export command 2019-07-24 09:57:40 +02:00
heat_launcher.py Increase max_nested_stack_depth for heat 2019-05-08 16:56:58 +02:00
noauth_policy.json Add heat_launcher module to help launch heat-all 2017-02-08 15:49:24 -05:00
plugin.py Use OS_CACERT for zaqar's websocket connection 2019-03-11 09:53:06 +02:00
utils.py Replace warn with warning method 2019-08-02 16:11:55 +02:00