When we only install neutron-linuxbridge-agent package on RHEL6.5, the dhcp agent can not be started successfully. That is because there is hard code to use openvswitch.common plugin in nuetron.agent.linux.ovs_lib.py.
[root@osee15-control01 neutron]# /usr/bin/neutron-dhcp-agent --log-file /var/log/neutron/dhcp-agent.log --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/dhcp_agent.ini
Traceback (most recent call last):
File "/usr/bin/neutron-dhcp-agent", line 6, in <module>
from neutron.agent.dhcp_agent import main
File "/usr/lib/python2.6/site-packages/neutron/agent/dhcp_agent.py", line 27, in <module>
from neutron.agent.linux import interface
File "/usr/lib/python2.6/site-packages/neutron/agent/linux/interface.py", line 26, in <module>
from neutron.agent.linux import ovs_lib
File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ovs_lib.py", line 31, in <module>
from neutron.plugins.openvswitch.common import constants
ImportError: No module named openvswitch.common
Related fix proposed to branch: master /review. openstack. org/68344
Review: https:/