1c7ff2af93
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: |
||
---|---|---|
.. | ||
rootwrap.d | ||
api-paste.ini | ||
cells.json | ||
logging_sample.conf | ||
nova.conf.sample | ||
policy.json | ||
release.sample | ||
rootwrap.conf |