commit 32d8722d3bf86946a56afc74b9cc301a39a2bef1
Author: Adam Gandelman <email address hidden>
Date: Thu Oct 11 18:49:54 2012 -0700
read_deleted snapshot and volume id mappings.
Since the migration that creates the volume_id_mappings and
snapshot_id_mappings tables does not populate the 'deleted' column,
queries to this table should not limit results to 'deleted=0'.
Limiting to non-deleted rows results in duplicate mappings being
created for existing instance mappings after an upgrade, and
throws off volume and snapshot ID to UUID mapping.
This is a stop-gap measure to ensure avoid serious breakage during
an upgrade. The NULL columns in this table are actually unused
currently and can be populated in later grizzly migrations, if they
end up being used.
Reviewed: https:/ /review. openstack. org/14416 github. com/openstack/ nova/commit/ 32d8722d3bf8694 6a56afc74b9cc30 1a39a2bef1
Committed: http://
Submitter: Jenkins
Branch: stable/folsom
commit 32d8722d3bf8694 6a56afc74b9cc30 1a39a2bef1
Author: Adam Gandelman <email address hidden>
Date: Thu Oct 11 18:49:54 2012 -0700
read_deleted snapshot and volume id mappings.
Since the migration that creates the volume_id_mappings and id_mappings tables does not populate the 'deleted' column,
snapshot_
queries to this table should not limit results to 'deleted=0'.
Limiting to non-deleted rows results in duplicate mappings being
created for existing instance mappings after an upgrade, and
throws off volume and snapshot ID to UUID mapping.
This is a stop-gap measure to ensure avoid serious breakage during
an upgrade. The NULL columns in this table are actually unused
currently and can be populated in later grizzly migrations, if they
end up being used.
Fixes bug 1065785.
Change-Id: I893c994362a203 288b9984f0ede24 cbb274bfcc5 1046344c255bdb2 edd7450475)
(cherry picked from commit 43bf8344488a6af