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.
Reviewed: https:/ /review. openstack. org/504904 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=21bb17499f8 3ec67aaadd8affb 6d2899e567d151
Committed: https:/
Submitter: Zuul
Branch: master
commit 21bb17499f83ec6 7aaadd8affb6d28 99e567d151
Author: Claudiu Belu <email address hidden>
Date: Mon Sep 18 13:14:06 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
Closes-Bug: #1717892