Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "Set bridge-nf-call-* values to 1"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Oct 17, 2019
2 parents 21b56ec + 3d722db commit 3c91bc0
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
19 changes: 19 additions & 0 deletions deployment/deprecated/kernel/kernel-baremetal-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,18 @@ parameters:
default: 1024
description: Configures sysctl fs.inotify.max_user_instances key
type: number
BridgeNfCallArpTables:
default: 1
description: Configures sysctl net.bridge.bridge-nf-call-arptables key
type: number
BridgeNfCallIpTables:
default: 1
description: Configures sysctl net.bridge.bridge-nf-call-iptables key
type: number
BridgeNfCallIp6Tables:
default: 1
description: Configures sysctl net.bridge.bridge-nf-call-ip6tables key
type: number
ExtraKernelModules:
default: {}
description: Hash of extra Kernel modules to load.
Expand Down Expand Up @@ -126,6 +138,7 @@ outputs:
- 'localhost'
kernel_modules:
map_merge:
- br_netfilter: {}
- nf_conntrack: {}
- {get_attr: [RoleParametersValue, value, extra_kernel_modules]}
kernel_packages: {get_attr: [RoleParametersValue, value, extra_kernel_packages]}
Expand Down Expand Up @@ -203,6 +216,12 @@ outputs:
value: {get_param: NeighbourGcThreshold2}
net.ipv4.neigh.default.gc_thresh3:
value: {get_param: NeighbourGcThreshold3}
net.bridge.bridge-nf-call-arptables:
value: {get_param: BridgeNfCallArpTables}
net.bridge.bridge-nf-call-iptables:
value: {get_param: BridgeNfCallIpTables}
net.bridge.bridge-nf-call-ip6tables:
value: {get_param: BridgeNfCallIp6Tables}
# set inotify value for neutron/dnsmasq scale
fs.inotify.max_user_instances:
value: {get_param: InotifyIntancesMax}
Expand Down
18 changes: 18 additions & 0 deletions deployment/kernel/kernel-baremetal-ansible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,18 @@ parameters:
default: 1024
description: Configures sysctl fs.inotify.max_user_instances key
type: number
BridgeNfCallArpTables:
default: 1
description: Configures sysctl net.bridge.bridge-nf-call-arptables key
type: number
BridgeNfCallIpTables:
default: 1
description: Configures sysctl net.bridge.bridge-nf-call-iptables key
type: number
BridgeNfCallIp6Tables:
default: 1
description: Configures sysctl net.bridge.bridge-nf-call-ip6tables key
type: number
ExtraKernelModules:
default: {}
description: Hash of extra Kernel modules to load.
Expand Down Expand Up @@ -149,6 +161,12 @@ outputs:
value: {get_param: NeighbourGcThreshold2}
net.ipv4.neigh.default.gc_thresh3:
value: {get_param: NeighbourGcThreshold3}
net.bridge.bridge-nf-call-arptables:
value: {get_param: BridgeNfCallArpTables}
net.bridge.bridge-nf-call-iptables:
value: {get_param: BridgeNfCallIpTables}
net.bridge.bridge-nf-call-ip6tables:
value: {get_param: BridgeNfCallIp6Tables}
fs.inotify.max_user_instances:
value: {get_param: InotifyIntancesMax}
- {get_attr: [RoleParametersValue, value, extra_sysctl_settings]}
6 changes: 6 additions & 0 deletions releasenotes/notes/fix-bridge-nf-call-defaults.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
fixes:
- |
Sets the bridge-nf-call-* values to 1, overriding any distro defaults that
may not be applied due to br_netfilter not being loaded. These values must
be 1 for security groups to work.

0 comments on commit 3c91bc0

Please sign in to comment.