nova/nova
esubramanian e51555b3f0 Removes the delta file once image is extracted
When creating a live snapshot of an instance, nova creates a
copy of the instance disk using a QEMU shallow rebase. This
copy - the delta file - is then extracted and uploaded. The
delta file will eventually be deleted, when the temporary
working directory nova is using for the live snapshot is
discarded, however, until this happens, we will use 3x the
size of the image of host disk space: the original disk,
the delta file, and the extracted file. This can be problematic
when concurrent snapshots of multiple instances are requested
at once.

The solution is simple: delete the delta file after it has
been extracted and is no longer necessary.

Change-Id: I15e9975fa516d81e7d34206e5a4069db5431caa9
Closes-Bug: #1881727
(cherry picked from commit d2af7ca7a5)
2020-08-26 04:25:43 +00:00
..
accelerator Delete ARQs for an instance when the instance is deleted. 2020-03-24 22:44:18 -07:00
api compute: Do not allow rescue attempts using volume snapshot images 2020-07-23 17:38:27 +01:00
cmd Add nova-status upgrade check and reno for policy new defaults 2020-05-04 18:33:37 +00:00
compute Merge "compute: Do not allow rescue attempts using volume snapshot images" into stable/ussuri 2020-08-26 03:38:38 +00:00
conductor Support live migration with vpmem 2020-04-07 13:13:13 +00:00
conf Reserve DISK_GB resource for the image cache 2020-05-20 07:25:32 +00:00
console Merge "Allow TLS ciphers/protocols to be configurable for console proxies" 2020-02-24 17:27:02 +00:00
db Merge "remove DISTINCT ON SQL instruction that does nothing on MySQL" 2020-03-25 23:18:58 +00:00
hacking Switch to hacking 2.x 2020-01-17 11:30:40 +00:00
image Remove 'nova.image.api' module 2020-02-18 11:45:39 +00:00
keymgr
locale Imported Translations from Zanata 2020-04-28 08:35:34 +00:00
network Merge "nova-net: Remove unused parameters" 2020-03-26 21:46:16 +00:00
notifications Remove 'nova.image.api' module 2020-02-18 11:45:39 +00:00
objects objects: Update keypairs when saving an instance 2020-07-23 09:46:14 +00:00
pci support pci numa affinity policies in flavor and image 2019-12-11 14:39:12 +00:00
policies Merge "Add new default roles in quota class policies" 2020-04-21 08:39:41 +00:00
privsep images: Make JSON the default output format of calls to qemu-img info 2020-04-16 16:38:24 +01:00
scheduler Enable and use COMPUTE_ACCELERATORS trait. 2020-03-27 22:42:37 -07:00
servicegroup Handle ServiceNotFound in DbDriver._report_state 2019-12-04 09:50:17 -05:00
tests Removes the delta file once image is extracted 2020-08-26 04:25:43 +00:00
virt Removes the delta file once image is extracted 2020-08-26 04:25:43 +00:00
volume Merge "Add retry to cinder API calls related to volume detach" 2020-04-20 17:36:33 +00:00
__init__.py
availability_zones.py trivial: Fetch 'Service' objects once when building AZs 2020-02-05 21:26:23 +00:00
baserpc.py
block_device.py hacking: Resolve W605 (invalid escape sequence) 2019-06-24 14:24:06 -05:00
cache_utils.py trivial: Remove unused 'cache_utils' APIs 2020-02-05 17:20:28 +00:00
config.py remove support of oslo.messaging 9.8.0 warning message 2020-05-22 12:51:46 +00:00
context.py Reset the cell cache for database access in Service 2020-04-08 17:48:18 +00:00
crypto.py
debugger.py
exception_wrapper.py
exception.py compute: Do not allow rescue attempts using volume snapshot images 2020-07-23 17:38:27 +01:00
filters.py
hooks.py
i18n.py
loadables.py trivial: Remove dead code 2019-12-12 10:55:02 +00:00
manager.py
middleware.py Rename 'nova.common.config' module to 'nova.middleware' 2019-08-16 00:53:03 +01:00
monkey_patch.py Monkey patch original current_thread _active 2020-02-12 16:34:56 -05:00
policy.py Use oslo policy flag to disable default change warning instead of all 2020-04-15 02:23:32 +00:00
profiler.py
quota.py Make quotas respect instance_list_per_project_cells 2020-05-19 02:20:28 +00:00
rpc.py
safe_utils.py
service_auth.py
service.py Reset the cell cache for database access in Service 2020-04-08 17:48:18 +00:00
test.py func tests: move _run_periodics() into base class 2020-03-24 10:10:53 -04:00
utils.py compute: Extract _get_bdm_image_metadata into nova.utils 2020-04-09 08:39:36 +01:00
version.py
weights.py
wsgi.py