Comment 0 for bug 1644177

Revision history for this message
Andrey Pavlov (apavlov-e) wrote :

Configuration:
1) glance is configured to store images in cinder.
2) cinder's backend is a ScaleIO.

Description:
ScaleIO creates volumes with size divided by 8Gb. And if client wants to create 1Gb cinder will create volume of 8Gb anyway.
glance store creates 1Gb volume for uploading image. If image is bigger it extends volume by 1Gb.

In this case cinder throws an error "New size for extend must be greater than current size. (current: 8, extended 2)."

glance store should check real voluume size after creation and extends volume only if it's needed.