nova/nova
Balazs Gibizer c2044d4bd0 Use absolute path during qemu img rebase
During an assisted volume snapshot delete request from Cinder nova
removes the snapshot from the backing file chain. During that nova
checks the existence of such file. However in some cases (see the bug
report) the path is relative and therefore os.path.exists fails.

This patch makes sure that nova uses the volume absolute path to make
the backing file path absolute as well.

Closes-Bug #1885528

Change-Id: I58dca95251b607eaff602783fee2fc38e2421944
(cherry picked from commit b933312579)
(cherry picked from commit 831abc9f83)
2021-03-16 10:53:57 +00:00
..
accelerator Delete ARQs for an instance when the instance is deleted. 2020-03-24 22:44:18 -07:00
api Merge "Warn when starting services with older than N-1 computes" into stable/ussuri 2021-02-04 22:39:27 +00:00
cmd Add upgrade check about old computes 2021-02-10 17:44:19 +01:00
compute Merge "Handle instance = None in _local_delete_cleanup" into stable/ussuri 2021-03-10 08:01:54 +00:00
conductor Move confirm resize under semaphore 2020-09-11 17:23:07 +01:00
conf Disallow CONF.compute.max_disk_devices_to_attach = 0 2021-01-29 09:36:33 +00:00
console Merge "Allow TLS ciphers/protocols to be configurable for console proxies" 2020-02-24 17:27:02 +00:00
db Use subqueryload() instead of joinedload() for (system_)metadata 2021-01-27 19:37:17 +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 only wait for plugtime events in pre-live-migration 2021-02-18 11:31:34 +00:00
notifications Remove 'nova.image.api' module 2020-02-18 11:45:39 +00:00
objects Warn when starting services with older than N-1 computes 2021-02-01 17:09:01 +01:00
pci Update pci stat pools based on PCI device changes 2020-12-01 10:42:09 +05:30
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 Use absolute path during qemu img rebase 2021-03-16 10:53:57 +00:00
virt Use absolute path during qemu img rebase 2021-03-16 10:53:57 +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.py Warn when starting services with older than N-1 computes 2021-02-01 17:09:01 +01:00
exception_wrapper.py
filters.py filters: Stop handling cells v1 2019-06-12 16:09:46 +01:00
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 Correctly disable greendns 2020-09-13 18:29:41 -04: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 Remove unnecessary wrapper 2019-05-29 17:14:13 +01:00
safe_utils.py
service.py Warn when starting services with older than N-1 computes 2021-02-01 17:09:01 +01:00
service_auth.py
test.py func tests: move _run_periodics() into base class 2020-03-24 10:10:53 -04:00
utils.py Warn when starting services with older than N-1 computes 2021-02-01 17:09:01 +01:00
version.py
weights.py
wsgi.py