Bug 1543398

Summary: Neutron API container exec command misalignment
Product: Red Hat OpenStack Reporter: Ricardo Noriega <rnoriega>
Component: openstack-tripleo-heat-templatesAssignee: Ricardo Noriega <rnoriega>
Status: CLOSED ERRATA QA Contact: Roee Agiman <ragiman>
Severity: medium Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: amuller, bcafarel, cgoncalves, dbecker, ihrachys, jcoufal, jschluet, mburns, morazi, rhel-osp-director-maint
Target Milestone: betaKeywords: Triaged
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.0.2-0.20180327213843.f25e2d8.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-27 13:43:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ricardo 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.

Comment 8 errata-xmlrpc 2018-06-27 13:43:30 UTC
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