← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1407685] [NEW] New eventlet library breaks nova-manage

 

Public bug reported:

This only affects stable/juno and stable/icehouse, which still use the
deprecated eventlet.util module:

~# nova-manage service list
2015-01-05 13:13:11.202 29016 ERROR stevedore.extension [-] Could not load 'file': cannot import name util
2015-01-05 13:13:11.202 29016 ERROR stevedore.extension [-] cannot import name util
2015-01-05 13:13:11.202 29016 TRACE stevedore.extension Traceback (most recent call last):
2015-01-05 13:13:11.202 29016 TRACE stevedore.extension   File "/opt/cloudbau/nova-virtualenv/lib/python2.7/site-packages/stevedore/extension.py", line 162, in _load_plugins
2015-01-05 13:13:11.202 29016 TRACE stevedore.extension     verify_requirements,
2015-01-05 13:13:11.202 29016 TRACE stevedore.extension   File "/opt/cloudbau/nova-virtualenv/lib/python2.7/site-packages/stevedore/extension.py", line 178, in _load_one_plugin
2015-01-05 13:13:11.202 29016 TRACE stevedore.extension     plugin = ep.load(require=verify_requirements)
2015-01-05 13:13:11.202 29016 TRACE stevedore.extension   File "/opt/cloudbau/nova-virtualenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2306, in load
2015-01-05 13:13:11.202 29016 TRACE stevedore.extension     return self._load()
2015-01-05 13:13:11.202 29016 TRACE stevedore.extension   File "/opt/cloudbau/nova-virtualenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2309, in _load
2015-01-05 13:13:11.202 29016 TRACE stevedore.extension     module = __import__(self.module_name, fromlist=['__name__'], level=0)
2015-01-05 13:13:11.202 29016 TRACE stevedore.extension   File "/opt/cloudbau/nova-virtualenv/lib/python2.7/site-packages/nova/image/download/file.py", line 23, in <module>
2015-01-05 13:13:11.202 29016 TRACE stevedore.extension     import nova.virt.libvirt.utils as lv_utils
2015-01-05 13:13:11.202 29016 TRACE stevedore.extension   File "/opt/cloudbau/nova-virtualenv/lib/python2.7/site-packages/nova/virt/libvirt/__init__.py", line 15, in <module>
2015-01-05 13:13:11.202 29016 TRACE stevedore.extension     from nova.virt.libvirt import driver
2015-01-05 13:13:11.202 29016 TRACE stevedore.extension   File "/opt/cloudbau/nova-virtualenv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 59, in <module>
2015-01-05 13:13:11.202 29016 TRACE stevedore.extension     from eventlet import util as eventlet_util
2015-01-05 13:13:11.202 29016 TRACE stevedore.extension ImportError: cannot import name util
2015-01-05 13:13:11.202 29016 TRACE stevedore.extension

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1407685

Title:
  New eventlet library breaks nova-manage

Status in OpenStack Compute (Nova):
  New

Bug description:
  This only affects stable/juno and stable/icehouse, which still use the
  deprecated eventlet.util module:

  ~# nova-manage service list
  2015-01-05 13:13:11.202 29016 ERROR stevedore.extension [-] Could not load 'file': cannot import name util
  2015-01-05 13:13:11.202 29016 ERROR stevedore.extension [-] cannot import name util
  2015-01-05 13:13:11.202 29016 TRACE stevedore.extension Traceback (most recent call last):
  2015-01-05 13:13:11.202 29016 TRACE stevedore.extension   File "/opt/cloudbau/nova-virtualenv/lib/python2.7/site-packages/stevedore/extension.py", line 162, in _load_plugins
  2015-01-05 13:13:11.202 29016 TRACE stevedore.extension     verify_requirements,
  2015-01-05 13:13:11.202 29016 TRACE stevedore.extension   File "/opt/cloudbau/nova-virtualenv/lib/python2.7/site-packages/stevedore/extension.py", line 178, in _load_one_plugin
  2015-01-05 13:13:11.202 29016 TRACE stevedore.extension     plugin = ep.load(require=verify_requirements)
  2015-01-05 13:13:11.202 29016 TRACE stevedore.extension   File "/opt/cloudbau/nova-virtualenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2306, in load
  2015-01-05 13:13:11.202 29016 TRACE stevedore.extension     return self._load()
  2015-01-05 13:13:11.202 29016 TRACE stevedore.extension   File "/opt/cloudbau/nova-virtualenv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2309, in _load
  2015-01-05 13:13:11.202 29016 TRACE stevedore.extension     module = __import__(self.module_name, fromlist=['__name__'], level=0)
  2015-01-05 13:13:11.202 29016 TRACE stevedore.extension   File "/opt/cloudbau/nova-virtualenv/lib/python2.7/site-packages/nova/image/download/file.py", line 23, in <module>
  2015-01-05 13:13:11.202 29016 TRACE stevedore.extension     import nova.virt.libvirt.utils as lv_utils
  2015-01-05 13:13:11.202 29016 TRACE stevedore.extension   File "/opt/cloudbau/nova-virtualenv/lib/python2.7/site-packages/nova/virt/libvirt/__init__.py", line 15, in <module>
  2015-01-05 13:13:11.202 29016 TRACE stevedore.extension     from nova.virt.libvirt import driver
  2015-01-05 13:13:11.202 29016 TRACE stevedore.extension   File "/opt/cloudbau/nova-virtualenv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 59, in <module>
  2015-01-05 13:13:11.202 29016 TRACE stevedore.extension     from eventlet import util as eventlet_util
  2015-01-05 13:13:11.202 29016 TRACE stevedore.extension ImportError: cannot import name util
  2015-01-05 13:13:11.202 29016 TRACE stevedore.extension

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


Follow ups

References