Icehouse Neutron OVS plug-in never take effect

Bug #1309822 reported by LIU Yulong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Undecided
Unassigned

Bug Description

The Icehouse neutron Open vSwitch (OVS) plug-in will always use the /etc/neutron/plugins/ml2/ml2_conf.ini as it's config-file.

http://docs.openstack.org/icehouse/install-guide/install/apt/content/neutron-controller-node.html

Some steps:
1.apt-get install python-software-properties
 add-apt-repository cloud-archive:icehouse

2.apt-get install neutron-server

3.apt-get install neutron-plugin-openvswitch

4.set core plugin
/etc/neutron/neutron.conf
core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2

service neutron-server restart

And then the Neutron server never create the folder and OVS config-file like this:
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini.

It still use the /etc/neutron/plugins/ml2/ml2_conf.ini config-file.

This issue is same on compute node and network node.

Revision history for this message
LIU Yulong (dragon889) wrote :

root@controller:/etc/neutron/plugins# ps -aux | grep python
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
keystone 961 0.0 1.4 227864 57920 ? Ss 01:20 0:12 /usr/bin/python /usr/bin/keystone-all
glance 965 0.0 0.7 100460 31420 ? Ss 01:20 0:00 /usr/bin/python /usr/bin/glance-registry
glance 972 0.0 1.0 122976 43264 ? Ss 01:20 0:00 /usr/bin/python /usr/bin/glance-api
nova 1003 0.0 1.7 247156 70724 ? Ss 01:20 0:22 /usr/bin/python /usr/bin/nova-cert --config-file=/etc/nova/nova.conf
nova 1006 0.0 1.8 251008 74692 ? Ss 01:20 0:22 /usr/bin/python /usr/bin/nova-consoleauth --config-file=/etc/nova/nova.conf
nova 1012 0.0 0.7 140720 32336 ? Ss 01:20 0:16 /usr/bin/python /usr/bin/nova-novncproxy --config-file=/etc/nova/nova.conf
glance 1565 0.0 1.2 201856 48900 ? S 01:20 0:02 /usr/bin/python /usr/bin/glance-registry
glance 1611 0.0 1.1 127928 44644 ? S 01:20 0:01 /usr/bin/python /usr/bin/glance-api
nova 9536 2.6 1.5 156352 64408 ? Ss 09:42 0:41 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
nova 9546 0.1 1.8 249692 73260 ? Ss 09:42 0:01 /usr/bin/python /usr/bin/nova-scheduler --config-file=/etc/nova/nova.conf
nova 9562 2.6 1.0 130708 42864 ? Ss 09:42 0:40 /usr/bin/python /usr/bin/nova-conductor --config-file=/etc/nova/nova.conf
nova 9583 0.0 1.0 133572 42256 ? S 09:42 0:00 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
nova 9584 0.0 1.0 133572 42256 ? S 09:42 0:00 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
nova 9592 0.0 2.4 283380 100500 ? S 09:42 0:01 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
nova 9593 0.1 2.5 287308 104876 ? S 09:42 0:02 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
nova 9596 0.2 1.9 258420 79688 ? S 09:42 0:04 /usr/bin/python /usr/bin/nova-conductor --config-file=/etc/nova/nova.conf
nova 9597 0.2 1.9 258472 79716 ? S 09:42 0:04 /usr/bin/python /usr/bin/nova-conductor --config-file=/etc/nova/nova.conf
nova 9602 0.0 1.4 156068 60608 ? S 09:42 0:00 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
nova 9603 0.0 1.4 156068 60604 ? S 09:42 0:00 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf
neutron 10070 20.3 1.2 205580 50132 ? Ss 10:08 0:00 /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
root 10080 0.0 0.0 11732 968 pts/1 S+ 10:08 0:00 grep --color=auto python

description: updated
Revision history for this message
LIU Yulong (dragon889) wrote :

vim /etc/neutron/neutron.conf
[DEFAULT]
#core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin

core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2

tags: added: neutron
removed: neutron-core
tags: added: neutron-plugin
tags: added: icehouse
description: updated
description: updated
LIU Yulong (dragon889)
description: updated
LIU Yulong (dragon889)
description: updated
Revision history for this message
Marios Andreou (marios-b) wrote :

FWIW, I cannot quickly reproduce this on a F20 box.:

1. save all conf files in /etc/neutron/* to TEMP directory
2. yum install openstack-neutron openstack-neutron-openvswitch

config files created in the right places. Really this may be a packaging issue?

Changed in neutron:
status: New → Invalid
Revision history for this message
Marios Andreou (marios-b) wrote :

Also I may have misunderstood your comment but the neutron-server service won't be creating the config file - this should be done when the package is installed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.