Ask Your Question

Revision history [back]

according to the source code, base image name is the sha1 of its image_id:

nova/virt/libvirt/imagecache.py

def get_cache_fname(images, key):
    image_id = str(images[key])
    if ((not CONF.libvirt.remove_unused_kernels and
         key in ['kernel_id', 'ramdisk_id'])):
        return image_id
    else:
        return hashlib.sha1(image_id).hexdigest()