Activity log for bug #1567347

Date Who What changed Old value New value Message
2016-04-07 10:36:52 Ksenia Svechnikova bug added bug
2016-04-07 10:44:51 Ksenia Svechnikova description Duplicate of bug https://bugs.launchpad.net/nova/+bug/1438253 Description of the environment: NUMA topology4 NUMA nodes ID0 CPU IDS 0, 20, 1, 21, 2, 22, 3, 23, 4, 24 MEMORY31.3 GB ID1 CPU IDS 5, 25, 6, 26, 7, 27, 8, 28, 9, 29 MEMORY31.5 GB ID2 CPU IDS 10, 30, 11, 31, 12, 32, 13, 33, 14, 34 MEMORY31.5 GB ID3 CPU IDS 15, 35, 16, 36, 17, 37, 18, 38, 19, 39 MEMORY31.5 GB Steps to reproduce: 1. Prepare cluster with 2+1 nodes on HW with VLAN and available NUMA nodes on one node 2. Assign compute role to the node with NUMA 3. Update nova cpu pinning for the nova compute 4. numa node (10 CPU for each), 2 CPU for nova Assign other compute role to the node with NUMA 5. Deploy cluster 6. Check nova.conf on compute node with NUMA. It should contain numa nodes from one numas: vcpu_pin_set=0,20,1,21,2,22,3,23,4,24,5,25 (from 2 NUMAs) 7. Check filter AggregateInstanceExtraSpecFilter and NUMATopologyFilter is enable at nova-scheduler on compute node 8. Run OSTF test 9. Сreate aggregates for instances with cpu pinning nova aggregate-create performance_2_cpu nova aggregate-set-metadata performance_2_cpu pinned=true 10. Add one host to the new aggregates nova aggregate-add-host performance_2_cpu node-2.test.domain.local 11. Create new flavors for VMs that require CPU pinning from one NUMA: nova flavor-create m1.small.performance_5 auto 2048 20 5 nova flavor-key m1.small.performance_2 set hw:cpu_policy=dedicated aggregate_instance_extra_specs:pinned=true 12. Create instance with flavor 13. Create new flavors for VMs that require CPU pinning from two NUMAs: nova flavor-create m1.small.performance_11 auto 2048 20 11 nova flavor-key m1.small.performance_11 set hw:cpu_policy=dedicated aggregate_instance_extra_specs:pinned=true nova flavor-create m1.small.performance_12 auto 2048 20 12 nova flavor-key m1.small.performance_12 set hw:cpu_policy=dedicated aggregate_instance_extra_specs:pinned=true Expected results: VMs use CPUs from 2 NUMAs Actual result: If we pin CPUs from 2 and more NUMA nodes, user doesn't have opportunity to boot VMs that will use CPUs from that nodes, only from one Reproducibility: 100% Additional information: also try with "hw:numa_nodes": "2". Got "No valid host" error Duplicate of bug https://bugs.launchpad.net/nova/+bug/1438253 Description of the environment: NUMA topology4 NUMA nodes ID0 CPU IDS 0, 20, 1, 21, 2, 22, 3, 23, 4, 24 MEMORY31.3 GB ID1 CPU IDS 5, 25, 6, 26, 7, 27, 8, 28, 9, 29 MEMORY31.5 GB ID2 CPU IDS 10, 30, 11, 31, 12, 32, 13, 33, 14, 34 MEMORY31.5 GB ID3 CPU IDS 15, 35, 16, 36, 17, 37, 18, 38, 19, 39 MEMORY31.5 GB Steps to reproduce: 1. Prepare cluster with 2+1 nodes on HW with VLAN and available NUMA nodes on one node 2. Assign compute role to the node with NUMA 3. Update nova cpu pinning for the nova compute with 12 Pined CPU 4. numa node (10 CPU for each), 2 CPU for nova Assign other compute role to the node with NUMA 5. Deploy cluster 6. Check nova.conf on compute node with NUMA. It should contain numa nodes from one numas: vcpu_pin_set=0,20,1,21,2,22,3,23,4,24,5,25 (from 2 NUMAs) 7. Check filter AggregateInstanceExtraSpecFilter and NUMATopologyFilter is enable at nova-scheduler on compute node 8. Run OSTF test 9. Сreate aggregates for instances with cpu pinning nova aggregate-create performance_2_cpu nova aggregate-set-metadata performance_2_cpu pinned=true 10. Add one host to the new aggregates nova aggregate-add-host performance_2_cpu node-2.test.domain.local 11. Create new flavors for VMs that require CPU pinning from one NUMA: nova flavor-create m1.small.performance_5 auto 2048 20 5 nova flavor-key m1.small.performance_2 set hw:cpu_policy=dedicated aggregate_instance_extra_specs:pinned=true 12. Create instance with flavor 13. Create new flavors for VMs that require CPU pinning from two NUMAs: nova flavor-create m1.small.performance_11 auto 2048 20 11 nova flavor-key m1.small.performance_11 set hw:cpu_policy=dedicated aggregate_instance_extra_specs:pinned=true nova flavor-create m1.small.performance_12 auto 2048 20 12 nova flavor-key m1.small.performance_12 set hw:cpu_policy=dedicated aggregate_instance_extra_specs:pinned=true Expected results: VMs use CPUs from 2 NUMAs Actual result: If we pin CPUs from 2 and more NUMA nodes, user doesn't have opportunity to boot VMs that will use CPUs from that nodes, only from one Reproducibility: 100% Additional information: also try with "hw:numa_nodes": "2". Got "No valid host" error
2016-04-07 10:46:02 Ksenia Svechnikova mos: milestone 9.0
2016-04-07 10:51:15 Timur Nurlygayanov tags feature-cpu-pinning area-nova feature-cpu-pinning
2016-04-07 10:51:19 Timur Nurlygayanov mos: status New Confirmed
2016-04-08 08:14:58 Sergey Nikitin mos: assignee MOS Nova (mos-nova) Sergey Nikitin (snikitin)
2016-04-13 14:21:01 Sergey Nikitin nominated for series mos/10.0.x
2016-04-13 14:21:01 Sergey Nikitin bug task added mos/10.0.x
2016-04-13 14:21:10 Sergey Nikitin mos/10.0.x: milestone 10.0
2016-04-13 14:21:20 Sergey Nikitin mos/10.0.x: assignee MOS Nova (mos-nova)
2016-04-13 14:21:28 Sergey Nikitin mos/10.0.x: importance Undecided Medium
2016-04-13 14:21:34 Sergey Nikitin mos/10.0.x: status New Confirmed
2016-04-13 14:21:37 Sergey Nikitin mos: status Confirmed Won't Fix
2016-07-13 16:16:42 Roman Podoliaka tags area-nova feature-cpu-pinning 10.0-reviewed area-nova feature-cpu-pinning
2016-07-18 08:01:02 Sergey Nikitin mos/10.0.x: assignee MOS Nova (mos-nova) Sergey Nikitin (snikitin)
2016-07-18 08:01:07 Sergey Nikitin mos/10.0.x: importance Medium Wishlist