tag worlddump files with names
This will make it easier to understand the failures by not having to time corolate these files, but know which are the good ones. Depends-On: I4e40eff6d0b1ef194e43b151a83206fbd50deb66 Change-Id: I7080b1d7d3f71d858ad6063c923376e49339b411
This commit is contained in:
parent
af4eaaafe4
commit
baaa0393a9
@ -87,8 +87,12 @@ function save_data {
|
||||
}
|
||||
|
||||
function worlddump {
|
||||
local name=$1
|
||||
if [[ -n "$name" ]]; then
|
||||
name="-n $name"
|
||||
fi
|
||||
if [[ -x $TARGET_DEVSTACK_DIR/tools/worlddump.py ]]; then
|
||||
$TARGET_DEVSTACK_DIR/tools/worlddump.py -d $LOGDIR
|
||||
$TARGET_DEVSTACK_DIR/tools/worlddump.py $name -d $LOGDIR
|
||||
sleep 1
|
||||
else
|
||||
echo "WARNING: Attempted to worlddump but couldn't find $TARGET_DEVSTACK_DIR/tools/worlddump.py"
|
||||
|
@ -92,12 +92,12 @@ function create {
|
||||
resource_save nova nova_server_float $id
|
||||
openstack ip floating add $ip $NOVA_SERVER
|
||||
|
||||
# ping check on the way up to ensure we're really running
|
||||
ping_check_public $ip 30
|
||||
|
||||
# NOTE(sdague): for debugging when things go wrong, so we have a
|
||||
# before and an after
|
||||
worlddump
|
||||
|
||||
# ping check on the way up so we can add ssh content
|
||||
ping_check_public $ip 30
|
||||
worlddump nova_resources_created
|
||||
}
|
||||
|
||||
function verify {
|
||||
|
@ -148,7 +148,7 @@ function create {
|
||||
|
||||
# NOTE(sdague): for debugging when things go wrong, so we have a
|
||||
# before and an after
|
||||
worlddump
|
||||
worlddump cinder_resources_created
|
||||
}
|
||||
|
||||
function verify {
|
||||
|
Loading…
x
Reference in New Issue
Block a user