add process debugging when things fail

This adds additional debug information to try to catch artifacts
for keystone-all failing to shut down. In future we'll generalize
it into worlddump, but right now it's good debug to keep around.

Change-Id: Id62fb2ddeae2001313e98e567f5c227a8f2fadc6
This commit is contained in:
Sean Dague 2015-04-21 11:22:24 -04:00
parent df2c32b44a
commit 584e3ea28e
1 changed files with 3 additions and 0 deletions

View File

@ -160,6 +160,9 @@ function ensure_services_stopped {
done
if [[ -n "$still_running" ]]; then
# TODO(sdague): work around because worlddump is apparently misconfigured
ps auxw
ss -p -t -o state established '( dport = :5000 or dport = :35357 )'
die $LINENO "The following services are still running: $still_running"
fi
}