nova/etc/nova
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
..
rootwrap.d Add encryption support for volumes to libvirt 2013-09-11 12:15:43 -04:00
api-paste.ini Correct default ratelimits for v3 2013-08-28 22:34:01 +08:00
cells.json Load cell data from a configuration file 2013-07-15 10:32:23 -05:00
logging_sample.conf Remove referances to LegacyFormatter in example logging.conf. 2013-05-06 11:54:15 -07:00
nova.conf.sample hyperv: Retry after WMI query fails to find dev 2014-02-11 15:18:53 -06:00
policy.json Merge "Make v3 API console-output extension core" 2013-09-11 18:48:28 +00:00
release.sample Allow loading of product/vendor/package info from external file 2012-12-19 18:54:33 +00:00
rootwrap.conf Add syslogging to nova-rootwrap 2012-12-13 10:09:46 +01:00