Activity log for bug #1892132

Date Who What changed Old value New value Message
2020-08-19 05:49:23 Mamduh bug added bug
2020-08-19 05:57:24 Mamduh summary os-vif fails to get the correct VF's UpLink Representor os-vif fails to get the correct UpLink Representor
2020-08-19 05:57:40 Mamduh description Due to new kernel patch here [1], the PF and VF representors are linked to their parent PCI device. Old Structure: The structure of VF's PCI Address/physfn/net contains only the PF of that VF $ ls /sys/bus/pci/devices/<vf-pci-addre>/physfn/net/ enp2s0f0 $ ls -l /sys/class/net ... lrwxrwxrwx 1 root root 0 Aug 17 11:11 enp2s0f0_0 -> ../../devices/virtual/net/enp2s0f0_0 lrwxrwxrwx 1 root root 0 Aug 17 11:11 enp2s0f0_1 -> ../../devices/virtual/net/enp2s0f0_1 lrwxrwxrwx 1 root root 0 Aug 17 11:11 enp2s0f0_2 -> ../../devices/virtual/net/enp2s0f0_2 lrwxrwxrwx 1 root root 0 Aug 17 11:11 enp2s0f0_3 -> ../../devices/virtual/net/enp2s0f0_3 ... New Structure: The structure of VF's PCI Address/physfn/net contains the PF of that VF and the VF representors $ ls /sys/bus/pci/devices/<vf-pci-addre>/physfn/net/ enp3s0f0 enp3s0f0_0 enp3s0f0_1 enp3s0f0_2 enp3s0f0_3 $ ls -l /sys/class/net ... lrwxrwxrwx. 1 root root 0 Aug 17 08:43 enp3s0f0_0 -> ../../devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/enp3s0f0_0 lrwxrwxrwx. 1 root root 0 Aug 17 08:43 enp3s0f0_1 -> ../../devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/enp3s0f0_1 lrwxrwxrwx. 1 root root 0 Aug 17 08:43 enp3s0f0_2 -> ../../devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/enp3s0f0_2 lrwxrwxrwx. 1 root root 0 Aug 17 08:43 enp3s0f0_3 -> ../../devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/enp3s0f0_3 ... [1] https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=123f0f53dd64b67e34142485fe866a8a581f12f1 Due to new kernel patch here [1], the PF and VF representors are linked to their parent PCI device. Old Structure: The structure of VF's PCI Address/physfn/net contains only the PF of that VF $ ls /sys/bus/pci/devices/<vf-pci-addre>/physfn/net/ enp2s0f0 $ ls -l /sys/class/net ... lrwxrwxrwx 1 root root 0 Aug 17 11:11 enp2s0f0_0 -> ../../devices/virtual/net/enp2s0f0_0 lrwxrwxrwx 1 root root 0 Aug 17 11:11 enp2s0f0_1 -> ../../devices/virtual/net/enp2s0f0_1 lrwxrwxrwx 1 root root 0 Aug 17 11:11 enp2s0f0_2 -> ../../devices/virtual/net/enp2s0f0_2 lrwxrwxrwx 1 root root 0 Aug 17 11:11 enp2s0f0_3 -> ../../devices/virtual/net/enp2s0f0_3 ... New Structure: The structure of VF's PCI Address/physfn/net contains the PF of that VF and the VF representors $ ls /sys/bus/pci/devices/<vf-pci-addre>/physfn/net/ enp3s0f0 enp3s0f0_0 enp3s0f0_1 enp3s0f0_2 enp3s0f0_3 $ ls -l /sys/class/net ... lrwxrwxrwx. 1 root root 0 Aug 17 08:43 enp3s0f0_0 -> ../../devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/enp3s0f0_0 lrwxrwxrwx. 1 root root 0 Aug 17 08:43 enp3s0f0_1 -> ../../devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/enp3s0f0_1 lrwxrwxrwx. 1 root root 0 Aug 17 08:43 enp3s0f0_2 -> ../../devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/enp3s0f0_2 lrwxrwxrwx. 1 root root 0 Aug 17 08:43 enp3s0f0_3 -> ../../devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/enp3s0f0_3 ... [1] https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=123f0f53dd64b67e34142485fe866a8a581f12f1
2020-08-19 06:00:58 OpenStack Infra os-vif: status New In Progress
2020-08-19 06:00:58 OpenStack Infra os-vif: assignee Mamduh (mmduh)
2020-09-16 19:12:12 sean mooney nominated for series os-vif/victoria
2020-09-16 19:12:12 sean mooney bug task added os-vif/victoria
2020-09-16 19:13:38 sean mooney tags hardware-offloaded-ovs
2020-09-16 19:13:57 sean mooney tags hardware-offloaded-ovs hardware-offloaded-ovs ovs
2020-10-22 04:49:13 OpenStack Infra os-vif: status In Progress Fix Released
2020-10-22 12:32:58 OpenStack Infra os-vif/victoria: status New In Progress
2020-10-22 12:32:58 OpenStack Infra os-vif/victoria: assignee sean mooney (sean-k-mooney)
2020-11-06 17:22:01 OpenStack Infra tags hardware-offloaded-ovs ovs hardware-offloaded-ovs in-stable-victoria ovs
2020-11-06 17:22:07 OpenStack Infra os-vif/victoria: status In Progress Fix Committed
2021-07-16 08:06:51 Frode Nordahl summary os-vif fails to get the correct UpLink Representor Failure to get the correct UpLink Representor
2021-07-16 08:07:15 Frode Nordahl bug task added libvirt (Ubuntu)
2021-07-16 08:08:03 Frode Nordahl nominated for series Ubuntu Hirsute
2021-07-16 08:08:03 Frode Nordahl bug task added libvirt (Ubuntu Hirsute)
2021-07-16 08:08:03 Frode Nordahl nominated for series Ubuntu Focal
2021-07-16 08:08:03 Frode Nordahl bug task added libvirt (Ubuntu Focal)
2021-07-16 08:08:03 Frode Nordahl nominated for series Ubuntu Impish
2021-07-16 08:08:03 Frode Nordahl bug task added libvirt (Ubuntu Impish)
2021-07-16 08:08:03 Frode Nordahl nominated for series Ubuntu Groovy
2021-07-16 08:08:03 Frode Nordahl bug task added libvirt (Ubuntu Groovy)
2021-07-16 08:08:22 Frode Nordahl libvirt (Ubuntu Impish): status New Fix Released
2021-07-16 08:10:39 Frode Nordahl bug task added python-os-vif (Ubuntu)
2021-07-16 08:12:01 Frode Nordahl python-os-vif (Ubuntu Impish): status New Fix Released
2021-07-16 08:12:16 Frode Nordahl python-os-vif (Ubuntu Hirsute): status New Fix Released
2021-07-16 10:46:27 Launchpad Janitor merge proposal linked https://code.launchpad.net/~fnordahl/ubuntu/+source/python-os-vif/+git/python-os-vif/+merge/405804
2021-07-16 10:47:34 Launchpad Janitor merge proposal linked https://code.launchpad.net/~fnordahl/ubuntu/+source/python-os-vif/+git/python-os-vif/+merge/405805
2021-07-16 10:48:46 Frode Nordahl python-os-vif (Ubuntu Groovy): status New In Progress
2021-07-16 10:48:46 Frode Nordahl python-os-vif (Ubuntu Groovy): assignee Frode Nordahl (fnordahl)
2021-07-16 10:49:01 Frode Nordahl python-os-vif (Ubuntu Focal): status New In Progress
2021-07-16 10:49:01 Frode Nordahl python-os-vif (Ubuntu Focal): assignee Frode Nordahl (fnordahl)
2021-07-16 13:32:51 Launchpad Janitor merge proposal linked https://code.launchpad.net/~fnordahl/ubuntu/+source/libvirt/+git/libvirt/+merge/405820
2021-07-16 13:42:21 Launchpad Janitor merge proposal linked https://code.launchpad.net/~fnordahl/ubuntu/+source/libvirt/+git/libvirt/+merge/405822
2021-07-16 13:42:39 Launchpad Janitor merge proposal linked https://code.launchpad.net/~fnordahl/ubuntu/+source/libvirt/+git/libvirt/+merge/405823
2021-07-16 13:43:38 Frode Nordahl libvirt (Ubuntu Hirsute): status New In Progress
2021-07-16 13:43:38 Frode Nordahl libvirt (Ubuntu Hirsute): assignee Frode Nordahl (fnordahl)
2021-07-16 13:43:56 Frode Nordahl libvirt (Ubuntu Groovy): status New In Progress
2021-07-16 13:43:56 Frode Nordahl libvirt (Ubuntu Groovy): assignee Frode Nordahl (fnordahl)
2021-07-16 13:44:09 Frode Nordahl libvirt (Ubuntu Focal): status New In Progress
2021-07-16 13:44:09 Frode Nordahl libvirt (Ubuntu Focal): assignee Frode Nordahl (fnordahl)
2021-07-16 14:07:29 Frode Nordahl description Due to new kernel patch here [1], the PF and VF representors are linked to their parent PCI device. Old Structure: The structure of VF's PCI Address/physfn/net contains only the PF of that VF $ ls /sys/bus/pci/devices/<vf-pci-addre>/physfn/net/ enp2s0f0 $ ls -l /sys/class/net ... lrwxrwxrwx 1 root root 0 Aug 17 11:11 enp2s0f0_0 -> ../../devices/virtual/net/enp2s0f0_0 lrwxrwxrwx 1 root root 0 Aug 17 11:11 enp2s0f0_1 -> ../../devices/virtual/net/enp2s0f0_1 lrwxrwxrwx 1 root root 0 Aug 17 11:11 enp2s0f0_2 -> ../../devices/virtual/net/enp2s0f0_2 lrwxrwxrwx 1 root root 0 Aug 17 11:11 enp2s0f0_3 -> ../../devices/virtual/net/enp2s0f0_3 ... New Structure: The structure of VF's PCI Address/physfn/net contains the PF of that VF and the VF representors $ ls /sys/bus/pci/devices/<vf-pci-addre>/physfn/net/ enp3s0f0 enp3s0f0_0 enp3s0f0_1 enp3s0f0_2 enp3s0f0_3 $ ls -l /sys/class/net ... lrwxrwxrwx. 1 root root 0 Aug 17 08:43 enp3s0f0_0 -> ../../devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/enp3s0f0_0 lrwxrwxrwx. 1 root root 0 Aug 17 08:43 enp3s0f0_1 -> ../../devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/enp3s0f0_1 lrwxrwxrwx. 1 root root 0 Aug 17 08:43 enp3s0f0_2 -> ../../devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/enp3s0f0_2 lrwxrwxrwx. 1 root root 0 Aug 17 08:43 enp3s0f0_3 -> ../../devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/enp3s0f0_3 ... [1] https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=123f0f53dd64b67e34142485fe866a8a581f12f1 [Impact] An update to the mlx5_core driver [1] which will be made available to users of stable releases both through HWE kernels and DKMS packages provided by NVIDIA/Mellanox [2] makes some assumptions about sysfs layout made by OS-VIF and Libvirt apparent. To allow users with this hardware to continue to enjoy their existing systems with the most recent drivers updates are required to os-vif and libvirt. Without this update these systems will stop functioning when upgrading to the new mlx5_core driver. [Test Plan] Note: Hardware making use of the mlx5_core driver with support for HWOL is required to test these changes. 1. Deploy OpenStack on machines with HWOL enabled using kernel without [1] 2. Create an instance using an HWOL port 3. Confirm the instance can start and that it has connectivity 4. Upgrade to kernel with [1] and re-confirm [Regression Potential] For OS-VIF the changes are made to code paths used exclusively by consumers of this type of hardware and HWOL enabled. They are also made in a backward compatible way so that it works both with the old and new driver. For Libvirt the change is made in such a way that it will behave as before when used to look up hardware that populates net/phys_port_id. When used with hardware that do not populate net/phys_port_id but use net_phys_port_name instead, which is typical for the hardware in question, the new behavior is used. [Original Bug Description] Due to new kernel patch here [1], the PF and VF representors are linked to their parent PCI device. Old Structure: The structure of VF's PCI Address/physfn/net contains only the PF of that VF $ ls /sys/bus/pci/devices/<vf-pci-addre>/physfn/net/ enp2s0f0 $ ls -l /sys/class/net ... lrwxrwxrwx 1 root root 0 Aug 17 11:11 enp2s0f0_0 -> ../../devices/virtual/net/enp2s0f0_0 lrwxrwxrwx 1 root root 0 Aug 17 11:11 enp2s0f0_1 -> ../../devices/virtual/net/enp2s0f0_1 lrwxrwxrwx 1 root root 0 Aug 17 11:11 enp2s0f0_2 -> ../../devices/virtual/net/enp2s0f0_2 lrwxrwxrwx 1 root root 0 Aug 17 11:11 enp2s0f0_3 -> ../../devices/virtual/net/enp2s0f0_3 ... New Structure: The structure of VF's PCI Address/physfn/net contains the PF of that VF and the VF representors $ ls /sys/bus/pci/devices/<vf-pci-addre>/physfn/net/ enp3s0f0 enp3s0f0_0 enp3s0f0_1 enp3s0f0_2 enp3s0f0_3 $ ls -l /sys/class/net ... lrwxrwxrwx. 1 root root 0 Aug 17 08:43 enp3s0f0_0 -> ../../devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/enp3s0f0_0 lrwxrwxrwx. 1 root root 0 Aug 17 08:43 enp3s0f0_1 -> ../../devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/enp3s0f0_1 lrwxrwxrwx. 1 root root 0 Aug 17 08:43 enp3s0f0_2 -> ../../devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/enp3s0f0_2 lrwxrwxrwx. 1 root root 0 Aug 17 08:43 enp3s0f0_3 -> ../../devices/pci0000:00/0000:00:02.0/0000:03:00.0/net/enp3s0f0_3 ... [1] https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=123f0f53dd64b67e34142485fe866a8a581f12f1 [2] https://www.mellanox.com/products/infiniband-drivers/linux/mlnx_ofed
2021-08-12 05:11:46 Christian Ehrhardt  libvirt (Ubuntu Groovy): status In Progress Invalid
2021-08-12 05:11:57 Christian Ehrhardt  libvirt (Ubuntu Groovy): status Invalid Won't Fix
2021-08-12 05:12:10 Christian Ehrhardt  python-os-vif (Ubuntu Groovy): status In Progress Won't Fix
2021-08-13 07:36:15 Frode Nordahl libvirt (Ubuntu Groovy): assignee Frode Nordahl (fnordahl)
2021-08-13 07:36:31 Frode Nordahl python-os-vif (Ubuntu Groovy): assignee Frode Nordahl (fnordahl)
2021-08-13 08:22:35 Launchpad Janitor merge proposal linked https://code.launchpad.net/~fnordahl/ubuntu/+source/libvirt/+git/libvirt/+merge/407061
2021-08-13 08:23:11 Frode Nordahl merge proposal unlinked https://code.launchpad.net/~fnordahl/ubuntu/+source/libvirt/+git/libvirt/+merge/405820
2021-08-17 19:10:05 Brian Murray libvirt (Ubuntu Hirsute): status In Progress Fix Committed
2021-08-17 19:10:10 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2021-08-17 19:10:12 Brian Murray bug added subscriber SRU Verification
2021-08-17 19:10:17 Brian Murray tags hardware-offloaded-ovs in-stable-victoria ovs hardware-offloaded-ovs in-stable-victoria ovs verification-needed verification-needed-hirsute
2021-08-17 19:11:09 Brian Murray libvirt (Ubuntu Focal): status In Progress Fix Committed
2021-08-17 19:11:18 Brian Murray tags hardware-offloaded-ovs in-stable-victoria ovs verification-needed verification-needed-hirsute hardware-offloaded-ovs in-stable-victoria ovs verification-needed verification-needed-focal verification-needed-hirsute
2021-08-18 06:01:37 Mamduh bug added subscriber Moshe Levi
2021-08-26 16:30:49 Frode Nordahl tags hardware-offloaded-ovs in-stable-victoria ovs verification-needed verification-needed-focal verification-needed-hirsute hardware-offloaded-ovs in-stable-victoria ovs verification-done-focal verification-needed verification-needed-hirsute
2021-09-06 12:07:18 Frode Nordahl tags hardware-offloaded-ovs in-stable-victoria ovs verification-done-focal verification-needed verification-needed-hirsute hardware-offloaded-ovs in-stable-victoria ovs verification-done verification-done-focal verification-done-hirsute
2021-09-06 12:49:27 OpenStack Infra tags hardware-offloaded-ovs in-stable-victoria ovs verification-done verification-done-focal verification-done-hirsute hardware-offloaded-ovs in-stable-ussuri in-stable-victoria ovs verification-done verification-done-focal verification-done-hirsute
2021-09-07 13:11:49 Launchpad Janitor merge proposal linked https://code.launchpad.net/~fnordahl/ubuntu/+source/python-os-vif/+git/python-os-vif/+merge/408212
2021-09-07 13:26:55 Corey Bryant bug task added cloud-archive
2021-09-07 13:27:23 Corey Bryant nominated for series cloud-archive/ussuri
2021-09-07 13:27:23 Corey Bryant bug task added cloud-archive/ussuri
2021-09-07 13:27:23 Corey Bryant nominated for series cloud-archive/victoria
2021-09-07 13:27:23 Corey Bryant bug task added cloud-archive/victoria
2021-09-07 13:27:37 Corey Bryant cloud-archive: status New Fix Released
2021-09-07 13:28:08 Corey Bryant cloud-archive/ussuri: status New Triaged
2021-09-07 13:28:26 Corey Bryant cloud-archive/ussuri: status Triaged In Progress
2021-09-07 13:28:36 Corey Bryant cloud-archive/victoria: status New In Progress
2021-09-07 17:53:22 Launchpad Janitor libvirt (Ubuntu Focal): status Fix Committed Fix Released
2021-09-07 17:53:29 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2021-09-07 17:55:51 Launchpad Janitor libvirt (Ubuntu Hirsute): status Fix Committed Fix Released
2021-09-07 21:21:50 Brian Murray python-os-vif (Ubuntu Focal): status In Progress Fix Committed
2021-09-07 21:21:55 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2021-09-07 21:22:02 Brian Murray tags hardware-offloaded-ovs in-stable-ussuri in-stable-victoria ovs verification-done verification-done-focal verification-done-hirsute hardware-offloaded-ovs in-stable-ussuri in-stable-victoria ovs verification-done-hirsute verification-needed verification-needed-focal
2021-09-08 12:05:36 Corey Bryant cloud-archive/victoria: status In Progress Fix Committed
2021-09-08 12:05:39 Corey Bryant tags hardware-offloaded-ovs in-stable-ussuri in-stable-victoria ovs verification-done-hirsute verification-needed verification-needed-focal hardware-offloaded-ovs in-stable-ussuri in-stable-victoria ovs verification-done-hirsute verification-needed verification-needed-focal verification-victoria-needed
2021-09-09 14:29:44 Frode Nordahl tags hardware-offloaded-ovs in-stable-ussuri in-stable-victoria ovs verification-done-hirsute verification-needed verification-needed-focal verification-victoria-needed hardware-offloaded-ovs in-stable-ussuri in-stable-victoria ovs verification-done-focal verification-done-hirsute verification-needed verification-victoria-needed
2021-09-09 14:43:52 Frode Nordahl libvirt (Ubuntu Hirsute): assignee Frode Nordahl (fnordahl)
2021-09-09 14:44:06 Frode Nordahl libvirt (Ubuntu Focal): assignee Frode Nordahl (fnordahl)
2021-09-09 15:30:27 Frode Nordahl cloud-archive/victoria: assignee Frode Nordahl (fnordahl)
2021-09-09 15:57:17 Corey Bryant cloud-archive/ussuri: status In Progress Fix Committed
2021-09-09 16:02:41 Corey Bryant tags hardware-offloaded-ovs in-stable-ussuri in-stable-victoria ovs verification-done-focal verification-done-hirsute verification-needed verification-victoria-needed hardware-offloaded-ovs in-stable-ussuri in-stable-victoria ovs verification-done-focal verification-done-hirsute verification-needed verification-ussuri-needed verification-victoria-needed
2021-09-10 13:38:20 Frode Nordahl tags hardware-offloaded-ovs in-stable-ussuri in-stable-victoria ovs verification-done-focal verification-done-hirsute verification-needed verification-ussuri-needed verification-victoria-needed hardware-offloaded-ovs in-stable-ussuri in-stable-victoria ovs verification-done-focal verification-done-hirsute verification-needed verification-ussuri-needed verification-victoria-done
2021-09-10 13:53:05 Frode Nordahl cloud-archive/ussuri: assignee Frode Nordahl (fnordahl)
2021-09-10 16:13:54 Frode Nordahl tags hardware-offloaded-ovs in-stable-ussuri in-stable-victoria ovs verification-done-focal verification-done-hirsute verification-needed verification-ussuri-needed verification-victoria-done hardware-offloaded-ovs in-stable-ussuri in-stable-victoria ovs verification-done verification-done-focal verification-done-hirsute verification-ussuri-done verification-victoria-done
2021-09-13 12:28:56 Corey Bryant cloud-archive/victoria: status Fix Committed Fix Released
2021-09-13 23:21:17 Brett Milford bug added subscriber Brett Milford
2021-09-13 23:23:36 Dominique Poulain bug added subscriber Dominique Poulain
2021-09-15 04:55:31 Launchpad Janitor python-os-vif (Ubuntu Focal): status Fix Committed Fix Released
2021-09-15 05:02:52 Frode Nordahl python-os-vif (Ubuntu Focal): assignee Frode Nordahl (fnordahl)
2021-09-15 05:03:03 Frode Nordahl cloud-archive/victoria: assignee Frode Nordahl (fnordahl)
2021-09-15 12:38:16 Corey Bryant cloud-archive/ussuri: status Fix Committed Fix Released