diff --git a/lib/neutron b/lib/neutron index 465b57cc35..4b280d1d53 100644 --- a/lib/neutron +++ b/lib/neutron @@ -505,7 +505,7 @@ function stop_neutron() { [ ! -z "$pid" ] && sudo kill -9 $pid fi if is_service_enabled q-meta; then - pkill -9 -f neutron-ns-metadata-proxy + sudo pkill -9 neutron-ns-metadata-proxy || : fi if is_service_enabled q-lbaas; then