[network] openvswitch agent broken, uses ml2 conf on ubuntu
Bug #1314751 reported by
Mark Vanderwiel
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack + Chef |
Fix Released
|
High
|
Mark Vanderwiel |
Bug Description
The ubuntu openvswtich agent package hard codes to use the ml2_conf.ini for it settings. Therefore the ml2_conf template would need parts of the [ovs] section from the openvswitch template.
There's a different bug for the redhat use case here: https:/
Changed in openstack-chef: | |
milestone: | none → juno-rc1 |
tags: | added: network |
Changed in openstack-chef: | |
status: | New → In Progress |
To post a comment you must log in.
I'm not convinced this is actually a bug. In the cookbooks on ubuntu we template out the file
"/etc/default/ neutron- server"
here: https:/ /github. com/stackforge/ cookbook- openstack- network/ blob/master/ templates/ default/ neutron- server. erb
When we are using ml2 as the core_plugin, this ends up containing:
NEUTRON_ PLUGIN_ CONFIG= /etc/neutron/ plugins/ ml2/ml2_ conf.ini
And so this determines the config file that gets loaded along with the main neutron.conf:
/usr/bin/python /usr/bin/ neutron- server --config-file /etc/neutron/ neutron. conf --log-file /var/log/ neutron/ server. log --config-file /etc/neutron/ plugins/ ml2/ml2_ conf.ini
If you change the value in /etc/default/ neutron- server to point to the monolithic ovs plugin config file like this:
NEUTRON_ PLUGIN_ CONFIG= /etc/neutron/ plugins/ openvswitch/ ovs_neutron_ plugin. ini
that is what gets loaded:
/usr/bin/python /usr/bin/ neutron- server --config-file /etc/neutron/ neutron. conf --log-file /var/log/ neutron/ server. log --config-file /etc/neutron/ plugins/ openvswitch/ ovs_neutron_ plugin. ini
Simples!
The real problem here is that we need to port all of the ovs specific setting out of the monolithic ovs plugin config file, and in to the ml2 configuration file under an [ovs] section.