create vm with share cpu_policy breaks exist vm with dedicated cpu_policy when use cpu_allocation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
1. version
==========
kilo 2015.1.0
3. Reproduce steps:
===================
3.1 environment described
-------
I have one compute node with 32 CPUs. Its NUMA topology is as follows:
2 sockets * 8 cores * 2 thread = 32
I have configured cpu_allocation_
3.2 create a flavor with 32 CPUs
-------
Create a flavor and set NUMA properties as follows:
$ nova flavor-key 32cpu set hw:numa_nodes=2 \
hw:
hw:
hw:
$ nova flavor-show 32cpu
+--
| Property | Value |
+--
| OS-FLV-
| OS-FLV-
| disk | 1 |
| extra_specs | {} |
| id | 7 |
| name | 32cpu |
| os-flavor-
| ram | 512 |
| rxtx_factor | 1.0 |
| swap | |
| vcpus | 32 |
+--
Create a VM using this flavor.
3.3 create another flavor with 20 cpus
-------
Create another flavor and set NUMA properties as follows:
$ nova flavor-key 20cpu set hw:numa_nodes=2 \
hw:
hw:
hw:
Create another VM using this flavor.
4 Expected Results
==================
Expected result: create failed
Actual result : create success
If 'cpu_policy=
summary: |
create vm with share cpu_policy breaks exist vm with dedicated - cpu_policy when use cpu ratio + cpu_policy when use cpu_allocation |
tags: | added: kilo-backport-potential liberty-backport-potential |
description: | updated |
I will like to take a look on this, assign it on myself.