From 2ae6acfe38db1142a4a93471bc15d642e40c3db6 Mon Sep 17 00:00:00 2001 From: Jordan Pittier Date: Wed, 8 May 2013 19:14:29 +0200 Subject: [PATCH] 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 --- lib/quantum | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/quantum b/lib/quantum index 293ef3af3c..dfd73e99f4 100644 --- a/lib/quantum +++ b/lib/quantum @@ -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