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:
parent
b240ad472b
commit
2ae6acfe38
@ -397,6 +397,10 @@ function stop_quantum() {
|
|||||||
pid=$(ps aux | awk '/[d]nsmasq.+interface=(tap|ns-)/ { print $2 }')
|
pid=$(ps aux | awk '/[d]nsmasq.+interface=(tap|ns-)/ { print $2 }')
|
||||||
[ ! -z "$pid" ] && sudo kill -9 $pid
|
[ ! -z "$pid" ] && sudo kill -9 $pid
|
||||||
fi
|
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
|
# cleanup_quantum() - Remove residual data files, anything left over from previous
|
||||||
|
Loading…
Reference in New Issue
Block a user