Set trusted port only once in iptables firewall driver
Patch [1] added configuration of forward rule for trusted ports in
iptables firewall driver.
This patch fixes issue with many "duplicate iptables rule detected"
warning messages due to try to add such forward rule each time when
trusted port is updated.
Now such rule is added only once for port.
Reviewed: https:/ /review. openstack. org/582920 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=ee1ae8b2b02 9b448198030ef0d f5434ef2002730
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit ee1ae8b2b029b44 8198030ef0df543 4ef2002730
Author: Sławek Kapłoński <email address hidden>
Date: Mon Mar 12 13:12:18 2018 +0100
Set trusted port only once in iptables firewall driver
Patch [1] added configuration of forward rule for trusted ports in
iptables firewall driver.
This patch fixes issue with many "duplicate iptables rule detected"
warning messages due to try to add such forward rule each time when
trusted port is updated.
Now such rule is added only once for port.
[1] https:/ /review. openstack. org/#/c/ 525607/
Change-Id: Ib816887f07f16b 6ac865bb81d0f27 f12d0b47dfb 02d757c6ad460f8 435423ec32)
Closes-Bug: #1754770
(cherry picked from commit 8be0c2a551fea0c