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-00000019.xml 
    <interface type='hostdev' managed='yes'>
      <mac address='fa:16:3e:a8:b0:d7'/>
      <source>
        <address type='pci' domain='0x0000' bus='0x03' slot='0x00' 
function='0x4'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' 
function='0x0'/>
    </interface>

$ 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_0000000183)"}
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

<INSTALL OFED DRIVERS AND REBOOT>

$ 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          : 10000000000
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_0000000183)"}
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 -> 
../../../0000: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
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_30
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_31
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_4
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_5
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_6
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_7
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_8
drwxr-xr-x  5 root root 0 Sep 10 15:57 enp3s0f0_9


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

-- 
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

Reply via email to