commit cb43901c5aaa3872fba5055c0f600a290cd267a4
Author: Michael Gugino <email address hidden>
Date: Wed Jan 13 11:31:41 2016 -0500
Add missing kernel module br_netfilter to openstack_hosts role
The openstack_hosts role contains a list of several kernel
modules which are necessary for the successful deployment of lxc
containers. The role also applies certain kernel parameters via
sysctl, including 3 parameters related to to the kernel module
br_netfilter. These parameters are:
The list of modules and parameters can be found in the file
openstack-ansible-openstack_hosts/defaults/main.yml
A kernel change committed in version 3.17 disabled the module
br_netfilter from being loaded automatically. The most recent release
of Ubuntu 14.04 LTS utilizes kernel version 3.19. This results in
the aforementioned parameters failing to apply successfully, as well
as sysctl failing to properly parse /etc/sysctl.conf.
As a result, the task 'Adding new system tuning' fails.
This change adds br_netfilter to the variable
openstack_host_kernel_modules in
openstack-ansible-openstack_hosts/defaults/main.yml to correct the bug
introduced by a change in kernel behavior upstream.
This change will allow the module br_netfilter to be loaded via
modprobe, as well as inserted into /etc/modules. This will allow the
aforementioned parameters to be applied correctly.
The br_netfilter kernel module is only available for kernels above 3.18.
This patch implements a check for the kernel version and only adds that
module if the current kernel is at the correct version or above.
Reviewed: https:/ /review. openstack. org/267013 /git.openstack. org/cgit/ openstack/ openstack- ansible/ commit/ ?id=cb43901c5aa a3872fba5055c0f 600a290cd267a4
Committed: https:/
Submitter: Jenkins
Branch: liberty
commit cb43901c5aaa387 2fba5055c0f600a 290cd267a4
Author: Michael Gugino <email address hidden>
Date: Wed Jan 13 11:31:41 2016 -0500
Add missing kernel module br_netfilter to openstack_hosts role
The openstack_hosts role contains a list of several kernel
modules which are necessary for the successful deployment of lxc
containers. The role also applies certain kernel parameters via
sysctl, including 3 parameters related to to the kernel module
br_netfilter. These parameters are:
- { key: 'net.bridge. bridge- nf-call- ip6tables' , value: 0 } bridge- nf-call- iptables' , value: 0 } bridge- nf-call- arptables' , value: 0 }
- { key: 'net.bridge.
- { key: 'net.bridge.
The list of modules and parameters can be found in the file ansible- openstack_ hosts/defaults/ main.yml
openstack-
A kernel change committed in version 3.17 disabled the module
br_netfilter from being loaded automatically. The most recent release
of Ubuntu 14.04 LTS utilizes kernel version 3.19. This results in
the aforementioned parameters failing to apply successfully, as well
as sysctl failing to properly parse /etc/sysctl.conf.
As a result, the task 'Adding new system tuning' fails.
This change adds br_netfilter to the variable host_kernel_ modules in ansible- openstack_ hosts/defaults/ main.yml to correct the bug
openstack_
openstack-
introduced by a change in kernel behavior upstream.
This change will allow the module br_netfilter to be loaded via
modprobe, as well as inserted into /etc/modules. This will allow the
aforementioned parameters to be applied correctly.
The br_netfilter kernel module is only available for kernels above 3.18.
This patch implements a check for the kernel version and only adds that
module if the current kernel is at the correct version or above.
This is a combined backport of: /review. openstack. org/266021 /review. openstack. org/266530
- https:/
- https:/
Change-Id: Iab644667fe879e 43b2e3c7d4c2c65 cd15ca2c714
Closes-Bug: #1532917