Problem installing glance registry: ImportError: No module named setuptools.command

Bug #1053790 reported by Sam Morrison
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glance (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This bug affects the package in the Ubuntu Cloud Archive repository.
 Can't find much information about the repository so posting it here.

When installing glance-registry on a new host I get the following error:

Setting up glance-registry (2012.2~f3-0ubuntu1~cloud0) ...
Traceback (most recent call last):
  File "/usr/bin/glance-manage", line 43, in <module>
    from glance.common import config
  File "/usr/lib/python2.7/dist-packages/glance/common/config.py", line 32, in <module>
    from glance.version import version_info as version
  File "/usr/lib/python2.7/dist-packages/glance/version.py", line 18, in <module>
    from glance.openstack.common import version as common_version
  File "/usr/lib/python2.7/dist-packages/glance/openstack/common/version.py", line 25, in <module>
    import setup
  File "/usr/lib/python2.7/dist-packages/glance/openstack/common/setup.py", line 28, in <module>
    from setuptools.command import sdist
ImportError: No module named setuptools.command
dpkg: error processing glance-registry (--configure):
 subprocess installed post-installation script returned error exit status 1

glance-registry:
  Installed: 2012.2~f3-0ubuntu1~cloud0

Looks like it has a missing dependency on setuptools. Would happily provide a patch if I knew where the sources were hosted.

Chuck Short (zulcss)
tags: added: cloud-archive
Revision history for this message
Sam Morrison (sorrison) wrote :

python-setuptools is needed by /usr/share/pyshared/glance/openstack/common/setup.py which comes from the python-glance package.

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

This bug was fixed in the package glance - 2012.2-0ubuntu1

---------------
glance (2012.2-0ubuntu1) quantal; urgency=low

  * debian/control: Clean-up python depends. Thanks to Sam Morrison.
    (LP: #1053790)
  * New upstream release.
 -- Chuck Short <email address hidden> Thu, 27 Sep 2012 13:05:21 -0500

Changed in glance (Ubuntu):
status: New → Fix Released
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.