Comment 2 for bug 1213880

Revision history for this message
Edward Hope-Morley (hopem) wrote :

The python-glanceclient always does chunked transfers so we cannot set content-length (since that would disable chunking). The v2 API upload() command does not inspect image metadata so, therefore, it looks like the correct solution here is to behave like the swift backend and support ChunkedReads thus allowing for multiple chunks of data of unknown size so be written to a single rbd image.