commit | 97fcc7b27b9972dd43f9466f1b662ed6e8f58417 | [log] [tgz] |
---|---|---|
author | Sean Dague <sean@dague.net> | Mon Jun 16 17:24:14 2014 -0400 |
committer | Sean Dague <sean@dague.net> | Sun Jun 22 11:37:51 2014 -0400 |
tree | 01de66efa7adb88a92a08e800f3a13e07a473ae7 | |
parent | 1469a04f183553be197166d2abeb3a6f94894d38 [diff] [blame] |
add worlddump tool to devstack when we exit poorly, start building a tool for doing a capture as to why. This tool is expected to be consumed directly from grenade as well. Change-Id: Ia1bc1c2e259587035ca7252baceec25fa464cb82
diff --git a/stack.sh b/stack.sh index d2f18d4..5e2daf6 100755 --- a/stack.sh +++ b/stack.sh
@@ -622,6 +622,11 @@ # Kill the last spinner process kill_spinner + if [[ $r -ne 0 ]]; then + echo "Error on exit" + ./tools/worlddump.py -d $LOGDIR + fi + exit $r }