Skip to content
Snippets Groups Projects
Commit dd06c234 authored by Steven Dake's avatar Steven Dake
Browse files

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
parent 5a06b0a0
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ RUN easy_install supervisor ...@@ -8,7 +8,7 @@ RUN easy_install supervisor
RUN pip install supervisor-stdout RUN pip install supervisor-stdout
# Install required packages # Install required packages
RUN yum install -y openstack-neutron-linuxbridge \ RUN yum install -y openstack-neutron openstack-neutron-linuxbridge \
net-tools \ net-tools \
&& yum clean all && yum clean all
...@@ -25,6 +25,12 @@ ADD check-scripts/check-dhcp-agent.sh /opt/kolla/neutron/ ...@@ -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-l3-agent.sh /opt/kolla/neutron/
ADD check-scripts/check-metadata-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 # Configure supervisord
RUN mkdir -p /var/log/supervisor/ RUN mkdir -p /var/log/supervisor/
ADD supervisord.conf /etc/ ADD supervisord.conf /etc/
......
[fwaas]
#driver = neutron.services.firewall.drivers.linux.iptables_fwaas.IptablesFwaasDriver
#enabled = True
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment