lxc launch --vm ubuntu-daily:jammy nd-reload
lxc shell nd-reload
root@nd-reload:~# netplan get
network:
version: 2
ethernets:
enp5s0:
dhcp4: true
root@nd-reload:~# networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 enp5s0 ether routable configured
2 links listed.
root@nd-reload:~# snap install network-manager --channel=22/stable
root@nd-reload:~# networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 enp5s0 ether routable unmanaged
2 links listed.
root@nd-reload:~# udevadm trigger
root@nd-reload:~# networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 enp5s0 ether routable failed
root@nd-reload:~# networkctl reload
root@nd-reload:~# networkctl reconfigure enp5s0
root@nd-reload:~# networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 enp5s0 ether carrier unmanaged
2 links listed.
root@nd-reload:~# udevadm trigger
root@nd-reload:~# networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 enp5s0 ether carrier failed
2 links listed.
After calling "systemctl restart systemd-networkd.service" once, the issue seems to be gone.
I do not yet fully understand what the failure condition is, though?
"networkctl" show a "failed" link. But NetworkManager is managing it fine and the network is reachable.
I think I can reporudce this on classic...
lxc launch --vm ubuntu-daily:jammy nd-reload
lxc shell nd-reload
root@nd-reload:~# netplan get
network:
version: 2
ethernets:
enp5s0:
dhcp4: true
root@nd-reload:~# networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 enp5s0 ether routable configured
2 links listed.
root@nd-reload:~# snap install network-manager --channel=22/stable
root@nd-reload:~# networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 enp5s0 ether routable unmanaged
2 links listed.
root@nd-reload:~# udevadm trigger
root@nd-reload:~# networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 enp5s0 ether routable failed
root@nd-reload:~# networkctl reload
root@nd-reload:~# networkctl reconfigure enp5s0
root@nd-reload:~# networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 enp5s0 ether carrier unmanaged
2 links listed.
root@nd-reload:~# udevadm trigger
root@nd-reload:~# networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 enp5s0 ether carrier failed
2 links listed.
After calling "systemctl restart systemd- networkd. service" once, the issue seems to be gone.
I do not yet fully understand what the failure condition is, though?
"networkctl" show a "failed" link. But NetworkManager is managing it fine and the network is reachable.