]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix suppressed exceptions for migration downgrade
authorRushi Agrawal <rushi.agr@gmail.com>
Tue, 26 Nov 2013 06:18:38 +0000 (11:48 +0530)
committerRushi Agrawal <rushi.agr@gmail.com>
Thu, 28 Nov 2013 07:23:18 +0000 (12:53 +0530)
commit3ddf4511596b2fcfc4ec134cd9edaeaba823e42b
treed72cf39031114fb439f9bd5f7142bcbd1e37a30a
parent0b71a3f0bd502f9637043aa3f21a6653d536b866
Fix suppressed exceptions for migration downgrade

In SQLAlchemy migration versions 009, 010 and 020, we missed
reraising exceptions while logging errors in case of a downgrade.
We don't want exceptions to pass silently. This patch fixes that.

Closes-bug: 1227881

Change-Id: Id11b1c5d2e26d208e88bb84e5b46c4b7affc3f9f
cinder/db/sqlalchemy/migrate_repo/versions/009_add_snapshot_metadata_table.py
cinder/db/sqlalchemy/migrate_repo/versions/010_add_transfers_table.py
cinder/db/sqlalchemy/migrate_repo/versions/020_add_volume_admin_metadata_table.py