Neutron DB population during installation: does it still require fully populated configuration files?

asked 2017-09-28 22:45:37 -0600

Alli gravatar image

In the latest (Install Guide) to populate Neutron database one is instructed to run: neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head with the following comment: "Database population occurs later for Networking because the script requires complete server and plug-in configuration files."

Is it still the case that DB migrations require the configuration files populated with all plugin and ml2 configurations? (This Neutron document) indicates that the following command should be executed: neutron-db-manage --database-connection <connection> <commands>, or neutron-db-manage --config-file /path/to/neutron.conf <commands> only to get connection from neutron.conf.

Also the blueprint (Neutron DB Migration Refactor) is in implemented status since 2014, and it states: "Currently the neutron database schema is dependent on the neutron configuration. It differs depending on core plugin and services configured... We need to make the database schema independent of configuration"

edit retag flag offensive close merge delete