rbd: No available space check for image_conversion_dir in cinder-volume on upload-to-image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Low
|
Sofia Enriquez |
Bug Description
image_conversio
By default policy volume_
How to reproduce:
1) Create a large volume (for example 4Tb)
2) Execute cinder upload-to-image for this volume
3) See, that image_conversio
https:/
https:/
On the Glance side, there is a possibility to limit the maximum size of the uploaded image with image_size_cap option defaulted to 1Tb. But, for example, for rbd driver rbd export operation will be executed before glanceclient invocation and request to the Glance API, which can refuse to create a large image because of the overall limit or image_size_cap option.
This issue affects all Cinder releases at least since Pike.
description: | updated |
Changed in cinder: | |
status: | New → Confirmed |
Changed in cinder: | |
assignee: | nobody → Naga Samyuktha (samyukthae) |
Changed in cinder: | |
assignee: | Naga Samyuktha (samyukthae) → nobody |
summary: |
- No available space check for image_conversion_dir in cinder-volume on - upload-to-image + rbd: No available space check for image_conversion_dir in cinder-volume + on upload-to-image |
Looks like this is a limitation acknowledge by Cinder https:/ /opendev. org/openstack/ cinder/ src/branch/ master/ cinder/ image/image_ utils.py# L326-L328