neutron: use --config-dir for L3/VPN agent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Ihar Hrachyshka | ||
grenade |
Invalid
|
Undecided
|
Ihar Hrachyshka | ||
neutron |
Invalid
|
Medium
|
Ihar Hrachyshka |
Bug Description
Since Kilo, neutron has split its advanced services into separate repositories that are now not guaranteed to be installed (including configuration files like fwaas_driver.ini or vpn_agent.ini). For devstack, we dynamically generate list of cli arguments to start l3/vpn agent based on which services are enabled in local.conf. This approach is not applicable for distributions though that usually ship a service manifest with the list of cli arguments hardcoded. Since now we cannot assume fwaas_driver.ini or other configuration files that may be read by L3 agent are present on the system, we should be more flexible.
oslo.config allows to use --config-dir argument instead of --config-file arguments, and populate the directory on demand, based on which packages are installed in the system.
Though devstack is strictly not affected by the problem, we should lead by example and adopt unified --config-dir argument to pass l3 agent configuration via CLI. Distributions are free to adopt the approach on their own schedule.
Changed in devstack: | |
status: | In Progress → Invalid |
Changed in grenade: | |
status: | In Progress → Invalid |
Fix proposed to branch: master /review. openstack. org/163773
Review: https:/