cinder/cinder/objects
xing-yang b069c027ab Remove cgsnapshot_id before snapshot.save
There are a few more places where information is missing for
consistencygroup or cgsnapshot due to the CG migration changes.
This patch tries to fix them.

cgsnapshot_id should be removed from the snapshot object before
snapshot.save is called in the exception block because cgsnapshot
does not exist in the db.

cgsnapshot object is added to the snapshot object when snapshots
are passed to the driver in create/delete cgsnapshot.

Change-Id: I253a98b8a2058a00c2c577927c0b701c2f88c81b
Closes-Bug: #1662684
(cherry picked from commit 702868fd00)
2016-12-05 02:10:59 -05:00
..
__init__.py Switch ManageableSnaphots & ManageableVolumes list to OVO 2017-01-25 00:41:30 +00:00
backup.py Improve DB method naming consistency 2016-12-13 19:23:05 +01:00
base.py Switch ManageableSnaphots & ManageableVolumes list to OVO 2017-01-25 00:41:30 +00:00
cgsnapshot.py Fix replication freeze mechanism 2017-01-19 10:42:24 +01:00
cleanable.py Prevent claiming and updating races on worker 2017-01-19 10:42:24 +01:00
cleanup_request.py Add cleanable base object and cleanup request VO 2016-10-04 15:17:31 +02:00
cluster.py Make Replication support Active-Active 2017-01-19 10:42:18 +01:00
consistencygroup.py CG API changes for migrating CGs 2016-11-22 19:08:20 -05:00
fields.py Add new attachment APIS 2017-01-20 11:47:10 -07:00
group.py Support A/A in delete actions and get_capabilities 2016-12-07 11:09:42 +01:00
group_snapshot.py Fix replication freeze mechanism 2017-01-19 10:42:24 +01:00
group_type.py OVO: OPTIONAL_FIELDS should be moved inside the OVO 2016-09-28 04:41:00 +00:00
manageableresources.py Switch ManageableSnaphots & ManageableVolumes list to OVO 2017-01-25 00:41:30 +00:00
qos_specs.py To fix miscellaneous bugs in OVOs 2016-10-31 22:50:41 +00:00
request_spec.py Remove unused config.CONF 2016-08-30 10:01:46 +08:00
service.py Update is_up from Service OVO class to match ORM 2016-12-21 20:55:37 +01:00
snapshot.py Remove cgsnapshot_id before snapshot.save 2016-12-05 02:10:59 -05:00
volume.py Remove cgsnapshot_id before snapshot.save 2016-12-05 02:10:59 -05:00
volume_attachment.py Add new attachment APIS 2017-01-20 11:47:10 -07:00
volume_type.py Allow attribute lazy loading in VolumeType OVO 2016-09-26 14:29:32 +02:00