[SR-IOV] Unable to migrate instance with macvtup port
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Sergey Nikitin | ||
Mitaka |
Fix Released
|
High
|
Sergey Nikitin | ||
Newton |
Invalid
|
High
|
Sergey Nikitin |
Bug Description
Detailed bug description:
When I try to migrate instance, sometimes it tries to migrate on node without SR-IOV. We have 3 compute nodes, 2 of them with SR-IOV (node-2 and node-7) and another one (node-8) without.
Steps to reproduce:
Deploy env with 1 controller, 2 computes with SR-IOV feature and 1 compute without SR-IOV.
1. neutron net-create net01
2. neutron subnet-create --name net01__subnet net01 10.1.1.0/24
3. neutron router-create router_01
4. neutron router-gateway-set router_01 admin_floating_net
5. neutron router-
6. NET_ID_1=`neutron net-list | awk '/net01/ {print $2}'`
7. neutron port-create $NET_ID_1 --binding:vnic-type macvtap --device_owner nova-compute --name sriov_1
8. neutron port-l
9. neutron port-list
10. port_id_s1=`neutron port-list | awk '/sriov_1/ {print $2}'`
11. NODE_1=
12. nova boot vm1 --flavor m1.small --image ubuntu_14.04 --availability-zone nova:$NODE_1 --nic port-id=$port_id_s1 --key-name cloudkey
13. nova list
- 36b794e2-
14. nova migrate vm1
15. nova list
- 36b794e2-
16. nova show vm1
As we see, it is on node-8
http://
Expected results:
instance has status ACTIVE and disposed on node-7
Actual result:
instance has status ERROR and disposed on node-8
Description of the environment:
cat /etc/fuel_build_id:
418
cat /etc/fuel_
418
cat /etc/fuel_release:
9.0
cat /etc/fuel_
mitaka-9.0
Additional information:
Also, when I tried to migrate instance from node-7 one time I saw this trace on node-2 http://
Diagnostic snapshot http://
tags: | added: feature-sr-iov |
Changed in fuel: | |
milestone: | none → 9.0 |
description: | updated |
Changed in fuel: | |
assignee: | nobody → MOS Nova (mos-nova) |
Changed in fuel: | |
importance: | Undecided → High |
Changed in fuel: | |
assignee: | MOS Nova (mos-nova) → Sergey Nikitin (snikitin) |
tags: | added: area-mos |
tags: |
added: area-nova removed: area-mos |
tags: | added: on-verification |
Fix proposed to branch: 9.0/mitaka /review. fuel-infra. org/21681
Change author: Sergey Nikitin <email address hidden>
Review: https:/