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
This commit is contained in:
Clark Boylan 2015-08-20 16:01:12 -07:00
parent 4fa10afecb
commit 92a8ec431f

13
tools/check_devstack_plugin.sh Executable file
View File

@ -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