SRIOV VM MAC address changes after suspend/resume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Ghada Khalil |
Bug Description
Brief Description
-----------------
VM MAC address for SRIOV interface changes after suspend and resume, causing that vif to be DOWN.
Severity
--------
Major
Steps to Reproduce
------------------
- Install and configure system with sriov interface on compute host
e.g.,
[wrsroot@
+------
| uuid | name | class | type | vlan id | ports | uses i/f | used by i/f | attributes | data networks |
+------
| 0ffaa1dd-
| 38e28b07-
| a9c998c5-
| ba14cbca-
| e32c9599-
+------
- Create a neutron port with --vnic-type=direct
- Launch a vm with a mgmt nic and another nic using the sriov port created
- Suspend and resume the vm
Expected Behavior
------------------
- VM sriov interface is still up reachable
Actual Behavior
----------------
- VM sriov interface is DOWN. It's MAC address changed while the MAC for the neutron port stays the same.
Reproducibility
---------------
Reproducible
System Configuration
-------
Any system with SRIOV configured on compute host
Branch/Pull Time/Commit
-------
master as of 2019-03-18
Last Pass
--------------
non-containerized load
Timestamp/Logs
--------------
# suspend/resume
[2019-03-29 13:04:46,428] 262 DEBUG MainThread ssh.send :: Send 'nova --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-03-29 13:04:50,680] 262 DEBUG MainThread ssh.send :: Send 'nova --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
# MAC on sriov interface changed on VM.
[wrsroot@
+------
| ID | Name | MAC Address | Fixed IP Addresses | Status |
+------
| 63a45cb8-
| 7ab55bf4-
| 8c8d35cf-
+------
compute-2:~$ sudo virsh domiflist instance-000002c3
Interface Type Source Model MAC
-------
vhu8c8d35cf-24 vhostuser - virtio fa:16:3e:3d:2f:90
vhu63a45cb8-4f vhostuser - virtio fa:16:3e:cb:5c:de
- hostdev - - fa:16:3e:a6:5b:33
tenant2-
1: lo: <LOOPBACK,
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,
link/ether fa:16:3e:3d:2f:90 brd ff:ff:ff:ff:ff:ff
inet 192.168.213.6/27 brd 192.168.213.31 scope global dynamic eth0
valid_lft 85732sec preferred_lft 85732sec
inet6 fe80::f816:
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,
link/ether fa:16:3e:cb:5c:de brd ff:ff:ff:ff:ff:ff
inet 172.18.2.157/24 brd 172.18.2.255 scope global dynamic eth1
valid_lft 85734sec preferred_lft 85734sec
inet6 fe80::f816:
valid_lft forever preferred_lft forever
5: eth3: <BROADCAST,
link/ether d6:88:0a:b5:3c:ef brd ff:ff:ff:ff:ff:ff
Changed in starlingx: | |
assignee: | Forrest Zhao (forrest.zhao) → cheng li (chengli3) |
tags: |
added: stx.2.0 removed: stx.2019.05 |
tags: | added: stx.retestneeded |
Changed in starlingx: | |
assignee: | cheng li (chengli3) → ChenjieXu (midone) |
Changed in starlingx: | |
assignee: | nobody → Cindy Xie (xxie1) |
Changed in starlingx: | |
status: | Incomplete → Fix Released |
tags: | removed: stx.distro.openstack stx.helpwanted stx.retestneeded |
Marking as release gating; requires further investigation to determine if this is an upstream nova/neutron issue (which would then require an upstream bug to be opened) or something in the starlingx env
Assigning to Forrest's team to reproduce and investigate