Neutron-rootwrap-daemon cannot be killed when you stop
neutron services, so here we add the right command in
the neutron stop-service scripts.
Change-Id: I91fefb277427e0e16ff59760b7255e4c7eee1792
Closes-Bug: #1525601
... | ... |
@@ -780,6 +780,10 @@ function stop_neutron_other { |
780 | 780 |
if is_service_enabled q-metering; then |
781 | 781 |
neutron_metering_stop |
782 | 782 |
fi |
783 |
+ |
|
784 |
+ if [[ "$Q_USE_ROOTWRAP_DAEMON" == "True" ]]; then |
|
785 |
+ sudo pkill -9 -f $NEUTRON_ROOTWRAP-daemon || : |
|
786 |
+ fi |
|
783 | 787 |
} |
784 | 788 |
|
785 | 789 |
# stop_neutron() - Stop running processes (non-screen) |