From 0149b6061c19d5373273d20d1b3f91c9424188fe Mon Sep 17 00:00:00 2001 From: Jakub Stejskal Date: Mon, 4 Nov 2024 08:41:25 +0100 Subject: [PATCH] Skip post_installation in case of installer failure (#84) Signed-off-by: Jakub Stejskal --- osia/installer/executor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osia/installer/executor.py b/osia/installer/executor.py index 223df3c..4734a35 100644 --- a/osia/installer/executor.py +++ b/osia/installer/executor.py @@ -73,7 +73,8 @@ def install_cluster(cloud_provider, logging.error(exception) if inst.check_clean(): delete_cluster(cluster_name, installer) - return + # Do not continue in case of installer failure + return inst.post_installation()