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
This commit is contained in:
parent
5a06b0a075
commit
dd06c2347b
docker/neutron/neutron-agents
@ -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/
|
||||
|
3
docker/neutron/neutron-agents/fwaas_driver.ini
Normal file
3
docker/neutron/neutron-agents/fwaas_driver.ini
Normal file
@ -0,0 +1,3 @@
|
||||
[fwaas]
|
||||
#driver = neutron.services.firewall.drivers.linux.iptables_fwaas.IptablesFwaasDriver
|
||||
#enabled = True
|
Loading…
x
Reference in New Issue
Block a user