From 9c26377f7b92b5972b284ff75fe69ab11c3c18df Mon Sep 17 00:00:00 2001 From: Michael Kerrin Date: Tue, 27 Aug 2013 10:48:45 +0000 Subject: [PATCH] Migrate manage script needs import of db session module This import looks like it is not used but importing this module as the side effect of defining the olso configuration. Without it the script will not work. Change-Id: Id65f726f34aa2fb86fda13fd65e2e512b3a899ac --- cinder/db/sqlalchemy/migrate_repo/manage.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cinder/db/sqlalchemy/migrate_repo/manage.py b/cinder/db/sqlalchemy/migrate_repo/manage.py index 546ecf462..741b69ebf 100644 --- a/cinder/db/sqlalchemy/migrate_repo/manage.py +++ b/cinder/db/sqlalchemy/migrate_repo/manage.py @@ -23,6 +23,7 @@ from cinder.openstack.common import gettextutils gettextutils.install('cinder', lazy=True) from cinder.db.sqlalchemy import migrate_repo +import cinder.openstack.common.db.sqlalchemy.session from cinder import version from migrate.versioning.shell import main -- 2.45.2