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
diff --git a/lib/quantum b/lib/quantum
index 293ef3a..dfd73e9 100644
--- a/lib/quantum
+++ b/lib/quantum
@@ -397,6 +397,10 @@
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