[openstack-dev] [Neutron] Multiple config files for neutron server

Jay Pipes jaypipes at gmail.com
Mon Jan 6 19:58:12 UTC 2014

On Mon, 2014-01-06 at 23:45 +0400, Eugene Nikanorov wrote:
> Hi folks,
> Recently we had a discussion with Sean Dague on the matter.
> Currently Neutron server has a number of configuration files used for
> different purposes:
>  - neutron.conf - main configuration parameters, plugins, db and mq
> connections
>  - plugin.ini - plugin-specific networking settings
>  - conf files for ml2 mechanisms drivers (AFAIK to be able to use
> several mechanism drivers we need to pass all of these conf files to
> neutron server)
>  - services.conf - recently introduced conf-file to gather
> vendor-specific parameters for advanced services drivers.
> Particularly, services.conf was introduced to avoid polluting
> 'generic' neutron.conf with vendor parameters and sections.
> The discussion with Sean was about whether to add services.conf to
> neutron-server launching command in devstack
> (https://review.openstack.org/#/c/64377/ ). services.conf would be 3rd
> config file that is passed to neutron-server along with neutron.conf
> and plugin.ini.
> Sean has an argument that providing many conf files in a command line
> is not a good practice, suggesting setting up configuration directory
> instead. There is no such capability in neutron right now so I'd like
> to hear opinions on this before putting more efforts in resolving this
> in with other approach than used in the patch on review.

I'd say just put the additional conf file on the command line for now.
Adding in support to oslo.cfg for a config directory can come later.

Just my 2 cents,

More information about the OpenStack-dev mailing list