Activity log for bug #1614882

Date Who What changed Old value New value Message
2016-08-19 09:20:48 egoust bug added bug
2016-08-19 09:27:22 egoust description Description =========== Instances with no pci passthrough requirement can overfill host NUMA nodes which have attached PCI devices dedicated for pci passthrough. Instances placed on such NUMA nodes despite that there are plenty free resources in other host NUMA nodes. Such scheduling can lead to situation when further deployment of an instance with pci passthrough will fail because of unavailable capacity in required NUMA node. Steps to reproduce ================== Test host with 2 NUMA nodes and PCI device attached to NUMA node 0. Create a flavor with hw:cpu_policy=dedicated Spawn several instances without pci passthrough with overall memory allocation equal memory capacity for NUMA node 0. Then deploy instance with sr-iov port. Deployment fails with following error: 2016-08-18 11:17:15.470 55110 DEBUG nova.compute.manager [req-c6d96425-e98b-4a63-8289-e56c40ac46d9 bb8e586fd1264034885fef3aae39e777 b770743f66c44840a999cc8cf60916cd - - -] [instance: b4470025-2a59-4772-9990-a96b55966214] Build of instance b4470025-2a59-4772-9990-a96b55966214 was re-scheduled: Insufficient compute resources: Requested instance NUMA topology together with requested PCI devices cannot fit the given host NUMA topology. _do_build_and_run_instance /usr/lib/python2.7/site-packages/nova/compute/manager.py:1945 Environment =========== Mitaka release Nova: 13.0.0 Description =========== Instances with no pci passthrough requirement can overfill host NUMA nodes which have attached PCI devices dedicated for pci passthrough. Instances placed on such NUMA nodes despite that there are plenty free resources in other host NUMA nodes. Such scheduling can lead to situation when further deployment of an instance with pci passthrough will fail because of unavailable capacity in required NUMA node. Steps to reproduce ================== Test host with 2 NUMA nodes and PCI device attached to NUMA node 0. Create a flavor with hw:cpu_policy=dedicated Spawn several instances without pci passthrough with overall memory allocation equal memory capacity for NUMA node 0. Then deploy instance with sr-iov port. Scheduling fails with following error: 2016-08-18 11:17:15.470 55110 DEBUG nova.compute.manager [req-c6d96425-e98b-4a63-8289-e56c40ac46d9 bb8e586fd1264034885fef3aae39e777 b770743f66c44840a999cc8cf60916cd - - -] [instance: b4470025-2a59-4772-9990-a96b55966214] Build of instance b4470025-2a59-4772-9990-a96b55966214 was re-scheduled: Insufficient compute resources: Requested instance NUMA topology together with requested PCI devices cannot fit the given host NUMA topology. _do_build_and_run_instance /usr/lib/python2.7/site-packages/nova/compute/manager.py:1945 Environment =========== Mitaka release Nova: 13.0.0
2016-08-19 10:42:49 Anton bug added subscriber Anton
2016-08-19 11:33:02 egoust description Description =========== Instances with no pci passthrough requirement can overfill host NUMA nodes which have attached PCI devices dedicated for pci passthrough. Instances placed on such NUMA nodes despite that there are plenty free resources in other host NUMA nodes. Such scheduling can lead to situation when further deployment of an instance with pci passthrough will fail because of unavailable capacity in required NUMA node. Steps to reproduce ================== Test host with 2 NUMA nodes and PCI device attached to NUMA node 0. Create a flavor with hw:cpu_policy=dedicated Spawn several instances without pci passthrough with overall memory allocation equal memory capacity for NUMA node 0. Then deploy instance with sr-iov port. Scheduling fails with following error: 2016-08-18 11:17:15.470 55110 DEBUG nova.compute.manager [req-c6d96425-e98b-4a63-8289-e56c40ac46d9 bb8e586fd1264034885fef3aae39e777 b770743f66c44840a999cc8cf60916cd - - -] [instance: b4470025-2a59-4772-9990-a96b55966214] Build of instance b4470025-2a59-4772-9990-a96b55966214 was re-scheduled: Insufficient compute resources: Requested instance NUMA topology together with requested PCI devices cannot fit the given host NUMA topology. _do_build_and_run_instance /usr/lib/python2.7/site-packages/nova/compute/manager.py:1945 Environment =========== Mitaka release Nova: 13.0.0 Description =========== Instances without pci passthrough requests can overfill host NUMA nodes with dedicated for pci passthrough PCI devices. Instances placed on such NUMA nodes despite that there are plenty free resources in other host NUMA nodes. Such scheduling can lead to situation that further deployment of an instance with pci passthrough request will fail because of unavailable capacity in required NUMA node. Steps to reproduce ================== Test host with 2 NUMA nodes and PCI device attached to NUMA node 0. Create a flavor with hw:cpu_policy=dedicated Spawn several instances without pci passthrough with overall memory allocation equal memory capacity for NUMA node 0. Then deploy instance with sr-iov port. Scheduling fails with following error: 2016-08-18 11:17:15.470 55110 DEBUG nova.compute.manager [req-c6d96425-e98b-4a63-8289-e56c40ac46d9 bb8e586fd1264034885fef3aae39e777 b770743f66c44840a999cc8cf60916cd - - -] [instance: b4470025-2a59-4772-9990-a96b55966214] Build of instance b4470025-2a59-4772-9990-a96b55966214 was re-scheduled: Insufficient compute resources: Requested instance NUMA topology together with requested PCI devices cannot fit the given host NUMA topology. _do_build_and_run_instance /usr/lib/python2.7/site-packages/nova/compute/manager.py:1945 Environment =========== Mitaka release Nova: 13.0.0
2016-08-19 13:59:28 Stephen Finucane nova: status New Invalid
2016-08-19 14:38:44 egoust nova: status Invalid New
2016-08-21 10:22:08 Moshe Levi bug added subscriber Moshe Levi
2016-08-22 21:30:16 Maciej Szankin tags numa
2016-08-23 13:28:04 Stephen Finucane summary NUMA node scheduling problem SR-IOV devices should be accessible from a non-affinitized NUMA node
2016-08-29 12:48:52 egoust summary SR-IOV devices should be accessible from a non-affinitized NUMA node Put VMs without PCI-passthrough device to non-affinitized NUMA node
2016-09-01 07:06:18 Andrei Chekalin bug added subscriber Andrei Chekalin
2016-09-01 15:33:43 Stephen Finucane bug added subscriber Stephen Finucane
2016-09-27 14:21:56 Sergey Nikitin nova: importance Undecided Wishlist
2016-09-27 14:21:59 Sergey Nikitin nova: status New Confirmed
2016-10-03 20:39:56 Augustina Ragwitz nova: status Confirmed Invalid
2017-05-26 06:25:09 wingwj bug added subscriber wingwj