Merge "Stop quantum-ns-metadata-proxy process on unstack"

This commit is contained in:
Jenkins 2013-05-15 11:12:24 +00:00 committed by Gerrit Code Review
commit ff9584f5d7

View File

@ -397,6 +397,10 @@ function stop_quantum() {
pid=$(ps aux | awk '/[d]nsmasq.+interface=(tap|ns-)/ { print $2 }')
[ ! -z "$pid" ] && sudo kill -9 $pid
fi
if is_service_enabled q-meta; then
pid=$(ps aux | awk '/quantum-ns-metadata-proxy/ { print $2 }')
[ ! -z "$pid" ] && sudo kill -9 $pid
fi
}
# cleanup_quantum() - Remove residual data files, anything left over from previous