diff options
-rw-r--r-- | nova/virt/libvirt/imagecache.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nova/virt/libvirt/imagecache.py b/nova/virt/libvirt/imagecache.py index 721587512..efc57eea5 100644 --- a/nova/virt/libvirt/imagecache.py +++ b/nova/virt/libvirt/imagecache.py @@ -313,6 +313,9 @@ class ImageCacheManager(object): if not checksum_result is None: image_bad = not checksum_result + # Give other threads a chance to run + time.sleep(0) + instances = [] if img_id in self.used_images: local, remote, instances = self.used_images[img_id] |