keystone package needs sqlalchemy-migrate dependency

Bug #909941 reported by Dan Bode on 2011-12-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
keystone (Ubuntu)
Undecided
Unassigned

Bug Description

when installing keystone using the following ppa:

  deb http://ppa.launchpad.net/keystone-core/trunk/ubuntu natty main

and then using apt to install:

  apt-get install keystone

I can verify that the libraries are installed:

   python
  Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
  [GCC 4.5.2] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import keystone.version
  >>> print keystone.version.version()
  2012.1-dev

but attempting to add a tenant leads to the following exception:

  # keystone-manage tenant add admin
  Traceback (most recent call last):
    File "/usr/bin/keystone-manage", line 13, in <module>
      import keystone.manage
    File "/usr/lib/python2.7/dist-packages/keystone/manage/__init__.py", line 31, in <module>
      from keystone.backends.sqlalchemy import migration
    File "/usr/lib/python2.7/dist-packages/keystone/backends/sqlalchemy/__init__.py", line 30, in <module>
      from migrate import exceptions as versioning_exceptions
  ImportError: No module named migrate

I was able to to get this command working by installing an additional package:

  apt-get install python-migrate

Jay Pipes (jaypipes) on 2011-12-30
affects: openstack-ci → keystone
summary: - keystone package does not install correctly
+ keystone package needs sqlalchemy-migrate dependency
Thierry Carrez (ttx) on 2012-01-04
affects: keystone → openstack-ppa
Dave Walker (davewalker) wrote :
Changed in keystone (Ubuntu):
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package keystone - 2012.1~e3~20120113.1511-0ubuntu1

---------------
keystone (2012.1~e3~20120113.1511-0ubuntu1) precise; urgency=low

  [Chuck Short]
  * New upstream version.
  * debian/control: Add python-migrate as a build depenedency.
    (LP: #909941)
  * debian/keystone.dirs: Add cache directory for PTYHON_EGGS
  * debian/control: Add ssl-cert for ssl certificates.
  * debian/patches/keystone-ssl.patch: Point ssl config to the
    snakeoil certificates.
  * debian/control: Add python-nose as a build dependency.

  [Adam Gandleman]
  * debian/python-keystone.postinst: Also install *.egg-info (LP: #907518)
  * debian/patches/temp_fix_keyston_manage.patch: Allow keystone to work
    with current snapshot.
 -- Chuck Short <email address hidden> Fri, 13 Jan 2012 10:09:46 +0100

Changed in keystone (Ubuntu):
status: Fix Committed → Fix Released
Thierry Carrez (ttx) wrote :

Packaging was merged

Changed in openstack-ppa:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers