Reporting the disk_available_least field can help in making sure
the scheduler doesn't pick a host that cannot fit a specific flavor's
disk.
The reported local_gb_used is calculated based on the instances spawned
by nova on a certain compute node, and might not reflect the actual
reality, especially on shared storage scenarios.
Change-Id: I20992acef119f11f6584094438043a760fc4a287
Closes-Bug: #1717892
(cherry picked from commit 6479f5539d5dc9e60467abc6bafdc6915320ee13)
Reviewed: https:/ /review. openstack. org/505248 /git.openstack. org/cgit/ openstack/ compute- hyperv/ commit/ ?id=47c6e678d29 06658bc51e9a408 9a89897ed8e003
Committed: https:/
Submitter: Jenkins
Branch: stable/pike
commit 47c6e678d290665 8bc51e9a4089a89 897ed8e003
Author: Claudiu Belu <email address hidden>
Date: Mon Sep 18 13:19:59 2017 +0300
hyperv: report disk_available_ least field
Reporting the disk_available_ least field can help in making sure
the scheduler doesn't pick a host that cannot fit a specific flavor's
disk.
The reported local_gb_used is calculated based on the instances spawned
by nova on a certain compute node, and might not reflect the actual
reality, especially on shared storage scenarios.
Change-Id: I20992acef119f1 1f6584094438043 a760fc4a287 60467abc6bafdc6 915320ee13)
Closes-Bug: #1717892
(cherry picked from commit 6479f5539d5dc9e