]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Soft delete tmp migration volume
authorAvishay Traeger <avishay@il.ibm.com>
Mon, 2 Sep 2013 17:23:45 +0000 (20:23 +0300)
committerAvishay Traeger <avishay@il.ibm.com>
Wed, 18 Sep 2013 04:32:02 +0000 (07:32 +0300)
commitd2479f1e88e1eff777afbc922ae1da63afcc7716
treecfa53206acb1debee974d9f1fd76683aed9b96e2
parent2a725ef15d0d1b0e3c82fcabf65850afce7cc26e
Soft delete tmp migration volume

Previously the row for the temporary migration volume was deleted from
the database, which caused a foreign key violation for its admin
metadata. Regardless, the volume should have been soft deleted from the
database anyway, and this patch takes care of that.

Change-Id: I8e4942b0e21ec79c90aa95b18b5612b5b133fd62
Closes-Bug: #1219097
cinder/db/sqlalchemy/api.py
cinder/tests/db/test_finish_migration.py
cinder/volume/manager.py