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

Bug #1264687 reported by Jay Pipes
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Expired
Undecided
Unassigned

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.

Jay Pipes (jaypipes)
summary: - pyudev missing from requirements.txt, used in a unit test case
+ pyudev missing from requirements.txt, used by Linux Bridge Neutron agent
Changed in neutron:
assignee: nobody → Jay Pipes (jaypipes)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/64333

Changed in neutron:
status: New → In Progress
Revision history for this message
Eugene Nikanorov (enikanorov) wrote :

In fact that once filed (with a bit different symptoms): https://bugs.launchpad.net/neutron/+bug/1250311

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/74924

Changed in neutron:
assignee: Jay Pipes (jaypipes) → YAMAMOTO Takashi (yamamoto)
Revision history for this message
Cedric Brandily (cbrandily) wrote :

This bug is > 365 days without activity. We are unsetting assignee and milestone and setting status to Incomplete in order to allow its expiry in 60 days.

If the bug is still valid, then update the bug status.

Changed in neutron:
assignee: YAMAMOTO Takashi (yamamoto) → nobody
status: In Progress → Incomplete
Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

No such dep since Havana.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in neutron:
status: Incomplete → Expired
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.