devstack/lib/neutron_plugins/services
Attila Fazekas f750a6fedb Already dead process tolerance in unstack.sh
The gate/updown.sh calls the unstack.sh with
-ex option. Normally we do not use -e with unstack.sh.

The unstack.sh can fail if the service already stopped,
and it also can have flaky failures on the gate.

For example the stop_swift function tries to kill swift in two
different ways, and if the first one succeeds before the 2th attempt
the pkill fails the whole unstack.sh.

This change accepts kill failure.
Normally the kill can fail if the process does not exits,
or when you do not have permission to the kill operation.

Since the permission issue is very unlikely in our case,
this change does not tries to distinguish the two operation.

The behavior of the unstack.sh wen you are not using -ex should
not be changed by this change.

Change-Id: I64bf3cbe1b60c96f5b271dcfb620c3d4b50de26b
2015-07-01 12:17:35 +02:00
..
firewall neutron: use config files from neutron-*aas repos 2015-01-12 10:48:08 +01:00
loadbalancer Already dead process tolerance in unstack.sh 2015-07-01 12:17:35 +02:00
metering Stop neutron services more explicitly 2015-02-05 12:39:13 +00:00
vpn VPNaaS Support for StrongSwan driver. 2015-02-27 12:05:15 -05:00