Mutually exclusive options snapshot-id, source-volid and image-id are not correctly enforced
Bug #1161437 reported by
stephen mulcahy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
stephen mulcahy |
Bug Description
At most only one of snapshot-id, source-volid or image-id should be specified during a volume creation. At the moment, the volumes api only partially enforces this, accepting some combinations of these arguments and silently ignoring them.
cinder/
if ((snapshot is not None) and (source_volume is not None)):
i.e., no check for image_id/imageRef
and
cinder/
has the check
if snapshot_id and image_href:
i.e. no check for combination of image_id/ImageRef and source volume
Changed in cinder: | |
assignee: | nobody → stephen mulcahy (stephen-mulcahy) |
Changed in cinder: | |
status: | New → Confirmed |
Changed in cinder: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | havana-1 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/25624
Review: https:/