kubernetes-sigs/image-builder

ova image ubuntu 22.04 udev net rule ens* eth* ip address not released

dscaravaggi opened this issue · 8 comments

What happened:
Image stuck after initial control plane waiting for become available

What did you expect to happen:
Image ready and worker nodes too

work around
change network assignment rule from ens* to e*
adopting regex e* any eth* and ens* are covered as well

Environment:
latest

Note:
I noticed that udev network rule for naming networks should be ens*

/kind bug

I'm not able to detect the exact cloud init step wich turn ens192 back to eth0

dmesg | grep -i eth

[    5.206207] vmxnet3 0000:0b:00.0 eth0: NIC Link is Up 10000 Mbps
[    5.521328] vmxnet3 0000:0b:00.0 ens192: renamed from eth0
[   13.945937] vmxnet3 0000:0b:00.0 eth0: renamed from ens192
[   16.957958] vmxnet3 0000:0b:00.0 eth0: intr type 3, mode 0, 3 vectors allocated
[   16.959089] vmxnet3 0000:0b:00.0 eth0: NIC Link is Up 10000 Mbps
[  187.312525] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready