Skip to main content

openstack-image-manager

PyPi version PyPi license Documentation

Easily manage and keep up to date a large number of images on an OpenStack environment

Upstream checksum fields

Image versions using the latest pointer must specify where to find the upstream checksum, using exactly one of these two fields:

  • checksums_url — URL of a checksums file that contains the image filename, e.g. the SHA256SUMS manifest published by Ubuntu. Lines have the form <digest> <filename>; the line matching the image filename is used.
  • checksum_url — URL of a checksum file that contains a single bare digest and nothing else, e.g. the .sha512 sidecar files published by Alpine. Use this when the checksum file does not contain the image filename.

Supported digests are MD5, SHA-1, SHA-256 and SHA-512 (hex-encoded). The checksum URLs must be HTTP(S).

Import path (--prefetch)

By default images are imported with Glance's web-download method, where glance-api fetches the image from its URL itself. When that fetch is slow or flaky, the import can stall and revert to queued. As an alternative the image can be downloaded locally with aria2c (robust multi-connection download with retry and resume) and uploaded via the glance-direct import method, which runs the same decompress/convert/store taskflow as web-download.

--prefetch selects the behaviour:

  • never — always use web-download (previous default behaviour).
  • on-stuckdefault; use web-download first, and fall back to aria2c + glance-direct once if the web-download attempts fail.
  • always — skip web-download and use aria2c + glance-direct directly.

--import-timeout (default 1800) bounds the overall per-image wait, shared across all attempts. When a definition carries a checksum, it is passed to aria2c for verification.

The aria2c binary must be installed for the prefetch path, and the target cloud must have the glance-direct import method enabled.

Unlike web-download (where glance-api fetches the image directly), the prefetch path downloads the image to a temporary directory on the host running openstack-image-manager, so that filesystem needs room for the full image (e.g. ~345 MB for the octavia amphora image). A free-space preflight aborts before downloading if the temporary filesystem is too small.

Release files for openstack-image-manager 0.20260722.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openstack-image-manager 0.20260722.0
File Size Uploaded
openstack_image_manager-0.20260722.0.tar.gz 34.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openstack-image-manager 0.20260722.0
File Interpreter ABI Platform
openstack_image_manager-0.20260722.0-py3-none-any.whl Python 3 none any Details

Total release size: 72.9 kB

Release files / openstack_image_manager-0.20260722.0.tar.gz

Download URL openstack_image_manager-0.20260722.0.tar.gz
Size 34.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6c6e24c1e6307bec03853c7fbcf0490559789213e9e1e64bb31976b0714534d1
BLAKE2b-256 checksum
How to use checksums
13cfee964544dbc352b6105433641ebd8e1bed707dde116a169200aebec8280a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Release files / openstack_image_manager-0.20260722.0-py3-none-any.whl

Download URL openstack_image_manager-0.20260722.0-py3-none-any.whl
Size 38.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
072f0c1bef64d9a5cbc633e8bec47679485969615502a593b4498f1710159a5c
BLAKE2b-256 checksum
How to use checksums
532086cca5a24e20dbbd601897b33656ee61335255db73e8afe7a32971494804
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.20260722.0 This release

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page