Libvirt's image caching fetches images multiple times
Bug #1298420 reported by
John Warren
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
John Warren |
Bug Description
When launching several VMs in rapid succession, it is possible that libvirt's image caching will fetch the same image several times. This can occur when all of the VMs in question are using the same base image and this base image has not been previously fetched. The inline fetch_func_sync method prevents multiple threads from fetching the same image at the same time, but it does not prevent a thread that is waiting to acquire the lock from fetching the image that was being fetched while the lock was still in use. This is because the presence of the image is checked only before the lock has been acquired, not after.
Changed in nova: | |
assignee: | nobody → wangpan (hzwangpan) |
Changed in nova: | |
status: | New → In Progress |
description: | updated |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
assignee: | nobody → Joe Gordon (jogo) |
status: | Confirmed → In Progress |
Changed in nova: | |
assignee: | Joe Gordon (jogo) → John Warren (jswarren) |
Changed in nova: | |
milestone: | none → juno-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-rc1 → 2014.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/87066
Review: https:/