DescriptionRicardo Noriega
2018-02-08 11:46:21 UTC
Description
==============
In a non-containerized deployment, neutron server starts with the following command given by the rpm spec:
https://github.com/rdo-packages/neutron-distgit/blob/rpm-master/neutron-server.service#L8
ExecStart=/usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf --config-dir /usr/share/neutron/server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-server --log-file /var/log/neutron/server.log
However, in a containerized deployment, this command is defined in the neutron-api docker service, specifically in the kolla_config command:
https://github.com/openstack/tripleo-heat-templates/blob/master/docker/services/neutron-api.yaml#L104
command: /usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-server
As you can ses, the config folder /usr/share/neutron/server is not loaded in a containerized deployment, which causes neutron to fail when loading l2gw or bgpvpn service_plugins for example.
Steps to reproduce
==================
Deploy containerized Neutron service.
Expected result
===============
To have /usr/share/neutron/server as config-dir in neutron_api container exec command.
Actual result
==============
That directory is not loaded.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHEA-2018:2086