Error state for VM with enabled CPU pinning after migration
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mirantis OpenStack | Status tracked in 10.0.x | |||||
10.0.x |
Fix Committed
|
High
|
Sergey Nikitin | |||
9.x |
Fix Released
|
High
|
Sergey Nikitin |
Bug Description
Upstream bug: https:/
Detailed bug description:
With enabled cpu pinning for vm migration doesn't work properly
Steps to reproduce:
1) Deploy env with 2 compute node with enable pinning
2) Create aggregate states for this compute-node
3) Create 3 flavors:
- flavor with 2 cpu and 2 numa node
nova flavor-create m1.small.
nova flavor-key m1.small.
nova flavor-key m1.small.
nova flavor-key m1.small.
nova boot --image TestVM --nic net-id=
- flavor with 2 cpu and 1 numa node
nova flavor-create m1.small.
nova flavor-key m1.small.
nova flavor-key m1.small.
nova flavor-key m1.small.
nova boot --image TestVM --nic net-id=
- flavor with 1 cpu and 1 numa node
nova flavor-create m1.small.
nova flavor-key m1.small.
nova flavor-key m1.small.
nova flavor-key m1.small.
4) boot vm1, vm2 and vm3 with this flavors
5) Migrate vm1: nova migrate vm1
Confirm resizing: nova resize-confirm vm1
Expected results:
vm1 migrate to another node
Actual resilts:
vm1 in ERROR
{"message": "Cannot pin/unpin cpus [17] from the following pinned set [3]", "code": 400, "created": "2016-03-
6) Migrate vm2: nova migrate vm2
Confirm resizing: nova resize-confirm vm2
Repeat one more time migration and confirmin
Expected results:
vm1 migrate to another node
Actual resilts:
vm1 in ERROR
6) nova migrate vm3 for 3 time
the same
Description of the environment:
iso #129 9.0, neutron+ubunt, 1 controller and 2 compute node with cpu pinning
Changed in mos: | |
status: | New → Confirmed |
tags: | added: area-nova |
Changed in mos: | |
assignee: | MOS Nova (mos-nova) → Sergey Nikitin (snikitin) |
Changed in mos: | |
status: | Confirmed → In Progress |
description: | updated |
Changed in mos: | |
status: | In Progress → Fix Committed |
tags: | added: on-verification |
Snapshot: /drive. google. com/drive/ u/0/folders/ 0B05EZCZN- hilRDE5WXhTR3hf UGM
https:/