VMware: specify chunk size when reading image data
When reading OVA image data from Glance without specifying chunk size,
nova-compute tries to read the entire tar stream in memory because this
is how the tar fileobject is implemented. This patch fixes this by
specifying the chunk size to be 64KB.
Reviewed: https:/ /review. openstack. org/231468 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=71d2d31b9b8 6df4071c3728666 842eec6cd1c727
Committed: https:/
Submitter: Jenkins
Branch: master
commit 71d2d31b9b86df4 071c3728666842e ec6cd1c727
Author: Radoslav Gerganov <email address hidden>
Date: Tue Oct 6 16:01:45 2015 +0300
VMware: specify chunk size when reading image data
When reading OVA image data from Glance without specifying chunk size,
nova-compute tries to read the entire tar stream in memory because this
is how the tar fileobject is implemented. This patch fixes this by
specifying the chunk size to be 64KB.
Change-Id: I953dfa1c28c258 86306e1c9afe281 cf2faca4db5
Closes-Bug: #1495834