[Bug 1537130] Re: Glance depends on swift client

Chuck Short chuck.short at canonical.com
Wed Oct 5 20:22:17 UTC 2016


*** This bug is a duplicate of bug 1604397 ***
    https://bugs.launchpad.net/bugs/1604397

** This bug has been marked a duplicate of bug 1604397
   python-swiftclient is missing in requirements.txt (for glare)

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

Title:
  Glance depends on swift client

Status in glance_store:
  Incomplete
Status in glance package in Ubuntu:
  Triaged
Status in python-glance-store package in Ubuntu:
  Triaged

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/glance-store/+bug/1537130/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list