Go to file
Max Lamprecht 8d6333b462 feat: return size in get_image_data_iter
Return the size with the data iter in get_image_data_iter(uri).
We will either fetch it from the local filesize or from the http
'content-length' header.

For example the s3 store driver needs to know the image size in order
to decide between singlepart and multipart upload.
Without the size the s3 driver will always attempt to use singlepart
which can fail for larger objects. e.g. aws part size of 5GB

Closes-Bug: #2141673
Change-Id: Ief14a61f6a1d9327acfd6ada61c2b5976d153555
Signed-off-by: Max Lamprecht <max.lamprecht@stackit.cloud>
2026-02-23 16:26:02 +01:00
2025-09-17 11:53:27 +01:00
2020-01-06 12:56:30 -05:00
2019-04-19 19:45:31 +00:00
2014-02-11 12:00:44 +08:00
2026-01-07 19:21:15 +09:00
2012-01-03 10:14:01 -05:00
2022-12-05 10:59:14 -08:00
2026-01-28 14:09:44 +00:00
2024-05-02 09:20:59 +00:00

OpenStack Glance

Glance is an OpenStack project that provides services and associated libraries to store, browse, share, distribute and manage bootable disk images, other data closely associated with initializing compute resources, and metadata definitions.

Use the following resources to learn more:

API

To learn how to use Glance's API, consult the documentation available online at:

Developers

For information on how to contribute to Glance, please see the contents of the CONTRIBUTING.rst in this repository.

Any new code must follow the development guidelines detailed in the HACKING.rst file, and pass all unit tests.

Further developer focused documentation is available at:

Operators

To learn how to deploy and configure OpenStack Glance, consult the documentation available online at:

In the unfortunate event that bugs are discovered, they should be reported to the appropriate bug tracker. You can raise bugs here:

Release notes

To learn more about Glance's new features, optimizations, and changes between versions, consult the release notes online at:

Other Information

During each design summit, we agree on what the whole community wants to focus on for the upcoming release. You can see image service plans:

For more information about the Glance project please see:

Description
OpenStack Image Management (Glance)
Readme 136 MiB
Languages
Python 99.9%