Stop quantum-ns-metadata-proxy process on unstack

Change function stop_quantum() in lib/quantum to also kill quantum-ns-metadata-proxy process

Fix Bug #1175658

Change-Id: I9e8f8437817cc645ab15eecfea1a134ea5ac13f2
This commit is contained in:
Jordan Pittier 2013-05-08 19:14:29 +02:00 committed by JordanP
parent b240ad472b
commit 2ae6acfe38

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