Install & Compatibility
Where this runs
tested against v5.5.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.915 runs
installs and imports cleanly · install 0.0s · import 0.000s · 67.8MB
glibcpy 3.10–3.915 runs
installs and imports cleanly · install 7.1s · import 0.000s · 65MB
71MB installed
● package 71MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
GlanceStoreException
✓ from glance_store import GlanceStoreException
✗ from glance_store import GlanceStore
BackendException
✓ from glance_store import BackendException
BadStoreUri
✓ from glance_store import BadStoreUri
Initialize GlanceStore with a config file or overrides. Requires oslo.config setup. Adjust paths and config as needed.
import os
from glance_store import GlanceStore
# Configuration: must provide a config file or dict
config_path = os.environ.get('GLANCE_CONFIG', '/etc/glance/glance-store.conf')
if not os.path.exists(config_path):
# Minimal in-memory config for testing (filesystem backend)
from oslo_config import cfg
cfg.CONF([], project='glance', default_config_files=[])
cfg.CONF.set_override('filesystem_store_datadir', '/tmp/images', group='glance_store')
store = GlanceStore()
store.configure()
# Example: get image location (assuming image ID exists)
image_id = 'some-image-uuid'
# locations = store.get_locations(image_id)
print('Store initialized, ready to use.')
Upgrade
Version history
5.5.0latest on PyPI · released May 22, 2026
Audit
Dependencies
oslo.configrequiredConfiguration management required by OpenStack services
oslo.utilsrequiredUtility functions for time parsing, exception handling, etc.
oslo.i18nrequiredInternationalization support
stevedorerequiredDriver manager for backends (Cinder, Swift, etc.)
keystoneauth1optionalAuthentication for Swift and HTTP backends
python-swiftclientoptionalRequired for Swift store driver
python-cephclientoptionalRequired for Ceph/RBD store driver