← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1654152] [NEW] [RFE]Configuration structure a mess

 

Public bug reported:

Neutron's current configuration structure is difficult to understand:

- it is not clear which services need which configuration file(s) during startup.
- config files end with .ini instead of .conf (which would be automatically recognized by oslo.config)

oslo.config has already support for so called 'default-config-files' and got recently (v3.20.0) support for 'default-config-dirs'[1]. With that it would be possible to start the different services without any -config-file/--config-dir switches if the configuration filenames would be adjusted to the default.
So for eg. neutron-metadata-agent, the configuration file that is automatically read is /etc/neutron/neutron-metadata-agent.conf . So metadata_agent.ini needs to be renamed to neutron-metadata-agent.conf . The same is true for other services.

[1]
http://docs.openstack.org/releasenotes/oslo.config/unreleased.html#id3

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1654152

Title:
  [RFE]Configuration structure a mess

Status in neutron:
  New

Bug description:
  Neutron's current configuration structure is difficult to understand:

  - it is not clear which services need which configuration file(s) during startup.
  - config files end with .ini instead of .conf (which would be automatically recognized by oslo.config)

  oslo.config has already support for so called 'default-config-files' and got recently (v3.20.0) support for 'default-config-dirs'[1]. With that it would be possible to start the different services without any -config-file/--config-dir switches if the configuration filenames would be adjusted to the default.
  So for eg. neutron-metadata-agent, the configuration file that is automatically read is /etc/neutron/neutron-metadata-agent.conf . So metadata_agent.ini needs to be renamed to neutron-metadata-agent.conf . The same is true for other services.

  [1]
  http://docs.openstack.org/releasenotes/oslo.config/unreleased.html#id3

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1654152/+subscriptions