ImportError: No module named ibm_db_sa due to sqlalchemy-mirgate 0.8.4

Bug #1287226 reported by Anita Kuno
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
New
Undecided
Unassigned

Bug Description

A new tag of sqlalchemy-migrate required a db driver, we don't put db drivers in requirements.txt.

2014-03-03 15:13:07.460 | Traceback (most recent call last):
2014-03-03 15:13:07.467 | File "/opt/stack/new/keystone/bin/keystone-manage", line 36, in <module>
2014-03-03 15:13:07.474 | from keystone import cli
2014-03-03 15:13:07.481 | File "/opt/stack/new/keystone/keystone/cli.py", line 19, in <module>
2014-03-03 15:13:07.488 | from migrate import exceptions
2014-03-03 15:13:07.495 | File "/usr/local/lib/python2.7/dist-packages/migrate/__init__.py", line 11, in <module>
2014-03-03 15:13:07.502 | from migrate.changeset import *
2014-03-03 15:13:07.509 | File "/usr/local/lib/python2.7/dist-packages/migrate/changeset/__init__.py", line 22, in <module>
2014-03-03 15:13:07.516 | from migrate.changeset.schema import *
2014-03-03 15:13:07.523 | File "/usr/local/lib/python2.7/dist-packages/migrate/changeset/schema.py", line 15, in <module>
2014-03-03 15:13:07.529 | from migrate.changeset.databases.visitor import (get_engine_visitor,
2014-03-03 15:13:07.537 | File "/usr/local/lib/python2.7/dist-packages/migrate/changeset/databases/visitor.py", line 7, in <module>
2014-03-03 15:13:07.544 | from migrate.changeset.databases import (sqlite,
2014-03-03 15:13:07.551 | File "/usr/local/lib/python2.7/dist-packages/migrate/changeset/databases/ibmdb2.py", line 7, in <module>
2014-03-03 15:13:07.557 | from ibm_db_sa import base
2014-03-03 15:13:07.564 | ImportError: No module named ibm_db_sa

Revision history for this message
Anita Kuno (anteaya) wrote :

Patch https://review.openstack.org/77614 is offered as a preventative measure.

Revision history for this message
Anita Kuno (anteaya) wrote :
Revision history for this message
Anita Kuno (anteaya) wrote :

sqlalchemy-migrate tag 0.8.5 has been pushed

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.