Some debugging output (which seems to be different from what's observed
in bug #2020409, https://pastebin.canonical.com/p/ZBVkc8rstg/):

ubuntu@romano:~$ systemctl status netplan-sriov-rebind.service
○ netplan-sriov-rebind.service - (Re-)bind SR-IOV Virtual Functions to their 
driver
     Loaded: loaded (/run/systemd/system/netplan-sriov-rebind.service; 
enabled-runtime; vendor preset: enabled)
     Active: inactive (dead) since Thu 2025-02-27 14:40:14 UTC; 5min ago
    Process: 1640 ExecStart=/usr/sbin/netplan rebind --debug ens7f0 
(code=exited, status=0/SUCCESS)
   Main PID: 1640 (code=exited, status=0/SUCCESS)
        CPU: 143ms

Feb 27 14:40:13 romano netplan[1640]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:40:13 romano netplan[1640]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:40:13 romano netplan[1640]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:40:14 romano netplan[1640]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:40:14 romano netplan[1640]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:40:14 romano netplan[1640]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:40:14 romano netplan[1640]: DEBUG:ens7f0 - VF LAG state is still 
'disabled' after waiting
Feb 27 14:40:14 romano netplan[1640]: DEBUG:0000:61:00.0: bound 0 VFs
Feb 27 14:40:14 romano systemd[1]: netplan-sriov-rebind.service: Deactivated 
successfully.
Feb 27 14:40:14 romano systemd[1]: Finished (Re-)bind SR-IOV Virtual Functions 
to their driver.


ubuntu@romano:~$ journalctl -u netplan-sriov-rebind.service
Feb 27 14:22:27 romano systemd[1]: Starting (Re-)bind SR-IOV Virtual Functions 
to their driver...
Feb 27 14:22:27 romano netplan[1653]: `gateway4` has been deprecated, use 
default routes instead.
                                      See the 'Default routes' section of the 
documentation for more details.
Feb 27 14:22:27 romano netplan[1653]: DEBUG:ens7f1 - waiting for the LAG state 
to be 'active'
Feb 27 14:22:27 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:27 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:28 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:28 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:28 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:28 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:28 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:29 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:29 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:29 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:29 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:29 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:30 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:30 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:30 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:30 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:30 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:31 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:31 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:31 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:31 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:31 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:32 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:32 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:32 romano netplan[1653]: DEBUG:0000:61:00.1 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:32 romano netplan[1653]: DEBUG:ens7f1 - VF LAG state is still 
'disabled' after waiting
Feb 27 14:22:32 romano netplan[1653]: DEBUG:0000:61:00.1: bound 0 VFs
Feb 27 14:22:32 romano netplan[1653]: `gateway4` has been deprecated, use 
default routes instead.
                                      See the 'Default routes' section of the 
documentation for more details.
Feb 27 14:22:32 romano netplan[1653]: DEBUG:ens7f0 - waiting for the LAG state 
to be 'active'
Feb 27 14:22:32 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:32 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:33 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:33 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:33 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:33 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:33 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:34 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:34 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:34 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:34 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:34 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:35 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:35 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:35 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:35 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:35 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:36 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:36 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:36 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:36 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:36 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:37 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:37 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:37 romano netplan[1653]: DEBUG:0000:61:00.0 VF LAG state is not 
active yet, retrying...
Feb 27 14:22:37 romano netplan[1653]: DEBUG:ens7f0 - VF LAG state is still 
'disabled' after waiting
Feb 27 14:22:37 romano netplan[1653]: DEBUG:0000:61:00.0: bound 0 VFs
Feb 27 14:22:37 romano systemd[1]: netplan-sriov-rebind.service: Deactivated 
successfully.
Feb 27 14:22:37 romano systemd[1]: Finished (Re-)bind SR-IOV Virtual Functions 
to their driver.



ubuntu@romano:~$ systemctl status netplan-sriov-apply.service
ubuntu@romano:~$ journalctl -u netplan-sriov-apply.service
Feb 27 14:18:42 romano netplan[1170]: `gateway4` has been deprecated, use 
default routes instead.
                                      See the 'Default routes' section of the 
documentation for more details.
Feb 27 14:18:42 romano netplan[1170]: `gateway4` has been deprecated, use 
default routes instead.
                                      See the 'Default routes' section of the 
documentation for more details.
Feb 27 14:22:11 romano netplan[1170]: failed parsing sriov_totalvfs for 
ens7f1np1: [Errno 2] No such file or directory: 
'/sys/class/net/ens7f1np1/device/sriov_totalvfs'
Feb 27 14:22:11 romano systemd[1]: netplan-sriov-apply.service: Main process 
exited, code=exited, status=1/FAILURE
Feb 27 14:22:11 romano systemd[1]: netplan-sriov-apply.service: Failed with 
result 'exit-code'.
Feb 27 14:22:11 romano systemd[1]: Failed to start Apply SR-IOV configuration.

× netplan-sriov-apply.service - Apply SR-IOV configuration
     Loaded: loaded (/run/systemd/system/netplan-sriov-apply.service; 
enabled-runtime; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2025-02-27 14:39:53 UTC; 6min 
ago
    Process: 1168 ExecStart=/usr/sbin/netplan apply --sriov-only (code=exited, 
status=1/FAILURE)
   Main PID: 1168 (code=exited, status=1/FAILURE)
        CPU: 188ms

Feb 27 14:36:24 romano netplan[1168]: `gateway4` has been deprecated, use 
default routes instead.
                                      See the 'Default routes' section of the 
documentation for more details.
Feb 27 14:36:24 romano netplan[1168]: `gateway4` has been deprecated, use 
default routes instead.
                                      See the 'Default routes' section of the 
documentation for more details.
Feb 27 14:39:53 romano netplan[1168]: could not determine vendor and device ID 
of ens7f0np0: [Errno 2] No such file or directory: 
'/sys/class/net/ens7f0np0/device/vendor'
Feb 27 14:39:53 romano systemd[1]: netplan-sriov-apply.service: Main process 
exited, code=exited, status=1/FAILURE
Feb 27 14:39:53 romano systemd[1]: netplan-sriov-apply.service: Failed with 
result 'exit-code'.
Feb 27 14:39:53 romano systemd[1]: Failed to start Apply SR-IOV configuration.

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

Title:
  [SRU][mlx5] Intermittent VF-LAG activation failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1988018/+subscriptions


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

Reply via email to