Description of problem: volumes created from glance images are saved on database with using the size passed as argument but the actual image file does not get resized accordingly Version-Release number of selected component (if applicable): openstack-cinder-2013.1.1-3.el6ost Steps to Reproduce: 1. create an image in glace 2. crate a volume from such an image and pass "1" as volume size Actual results: the volume will be reported as of 1Gb but the actual file in the filesystem will match instead the virtual size reported by qemu-img for the glance image Expected results: the volume is resized to the value passes as arg if that is bigger than the actual image size (virtual size) Additional info: upstream bug: https://bugs.launchpad.net/cinder/+bug/1183459 Eric suggests this should fix it: https://review.openstack.org/#/c/30298
verified using openstack-cinder-2013.1.2-3.el6ost.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/RHBA-2013-0968.html