From 717fd489b384de601c5f18091b7c212c434f0a7b Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Thu, 24 Nov 2016 11:30:15 +0000 Subject: neutron-vpnaas cannot run as root for redhat derivatives The libreswan driver required by redhat derived bases currently requires root in Neutron. Remove this if condition once https://bugs.launchpad.net/neutron/+bug/1644517 is addressed. Change-Id: I3030f6c850c08558d3155f29b691ce59102d20e7 --- docker/neutron/neutron-vpnaas-agent/Dockerfile.j2 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docker') diff --git a/docker/neutron/neutron-vpnaas-agent/Dockerfile.j2 b/docker/neutron/neutron-vpnaas-agent/Dockerfile.j2 index 32bc1508b..da30ad85b 100644 --- a/docker/neutron/neutron-vpnaas-agent/Dockerfile.j2 +++ b/docker/neutron/neutron-vpnaas-agent/Dockerfile.j2 @@ -36,4 +36,9 @@ RUN chmod 755 /usr/local/bin/kolla_neutron_extend_start {% block footer %}{% endblock %} {{ include_footer }} +# TODO(pbourke): The libreswan driver required by redhat derived bases +# currently requires root in Neutron. Remove this if condition once +# https://bugs.launchpad.net/neutron/+bug/1644517 is addressed. +{% if base_distro in ['ubuntu', 'debian'] %} USER neutron +{% endif %} -- cgit v1.2.3