From 0894fc9755dfd1633196d5aac87c6d892ea70dea Mon Sep 17 00:00:00 2001 From: Chris Wedgwood Date: Tue, 23 May 2017 23:17:52 +0000 Subject: [PATCH] Neutron's L3 agent needs to be able to load modules Neutron invokes ip[6]tables which sometimes requires the ability to load modules. Change-Id: Id55bdc82e08a3aeeb19be5906b64384c36b91f6e --- neutron/templates/daemonset-l3-agent.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/neutron/templates/daemonset-l3-agent.yaml b/neutron/templates/daemonset-l3-agent.yaml index af60b2f3a4..70847db184 100644 --- a/neutron/templates/daemonset-l3-agent.yaml +++ b/neutron/templates/daemonset-l3-agent.yaml @@ -83,6 +83,9 @@ spec: readOnly: true - name: runopenvswitch mountPath: /run/openvswitch + - name: libmodules + mountPath: /lib/modules + readOnly: true - name: socket mountPath: /var/lib/neutron/stackanetes {{ if $mounts_neutron_l3_agent.volumeMounts }}{{ toYaml $mounts_neutron_l3_agent.volumeMounts | indent 12 }}{{ end }} @@ -96,6 +99,9 @@ spec: - name: runopenvswitch hostPath: path: /run/openvswitch + - name: libmodules + hostPath: + path: /lib/modules - name: socket hostPath: path: /var/lib/neutron/stackanetes