nova/nova
Ankit Agrawal ec9d5e375e libvirt: Race condition leads to instance in error
ImageCacheManager deletes base image while image backend is copying
image to the instance path leading instance to go in the error state.

Acquired lock before removing image from cache. If libvirt is copying
image to the instance path, image cache manager won't be able to remove
it until libvirt finishes copying image completely.

Closes-Bug: 1256838
Closes-Bug: 1470437
Co-Authored-By: Michael Still <mikal@stillhq.com>
Depends-On: I337ce28e2fc516c91bec61ca3639ebff0029ad49
Change-Id: I376cc951922c338669fdf3f83da83e0d3cea1532
2016-02-05 20:48:58 +00:00
..
CA
api Merge "API: Remove unexpected from errors get_console_output" 2016-01-28 18:02:14 +00:00
cells Use of six.PY3 should be forward compatible 2016-01-17 03:32:34 +00:00
cert Move config options from nova/cert directory 2016-01-14 22:22:34 +00:00
cloudpipe Remove Deprecated EC2 and ObjectStore impl/tests 2016-01-08 06:30:20 -05:00
cmd Merge "fast exit dhcpbridge on 'old'" 2016-01-30 17:49:52 +00:00
compute Merge "Migrate from keystoneclient to keystoneauth" 2016-02-01 14:59:02 +00:00
conductor Merge "Clean up network resources when reschedule fails" 2016-01-16 03:46:39 +00:00
conf Merge "Use stevedore for scheduler driver" 2016-02-01 14:58:03 +00:00
console Fix invalid import order 2016-01-20 05:03:41 -08:00
consoleauth Add SIGHUP handlers for compute rpcapi to console and conductor 2015-12-10 08:48:05 -08:00
db Merge "enginefacade: 'block_device_mapping'" 2016-01-30 10:49:58 +00:00
hacking Python3: Replace dict.iteritems with six.iteritems 2016-01-21 21:41:52 -08:00
image Merge "deprecate old glance config options" 2016-01-08 16:07:07 +00:00
ipv6
keymgr Migrate from keystoneclient to keystoneauth 2016-01-28 10:55:29 -06:00
locale Imported Translations from Zanata 2016-01-21 06:33:48 +00:00
mks Add MKS console support 2015-07-25 15:01:44 +03:00
network Merge "Migrate from keystoneclient to keystoneauth" 2016-02-01 14:59:02 +00:00
objects Merge "Fix RequestSpec _from_db_object" 2016-02-01 20:59:07 +00:00
openstack Use of six.PY3 should be forward compatible 2016-01-17 03:32:34 +00:00
pci Merge "config options: Centralise PCI options" 2016-01-22 13:15:11 +00:00
rdp
scheduler Merge "Revert "Added new scheduler filter: AggregateTypeExtraSpecsAffinityFilter"" 2016-02-01 18:35:54 +00:00
servicegroup Optimize "open" method with context manager 2015-12-03 10:12:52 +08:00
spice
tests libvirt: Race condition leads to instance in error 2016-02-05 20:48:58 +00:00
virt libvirt: Race condition leads to instance in error 2016-02-05 20:48:58 +00:00
vnc config options: Make xvp proxy into vnc group 2016-01-19 11:11:59 +00:00
volume Migrate from keystoneclient to keystoneauth 2016-01-28 10:55:29 -06:00
wsgi Remove unused logging import and LOG global var 2015-12-25 18:01:12 +08:00
__init__.py
availability_zones.py Invalidate AZ cache when the instance AZ information is different 2015-09-09 17:14:35 +02:00
baserpc.py
block_device.py Adding guard on None value for some helpers method 2016-01-28 09:32:13 +00:00
config.py Revert "Enable options for oslo.reports" 2015-12-05 16:12:52 +00:00
context.py Migrate from keystoneclient to keystoneauth 2016-01-28 10:55:29 -06:00
crypto.py Replaced deprecated timeutils methods 2015-11-18 17:45:29 +01:00
debugger.py Use min and max on IntOpt option types 2015-08-14 04:37:21 +00:00
exception.py Merge "virt: introduce libosinfo library to set hardware policy" 2016-01-25 22:29:49 +00:00
filters.py Prepare filters for using RequestSpec object 2015-11-16 22:41:02 +01:00
hooks.py
i18n.py
loadables.py
manager.py Remove unused logging import and LOG global var 2015-12-25 18:01:12 +08:00
netconf.py
notifications.py Replaced deprecated timeutils methods 2015-11-18 17:45:29 +01:00
opts.py Merge "config options: Make xvp proxy into vnc group" 2016-02-01 16:27:13 +00:00
paths.py
policy.py use graduated oslo.policy 2015-11-26 13:04:52 +08:00
quota.py Fix Python 3 issues in nova.db.sqlalchemy 2015-06-30 07:06:54 -07:00
rpc.py Use get_notification_transport() for notifications 2016-01-25 18:40:09 +00:00
safe_utils.py Replace safe_utils.getcallargs with inspect.getcallargs 2015-12-11 10:15:37 -05:00
service.py Remove Deprecated EC2 and ObjectStore impl/tests 2016-01-08 06:30:20 -05:00
signature_utils.py Fix sphinx warnings from signature_utils 2016-01-13 13:56:05 +00:00
test.py Merge "Persist the request spec during an instance boot" 2016-01-28 15:07:40 +00:00
utils.py Use of six.PY3 should be forward compatible 2016-01-17 03:32:34 +00:00
version.py
weights.py
wsgi.py hacking: check for common double word typos 2016-01-14 12:21:03 +00:00