From db6a3287f465ab90d3cc0be393f6d29d10f5fc48 Mon Sep 17 00:00:00 2001 From: Jiri Podivin Date: Fri, 16 Jul 2021 08:39:22 +0200 Subject: [PATCH] Passes playbook to the validation action as a list Recent removal of the 'validations_libs.utils.convert_data' function, implemented by the Ief9459e914ea73fbd59a85c07a55c26078e0126a, resulted in a change of accepted argument types of the 'validations_libs.validation_actions' methods. This patch turns the passed argument from string into a list. Closes-bug: #1936465 Signed-off-by: Jiri Podivin Change-Id: I4e96f5a0e013de5abcde837dad3c5f9d5228dd4c (cherry picked from commit efdefd92de54d2dd0803f0367bf89bb577927037) (cherry picked from commit 265c15ab2ff13f2a50f0e75773550a824365b517) --- tripleoclient/v1/undercloud_preflight.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tripleoclient/v1/undercloud_preflight.py b/tripleoclient/v1/undercloud_preflight.py index 0416ee753..36bfb57bd 100644 --- a/tripleoclient/v1/undercloud_preflight.py +++ b/tripleoclient/v1/undercloud_preflight.py @@ -98,7 +98,7 @@ def _check_diskspace(upgrade=False): inventory='undercloud', log_path=tmp, validations_dir=constants.ANSIBLE_VALIDATION_DIR, - validation_name=playbook) + validation_name=[playbook]) def _check_memory():