Disk QoS is not available on versions prior to WS 2012 R2.
Because of this and the fact that the driver attempts to set IOPS
limits even if those are not specified, spawning instances currently
fails when using previous HyperV versions.
This patch fixes the issues by skipping setting QoS specs when
this feature is not supported, logging a warning.
Reviewed: https:/ /review. openstack. org/189602 /git.openstack. org/cgit/ stackforge/ compute- hyperv/ commit/ ?id=b97666aa6d8 97280a6a31d5ff6 fd8d9eab3b7a4d
Committed: https:/
Submitter: Jenkins
Branch: master
commit b97666aa6d89728 0a6a31d5ff6fd8d 9eab3b7a4d
Author: Lucian Petrut <email address hidden>
Date: Mon Jun 8 19:08:24 2015 +0300
Fix QoS issues caused by unsupported OS versions
Disk QoS is not available on versions prior to WS 2012 R2.
Because of this and the fact that the driver attempts to set IOPS
limits even if those are not specified, spawning instances currently
fails when using previous HyperV versions.
This patch fixes the issues by skipping setting QoS specs when
this feature is not supported, logging a warning.
Closes-Bug: #1463317
Change-Id: I086f3a034ffcc5 6a09a5ecf3e9a14 2cc86e67c41