Comment 20 for bug 1712185

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.openstack.org/513171
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=6c50ad5858175e2eddeed7a3e28cf8b53c2eb2b3
Submitter: Zuul
Branch: master

commit 6c50ad5858175e2eddeed7a3e28cf8b53c2eb2b3
Author: Brian Haley <email address hidden>
Date: Wed Oct 18 15:38:29 2017 -0400

    Always call iptables-restore with -w if done once

    In the case where we called iptables-restore with a
    -w argument and it succeeded, we should short-circuit
    future calls to always use -w, instead of trying
    without it, just to fall-back to using it on failure.

    While analyzing some l3-agent log files I have seen
    lots of "Perhaps you want to use the -w option?",
    followed by a call with -w, followed by not using it
    the next time. Changing this can save one failing
    call to iptables-restore.

    Change-Id: Icac99eb1d43648c64b6beaee0d6201f990eacb51
    Related-bug: #1712185