glance.async_.flows.parallel_api_image_import module
Parallel multi-store import for interoperable image import.
When max_parallel_stores > 1 and more than one backend is requested,
api_image_import.get_flow runs this module instead of one
_ImportToStore task per store. Default config keeps the serial path.
Supported import methods: glance-direct, web-download, and glance-download.
copy-image is not supported and always uses the sequential per-store path.
-
glance.async_.flows.parallel_api_image_import.add_parallel_store_import_tasks(flow, task_id, task_type, task_repo, action_wrapper, file_uri, stores, all_stores_must_succeed, import_method, context, image_repo)[source]
Add staged signature verify and parallel multi-store import tasks.
-
glance.async_.flows.parallel_api_image_import.should_use_parallel_store_import(import_method, stores)[source]
Return True when parallel store import should run.
When False, get_flow uses the existing _ImportToStore chain.