This patch makes sure that the overall topology is considered when
checking wather a NUMA instance can fit on a NUMA host, as previously we
would only check the corresponding cells without considering the overall
topology.
It adds a method for checking it on the VirtNUMAHostTopology class and
make sure it's called when checking for placement in the scheduler and
confirming claims on compute hosts.
We also split out the method for getting the topology from a host
as it can be reused in the scheduler now.
Reviewed: https:/ /review. openstack. org/121843 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=903ebc2b71b bfafc29fb42eebb d87ce7e04605f4
Committed: https:/
Submitter: Jenkins
Branch: master
commit 903ebc2b71bbfaf c29fb42eebbd87c e7e04605f4
Author: Nikola Dipanov <email address hidden>
Date: Tue Sep 16 16:08:00 2014 +0200
Fix NUMA fit testing in claims and filter class
This patch makes sure that the overall topology is considered when
checking wather a NUMA instance can fit on a NUMA host, as previously we
would only check the corresponding cells without considering the overall
topology.
It adds a method for checking it on the VirtNUMAHostTop ology class and
make sure it's called when checking for placement in the scheduler and
confirming claims on compute hosts.
We also split out the method for getting the topology from a host
as it can be reused in the scheduler now.
Change-Id: I038c81a5241bf1 fd2ce37f7eff69f 89ecedf59ef
Closes-bug: #1369984