File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
octavia/amphorae/backends/agent/api_server/templates Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ RemainAfterExit=yes
10
10
ExecStart=-/sbin/ip netns add {{ amphora_nsname }}
11
11
# Load the system sysctl into the new namespace
12
12
ExecStart=-/sbin/ip netns exec {{ amphora_nsname }} sysctl --system
13
+ # Enable kernel module ip_vs for lvs function in amphora network namespace
14
+ ExecStart=-/sbin/ip netns exec {{ amphora_nsname }} modprobe ip_vs
13
15
# Set nf_conntrack_buckets sysctl in the main namespace (nf_conntrack_buckets
14
16
# cannot be set in another net namespace, but its value is inherited from the
15
17
# main namespace)
16
18
ExecStart=-/sbin/sysctl -w net.netfilter.nf_conntrack_buckets=125000
17
19
# Update conntrack table sizes using the formula for the default values
18
20
ExecStart=-/sbin/sysctl -w net.netfilter.nf_conntrack_max=125000
19
21
ExecStart=-/sbin/sysctl -w net.netfilter.nf_conntrack_expect_max=488
20
- # Enable kernel module ip_vs for lvs function in amphora network namespace
21
- ExecStart=-/sbin/ip netns exec {{ amphora_nsname }} modprobe ip_vs
22
22
# Enable ip_forward and conntrack kernel configuration
23
23
ExecStart=-/sbin/ip netns exec {{ amphora_nsname }} sysctl -w net.ipv4.ip_forward=1
24
24
ExecStart=-/sbin/ip netns exec {{ amphora_nsname }} sysctl -w net.ipv4.vs.conntrack=1
Original file line number Diff line number Diff line change
1
+ ---
2
+ fixes :
3
+ - |
4
+ Fix the issue where nf_conntrack* opts values are lost after rebooting the Amphora VM.
5
+ more details `Story 2010795 <https://storyboard.openstack.org/#!/story/2010795>`__
You can’t perform that action at this time.
0 commit comments