From 760c2b796d24cf79c1cdcd80d3c61a584fd679ff Mon Sep 17 00:00:00 2001
From: Mark Goddard <mark@stackhpc.com>
Date: Wed, 24 Mar 2021 08:46:18 +0000
Subject: [PATCH] CI: use retries for control host bootstrap in seed VM jobs

All instances of 'kayobe control host bootstrap' in the development
scripts use a helper function, except for during seed_hypervisor_deploy.
The helper adds a retry mechanism to combat flakiness often seen during
Ansible Galaxy installs.

This change fixes the issue.

TrivialFix

Change-Id: I954cb604a18874744b3673ebf2e2c29caa18ce8f
---
 dev/functions | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev/functions b/dev/functions
index 03113027..7dbccf53 100644
--- a/dev/functions
+++ b/dev/functions
@@ -266,8 +266,7 @@ function seed_hypervisor_deploy {
     # Deploy a seed hypervisor.
     environment_setup
 
-    echo "Bootstrapping the Ansible control host"
-    run_kayobe control host bootstrap
+    control_host_bootstrap
 
     echo "Configuring the seed hypervisor"
     run_kayobe seed hypervisor host configure
-- 
GitLab