summaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2014-07-10 13:33:58 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-07-10 13:33:58 -0400
commit82d6c467bb73938042e7de973e47feb8c57d2004 (patch)
tree5228fb8a632c4b65fa9dc452efab0b33fbab0e63 /meta-openstack
parent1b97b0a6f8695397d4ee1aa4b79585a70ca03788 (diff)
downloadmeta-cloud-services-82d6c467bb73938042e7de973e47feb8c57d2004.tar.gz
linux-yocto: add nat/conntrack options to netfilter
iptables save/restore looks for the nat module, and if not present, it fails to restore tables. This failure code causes nova-api to not start .. and hence have no scheduler services. We add a configuration fragment to ensure that the right modules are built, and on the rootfs. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack')
-rw-r--r--meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg7
-rw-r--r--meta-openstack/recipes-kernel/linux/linux-yocto/nf.scc1
-rw-r--r--meta-openstack/recipes-kernel/linux/linux-yocto_3.14.bbappend1
3 files changed, 9 insertions, 0 deletions
diff --git a/meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg b/meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg
new file mode 100644
index 0000000..9160ffe
--- /dev/null
+++ b/meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg
@@ -0,0 +1,7 @@
1CONFIG_NF_CONNTRACK=y
2CONFIG_NF_NAT=m
3CONFIG_NF_NAT_NEEDED=y
4CONFIG_NF_NAT_PROTO_SCTP=m
5CONFIG_NF_CONNTRACK_IPV4=y
6CONFIG_NF_CONNTRACK_PROC_COMPAT=y
7CONFIG_NF_NAT_IPV4=m
diff --git a/meta-openstack/recipes-kernel/linux/linux-yocto/nf.scc b/meta-openstack/recipes-kernel/linux/linux-yocto/nf.scc
new file mode 100644
index 0000000..d2ba875
--- /dev/null
+++ b/meta-openstack/recipes-kernel/linux/linux-yocto/nf.scc
@@ -0,0 +1 @@
kconf non-hardware nf.cfg
diff --git a/meta-openstack/recipes-kernel/linux/linux-yocto_3.14.bbappend b/meta-openstack/recipes-kernel/linux/linux-yocto_3.14.bbappend
index d243d6a..e2025f1 100644
--- a/meta-openstack/recipes-kernel/linux/linux-yocto_3.14.bbappend
+++ b/meta-openstack/recipes-kernel/linux/linux-yocto_3.14.bbappend
@@ -5,4 +5,5 @@ SRC_URI += "file://enable-veth.cfg \
5 file://enable-iscsi-tcp.cfg \ 5 file://enable-iscsi-tcp.cfg \
6 file://enable-nbd.cfg \ 6 file://enable-nbd.cfg \
7 file://enable-rtlink.cfg \ 7 file://enable-rtlink.cfg \
8 file://nf.scc \
8 " 9 "