I tested network-manager 1.36.6-0ubuntu2.1 from jammy-proposed and can
confirm things are working as expected.

root@j:~# apt -t jammy-proposed install network-manager
root@j:~# netplan set --origin-hint=50-cloud-init 
network.renderer=NetworkManager
root@j:~# netplan apply
WARNING:root:Cannot call Open vSwitch: ovsdb-server.service is not running.
root@j:~# nmcli con add type veth ifname veth0 peer veth1 ipv4.method disabled 
ipv6.method disabled
Connection 'veth-veth0' (e1c66088-b66b-405c-8c1f-10133aa06c16) successfully 
added.
root@j:~# nmcli con add type veth ifname veth1 peer veth0 ipv4.method disabled 
ipv6.method disabled
Connection 'veth-veth1' (aa65dd6b-d0aa-4091-a102-f641f510ea4f) successfully 
added.
root@j:~# netplan get
network:
  version: 2
  renderer: NetworkManager
  ethernets:
    enp5s0:
      dhcp4: true
root@j:~# nmcli c
NAME            UUID                                  TYPE      DEVICE 
netplan-enp5s0  e1419a5e-5e1d-3fff-a17c-b2fc6d2cef99  ethernet  enp5s0 
veth-veth0      e1c66088-b66b-405c-8c1f-10133aa06c16  veth      --     
veth-veth1      aa65dd6b-d0aa-4091-a102-f641f510ea4f  veth      --
root@j:~# nmcli c
NAME            UUID                                  TYPE      DEVICE 
netplan-enp5s0  e1419a5e-5e1d-3fff-a17c-b2fc6d2cef99  ethernet  enp5s0 
veth-veth0      e1c66088-b66b-405c-8c1f-10133aa06c16  veth      --     
veth-veth1      aa65dd6b-d0aa-4091-a102-f641f510ea4f  veth      --
root@j:~# reboot


$ lxc shell j
root@j:~# nmcli c
NAME            UUID                                  TYPE      DEVICE 
netplan-enp5s0  e1419a5e-5e1d-3fff-a17c-b2fc6d2cef99  ethernet  enp5s0 
veth-veth0      e1c66088-b66b-405c-8c1f-10133aa06c16  veth      veth0  
veth-veth1      aa65dd6b-d0aa-4091-a102-f641f510ea4f  veth      veth1
root@j:~# journalctl | grep veth | grep manager
Dec 17 16:51:46 j NetworkManager[2380]: <info>  [1734454306.5631] manager: 
(veth0): new Veth device (/org/freedesktop/NetworkManager/Devices/3)
Dec 17 16:51:46 j NetworkManager[2380]: <info>  [1734454306.5900] manager: 
(veth1): new Veth device (/org/freedesktop/NetworkManager/Devices/4)
Dec 17 16:54:31 j NetworkManager[432]: <info>  [1734454471.2093] manager: 
(veth1): new Veth device (/org/freedesktop/NetworkManager/Devices/3)
Dec 17 16:54:31 j NetworkManager[432]: <info>  [1734454471.2303] manager: 
(veth0): new Veth device (/org/freedesktop/NetworkManager/Devices/4)

=> veth0 and veth1 are activated and no error message in journal!

** Tags removed: foundations-todo verification-needed-jammy
** Tags added: verification-done-jammy

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

Title:
  Veth pairs fail activation on Jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2032824/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to