Error thrown for create volume from CG snapshot

Bug #1654562 reported by Vinita Deshpande
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Undecided
Unassigned

Bug Description

Currently, in created_cloned_volume() (invoked from create_volume_from_snapshot) , when you create a volume from a snapshot, we need to check if that snapshot is part of a Consistency group, our current implementation only checks if a Volume is part of a consistency group (create_cloned_volume() is used by multiple functions).

For a VMAX Snapshot, we need not check if the size of snapshot is greater than the size of the source volume because for Snapshot we cannot specify a size.

We also need to use the correct exception type to handle meta-data which differs for Snapshot and Volume.

Changed in cinder:
assignee: nobody → Vinita Deshpande (vinita)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/417399

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (master)

Change abandoned by Sean McGinnis (<email address hidden>) on branch: master
Review: https://review.openstack.org/417399
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
Sean McGinnis (sean-mcginnis) wrote : Bug Assignee Expired

Unassigning due to no activity for > 6 months.

Changed in cinder:
assignee: Vinita Deshpande (vinita) → nobody
status: In Progress → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.