+++ This bug was initially created as a clone of Bug #1647041 +++
Description of problem:
[This is a formal request to have this backported to OSP13 when BZ1647041 land in OSP16.1.]
Images uploaded to ceph via the glance command line utility do not maintain image file sparseness.
Version-Release number of selected component (if applicable):
All current versions.
How reproducible:
Every time.
Steps to Reproduce:
1. Upload sparse raw image to ceph backed glance images via command line.
Actual results:
Image is uploaded but file sparseness is not maintained.
Expected results:
Image sparseness maintained thus reducing ceph storage overhead.
Additional info:
I suspect this issue is not limited to just ceph backed glance images but all images uploaded with the glance utility. We've found the following two previous bugs requesting this feature.
- https://bugzilla.redhat.com/show_bug.cgi?id=1373643
- http://tracker.ceph.com/issues/17178
Additionally there is a workaround published on the ceph website that shows how to put sparse images into ceph and then add them into glance manually.
- https://ceph.com/planet/importing-an-existing-ceph-rbd-image-into-glance/