Merge "Fix stop_neutron metadata agent function"
This commit is contained in:
commit
3f5250fff3
@ -505,8 +505,7 @@ function stop_neutron() {
|
||||
[ ! -z "$pid" ] && sudo kill -9 $pid
|
||||
fi
|
||||
if is_service_enabled q-meta; then
|
||||
pid=$(ps aux | awk '/neutron-ns-metadata-proxy/ { print $2 }')
|
||||
[ ! -z "$pid" ] && sudo kill -9 $pid
|
||||
pkill -9 -f neutron-ns-metadata-proxy
|
||||
fi
|
||||
|
||||
if is_service_enabled q-lbaas; then
|
||||
|
Loading…
Reference in New Issue
Block a user