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

Sumit Naiksatam sumitnaiksatam at gmail.com
Mon Jan 6 22:21:30 UTC 2014


Just thinking aloud - would it make sense to have a meta-configuration
file; this file can hold the names of the configuration files to load.
This would allow being a little more granular than picking up
everything from a directory (if we had to go the route of using a
directory name).

~Sumit.


On Mon, Jan 6, 2014 at 11:58 AM, Jay Pipes <jaypipes at gmail.com> wrote:
> 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,
> -jay
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list