nova/nova/virt/libvirt
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
..
storage rbd_utils: wrap blocking calls in tpool.Proxy() 2016-09-02 16:15:32 +00:00
volume Merge "Properly quote IPv6 address in RsyncDriver" into stable/mitaka 2016-09-16 13:14:52 +00:00
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
blockinfo.py libvirt: use osinfo when configuring the disk bus 2016-02-04 10:59:13 -05:00
compat.py Workaround for race condition in libvirt 2015-03-14 20:17:41 -03:00
config.py libvirt: implement LibvirtConfigGuestInterface.parse_dom 2016-02-09 09:26:25 -08:00
designer.py Merge "libvirt: fix direct OVS plugging" 2015-09-21 11:47:55 +00:00
driver.py refresh instances_path when shared storage used 2016-10-06 15:57:02 +01:00
firewall.py Fix string interpolations at logging calls 2016-03-07 12:05:58 +09:00
guest.py Fix string interpolations at logging calls 2016-03-07 12:05:58 +09:00
host.py Fix string interpolations at logging calls 2016-03-07 12:05:58 +09:00
imagebackend.py Fix resizing in imagebackend.cache() 2016-09-09 16:24:33 -04:00
imagecache.py libvirt: Race condition leads to instance in error 2016-02-05 20:48:58 +00:00
instancejobtracker.py libvirt: Kill rsync/scp processes before deleting instance 2015-07-29 02:00:50 -07:00
utils.py Merge "libvirt: Race condition leads to instance in error" 2016-02-10 09:15:58 +00:00
vif.py Remove network information from IOVisor vif 2016-09-30 11:06:18 +05:00