Description of problem:
when creating a snapshot based volume, it is currently permitted to pass as size argument a value smaller than the actual snapshot size
the volume creation terminates with an error as soon as the backing volume is filled
the API could get smarter and enforce the user to use as size a value greater or identical to the snapshot size
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a 2g volume (vol1)
2. create a snap of vol1 (snap1)
3. create a 1g volume from snap1 (vol2)
creation starts and reports failure when the backing LV is full
API returns error and doesn't initiate the operation
It's not clear to me that this is severe enough to be worth backporting.
verified using openstack-cinder-2013.2-0.9.b3.el6ost
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.