← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1271449] Re: neutron-dhcp-agent can not be started when end user only use linuxbridge as l2 agent

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1271449

Title:
  neutron-dhcp-agent can not be started when end user only use
  linuxbridge as l2 agent

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1271449/+subscriptions


References