aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2015-05-02 09:17:12 -0700
committerSteven Dake <stdake@cisco.com>2015-05-06 13:54:04 -0700
commitdd06c2347b4af24a39cc635d58d8599d8e7a6a01 (patch)
tree798cef14cd9c65582d4e1c1e02af44e4099916a0
parent5a06b0a075601aaa9fef27477104fdeceb0b3d42 (diff)
downloadkolla-dd06c2347b4af24a39cc635d58d8599d8e7a6a01.tar.gz
kolla-dd06c2347b4af24a39cc635d58d8599d8e7a6a01.zip
The neutron dockerfile needs an update for Kilo
policy.json comes from the openstack-neutron package and is required for the agents to run. So install it. fwaas_driver.ini has been deleted in master and in the kilo branch, but the agents won't run without the file present. So copy one from the Juno release. fwaas_driver.ini is probably not actually required, but there is a configuration problem somewhere in our Neutron code base. We are out of time for the Kilo branch, so this short term workaround should be fine. Change-Id: I154599925308765349634b1a53e598599fc20ec1 Partially-Implements: blueprint port-kilo
-rw-r--r--docker/neutron/neutron-agents/Dockerfile8
-rw-r--r--docker/neutron/neutron-agents/fwaas_driver.ini3
2 files changed, 10 insertions, 1 deletions
diff --git a/docker/neutron/neutron-agents/Dockerfile b/docker/neutron/neutron-agents/Dockerfile
index 5d50bbfc1..89ce874bb 100644
--- a/docker/neutron/neutron-agents/Dockerfile
+++ b/docker/neutron/neutron-agents/Dockerfile
@@ -8,7 +8,7 @@ RUN easy_install supervisor
RUN pip install supervisor-stdout
# Install required packages
-RUN yum install -y openstack-neutron-linuxbridge \
+RUN yum install -y openstack-neutron openstack-neutron-linuxbridge \
net-tools \
&& yum clean all
@@ -25,6 +25,12 @@ ADD check-scripts/check-dhcp-agent.sh /opt/kolla/neutron/
ADD check-scripts/check-l3-agent.sh /opt/kolla/neutron/
ADD check-scripts/check-metadata-agent.sh /opt/kolla/neutron/
+# This is needed to workaround a problem with the agents exiting if the
+# file is not present. This file really shouldn't need to be present and
+# implies a configuration problem somewhere else in the code base, but
+# we are out of time.
+COPY fwaas_driver.ini /etc/neutron/
+
# Configure supervisord
RUN mkdir -p /var/log/supervisor/
ADD supervisord.conf /etc/
diff --git a/docker/neutron/neutron-agents/fwaas_driver.ini b/docker/neutron/neutron-agents/fwaas_driver.ini
new file mode 100644
index 000000000..41f761abf
--- /dev/null
+++ b/docker/neutron/neutron-agents/fwaas_driver.ini
@@ -0,0 +1,3 @@
+[fwaas]
+#driver = neutron.services.firewall.drivers.linux.iptables_fwaas.IptablesFwaasDriver
+#enabled = True