libvirt overwrites externally set vlan tags in macvtap passthrough mode with VFs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| OpenStack Compute (nova) |
Medium
|
Vladik Romanovsky | ||
| Newton |
Medium
|
Matt Riedemann | ||
| Ocata |
Medium
|
Matt Riedemann |
Bug Description
Starting from version 1.3.5, Libvirt allows to set a vlan tag for macvtap
passthrough mode on SR-IOV VFs. Libvirt also removes any vlan tags that
has been set externally, by the ip link command.
Due to this, it's not possible to set a vlan for VFs with macvtap.
Changed in nova: | |
assignee: | nobody → Vladik Romanovsky (vladik-romanovsky) |
Changed in nova: | |
status: | New → In Progress |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit bf3ba76a91e362c
Author: Vladik Romanovsky <email address hidden>
Date: Tue Jan 17 04:56:47 2017 -0500
libvirt: set vlan tag for macvtap on SR-IOV VFs
Starting from version 1.3.5, Libvirt allows to set a vlan tag for macvtap
passthrough mode on SR-IOV VFs. Libvirt also removes any vlan tags that
has been set externally, by the ip link command.
In order to support the older libvirt versions, this code will make
the behaviour backward compatible by checking the libvirt version.
This can be completely removed once the minimum libvirt version will increase.
Change-Id: Ia14e78e0eda81b
Closes-Bug: #1657035
Changed in nova: | |
status: | In Progress → Fix Released |
Fix proposed to branch: stable/newton
Review: https:/
Changed in nova: | |
importance: | Undecided → Medium |
Fix proposed to branch: stable/ocata
Review: https:/
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit ce513278f15d251
Author: Vladik Romanovsky <email address hidden>
Date: Tue Jan 17 04:56:47 2017 -0500
libvirt: set vlan tag for macvtap on SR-IOV VFs
Starting from version 1.3.5, Libvirt allows to set a vlan tag for macvtap
passthrough mode on SR-IOV VFs. Libvirt also removes any vlan tags that
has been set externally, by the ip link command.
In order to support the older libvirt versions, this code will make
the behaviour backward compatible by checking the libvirt version.
This can be completely removed once the minimum libvirt version will increase.
Change-Id: Ia14e78e0eda81b
Closes-Bug: #1657035
(cherry picked from commit bf3ba76a91e362c
This issue was fixed in the openstack/nova 15.0.3 release.
This issue was fixed in the openstack/nova 16.0.0.0b1 development milestone.
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit adec640bfa5d560
Author: Vladik Romanovsky <email address hidden>
Date: Tue Jan 17 04:56:47 2017 -0500
libvirt: set vlan tag for macvtap on SR-IOV VFs
Starting from version 1.3.5, Libvirt allows to set a vlan tag for macvtap
passthrough mode on SR-IOV VFs. Libvirt also removes any vlan tags that
has been set externally, by the ip link command.
In order to support the older libvirt versions, this code will make
the behaviour backward compatible by checking the libvirt version.
This can be completely removed once the minimum libvirt version will increase.
NOTE(mriedem): There is a slight modification in the test in Newton
because 6a6457b5a6563b6
Change-Id: Ia14e78e0eda81b
Closes-Bug: #1657035
(cherry picked from commit bf3ba76a91e362c
(cherry picked from commit ce513278f15d251
This issue was fixed in the openstack/nova 14.0.6 release.
Fix proposed to branch: master /review. openstack. org/421186
Review: https:/