← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1441169] [NEW] can't schedule vm with numa topology and pci device

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
     Assignee: Przemyslaw Czesnowicz (pczesno)
         Status: New


** Tags: numa pci-passthrough

** Changed in: nova
     Assignee: (unassigned) => Przemyslaw Czesnowicz (pczesno)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1441169

Title:
  can't schedule vm with numa topology and pci device

Status in OpenStack Compute (Nova):
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1441169/+subscriptions


Follow ups

References