← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1695191] [NEW] pyroute2 wrong version constraint

 

Public bug reported:

With this recent change [0] we're now importing asyncio module from
pyroute2 and neutron-server fails to start if pyroute<0.4.15:

File "/opt/stack/neutron/neutron/common/eventlet_utils.py", line 25, in monkey_patch
    p_c_e = importutils.import_module('pyroute2.config.asyncio')
    ImportError: No module named asyncio

I'm using pyroute==0.4.13 which is ok according to global-
requirements.txt but this won't include the asyncio module. Version
0.4.14 includes it but since it's forbidden right now in our
requirements, we should bump it the minimum version to 0.4.15.

[0] https://review.openstack.org/#/c/469650/

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  pyroute2 wrong version constraint

Status in neutron:
  New

Bug description:
  With this recent change [0] we're now importing asyncio module from
  pyroute2 and neutron-server fails to start if pyroute<0.4.15:

  File "/opt/stack/neutron/neutron/common/eventlet_utils.py", line 25, in monkey_patch
      p_c_e = importutils.import_module('pyroute2.config.asyncio')
      ImportError: No module named asyncio

  I'm using pyroute==0.4.13 which is ok according to global-
  requirements.txt but this won't include the asyncio module. Version
  0.4.14 includes it but since it's forbidden right now in our
  requirements, we should bump it the minimum version to 0.4.15.

  [0] https://review.openstack.org/#/c/469650/

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


Follow ups