← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1264687] Re: pyudev missing from requirements.txt, used by Linux Bridge Neutron agent

 

[Expired for neutron because there has been no activity for 60 days.]

** Changed in: neutron
       Status: Incomplete => Expired

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

Title:
  pyudev missing from requirements.txt, used by Linux Bridge Neutron
  agent

Status in neutron:
  Expired

Bug description:
  Attempting to run the unit tests on a brand new clone of neutron (as
  of commit 84aeb9a) results in an inability to run the unit tests
  because of a failed import of pyudev:

  http://paste.openstack.org/show/57627/

  Reference this post as to the odd format of the subunit -> testr
  processing:

  http://lists.openstack.org/pipermail/openstack-
  dev/2013-December/023122.html

  The import error becomes obvious when attempting to load the
  particular unit test in question:

  jpipes@uberbox:~/repos/openstack/neutron$ source .venv/bin/activate
  (.venv)jpipes@uberbox:~/repos/openstack/neutron$ python
  Python 2.7.4 (default, Sep 26 2013, 03:20:26) 
  [GCC 4.7.3] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import neutron.tests.unit.linuxbridge.test_lb_neutron_agent
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "neutron/tests/unit/linuxbridge/test_lb_neutron_agent.py", line 29, in <module>
      from neutron.plugins.linuxbridge.agent import linuxbridge_neutron_agent
    File "neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py", line 33, in <module>
      import pyudev
  ImportError: No module named pyudev

  The solution is to add pyudev to requirements.txt.

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


References