nova/nova/virt
Jay S. Bryant 1c7ff2af93 hyperv: Retry after WMI query fails to find dev
During long stress runs the WMI query that is looking for
the iSCSI device number can incorrectly return no data.
If the query is retried the appropriate data can then be
obtained.

This commit adds a retry loop, calling
basevolumeutils.get_device_number_for_target to avoid this situation.
It also handles the case where the devices list returned in
get_device_number_for_target is empty.  The retry loop is
implemented with new mounted_disk_query_retry_count and
mounted_disk_query_retry_interval configuration options.

Unit tests have been added to check the good and bad paths for
get_mounted_disk_from_lun.

DocImpact
Closes-bug: 1247901
Change-Id: I082c4b1694efcd20cce65293cd330b7a0cf7d470
(cherry picked from commit d143540ad1)
2014-02-11 15:18:53 -06:00
..
baremetal Baremetal: Be more patient with IPMI and BMC 2013-10-10 10:20:11 -04:00
disk use 'os_type' in ephemeral filename only if mkfs defined 2013-12-18 15:23:47 +01:00
docker Make virt drivers use a consistent hostname 2013-09-17 06:39:02 -07:00
hyperv hyperv: Retry after WMI query fails to find dev 2014-02-11 15:18:53 -06:00
libvirt Avoid deadlock when stringifying NetworkInfo model 2014-02-05 17:59:27 -05:00
powervm Add context as parameter for resume 2013-12-04 07:29:10 +08:00
vmwareapi Merge "VMware: fix bug when more than one datacenter exists" into stable/havana 2014-02-02 06:46:21 +00:00
xenapi Add context as parameter for resume 2013-12-04 07:29:10 +08:00
__init__.py In preparation for XenAPI support, refactor the interface between 2010-07-18 18:15:12 +01:00
block_device.py Allow block devices without device_name 2013-09-05 10:01:59 +02:00
configdrive.py maint: remove redundant default=None for config options 2013-08-09 02:05:04 +01:00
driver.py Add context as parameter for resume 2013-12-04 07:29:10 +08:00
event.py Fix and enable H403 tests 2013-06-12 22:07:23 +02:00
fake.py Add context as parameter for resume 2013-12-04 07:29:10 +08:00
firewall.py Refresh network info cache for secgroups 2013-09-04 17:58:30 -07:00
images.py ensure we don't boot oversized images 2013-10-31 17:03:08 +01:00
interfaces.template Port Cheetah templates to Jinja2 2013-09-02 16:03:34 +02:00
netutils.py Fix network info injection in pure IPv6 environment 2013-09-17 13:28:40 +00:00
storage_users.py Correct lock path for storage-registry-lock 2013-09-24 18:16:15 -07:00
virtapi.py Enable libvirt driver to use the new BDM format 2013-09-05 10:02:00 +02:00