[openstack-dev] [cinder] Bug#1231298 - size parameter for volume creation

Ganapathy, Sandhya sandhya.ganapathy at hp.com
Fri Aug 8 05:36:22 UTC 2014


Hi,

This is to discuss Bug #1231298 - https://bugs.launchpad.net/cinder/+bug/1231298

Bug description : When one creates a volume from a snapshot or another volume, the size argument is calculated automatically. In the case of an image it needs to be specified though, for something larger than the image min_disk attribute. It would be nice to automatically get that size if it's not passed.

That's is a behavior of Cinder API.

Conclusion reached with this bug is that, we need to modify cinder client in order to accept optional size parameter (as the cinder's API allows)  and calculate the size automatically during volume creation from image.
There is also an opinion that size should not be an optional parameter during volume creation - does this mean, Cinder's API should be changed in order to make size a mandatory parameter.

Which direction should I take to fix this bug?

Thanks,
Sandhya.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140808/994164b0/attachment.html>


More information about the OpenStack-dev mailing list