Comment 9 for bug 1369465

Revision history for this message
Nicolas Simonds (nicolas.simonds) wrote : Re: nova resize doesn't resize(extend) rbd disk files when using rbd disk backend

On point #1, the root cause is that the imagebackend code currently relies on the create_image() method to resize the image as well, and in the Ceph-backed case, it will gleefully do nothing (and claim victory) if the image already exists. Splitting the create and resize operations into two discrete methods takes care of that, and is handled in the patch set https://review.openstack.org/187857

On point #2, you are absolutely correct, there is no actual support on the backend for this, and it's amazing to me that it was released in this state. The support is added in patch set https://review.openstack.org/187395

Thanks,