Fixed functional iptables firewall tests for newer kernels
Iptables functional tests fail on Xenial and other newer kernels if
br_netfilter kernel module is not loaded, in which case sysctl knobs to
enable bridge firewalling are not available, and attempt to set them
with _enable_netfilter_for_bridges fails.
We should load the kernel module before running those tests. Luckily,
devstack has a function for just that (plus more).
Reviewed: https:/ /review. openstack. org/379468 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=80eb375ba1d 58a41be1fcb6e11 163f78cce8b65d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 80eb375ba1d58a4 1be1fcb6e11163f 78cce8b65d
Author: Ihar Hrachyshka <email address hidden>
Date: Thu Sep 29 13:36:07 2016 +0000
Fixed functional iptables firewall tests for newer kernels
Iptables functional tests fail on Xenial and other newer kernels if netfilter_ for_bridges fails.
br_netfilter kernel module is not loaded, in which case sysctl knobs to
enable bridge firewalling are not available, and attempt to set them
with _enable_
We should load the kernel module before running those tests. Luckily,
devstack has a function for just that (plus more).
Change-Id: I602d8cd02c73b1 8e9d719b19998e3 6059ae28cd8 a63d1096ef83ebb b6cd630fafd
Depends-On: Id6bfd9595f0772
Related-Bug: #1622914