Description of problem: I am working with gluster configured as cinder backend. if I try to clone a volume from image when the new volume size is smaller than the image we get the following error: [root@cougar06 ~(keystone_admin)]# cinder create 10 --image-id 0924d3a4-d163-4ae5-8f57-fb9f1912ee26 --display-name dafna_new ERROR: Invalid input received: Image minDisk size 20 is larger than the volume size 10. if I try to clone a volume from a volume when the new volume is smaller than the volume we clone from we get the following error: [root@cougar06 ~(keystone_admin)]# cinder create 10 --source-volid c3b6cb41-d78d-420d-b64c-d5f3782f7772 --display-name new_clone ERROR: Invalid input received: Clones currently disallowed when 10 < 20. They must be >= original volume size. Version-Release number of selected component (if applicable): openstack-cinder-2013.2-0.11.rc1.el6ost.noarch python-cinder-2013.2-0.11.rc1.el6ost.noarch python-cinderclient-1.0.6-1.el6ost.noarch How reproducible: 100% Steps to Reproduce: 1. create an image and a volume 2. clone a volume from the image but give new volume size smaller than the image 3. clone a volume from the volume but give a new volume size smaller than the src volume. Actual results: we get different error messages Expected results: we should get the same error messages Additional info:
verified in version: openstack-cinder-2014.1-6.el7ost.noarch python-cinder-2014.1-6.el7ost.noarch python-cinderclient-1.0.9-1.el7ost.noarch
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. http://rhn.redhat.com/errata/RHEA-2014-0852.html
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days