Comment 4 for bug 1336970

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance_store (master)

Reviewed: https://review.openstack.org/124193
Committed: https://git.openstack.org/cgit/openstack/glance_store/commit/?id=4917fe64b303383507bc26e5c7c43dfecd904c44
Submitter: Jenkins
Branch: master

commit 4917fe64b303383507bc26e5c7c43dfecd904c44
Author: Arnaud Legendre <email address hidden>
Date: Wed Sep 24 12:00:27 2014 -0700

    VMware store: Use the Content-Length if available

    Change I579084460e7f61ab4042632d17ec0f045fa6f5af changed the VMware
    store to use chunked encoding to upload data to the underlying backend.
    We should do that only if the image size is not provided or zero and not
    all the time.
    This patch addressed the issue by checking the image_size before upload.

    Merged in Glance: Change-Id: If348be7fd24fd05146b0c86bef45b79f600cc0f7
    Closes-Bug: #1336970

    Change-Id: I58efc8981b38d1e445f9acde669802b97e4b2077