Can't create big image if store is a cinder with specific backend
Bug #1644177 reported by
Andrey Pavlov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance_store |
Fix Released
|
Undecided
|
Andrey Pavlov |
Bug Description
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.
cinder behavior was changed in Newton release.
Changed in glance-store: | |
assignee: | nobody → Andrey Pavlov (apavlov-e) |
description: | updated |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/401277
Review: https:/