Comment 5 for bug 1360151

Revision history for this message
Mark Washenberger (markwash) wrote :

Masashi,

It looks like maybe the recent change to adopt glance_store as a separate project may have included a fix for this. Specifically, I see:

https://github.com/openstack/glance/blob/f6e7992a68f6ab36f87604fffbe5349f2a12b25e/glance/api/v1/images.py#L454

Can you attempt to reproduce the bug with master again?

As a bonus, it might make sense for glance.common.utils.chunkiter to not be so trusting of length of chunks it reads. It could buffer multiple calls to fp.read() until it actually gets the correct size.