NUMATopologyFilter will always return 0 hosts for a VM that has a numa topology defined and has requested a pci device.
this happens because pci numa_node information is converted to string in PciDevicePool,
PciDeviceStats expects numa_node info to be an int.
2015-04-07 14:08:51.399 DEBUG nova.filters [req-d417e042-2d61-4fc5-a38b-8898f4f512d0 admin demo] Starting with 1 host(s) from (pid=47627) get_filtered_objects /shared/stack/nova/nova/filters.py:70
2015-04-07 14:08:51.399 DEBUG nova.filters [req-d417e042-2d61-4fc5-a38b-8898f4f512d0 admin demo] Filter RamFilter returned 1 host(s) from (pid=47627) get_filtered_objects /shared/stack/nova/nova/filters.py:84
2015-04-07 14:08:51.399 DEBUG nova.filters [req-d417e042-2d61-4fc5-a38b-8898f4f512d0 admin demo] Filter ComputeFilter returned 1 host(s) from (pid=47627) get_filtered_objects /shared/stack/nova/nova/filters.py:84
2015-04-07 14:08:51.400 DEBUG nova.filters [req-d417e042-2d61-4fc5-a38b-8898f4f512d0 admin demo] Filter AvailabilityZoneFilter returned 1 host(s) from (pid=47627) get_filtered_objects /shared/stack/nova/nova/filters.py:84
2015-04-07 14:08:51.400 DEBUG nova.filters [req-d417e042-2d61-4fc5-a38b-8898f4f512d0 admin demo] Filter ComputeCapabilitiesFilter returned 1 host(s) from (pid=47627) get_filtered_objects /shared/stack/nova/nova/filters.py:84
2015-04-07 14:08:51.400 DEBUG nova.filters [req-d417e042-2d61-4fc5-a38b-8898f4f512d0 admin demo] Filter ImagePropertiesFilter returned 1 host(s) from (pid=47627) get_filtered_objects /shared/stack/nova/nova/filters.py:84
2015-04-07 14:08:51.400 DEBUG nova.filters [req-d417e042-2d61-4fc5-a38b-8898f4f512d0 admin demo] Filter PciPassthroughFilter returned 1 host(s) from (pid=47627) get_filtered_objects /shared/stack/nova/nova/filters.py:84
2015-04-07 14:08:53.348 INFO nova.filters [req-d417e042-2d61-4fc5-a38b-8898f4f512d0 admin demo] Filter NUMATopologyFilter returned 0 hosts
Fix proposed to branch: master /review. openstack. org/171304
Review: https:/