Brief Description
-----------------
live-migrate failed for VM with maximum number (16) of interfaces attached
Severity
--------
Major
Steps to Reproduce
------------------
Install a standard system, ex: 2 controllers + 3 computes
Start a VM with 16 NICs, ex:
nova --os-username 'tenant1' --os-password 'Li69nux*' --os-project-name tenant1 --os-auth-url http://keystone.openstack.svc.cluster.local/v3 --os-user-domain-name Default --os-project-domain-name Default --os-endpoint-type internalURL --os-region-name RegionOne boot --image=8c955aaf-3445-4aa6-aa4b-07a4c131e36a --flavor=90af2a35-8d30-4a35-805c-ca555b242b88 --poll --key-name=keypair-tenant1 --nic net-id=5b550dc6-aaf8-408e-acfb-7ec54cf477ea --nic port-id=2da9f920-00e2-43a9-825c-830f1c12c138 --nic port-id=2bb20890-377e-4cd5-8b3c-038a89a3817c --nic port-id=0c9d22f2-0cf9-47b5-abd9-59e74212f235 --nic port-id=9942ce14-ebb6-4deb-9405-19b9ab999a6e --nic port-id=4052d775-5cfc-444f-b6be-d643de1cf6fc --nic port-id=97002a5b-a973-42bd-b69d-2f0775601cf0 --nic port-id=98901dbf-d6f9-4558-8165-d593c4491d51 --nic port-id=f1d67bae-0393-47b5-994b-9b0bbcdea15b --nic port-id=8707ea32-04fe-4da6-8557-dbc7536e798e --nic port-id=edec9153-ff00-41b0-b80a-a8618d60df12 --nic port-id=58838a9a-9f10-4811-a592-76646dfb79a2 --nic port-id=853265c1-53c2-4fa6-a2f0-9c0118e01af5 --nic port-id=2cb244d0-7972-4632-9ffd-142fa7a601c9 --nic port-id=b770da4b-9507-4f0a-af27-20066c9d033a --nic port-id=67831b2c-029e-4087-8725-3e0c54dbbfc0 tenant1-max_vifs-tis-centos-guest-image-2
Attempte to live migrate the VM, ex:
nova --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://keystone.openstack.svc.cluster.local/v3 --os-user-domain-name Default --os-project-domain-name Default --os-endpoint-type internalURL --os-region-name RegionOne live-migration 39e9064c-69bc-4e29-9411-8159dc82755f
Expected Behavior
------------------
VM is expected to successfully live migrate
Actual Behavior
----------------
VM did not migrate:
[sysadmin@controller-0 ~(keystone_admin)]$ nova list --all-tenants --fields OS-EXT-SRV-ATTR:host,name,status,OS-EXT-STS:task_state,networks
+--------------------------------------+-----------------------+-------------------------------------------+--------+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| ID | OS-EXT-SRV-ATTR: Host | Name | Status | OS-EXT-STS: Task State | Networks |
+--------------------------------------+-----------------------+-------------------------------------------+--------+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 39e9064c-69bc-4e29-9411-8159dc82755f | compute-0 | tenant1-max_vifs-tis-centos-guest-image-2 | ACTIVE | None | tenant1-mgmt-net=192.168.146.70; tenant1-net1=172.16.1.179, 172.16.1.235, 172.16.1.175, 172.16.1.214, 172.16.1.196, 172.16.1.186, 172.16.1.253, 172.16.1.241, 172.16.1.180, 172.16.1.195, 172.16.1.129, 172.16.1.130, 172.16.1.207, 172.16.1.162, 172.16.1.174 |
+--------------------------------------+-----------------------+-------------------------------------------+--------+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
[sysadmin@controller-0 ~(keystone_admin)]$ nova live-migration 39e9064c-69bc-4e29-9411-8159dc82755f
[sysadmin@controller-0 ~(keystone_admin)]$ nova list --all-tenants --fields OS-EXT-SRV-ATTR:host,name,status,OS-EXT-STS:task_state,networks
+--------------------------------------+-----------------------+-------------------------------------------+--------+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| ID | OS-EXT-SRV-ATTR: Host | Name | Status | OS-EXT-STS: Task State | Networks |
+--------------------------------------+-----------------------+-------------------------------------------+--------+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 39e9064c-69bc-4e29-9411-8159dc82755f | compute-0 | tenant1-max_vifs-tis-centos-guest-image-2 | ACTIVE | None | tenant1-mgmt-net=192.168.146.70; tenant1-net1=172.16.1.179, 172.16.1.235, 172.16.1.175, 172.16.1.214, 172.16.1.196, 172.16.1.186, 172.16.1.253, 172.16.1.241, 172.16.1.180, 172.16.1.195, 172.16.1.129, 172.16.1.130, 172.16.1.207, 172.16.1.162, 172.16.1.174 |
+--------------------------------------+-----------------------+-------------------------------------------+--------+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Reproducibility
---------------
100% reproducible
System Configuration
--------------------
Standard system, ex: 2 controllers + 3 computes
Branch/Pull Time/Commit
-----------------------
[sysadmin@controller-0 ~(keystone_admin)]$ cat /etc/build.info
###
### StarlingX
### Built from master
###
OS="centos"
SW_VERSION="19.01"
BUILD_TARGET="Host Installer"
BUILD_TYPE="Formal"
BUILD_ID="20190720T013000Z"
JOB="STX_build_master_master"
<email address hidden>"
BUILD_NUMBER="186"
BUILD_HOST="starlingx_mirror"
BUILD_DATE="2019-07-20 01:30:00 +0000"
Last Pass
---------
20190713T013000Z
Timestamp/Logs
--------------
Attached
Test Activity
-------------
Networking regression
Wind River internal test name:
networking/test_interface_attach_detach.py::test_vm_with_max_vnics_attached_during_boot[tis-centos-guest-port_id-image]
@Chris, please attach the logs.
Does VM live migration consistently work with a smaller # of vnics? If so, how many?