deb-cinder/cinder/objects
Ryan McNair 96f4529dd6 Fix volume migration VolumeType exception
Since Iabf9c3fab56ffef50695ce45745f193273822b39 modified the default
loaded attributes, the obj_attr_is_set check in finish_volume_migration
is now True for VolumeType. This should not get copied to the new
volume (since it's lazy-loaded based on the volume_type_id), so
this patch adds volume_type to the list of keys to ignore. To get
test coverage, test_finish_volume_migration is updated to use the
default expected_attributes and dict comprehension is updated so
it succeeds without glance_metadata being present.

Change-Id: Id3670dba79afb0d9d1b686ac2772c955372e97af
Closes-Bug: #1555862
Depends-On: I2caf4d3f4aa088d099548e6e88d1776b4cc5810c
2016-03-14 17:44:57 +00:00
..
__init__.py Add backref relationships to ConsistencyGroup obj 2015-12-29 16:09:40 +01:00
backup.py Make nullable of fields in db model and object match 2016-02-29 06:29:54 +00:00
base.py Add volume_type to volume object expected_attrs 2016-03-10 14:11:02 +01:00
cgsnapshot.py Move get_by_id to CinderObject 2015-11-20 14:34:21 +01:00
consistencygroup.py Add pagination support to consistency group 2016-01-21 09:15:21 +08:00
fields.py Replication v2.1 (Cheesecake) 2016-02-26 13:15:19 -07:00
service.py Merge "Make nullable of fields in db model and object match" 2016-03-07 12:26:47 +00:00
snapshot.py Add volume_type to volume object expected_attrs 2016-03-10 14:11:02 +01:00
volume_attachment.py Cleanup unused conf variables 2016-02-16 11:26:06 +11:00
volume_type.py Add volume_type to volume object expected_attrs 2016-03-10 14:11:02 +01:00
volume.py Fix volume migration VolumeType exception 2016-03-14 17:44:57 +00:00