When doing an image upload of a volume from cinder-volume to glance with an s3 backend, image_size in this context is zero. As a result the check that image_size is larger than s3_store_large_object_size is always negative and glance_store never uses multipart upload. As a workaround, allow setting s3_store_large_object_size to 0, which forces glance_store to use multipart upload. Related-Bug: #2043740 Change-Id: I436d56d0489b081822ed55108e10d43cc38512bb
11 lines
379 B
YAML
11 lines
379 B
YAML
---
|
|
features:
|
|
- |
|
|
Support setting ``s3_store_large_object_size`` to ``0`` to force multipart
|
|
upload when ``image_size`` is unknown.
|
|
fixes:
|
|
- |
|
|
`Bug #2043740 <https://bugs.launchpad.net/glance-store/+bug/2043740>`_:
|
|
``s3_store_large_object_size`` can be set to ``0`` to force multipart
|
|
upload when creating an image in the S3 backend from a Cinder volume.
|