nova/nova/virt
Tom Patzig eeb23c7891 refresh instances_path when shared storage used
When doing Live migration with shared storage, it happens erratically,
that the check for the shared storage test_file fails. Because the shared
volume is under heavy IO (many instances on many compute nodes) the client
does not immediately sees the new content of the folder. This delay
could take up to 30s.
This can be fixed if the client is forced to refresh the directories
content, which can be achieved by 'touch' on the directory. Doing so,
the test_file is visibile instantly, within ms.
The patch adds a 'touch' on instances_path in check_shared_storage_test_file,
before checking the existence of the file.

Conflicts:
    nova/tests/unit/virt/libvirt/test_driver.py

NOTE(lyarwood): Conflict caused by the signature of
_check_shared_storage_test_file changing as part of I6cca257

Change-Id: I16be39142278517f43e6eca3441a56cbc9561113
Closes-Bug: #1617299
(cherry picked from commit 1af73d1fb3)
2016-10-06 15:57:02 +01:00
..
disk config options: Centralise 'virt.disk' options 2016-02-22 09:36:44 +00:00
hyperv HyperV: remove instance snapshot lock 2016-08-18 20:42:39 -04:00
image Fix typo in model doc string 2015-07-03 00:11:55 -07:00
ironic ironic: Cleanup instance information when spawn fails 2016-09-01 14:54:49 +00:00
libvirt refresh instances_path when shared storage used 2016-10-06 15:57:02 +01:00
vmwareapi Merge "VMware: Refactor the image transfer" into stable/mitaka 2016-10-04 03:40:47 +00:00
xenapi xenapi: Fix when auto block_migration in the API 2016-03-21 11:50:18 +00:00
__init__.py Removed copyright from empty files 2014-02-27 14:27:54 +02:00
block_device.py Revert "Pass host when call attach to Cinder" 2016-01-27 16:21:08 +00:00
configdrive.py Config drive: convert to use instance.image_meta property 2016-01-17 02:01:23 -08:00
diagnostics.py Diagnostics: add validation for types 2014-08-05 01:49:17 -07:00
driver.py virt: handle unicode when logging LifecycleEvents 2016-09-10 18:30:07 +00:00
event.py Add 'suspended' lifecycle event 2015-04-03 03:59:20 +03:00
fake.py Merge "Abstract a driver API for triggering crash dump" 2016-03-03 11:42:02 +00:00
firewall.py Fix string interpolations at logging calls 2016-03-07 12:05:58 +09:00
hardware.py virt/hardware: Fix 'isolate' case on non-SMT hosts 2016-06-08 10:19:42 +01:00
imagecache.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
images.py virt: set address space & CPU time limits when running qemu-img 2016-06-10 17:21:27 -04:00
interfaces.template Fixes interfaces template identification issue 2014-12-07 17:52:34 +02:00
netutils.py Fix network mtu in network_metadata 2016-05-28 09:04:53 +02:00
opts.py Sample nova.conf file has missing/duplicated config options 2016-03-03 13:08:02 +01:00
osinfo.py virt: osinfo will report once if libosinfo is not loaded 2016-02-09 17:59:43 -05:00
storage_users.py Use oslo.log 2015-02-22 07:56:40 -05:00
virtapi.py Remove unused provider firewall rules functionality in nova 2016-02-01 15:50:04 +01:00
volumeutils.py nova.utils._get_root_helper() should be public 2015-08-19 04:00:50 +00:00
watchdog_actions.py Add watchdog device support to libvirt driver 2014-03-03 14:59:58 -05:00