glance.housekeeping module

class glance.housekeeping.StagingStoreCleaner(db)[source]

Bases: object

clean_orphaned_staging_residue()[source]
static delete_file(path)[source]
static get_image_id(filename)[source]
is_valid_image(image_id)[source]
glance.housekeeping.staging_store_path()[source]

Return the local path to the staging store.

Raises:

GlanceException if staging store is not configured to be a file:// URI