2016-06-01 14:53:25 |
Sergii |
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-interface-add router_01 net01__subnet
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=node-2.domain.tld
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-5e90-4da4-9470-615429ccfdec | vm1 | ACTIVE | - | Running | net01=10.1.1.3
14. nova migrate vm1
15. nova list
- 36b794e2-5e90-4da4-9470-615429ccfdec | vm1 | ERROR | - | Running | net01=10.1.1.3
16. nova show vm1
As we see, it is on node-8
http://paste.openstack.org/show/506944/
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_build_number:
418
cat /etc/fuel_release:
9.0
cat /etc/fuel_openstack_version:
mitaka-9.0
Additional information:
Diagnostic snapshot http://mos-scale-share.mirantis.com/fuel-snapshot-2016-06-01_13-34-53.tar.gz |
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-interface-add router_01 net01__subnet
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=node-2.domain.tld
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-5e90-4da4-9470-615429ccfdec | vm1 | ACTIVE | - | Running | net01=10.1.1.3
14. nova migrate vm1
15. nova list
- 36b794e2-5e90-4da4-9470-615429ccfdec | vm1 | ERROR | - | Running | net01=10.1.1.3
16. nova show vm1
As we see, it is on node-8
http://paste.openstack.org/show/506944/
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_build_number:
418
cat /etc/fuel_release:
9.0
cat /etc/fuel_openstack_version:
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://paste.openstack.org/show/506985/
Diagnostic snapshot http://mos-scale-share.mirantis.com/fuel-snapshot-2016-06-01_13-34-53.tar.gz |
|