[Bug 1537130] [NEW] Glance depends on swift client

Matt Kassawara mkassawara at gmail.com
Fri Jan 22 16:41:09 UTC 2016


Public bug reported:

Using the cloud archive repository for Liberty, the glance-api service
(2:11.0.0-0ubuntu1~cloud0) appears to depend on the swift client
regardless of whether or not the glance configuration uses the swift
back-end.

ERROR stevedore.extension [-] Could not load 'glance.store.swift.Store': No module named swiftclient
ERROR stevedore.extension [-] No module named swiftclient
ERROR stevedore.extension Traceback (most recent call last):
ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 162, in _load_plugins
ERROR stevedore.extension     verify_requirements,
ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 183, in _load_one_plugin
ERROR stevedore.extension     plugin = ep.resolve()
ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2361, in resolve
ERROR stevedore.extension     module = __import__(self.module_name, fromlist=['__name__'], level=0)
ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/glance_store/_drivers/swift/__init__.py", line 17, in <module>
ERROR stevedore.extension     from glance_store._drivers.swift.store import *  # noqa
ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/glance_store/_drivers/swift/store.py", line 28, in <module>
ERROR stevedore.extension     import swiftclient
ERROR stevedore.extension ImportError: No module named swiftclient
ERROR stevedore.extension
ERROR stevedore.extension [-] Could not load 'swift': cannot import name utils
ERROR stevedore.extension [-] cannot import name utils
ERROR stevedore.extension Traceback (most recent call last):
ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 162, in _load_plugins
ERROR stevedore.extension     verify_requirements,
ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 183, in _load_one_plugin
ERROR stevedore.extension     plugin = ep.resolve()
ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2361, in resolve
ERROR stevedore.extension     module = __import__(self.module_name, fromlist=['__name__'], level=0)
ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/glance_store/_drivers/swift/__init__.py", line 16, in <module>
ERROR stevedore.extension     from glance_store._drivers.swift import utils  # noqa
ERROR stevedore.extension ImportError: cannot import name utils
ERROR stevedore.extension

** Affects: glance (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to glance in Ubuntu.
https://bugs.launchpad.net/bugs/1537130

Title:
  Glance depends on swift client

Status in glance package in Ubuntu:
  New

Bug description:
  Using the cloud archive repository for Liberty, the glance-api service
  (2:11.0.0-0ubuntu1~cloud0) appears to depend on the swift client
  regardless of whether or not the glance configuration uses the swift
  back-end.

  ERROR stevedore.extension [-] Could not load 'glance.store.swift.Store': No module named swiftclient
  ERROR stevedore.extension [-] No module named swiftclient
  ERROR stevedore.extension Traceback (most recent call last):
  ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 162, in _load_plugins
  ERROR stevedore.extension     verify_requirements,
  ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 183, in _load_one_plugin
  ERROR stevedore.extension     plugin = ep.resolve()
  ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2361, in resolve
  ERROR stevedore.extension     module = __import__(self.module_name, fromlist=['__name__'], level=0)
  ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/glance_store/_drivers/swift/__init__.py", line 17, in <module>
  ERROR stevedore.extension     from glance_store._drivers.swift.store import *  # noqa
  ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/glance_store/_drivers/swift/store.py", line 28, in <module>
  ERROR stevedore.extension     import swiftclient
  ERROR stevedore.extension ImportError: No module named swiftclient
  ERROR stevedore.extension
  ERROR stevedore.extension [-] Could not load 'swift': cannot import name utils
  ERROR stevedore.extension [-] cannot import name utils
  ERROR stevedore.extension Traceback (most recent call last):
  ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 162, in _load_plugins
  ERROR stevedore.extension     verify_requirements,
  ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 183, in _load_one_plugin
  ERROR stevedore.extension     plugin = ep.resolve()
  ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2361, in resolve
  ERROR stevedore.extension     module = __import__(self.module_name, fromlist=['__name__'], level=0)
  ERROR stevedore.extension   File "/usr/lib/python2.7/dist-packages/glance_store/_drivers/swift/__init__.py", line 16, in <module>
  ERROR stevedore.extension     from glance_store._drivers.swift import utils  # noqa
  ERROR stevedore.extension ImportError: cannot import name utils
  ERROR stevedore.extension

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glance/+bug/1537130/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list