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
Reviewed: https:/ /review. openstack. org/124193 /git.openstack. org/cgit/ openstack/ glance_ store/commit/ ?id=4917fe64b30 3383507bc26e5c7 c43dfecd904c44
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4917fe64b303383 507bc26e5c7c43d fecd904c44
Author: Arnaud Legendre <email address hidden>
Date: Wed Sep 24 12:00:27 2014 -0700
VMware store: Use the Content-Length if available
Change I579084460e7f61 ab4042632d17ec0 f045fa6f5af 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: If348be7fd24fd0 5146b0c86bef45b 79f600cc0f7
Closes-Bug: #1336970
Change-Id: I58efc8981b38d1 e445f9acde66980 2b97e4b2077