[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-15 Thread Corey Bryant
This bug was fixed in the package python-os-vif - 2.0.0-0ubuntu2~cloud0
---

 python-os-vif (2.0.0-0ubuntu2~cloud0) bionic-ussuri; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 python-os-vif (2.0.0-0ubuntu2) focal; urgency=medium
 .
   [ Corey Bryant ]
   * d/gbp.conf: Create stable/ussuri branch.
 .
   [ Chris MacNaughton ]
   * d/control: Update VCS paths for move to lp:~ubuntu-openstack-dev.
 .
   [ Frode Nordahl ]
   * Add support for switchdev NICs that link representor ports to parent PCI
 device. (LP: #1892132)
 - 
d/p/Refactor-code-of-linux_net-to-more-cleaner-and-increase-performace.patch
 - d/p/Fix-os-vif-fails-to-get-the-correct-UpLink-Representor.patch


** Changed in: cloud-archive/ussuri
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-14 Thread Frode Nordahl
** Changed in: python-os-vif (Ubuntu Focal)
 Assignee: Frode Nordahl (fnordahl) => (unassigned)

** Changed in: cloud-archive/victoria
 Assignee: Frode Nordahl (fnordahl) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-14 Thread Launchpad Bug Tracker
This bug was fixed in the package python-os-vif - 2.0.0-0ubuntu2

---
python-os-vif (2.0.0-0ubuntu2) focal; urgency=medium

  [ Corey Bryant ]
  * d/gbp.conf: Create stable/ussuri branch.

  [ Chris MacNaughton ]
  * d/control: Update VCS paths for move to lp:~ubuntu-openstack-dev.

  [ Frode Nordahl ]
  * Add support for switchdev NICs that link representor ports to parent PCI
device. (LP: #1892132)
- 
d/p/Refactor-code-of-linux_net-to-more-cleaner-and-increase-performace.patch
- d/p/Fix-os-vif-fails-to-get-the-correct-UpLink-Representor.patch

 -- Frode Nordahl   Fri, 16 Jul 2021
09:43:06 +

** Changed in: python-os-vif (Ubuntu Focal)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-13 Thread Corey Bryant
This bug was fixed in the package python-os-vif - 2.2.0-0ubuntu1~cloud1
---

 python-os-vif (2.2.0-0ubuntu1~cloud1) focal-victoria; urgency=medium
 .
   [ Frode Nordahl ]
   * Add support for switchdev NICs that link representor ports to parent PCI
 device. (LP: #1892132)
 - 
d/p/Refactor-code-of-linux_net-to-more-cleaner-and-increase-performace.patch
 - d/p/Fix-os-vif-fails-to-get-the-correct-UpLink-Representor.patch
 .
   [ Corey Bryant ]
   * d/gbp.conf: Create stable/victoria branch.
 .
   [ Chris MacNaughton ]
   * d/control: Update VCS paths for move to lp:~ubuntu-openstack-dev.


** Changed in: cloud-archive/victoria
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-10 Thread Frode Nordahl
os-vif bionic/ussuri:

$ uname -a
Linux node-laveran 5.4.0-84-generic #94~18.04.1-Ubuntu SMP Thu Aug 26 23:17:46 
UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

$ dpkg -l | grep os-vif
ii  python3-os-vif 2.0.0-0ubuntu2~cloud0
   all  Integration library between network and 
compute - Python 3.x

$ sudo grep -A6 hostdev /etc/libvirt/qemu/instance-0019.xml 

  
  

  
  


$ sudo ovs-vsctl find interface name=eth2
_uuid   : c1b7651a-ca84-481a-bbb3-8531abddd7d4
admin_state : up
bfd : {}
bfd_status  : {}
cfm_fault   : []
cfm_fault_status: []
cfm_flap_count  : []
cfm_health  : []
cfm_mpid: []
cfm_remote_mpids: []
cfm_remote_opstate  : []
duplex  : []
error   : []
external_ids: {attached-mac="fa:16:3e:a8:b0:d7", 
iface-id="f58fbe72-698c-4aa7-b38a-427c68ea660d", iface-status=active, 
vm-uuid="850b1c28-1fd4-4c83-b3b4-cf1727253bb7"}
ifindex : 77
ingress_policing_burst: 0
ingress_policing_rate: 0
lacp_current: []
link_resets : 0
link_speed  : []
link_state  : up
lldp: {}
mac : []
mac_in_use  : "0e:93:79:d4:cb:21"
mtu : 8942
mtu_request : []
name: eth2
ofport  : 6
ofport_request  : []
options : {}
other_config: {}
statistics  : {collisions=0, rx_bytes=26846, rx_crc_err=0, 
rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_missed_errors=0, rx_over_err=0, 
rx_packets=273, tx_bytes=15409, tx_dropped=0, tx_errors=0, tx_packets=101}
status  : {driver_name=mlx5e_rep, 
driver_version="5.4.0-84-generic", firmware_version="16.31.1014 
(MT_000183)"}
type: ""

$ sudo ls -l /sys/class/net/eth2/device
ls: cannot access '/sys/class/net/eth2/device': No such file or directory

$ sudo ls -l /sys/class/net/enp129s0f0/device/net/
total 0
drwxr-xr-x 6 root root 0 Sep 10 15:26 enp129s0f0



$ sudo ovs-vsctl find interface name=enp3s0f0_2
_uuid   : 05cf3156-83fa-4c08-af91-45e510d32367
admin_state : up
bfd : {}
bfd_status  : {}
cfm_fault   : []
cfm_fault_status: []
cfm_flap_count  : []
cfm_health  : []
cfm_mpid: []
cfm_remote_mpids: []
cfm_remote_opstate  : []
duplex  : full
error   : []
external_ids: {attached-mac="fa:16:3e:a8:b0:d7", 
iface-id="f58fbe72-698c-4aa7-b38a-427c68ea660d", iface-status=active, 
vm-uuid="850b1c28-1fd4-4c83-b3b4-cf1727253bb7"}
ifindex : 76
ingress_policing_burst: 0
ingress_policing_rate: 0
lacp_current: []
link_resets : 1
link_speed  : 100
link_state  : up
lldp: {}
mac : []
mac_in_use  : "0e:0f:d1:84:b8:10"
mtu : 8942
mtu_request : []
name: enp3s0f0_2
ofport  : 7
ofport_request  : []
options : {}
other_config: {}
statistics  : {collisions=0, rx_bytes=24822, rx_crc_err=0, 
rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_missed_errors=0, rx_over_err=0, 
rx_packets=284, tx_bytes=1503, tx_dropped=0, tx_errors=0, tx_packets=11}
status  : {driver_name=mlx5e_rep, 
driver_version="5.4.0-84-generic", firmware_version="16.31.1014 
(MT_000183)"}
type: ""


$ sudo ls -l /sys/class/net/enp3s0f0_2/device
lrwxrwxrwx 1 root root 0 Sep 10 15:57 /sys/class/net/enp3s0f0_2/device -> 
../../../:03:00.0

$ ls -l /sys/class/net/enp129s0f0/device/net/
total 0
drwxr-xr-x 13 root root 0 Sep 10 15:55 enp129s0f0
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_0
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_1
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_10
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_11
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_12
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_13
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_14
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_15
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_16
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_17
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_18
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_19
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_2
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_20
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_21
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_22
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_23
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_24
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_25
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_26
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_27
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_28
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_29
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_3

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-10 Thread Frode Nordahl
** Changed in: cloud-archive/ussuri
 Assignee: (unassigned) => Frode Nordahl (fnordahl)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-10 Thread Frode Nordahl
os-vif focal/victoria

$ uname -a
Linux node-laveran 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 
x86_64 x86_64 x86_64 GNU/Linux

$ dpkg -l | grep os-vif
ii  python3-os-vif   2.2.0-0ubuntu1~cloud1  
  all  Integration library between network and compute - 
Python 3.x

$ sudo grep -A6 hostdev /etc/libvirt/qemu/instance-0004.xml 

  
  

  
  


$ sudo ovs-vsctl find interface name=eth59
_uuid   : 27596589-93b4-419c-ac0d-77b848116334
admin_state : up
bfd : {}
bfd_status  : {}
cfm_fault   : []
cfm_fault_status: []
cfm_flap_count  : []
cfm_health  : []
cfm_mpid: []
cfm_remote_mpids: []
cfm_remote_opstate  : []
duplex  : []
error   : []
external_ids: {attached-mac="fa:16:3e:a2:74:a8", 
iface-id="bb8c0af4-6b0a-4ec0-87ee-2cb30eb76445", iface-status=active, 
vm-uuid="27787de4-e1f7-45b0-b32f-d49a81a0675f"}
ifindex : 135
ingress_policing_burst: 0
ingress_policing_rate: 0
lacp_current: []
link_resets : 0
link_speed  : []
link_state  : up
lldp: {}
mac : []
mac_in_use  : "0e:e7:e4:a9:5c:d5"
mtu : 8942
mtu_request : []
name: eth59
ofport  : 3
ofport_request  : []
options : {}
other_config: {}
statistics  : {collisions=0, rx_bytes=36121, rx_crc_err=0, 
rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_missed_errors=0, rx_over_err=0, 
rx_packets=270, tx_bytes=49194, tx_dropped=0, tx_errors=0, tx_packets=175}
status  : {driver_name=mlx5e_rep, 
driver_version="5.4.0-84-generic", firmware_version="16.31.1014 
(MT_000183)"}
type: ""

$ sudo ls -l /sys/class/net/eth59/device
ls: cannot access '/sys/class/net/eth59/device': No such file or directory

$ sudo ls -l /sys/class/net/enp129s0f0/device/net/
total 0
drwxr-xr-x 6 root root 0 Sep 10 09:37 enp129s0f0

$ ssh fnord-node-laveran-1 lspci
00:03.0 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5 
Virtual Function]

$ sudo apt install --install-recommends linux-generic-hwe-20.04-edge-wip
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following additional packages will be installed:
  linux-headers-5.13.0-14-generic linux-headers-generic-hwe-20.04-edge-wip
  linux-hwe-5.13-headers-5.13.0-14 linux-image-5.13.0-14-generic
  linux-image-generic-hwe-20.04-edge-wip linux-modules-5.13.0-14-generic
  linux-modules-extra-5.13.0-14-generic
Suggested packages:
  fdutils linux-doc | linux-hwe-5.13-source-5.13.0 linux-hwe-5.13-tools
The following NEW packages will be installed:
  linux-generic-hwe-20.04-edge-wip linux-headers-5.13.0-14-generic
  linux-headers-generic-hwe-20.04-edge-wip linux-hwe-5.13-headers-5.13.0-14
  linux-image-5.13.0-14-generic linux-image-generic-hwe-20.04-edge-wip
  linux-modules-5.13.0-14-generic linux-modules-extra-5.13.0-14-generic
0 upgraded, 8 newly installed, 0 to remove and 64 not upgraded.
Need to get 81.1 MB of archives.
After this operation, 411 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
...

$ sudo shutdown -r now
...

$ uname -a
Linux node-laveran 5.13.0-14-generic #14~20.04.4-Ubuntu SMP Wed Aug 25 11:02:57 
UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

$ sudo ls -l /sys/class/net/eth59/device
lrwxrwxrwx 1 root root 0 Sep 10 13:32 /sys/class/net/eth59/device -> 
../../../:03:00.1

$ sudo ls -l /sys/class/net/enp129s0f0/device/net/
total 0
drwxr-xr-x 6 root root 0 Sep 10 13:30 enp129s0f0
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth0
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth1
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth10
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth11
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth12
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth13
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth14
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth15
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth16
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth17
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth18
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth19
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth2
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth20
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth21
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth22
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth23
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth24
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth25
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth26
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth27
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth28
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth29
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth3
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth30
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth31
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth4
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth5
drwxr-xr-x 5 root root 0 Sep 10 13:31 eth6

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-09 Thread Corey Bryant
Hello Mamduh, or anyone else affected,

Accepted libvirt into ussuri-proposed. The package will build now and be
available in the Ubuntu Cloud Archive in a few hours, and then in the
-proposed repository.

Please help us by testing this new package. To enable the -proposed
repository:

  sudo add-apt-repository cloud-archive:ussuri-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-ussuri-needed to verification-ussuri-done. If it does
not fix the bug for you, please add a comment stating that, and change
the tag to verification-ussuri-failed. In either case, details of your
testing will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!

** Tags added: verification-ussuri-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-09 Thread Frode Nordahl
** Changed in: cloud-archive/victoria
 Assignee: (unassigned) => Frode Nordahl (fnordahl)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-09 Thread Frode Nordahl
** Changed in: libvirt (Ubuntu Hirsute)
 Assignee: Frode Nordahl (fnordahl) => (unassigned)

** Changed in: libvirt (Ubuntu Focal)
 Assignee: Frode Nordahl (fnordahl) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-09 Thread Frode Nordahl
os-vif focal/ussuri:

$ uname -a
Linux node-laveran 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 
x86_64 x86_64 x86_64 GNU/Linux

$ dpkg -l | grep os-vif
ii  python3-os-vif   2.0.0-0ubuntu2 
  all  Integration library between network and compute - 
Python 3.x

$ sudo grep -A6 hostdev /etc/libvirt/qemu/instance-0002.xml

  
  

  
  


$ sudo ovs-vsctl find interface name=eth29
_uuid   : cce9cf12-28e2-4c4c-be49-6231eaac991c
admin_state : up
bfd : {}
bfd_status  : {}
cfm_fault   : []
cfm_fault_status: []
cfm_flap_count  : []
cfm_health  : []
cfm_mpid: []
cfm_remote_mpids: []
cfm_remote_opstate  : []
duplex  : []
error   : []
external_ids: {attached-mac="fa:16:3e:66:37:f9", 
iface-id="88dc4421-c068-4aea-995e-cf181966f6c8", iface-status=active, 
vm-uuid="6c0ea8c0-a7aa-4cf4-b879-af2523ea5ee1"}
ifindex : 104
ingress_policing_burst: 0
ingress_policing_rate: 0
lacp_current: []
link_resets : 0
link_speed  : []
link_state  : up
lldp: {}
mac : []
mac_in_use  : "5e:03:fa:49:dc:37"
mtu : 8942
mtu_request : []
name: eth29
ofport  : 3
ofport_request  : []
options : {}
other_config: {}
statistics  : {collisions=0, rx_bytes=65184, rx_crc_err=0, 
rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_missed_errors=0, rx_over_err=0, 
rx_packets=446, tx_bytes=93555, tx_dropped=0, tx_errors=0, tx_packets=398}
status  : {driver_name=mlx5e_rep, 
driver_version="5.4.0-84-generic", firmware_version="16.31.1014 
(MT_000183)"}
type: ""

$ sudo ls -l /sys/class/net/eth29/device
ls: cannot access '/sys/class/net/eth29/device': No such file or directory

$ sudo ls -l /sys/class/net/enp129s0f0/device/net/
total 0
drwxr-xr-x 6 root root 0 Sep  9 13:16 enp129s0f0

$ ssh fnord-node-laveran-1 lspci
...
00:03.0 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5 
Virtual Function]

$ sudo apt install --install-recommends linux-generic-hwe-20.04-edge-wip
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following additional packages will be installed:
  linux-headers-5.13.0-14-generic linux-headers-generic-hwe-20.04-edge-wip
  linux-hwe-5.13-headers-5.13.0-14 linux-image-5.13.0-14-generic
  linux-image-generic-hwe-20.04-edge-wip linux-modules-5.13.0-14-generic
  linux-modules-extra-5.13.0-14-generic
Suggested packages:
  fdutils linux-doc | linux-hwe-5.13-source-5.13.0 linux-hwe-5.13-tools
The following NEW packages will be installed:
  linux-generic-hwe-20.04-edge-wip linux-headers-5.13.0-14-generic
  linux-headers-generic-hwe-20.04-edge-wip linux-hwe-5.13-headers-5.13.0-14
  linux-image-5.13.0-14-generic linux-image-generic-hwe-20.04-edge-wip
  linux-modules-5.13.0-14-generic linux-modules-extra-5.13.0-14-generic
0 upgraded, 8 newly installed, 0 to remove and 57 not upgraded.
Need to get 81.1 MB of archives.
After this operation, 411 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
...

$ sudo shutdown -r now
...

$ uname -a
Linux node-laveran 5.13.0-14-generic #14~20.04.4-Ubuntu SMP Wed Aug 25 11:02:57 
UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

$ sudo ls -l /sys/class/net/eth29/device
lrwxrwxrwx 1 root root 0 Sep  9 14:01 /sys/class/net/eth29/device -> 
../../../:03:00.0

$ sudo ls -l /sys/class/net/enp129s0f0/device/net/
total 0
drwxr-xr-x 6 root root 0 Sep  9 13:59 enp129s0f0
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth0
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth1
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth10
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth11
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth12
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth13
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth14
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth15
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth16
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth17
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth18
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth19
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth2
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth20
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth21
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth22
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth23
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth24
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth25
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth26
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth27
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth28
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth29
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth3
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth30
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth31
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth4
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth5
drwxr-xr-x 5 root root 0 Sep  9 14:01 eth6

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-09 Thread Frode Nordahl
Mamduh,

Thank you for the original bits and for responding on the bug.  The
sudden flurry of activity here is a result of software distributions
picking up the bits and providing them to the masses through Stable
Release Updates.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-08 Thread Mamduh
Hello Corey,

Sorry for the late update, I was moved to another team several months
ago, and I couldn't track the issue. Moshe Levi should be the contact
point for this issue, I will update him internally on the topic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-07 Thread Brian Murray
Hello Mamduh, or anyone else affected,

Accepted python-os-vif into focal-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/python-os-
vif/2.0.0-0ubuntu2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: python-os-vif (Ubuntu Focal)
   Status: In Progress => Fix Committed

** Tags removed: verification-done verification-done-focal
** Tags added: verification-needed verification-needed-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-07 Thread Launchpad Bug Tracker
This bug was fixed in the package libvirt - 7.0.0-2ubuntu2.1

---
libvirt (7.0.0-2ubuntu2.1) hirsute; urgency=medium

  * Add support for switchdev NICs that link representor ports to parent PCI
device. (LP: #1892132)
- d/p/u/lp-1892132-Add-phys_port_name-support-on-virPCIGetNetName.patch
- d/p/u/lp-1892132-add-virNetDevGetPhysPortName.patch

 -- Frode Nordahl   Fri, 16 Jul 2021
05:16:36 +

** Changed in: libvirt (Ubuntu Hirsute)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-07 Thread Launchpad Bug Tracker
This bug was fixed in the package libvirt - 6.0.0-0ubuntu8.13

---
libvirt (6.0.0-0ubuntu8.13) focal; urgency=medium

  * Add support for switchdev NICs that link representor ports to parent PCI
device. (LP: #1892132)
- d/p/u/lp-1892132-Add-phys_port_name-support-on-virPCIGetNetName.patch
- d/p/u/lp-1892132-add-virNetDevGetPhysPortName.patch

 -- Frode Nordahl   Fri, 16 Jul 2021
05:16:36 +

** Changed in: libvirt (Ubuntu Focal)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-07 Thread Corey Bryant
Also uploaded a new version with this fix to victoria-staging:
https://launchpad.net/~ubuntu-cloud-archive/+archive/ubuntu/victoria-
staging/+packages?field.name_filter=python-os-
vif_filter=published_filter=

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-07 Thread Corey Bryant
** Also affects: cloud-archive
   Importance: Undecided
   Status: New

** Also affects: cloud-archive/ussuri
   Importance: Undecided
   Status: New

** Also affects: cloud-archive/victoria
   Importance: Undecided
   Status: New

** Changed in: cloud-archive
   Status: New => Fix Released

** Changed in: cloud-archive/ussuri
   Status: New => Triaged

** Changed in: cloud-archive/ussuri
   Status: Triaged => In Progress

** Changed in: cloud-archive/victoria
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-07 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~fnordahl/ubuntu/+source/python-os-vif/+git/python-os-vif/+merge/408212

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-07 Thread Corey Bryant
A new version of python-os-vif has been uploaded to the focal unapproved queue 
with this fix:
https://launchpad.net/ubuntu/focal/+queue?queue_state=1_text=python-os-vif

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-07 Thread Bartosz Bezak
can we make a release os-vif for Victoria? 2.2.1? this bug is quite
critical

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-06 Thread OpenStack Infra
Reviewed:  https://review.opendev.org/c/openstack/os-vif/+/765419
Committed: 
https://opendev.org/openstack/os-vif/commit/3e1d898b752c327165aeca1fec0919d858a87ec4
Submitter: "Zuul (22348)"
Branch:stable/ussuri

commit 3e1d898b752c327165aeca1fec0919d858a87ec4
Author: Mamduh 
Date:   Tue Aug 18 12:40:10 2020 +0300

Refactor code of linux_net to more cleaner and increase performace

The patch adds new functions '_get_phys_port_name' for reading physical
port name of the SR-IOV port and '_get_phys_switch_id' for reading
physical port switch ID of the SR-IOV port, in addition to refactoring
'get_representor_port' to use the new functions and decrease calls for
"_get_pf_func" and netdevs associated with the PF will now be processed
in the loop, however it will not be matching 'phys_port_name' which
ensures the correct behaviour.

In addition to updating the unit test for linux_net and remove not
needed mocks

Conflicts:
  vif_plug_ovs/linux_net.py
  vif_plug_ovs/tests/unit/test_linux_net.py

Related-Bug: #1892132
Change-Id: I3fdbea4f48cb79ebfd03a4da21e2232ccafb7a76
(cherry picked from commit 167bb030f1143f37ce189673d831bd572f64d4ad)


** Tags added: in-stable-ussuri

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-09-06 Thread Frode Nordahl
Proposed libvirt package on Hirsute system with original unmodified kernel and d
river:
$ uname -a
Linux node-laveran 5.11.0-31-generic #33-Ubuntu SMP Wed Aug 11 13:19:04 UTC 
2021 x86_64 x86_64 x86_64 GNU/Linux

$ sudo lshw|grep mlx5_core
configuration: autonegotiation=on broadcast=yes 
driver=mlx5_core driverversion=5.11.0-31-generic firmware=16.31.1014 
(MT_000183) latency=0 link=no multicast=yes
...

$ lspci -nnvv | grep Mellanox
03:00.0 Ethernet controller [0200]: Mellanox Technologies MT27800 Family 
[ConnectX-5] [15b3:1017]
Subsystem: Mellanox Technologies MT27800 Family [ConnectX-5] [15b3:0061]
03:00.1 Ethernet controller [0200]: Mellanox Technologies MT27800 Family 
[ConnectX-5] [15b3:1017]
Subsystem: Mellanox Technologies MT27800 Family [ConnectX-5] [15b3:0061]
03:00.2 Ethernet controller [0200]: Mellanox Technologies MT27800 Family 
[ConnectX-5 Virtual Function] [15b3:1018]
Subsystem: Mellanox Technologies MT27800 Family [ConnectX-5 Virtual 
Function] [15b3:0061]
...

$ dpkg -l | grep libvirt
ii  libvirt-clients   7.0.0-2ubuntu2.1  
   amd64Programs for the libvirt library
ii  libvirt-daemon7.0.0-2ubuntu2.1  
   amd64Virtualization daemon
ii  libvirt-daemon-config-network 7.0.0-2ubuntu2.1  
   all  Libvirt daemon configuration files 
(default network)
ii  libvirt-daemon-config-nwfilter7.0.0-2ubuntu2.1  
   all  Libvirt daemon configuration files 
(default network filters)
ii  libvirt-daemon-driver-qemu7.0.0-2ubuntu2.1  
   amd64Virtualization daemon QEMU 
connection driver
ii  libvirt-daemon-system 7.0.0-2ubuntu2.1  
   amd64Libvirt daemon configuration files
ii  libvirt-daemon-system-systemd 7.0.0-2ubuntu2.1  
   all  Libvirt daemon configuration files 
(systemd)
ii  libvirt0:amd647.0.0-2ubuntu2.1  
   amd64library for interfacing with 
different virtualization systems

$ sudo grep -A6 hostdev /etc/libvirt/qemu/instance-0002.xml

  
  

  
  


$ openstack server list --long
| 9de43d8a-b63b-4747-9f6a-5ca20a501450 | fnord-node-laveran-1 | ACTIVE | None   
| Running | network=10.42.3.233 | 
auto-sync/ubuntu-focal-20.04-amd64-server-20210825-disk1.img | 
ee06a053-c350-474c-a03f-cf0afcb35591 | m1.large| 
29873860-7b2e-49ad-a290-9a2d0600369d | nova  | node-laveran.maas |  
  |

$ ssh fnord-node-laveran-1 lspci
...
00:03.0 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5 
Virtual Function]
...



$ uname -a
Linux node-laveran 5.11.0-31-generic #33-Ubuntu SMP Wed Aug 11 13:19:04 UTC 
2021 x86_64 x86_64 x86_64 GNU/Linux

$ sudo lshw|grep mlx5_core
configuration: autonegotiation=on broadcast=yes 
driver=mlx5_core driverversion=5.4-1.0.3 duplex=full firmware=16.31.1014 
(MT_000183) latency=0 link=yes multicast=yes slave=yes speed=10Gbit/s

$ ssh fnord-node-laveran-1 lspci
...
00:03.0 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5 
Virtual Function]
...


** Tags removed: verification-needed verification-needed-hirsute
** Tags added: verification-done verification-done-hirsute

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-08-30 Thread Łukasz Zemczak
Could someone perform the same validation for hirsute?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-08-26 Thread Frode Nordahl
Proposed libvirt package on Focal system with original unmodified kernel and 
driver:
$ uname -a
Linux node-laveran 5.4.0-81-generic #91-Ubuntu SMP Thu Jul 15 19:09:17 UTC 2021 
x86_64 x86_64 x86_64 GNU/Linux

$ cat /sys/class/net/enp129s0f0/device/driver/module/version
5.0-0

$ lspci -nnvv | grep Mellanox
03:00.0 Ethernet controller [0200]: Mellanox Technologies MT27800 Family 
[ConnectX-5] [15b3:1017]
Subsystem: Mellanox Technologies MT27800 Family [ConnectX-5] [15b3:0061]
03:00.1 Ethernet controller [0200]: Mellanox Technologies MT27800 Family 
[ConnectX-5] [15b3:1017]
Subsystem: Mellanox Technologies MT27800 Family [ConnectX-5] [15b3:0061]
03:00.2 Ethernet controller [0200]: Mellanox Technologies MT27800 Family 
[ConnectX-5 Virtual Function] [15b3:1018]
Subsystem: Mellanox Technologies MT27800 Family [ConnectX-5 Virtual 
Function] [15b3:0061]
...

# Note that in addition to libvirt from -proposed the system has a test
# package for the in-flight os-vif changes installed.
$ dpkg -l |grep libvirt
ii  libvirt-clients  6.0.0-0ubuntu8.13  
  amd64Programs for the libvirt library
ii  libvirt-daemon   6.0.0-0ubuntu8.13  
  amd64Virtualization daemon
ii  libvirt-daemon-driver-qemu   6.0.0-0ubuntu8.13  
  amd64Virtualization daemon QEMU connection driver
ii  libvirt-daemon-driver-storage-rbd6.0.0-0ubuntu8.13  
  amd64Virtualization daemon RBD storage driver
ii  libvirt-daemon-system6.0.0-0ubuntu8.13  
  amd64Libvirt daemon configuration files
ii  libvirt-daemon-system-systemd6.0.0-0ubuntu8.13  
  amd64Libvirt daemon configuration files (systemd)
ii  libvirt0:amd64   6.0.0-0ubuntu8.13  
  amd64library for interfacing with different 
virtualization systems

$ sudo grep -A6 hostdev /etc/libvirt/qemu/instance-0001.xml

  
  

  
  


$ openstack server list --long
...
| c575e200-74cf-45bd-801e-712d3405f460 | fnord-node-laveran-1 | ACTIVE | None   
| Running | network=10.42.2.217| ubuntu | 
d9aa89af-9ad7-4770-83ba-194f03fec7dc | m1.large| 
96afbb8a-697f-4de8-aa76-b8604bc01180 | nova  | node-laveran.maas |  
  |
...

$ ssh -i id_rsa fnord-node-laveran-1 lspci
...
00:03.0 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5 
Virtual Function]
...



$ uname -a
Linux node-laveran 5.4.0-81-generic #91-Ubuntu SMP Thu Jul 15 19:09:17 UTC 2021 
x86_64 x86_64 x86_64 GNU/Linux

$ cat /sys/class/net/enp129s0f0/device/driver/module/version
5.4-1.0.3

$ ssh -i id_rsa fnord-node-laveran-1 lspci
...
00:03.0 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5 
Virtual Function]
...


** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-08-17 Thread Brian Murray
Hello Mamduh, or anyone else affected,

Accepted libvirt into hirsute-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/libvirt/7.0.0-2ubuntu2.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
hirsute to verification-done-hirsute. If it does not fix the bug for
you, please add a comment stating that, and change the tag to
verification-failed-hirsute. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: libvirt (Ubuntu Hirsute)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-hirsute

** Changed in: libvirt (Ubuntu Focal)
   Status: In Progress => Fix Committed

** Tags added: verification-needed-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-08-13 Thread Frode Nordahl
** Merge proposal unlinked:
   
https://code.launchpad.net/~fnordahl/ubuntu/+source/libvirt/+git/libvirt/+merge/405820

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-08-13 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~fnordahl/ubuntu/+source/libvirt/+git/libvirt/+merge/407061

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-08-13 Thread Frode Nordahl
** Changed in: libvirt (Ubuntu Groovy)
 Assignee: Frode Nordahl (fnordahl) => (unassigned)

** Changed in: python-os-vif (Ubuntu Groovy)
 Assignee: Frode Nordahl (fnordahl) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-08-11 Thread Christian Ehrhardt 
Thanks for all the work Frode and all the involved openstack people.
Groovy is no more serviced via the SRU process, so I've disabled that. But I'll 
look at the libvirt branches for F/H now ...

** Changed in: libvirt (Ubuntu Groovy)
   Status: In Progress => Invalid

** Changed in: libvirt (Ubuntu Groovy)
   Status: Invalid => Won't Fix

** Changed in: python-os-vif (Ubuntu Groovy)
   Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-07-16 Thread Frode Nordahl
** Description changed:

- Due to new kernel patch here [1], the PF and VF representors are linked
- to their parent PCI device.
+ [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//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//physfn/net/
  enp3s0f0  enp3s0f0_0  enp3s0f0_1  enp3s0f0_2  enp3s0f0_3
  
  $ ls -l /sys/class/net
  ...
  lrwxrwxrwx. 1 root root0 Aug 17 08:43 enp3s0f0_0 -> 
../../devices/pci:00/:00:02.0/:03:00.0/net/enp3s0f0_0
  lrwxrwxrwx. 1 root root0 Aug 17 08:43 enp3s0f0_1 -> 
../../devices/pci:00/:00:02.0/:03:00.0/net/enp3s0f0_1
  lrwxrwxrwx. 1 root root0 Aug 17 08:43 enp3s0f0_2 -> 
../../devices/pci:00/:00:02.0/:03:00.0/net/enp3s0f0_2
  lrwxrwxrwx. 1 root root0 Aug 17 08:43 enp3s0f0_3 -> 
../../devices/pci:00/:00:02.0/:03:00.0/net/enp3s0f0_3
  ...
  
- [1]
- 
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=123f0f53dd64b67e34142485fe866a8a581f12f1
+ [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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-07-16 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~fnordahl/ubuntu/+source/libvirt/+git/libvirt/+merge/405822

** Merge proposal linked:
   
https://code.launchpad.net/~fnordahl/ubuntu/+source/libvirt/+git/libvirt/+merge/405823

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-07-16 Thread Frode Nordahl
** Changed in: libvirt (Ubuntu Hirsute)
   Status: New => In Progress

** Changed in: libvirt (Ubuntu Hirsute)
 Assignee: (unassigned) => Frode Nordahl (fnordahl)

** Changed in: libvirt (Ubuntu Groovy)
   Status: New => In Progress

** Changed in: libvirt (Ubuntu Groovy)
 Assignee: (unassigned) => Frode Nordahl (fnordahl)

** Changed in: libvirt (Ubuntu Focal)
   Status: New => In Progress

** Changed in: libvirt (Ubuntu Focal)
 Assignee: (unassigned) => Frode Nordahl (fnordahl)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-07-16 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~fnordahl/ubuntu/+source/libvirt/+git/libvirt/+merge/405820

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-07-16 Thread Frode Nordahl
** Changed in: python-os-vif (Ubuntu Groovy)
   Status: New => In Progress

** Changed in: python-os-vif (Ubuntu Groovy)
 Assignee: (unassigned) => Frode Nordahl (fnordahl)

** Changed in: python-os-vif (Ubuntu Focal)
   Status: New => In Progress

** Changed in: python-os-vif (Ubuntu Focal)
 Assignee: (unassigned) => Frode Nordahl (fnordahl)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-07-16 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~fnordahl/ubuntu/+source/python-os-vif/+git/python-os-vif/+merge/405804

** Merge proposal linked:
   
https://code.launchpad.net/~fnordahl/ubuntu/+source/python-os-vif/+git/python-os-vif/+merge/405805

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1892132] Re: Failure to get the correct UpLink Representor

2021-07-16 Thread Frode Nordahl
** Summary changed:

- os-vif fails to get the correct UpLink Representor
+ Failure to get the correct UpLink Representor

** Also affects: libvirt (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: libvirt (Ubuntu Hirsute)
   Importance: Undecided
   Status: New

** Also affects: libvirt (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: libvirt (Ubuntu Impish)
   Importance: Undecided
   Status: New

** Also affects: libvirt (Ubuntu Groovy)
   Importance: Undecided
   Status: New

** Changed in: libvirt (Ubuntu Impish)
   Status: New => Fix Released

** Also affects: python-os-vif (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: python-os-vif (Ubuntu Impish)
   Status: New => Fix Released

** Changed in: python-os-vif (Ubuntu Hirsute)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892132

Title:
  Failure to get the correct UpLink Representor

To manage notifications about this bug go to:
https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs