This patch adopts several measures to prevent _sync_routers_task
and _rpc_loop from hanging because of subprocess.Popen.communicate
not returning.
1) Perform a sleep everytime a command is completed, similarly to
what is done in openstack.common.processutils.execute
2) Disable by default GARP, as kernel crashes caused by arping
have been observed
3) Prevent a non-critical keyerror in _router_removed from triggering
again a full sync, which might put the system under significant load.
This patch also adds debug log statements aimed at improving the
ability of debugging similar failures.
Change-Id: I003316bce0f38b7d2ea7d563b5a0a58676834398
Partial-Bug: 1224001
(cherry picked from commit 591ee00a67fbbe5f106ba12140b9f9420dee5907)
Reviewed: https:/ /review. openstack. org/50424 github. com/openstack/ neutron/ commit/ bc507645f1b570e 048bd0d2616d524 3b4ca5534f
Committed: http://
Submitter: Jenkins
Branch: milestone-proposed
commit bc507645f1b570e 048bd0d2616d524 3b4ca5534f
Author: Salvatore Orlando <email address hidden>
Date: Wed Oct 2 12:14:14 2013 -0700
Prevent L3 agent looping calls from hanging
This patch adopts several measures to prevent _sync_routers_task Popen.communica te
and _rpc_loop from hanging because of subprocess.
not returning.
1) Perform a sleep everytime a command is completed, similarly to common. processutils. execute
what is done in openstack.
2) Disable by default GARP, as kernel crashes caused by arping
have been observed
3) Prevent a non-critical keyerror in _router_removed from triggering
again a full sync, which might put the system under significant load.
This patch also adds debug log statements aimed at improving the
ability of debugging similar failures.
Change-Id: I003316bce0f38b 7d2ea7d563b5a0a 58676834398 f106ba12140b9f9 420dee5907)
Partial-Bug: 1224001
(cherry picked from commit 591ee00a67fbbe5