From 92a8ec431f86d0e5d5c4c5d9ef31c18fc16b7985 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 20 Aug 2015 16:01:12 -0700 Subject: [PATCH] Move nodepool test checks into nodepool It doesn't scale to have to change project-config every time we need to tweak the post devstack run check of nodepool. Instead put a script in nodepool that can be run by the job to check up on the service once it is deployed. Change-Id: Ie50c07b0581162c6fa297c0e1a5e38b4d1a7ca40 --- tools/check_devstack_plugin.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 tools/check_devstack_plugin.sh diff --git a/tools/check_devstack_plugin.sh b/tools/check_devstack_plugin.sh new file mode 100755 index 000000000..1a8305d4c --- /dev/null +++ b/tools/check_devstack_plugin.sh @@ -0,0 +1,13 @@ +#!/bin/bash -ex + +# Sleep long enough for the below checks to have a chance +# at being completed. +sleep 15m +# Check that snapshot image built +nodepool image-list | grep ready | grep trusty-server +# check that dib image built +nodepool image-list | grep ready | grep ubuntu-dib +# check snapshot image was bootable +nodepool list | grep ready | grep trusty-server +# check dib image was bootable +nodepool list | grep ready | grep ubuntu-dib