sqlalchemy migrate 0.8.4 unconditionally requires db2

Bug #1287229 reported by Sean Dague
46
This bug affects 6 people
Affects Status Importance Assigned to Milestone
sqlalchemy-migrate
Fix Committed
Undecided
Matt Riedemann
Tags: gate-failure
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to elastic-recheck (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/77618

Matt Riedemann (mriedem)
Changed in sqlalchemy-migrate:
assignee: nobody → Matt Riedemann (mriedem)
Revision history for this message
Anita Kuno (anteaya) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to elastic-recheck (master)

Reviewed: https://review.openstack.org/77618
Committed: https://git.openstack.org/cgit/openstack-infra/elastic-recheck/commit/?id=614c1da8956e88ff6a83e5be2ab1cd2397664606
Submitter: Jenkins
Branch: master

commit 614c1da8956e88ff6a83e5be2ab1cd2397664606
Author: Sean Dague <email address hidden>
Date: Mon Mar 3 10:35:42 2014 -0500

    add query for migrate db2 error

    Change-Id: I500cd54ba56b6211768362e78394f97edb0fec79
    Related-Bug: #1287229

Revision history for this message
Matt Riedemann (mriedem) wrote :

http://logs.openstack.org/67/40467/77/check/check-tempest-dsvm-postgres-full/97f5031/logs/devstacklog.txt.gz

2014-03-03 15:35:06.599 | + /opt/stack/new/keystone/bin/keystone-manage db_sync
2014-03-03 15:35:06.603 | Traceback (most recent call last):
2014-03-03 15:35:06.608 | File "/opt/stack/new/keystone/bin/keystone-manage", line 36, in <module>
2014-03-03 15:35:06.612 | from keystone import cli
2014-03-03 15:35:06.616 | File "/opt/stack/new/keystone/keystone/cli.py", line 19, in <module>
2014-03-03 15:35:06.620 | from migrate import exceptions
2014-03-03 15:35:06.625 | File "/usr/local/lib/python2.7/dist-packages/migrate/__init__.py", line 11, in <module>
2014-03-03 15:35:06.629 | from migrate.changeset import *
2014-03-03 15:35:06.633 | File "/usr/local/lib/python2.7/dist-packages/migrate/changeset/__init__.py", line 22, in <module>
2014-03-03 15:35:06.638 | from migrate.changeset.schema import *
2014-03-03 15:35:06.642 | File "/usr/local/lib/python2.7/dist-packages/migrate/changeset/schema.py", line 15, in <module>
2014-03-03 15:35:06.646 | from migrate.changeset.databases.visitor import (get_engine_visitor,
2014-03-03 15:35:06.650 | File "/usr/local/lib/python2.7/dist-packages/migrate/changeset/databases/visitor.py", line 7, in <module>
2014-03-03 15:35:06.655 | from migrate.changeset.databases import (sqlite,
2014-03-03 15:35:06.659 | File "/usr/local/lib/python2.7/dist-packages/migrate/changeset/databases/ibmdb2.py", line 7, in <module>
2014-03-03 15:35:06.663 | from ibm_db_sa import base
2014-03-03 15:35:06.668 | ImportError: No module named ibm_db_sa

James E. Blair (corvus)
tags: added: gate-failure
no longer affects: openstack-ci
Revision history for this message
Matt Riedemann (mriedem) wrote :

sqlalchemy-migrate patch is here: https://review.openstack.org/#/c/77669/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sqlalchemy-migrate (master)

Fix proposed to branch: master
Review: https://review.openstack.org/77669

Changed in sqlalchemy-migrate:
status: New → In Progress
Revision history for this message
Matt Riedemann (mriedem) wrote :

Infra patch to try and get tempest to run against sqlalchemy-migrate changes: https://review.openstack.org/#/c/77679/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sqlalchemy-migrate (master)

Reviewed: https://review.openstack.org/77669
Committed: https://git.openstack.org/cgit/stackforge/sqlalchemy-migrate/commit/?id=12a6bcfa8c1ead90f22135ea7ab75352ed06d6b2
Submitter: Jenkins
Branch: master

commit 12a6bcfa8c1ead90f22135ea7ab75352ed06d6b2
Author: Matt Riedemann <email address hidden>
Date: Mon Mar 3 10:31:52 2014 -0800

    Conditionally import ibmdb2/ibm_db_sa

    Since ibm_db_sa is not part of sqlalchemy, we need to handle the
    conditional import of the module in visitor.py so we don't get an
    ImportError if ibm_db_sa is not available.

    Closes-Bug: #1287229

    Change-Id: Ida070b629ce3b9be727ae49973bb6a71543c1dcf

Changed in sqlalchemy-migrate:
status: In Progress → Fix Committed
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.