commit fb9b2058051b771732f4425c97651128c8060441
Author: Chet Burgess <email address hidden>
Date: Thu Nov 20 18:29:15 2014 -0800
Retry ebtables on race
Calls to ebtables can race with libvirt and cause nova, or libvirt
to fail to apply ebtables rules.
The goal of this patch is to provide a simple fix to improve the
stability of the gate.
We now call ebtables in a simple loop that retries on failure.
Long term we want to update nova to make use of the --concurrent
flag in newer versions of ebtables. The --concurrent flag
implements a lock to prevent multiple invocations of ebtables from
racing. This will require a newer libvirt and the ability to
timeout long running execs (--concurrent can block forever if it
never gets the lock).
A future patch is forthcoming to add support for --concurrent.
Reviewed: https:/ /review. openstack. org/136217 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=fb9b2058051 b771732f4425c97 651128c8060441
Committed: https:/
Submitter: Jenkins
Branch: master
commit fb9b2058051b771 732f4425c976511 28c8060441
Author: Chet Burgess <email address hidden>
Date: Thu Nov 20 18:29:15 2014 -0800
Retry ebtables on race
Calls to ebtables can race with libvirt and cause nova, or libvirt
to fail to apply ebtables rules.
The goal of this patch is to provide a simple fix to improve the
stability of the gate.
We now call ebtables in a simple loop that retries on failure.
Long term we want to update nova to make use of the --concurrent
flag in newer versions of ebtables. The --concurrent flag
implements a lock to prevent multiple invocations of ebtables from
racing. This will require a newer libvirt and the ability to
timeout long running execs (--concurrent can block forever if it
never gets the lock).
A future patch is forthcoming to add support for --concurrent.
DocImpact exec_attempts option (default=3).
Add ebtables_
Change-Id: I3e04782ac46785 81462f9bee4bb10 d5f3b223457
Partial-Bug: #1316621