From: Mark Beierl Date: Tue, 25 Oct 2022 15:22:45 +0000 (-0400) Subject: Bug 2184: Wait for cloud init X-Git-Tag: v12.0.4~4 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F10%2F12610%2F1;p=osm%2Fdevops.git Bug 2184: Wait for cloud init Adds an explicit wait for cloud-init to finish before proceeding with installation Change-Id: I76ec924b07a42f8d267acc8dd34920c032a37769 Signed-off-by: Mark Beierl --- diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index 50effe07..1474f89d 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -447,6 +447,8 @@ node("${params.NODE}") { logLevel: 'INFO', pty: true ] + // Ensure the VM is ready + sshCommand remote: remote, command: 'cloud-init status --wait' // Force time sync to avoid clock drift and invalid certificates sshCommand remote: remote, command: 'sudo apt-get update'