eeb23c7891
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
|
||
---|---|---|
.. | ||
disk | ||
hyperv | ||
image | ||
ironic | ||
libvirt | ||
vmwareapi | ||
xenapi | ||
__init__.py | ||
block_device.py | ||
configdrive.py | ||
diagnostics.py | ||
driver.py | ||
event.py | ||
fake.py | ||
firewall.py | ||
hardware.py | ||
imagecache.py | ||
images.py | ||
interfaces.template | ||
netutils.py | ||
opts.py | ||
osinfo.py | ||
storage_users.py | ||
virtapi.py | ||
volumeutils.py | ||
watchdog_actions.py |