nova/nova/tests/unit/virt/libvirt/storage
Sasha Andonov 6458c3dba5 rbd_utils: increase _destroy_volume timeout
If RBD backend is used for Nova ephemeral storage, Nova tries to remove
ephemeral storage volume from Ceph in a retry loop: 10 attempts at 1
second intervals, totaling 10 seconds overall - which, due to a thirty
second ceph watcher timeout, might result in intermittent volume
removal failures on Ceph side.
This patch adds params rbd_destroy_volume_retries, defaulting to 12, and
rbd_destroy_volume_retry_interval, defaulting to 5, which multiplied, give
Ceph reasonable amount of time to complete the operation successfully.

Closes-Bug: #1856845
Change-Id: Icfd55617f0126f79d9610f8a2fc6b4c817d1a2bd
2020-05-20 00:08:54 +00:00
..
__init__.py libvirt: move lvm/dmcrypt/rbd_utils modules under storage subdir 2015-07-27 12:47:31 -07:00
test_dmcrypt.py Move libvirts dmcrypt support to privsep. 2017-09-18 23:19:49 +10:00
test_lvm.py Revert "Re-using the code of os brick cinder" 2018-06-18 13:23:14 +00:00
test_rbd.py rbd_utils: increase _destroy_volume timeout 2020-05-20 00:08:54 +00:00